mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-25 23:06:10 +03:00
11 lines
349 B
Bash
Executable File
11 lines
349 B
Bash
Executable File
#!/bin/sh
|
|
if [ ! "$1" ]; then
|
|
echo "Usage: $0 PCAP_FILE"
|
|
exit 1
|
|
fi
|
|
|
|
file="$1"
|
|
# Remember to disable segmentation offload so pcap files won't capture packets larger than MTU:
|
|
# sudo ethtool --offload eth0 gso off gro off
|
|
tshark -2 -r "$file" -R tls.handshake.extensions_server_name -T fields -e tls.handshake.extensions_server_name -e tcp.stream
|