lost and found ( for me ? )

packet capture on Android : tpacket capture

tpacketcapture is packet capture tool for Andoroid , which is free.
https://play.google.com/store/apps/details?id=jp.co.taosoftware.android.packetcapture&hl=en

no need to be root user. nice tool.
tpacketcapture enables you to capture network traffic on Android and then upload pcap file via e-mail , dropbox.

The following is the output of pcap files I got on Nexsus 7 and Optimus G devices.

Seen from the pcap file , scaling factor is 6 ( 2**6 = 64 ) and selective ack is enabled on both devices.

packet file captured on Nexsus 7 ( Android 4.2 )

# tshark -r nexsus7.pcap -n -R '(tcp.flags.syn==1)' | head -1
 1   0.000000     x.x.x.x -> z.z.z.z TCP 74 37780 > 443 [SYN] Seq=0 Win=14600 Len=0 MSS=1460 SACK_PERM=1 TSval=5302230 TSecr=0 WS=64

packet file captured on Optimus G. ( Android 4.0 )
# tshark -r optimus_g.pcap -n -R '(tcp.flags.syn==1)' | head -1
 1   0.000000     x.x.x.x -> z.z.z.z TCP 74 34680 > 80 [SYN] Seq=0 Win=14600 Len=0 MSS=1460 SACK_PERM=1 TSval=3878335 TSecr=0 WS=64

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.