Skip to content

Instantly share code, notes, and snippets.

@hkskoglund
Created October 3, 2018 08:57
Show Gist options
  • Save hkskoglund/a54d8181c5e6c40b64eb0d4930ab12ce to your computer and use it in GitHub Desktop.
Save hkskoglund/a54d8181c5e6c40b64eb0d4930ab12ce to your computer and use it in GitHub Desktop.
DJI GO Android App v4.3.2 - tcp network connections in CLOSE_WAIT state
[henning@satellite ~]$ while true; do adb shell netstat -a -e -W -t | (head -2; grep a200); adb shell ps -w -k +TIME -T -u u0_a200 -l -O STIME -O RSS -O TCNT | (head -1; grep -i http); sleep 1; done
Active Internet connections (established and servers)
Proto Recv-Q Send-Q Local Address Foreign Address State User Inode
tcp6 0 0 ::ffff:192.168.0.140:41329 ::ffff:120.132.176.172:http ESTABLISHED u0_a200 8577882
tcp6 32 0 ::ffff:192.168.0.140:39496 ::ffff:47.88.66.155:https CLOSE_WAIT u0_a200 8004871
tcp6 32 0 ::ffff:192.168.0.140:39492 ::ffff:47.88.66.155:https CLOSE_WAIT u0_a200 7998088
tcp6 0 1 ::ffff:192.168.0.140:44219 ::ffff:192.168.1.1:19005 SYN_SENT u0_a200 8586951
tcp6 32 0 ::ffff:192.168.0.140:44905 server-143-204-47-37.osl50.r.cloudfront.net:https CLOSE_WAIT u0_a200 8001367
tcp6 0 1 ::ffff:192.168.0.140:46772 ::ffff:192.168.1.2:5678 SYN_SENT u0_a200 8584470
tcp6 0 1 ::ffff:192.168.0.140:41834 ::ffff:192.168.1.1:19003 SYN_SENT u0_a200 8587595
tcp6 32 0 ::ffff:192.168.0.140:37181 ::ffff:195.59.70.253:https CLOSE_WAIT u0_a200 8003871
tcp6 32 0 ::ffff:192.168.0.140:39494 ::ffff:47.88.66.155:https CLOSE_WAIT u0_a200 7998096
tcp6 0 1 ::ffff:192.168.0.140:45155 ::ffff:192.168.1.1:2345 SYN_SENT u0_a200 8585653
tcp6 32 0 ::ffff:192.168.0.140:48321 server-143-204-47-242.osl50.r.cloudfront.net:https CLOSE_WAIT u0_a200 8553480
tcp6 32 0 ::ffff:192.168.0.140:45621 server-143-204-47-99.osl50.r.cloudfront.net:https CLOSE_WAIT u0_a200 8541783
tcp6 32 0 ::ffff:192.168.0.140:44903 server-143-204-47-37.osl50.r.cloudfront.net:https CLOSE_WAIT u0_a200 8010611
tcp6 0 0 ::ffff:192.168.0.140:48827 ::ffff:47.91.163.89:https ESTABLISHED u0_a200 8564784
tcp6 0 0 ::ffff:192.168.0.140:49381 ::ffff:122.226.84.196:http ESTABLISHED u0_a200 8563224
F S UID PID TID PPID C PRI NI BIT SZ WCHAN TTY TIME STIME RSS TCNT CMD
1 S 10200 10306 9895 762 0 19 0 - 555327 0 ? 00:00:00 10:08:18 265076 137 OkHttp Connecti
1 S 10200 10306 10571 762 0 9 10 - 555327 0 ? 00:00:00 08:57:56 264880 137 FinalHttp #2
1 S 10200 10306 10570 762 0 9 10 - 555327 0 ? 00:00:00 08:57:56 264880 137 FinalHttp #1
1 S 10200 10306 10581 762 0 9 10 - 555327 0 ? 00:00:00 08:57:56 264880 137 FinalHttp #6
1 S 10200 10306 10576 762 0 9 10 - 555327 0 ? 00:00:00 08:57:56 264880 137 FinalHttp #3
1 S 10200 10306 10579 762 0 9 10 - 555327 0 ? 00:00:00 08:57:56 264880 137 FinalHttp #5
1 S 10200 10306 10577 762 0 9 10 - 555327 0 ? 00:00:00 08:57:56 264880 137 FinalHttp #4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment