[General Questions and Answers] rootkitty:
How to monitor internet connections opened by phone?

Just in case anybody else is following this thread, I have discovered that cat /proc/net/nf_conntrack produces something very similar to the firewall log, and that might be of use (See sample below). Still need to find out how to associate sport or dport with a running application.

Any way to use busybox or something similar to display?

Thanks.

root@android:/ # cat /proc/net/nf_conntrack
cat /proc/net/nf_conntrack
ipv4 2 udp 17 12 src=192.168.22.1 dst=192.168.22.0 sport=9766 dport=53 src=192.168.22.0 dst=192.168.22.1 sport=53 dport=9766 mark=0 use=2
ipv4 2 udp 17 10 src=192.168.22.1 dst=192.168.22.0 sport=30653 dport=53 src=192.168.22.0 dst=192.168.22.1 sport=53 dport=30653 mark=0 use=2
ipv4 2 tcp 6 431984 ESTABLISHED src=192.168.22.1 dst=74.220.214.114 sport=35039 dport=993 src=74.220.214.114 dst=192.168.22.1 sport=993 dport=35039 [ASSURED] mark=0 use=2
ipv4 2 udp 17 12 src=192.168.22.1 dst=192.168.22.0 sport=61290 dport=53 src=192.168.22.0 dst=192.168.22.1 sport=53 dport=61290 mark=0 use=2
ipv4 2 udp 17 12 src=192.168.22.1 dst=192.168.22.0 sport=51109 dport=53 src=192.168.22.0 dst=192.168.22.1 sport=53 dport=51109 mark=0 use=2
ipv4 2 udp 17 12 src=192.168.22.1 dst=192.168.22.0 sport=11937 dport=53 src=192.168.22.0 dst=192.168.22.1 sport=53 dport=11937 mark=0 use=2
ipv4 2 udp 17 12 src=192.168.22.1 dst=192.168.22.0 sport=58041 dport=53 src=192.168.22.0 dst=192.168.22.1 sport=53 dport=58041 mark=0 use=2
ipv4 2 tcp 6 431984 ESTABLISHED src=192.168.22.1 dst=74.220.214.114 sport=35036 dport=993 src=74.220.214.114 dst=192.168.22.1 sport=993 dport=35036 [ASSURED] mark=0 use=2
ipv4 2 tcp 6 103 TIME_WAIT src=192.168.22.1 dst=208.43.71.136 sport=46721 dport=80 src=208.43.71.136 dst=192.168.22.1 sport=80 dport=46721 [ASSURED] mark=0 use=2
ipv4 2 udp 17 10 src=192.168.22.1 dst=192.168.22.0 sport=12945 dport=53 src=192.168.22.0 dst=192.168.22.1 sport=53 dport=12945 mark=0 use=2
ipv4 2 tcp 6 431979 ESTABLISHED src=192.168.22.1 dst=199.255.120.253 sport=42114 dport=443 src=199.255.120.253 dst=192.168.22.1 sport=443 dport=42114 [ASSURED] mark=0 use=2
ipv4 2 tcp 6 431979 ESTABLISHED src=192.168.22.1 dst=173.194.43.66 sport=53915 dport=80 src=173.194.43.66 dst=192.168.22.1 sport=80 dport=53915 [ASSURED] mark=0 use=2
ipv4 2 tcp 6 431981 ESTABLISHED src=192.168.22.1 dst=199.255.120.249 sport=39470 dport=443 src=199.255.120.249 dst=192.168.22.1 sport=443 dport=39470 [ASSURED] mark=0 use=2
ipv4 2 tcp 6 431979 ESTABLISHED src=192.168.22.1 dst=74.125.193.188 sport=33728 dport=5228 src=74.125.193.188 dst=192.168.22.1 sport=5228 dport=33728 [ASSURED] mark=0 use=2
ipv4 2 udp 17 12 src=192.168.22.1 dst=192.168.22.0 sport=30863 dport=53 src=192.168.22.0 dst=192.168.22.1 sport=53 dport=30863 mark=0 use=2
ipv4 2 tcp 6 104 TIME_WAIT src=192.168.22.1 dst=208.43.71.136 sport=46722 dport=80 src=208.43.71.136 dst=192.168.22.1 sport=80 dport=46722 [ASSURED] mark=0 use=2
ipv4 2 tcp 6 431987 ESTABLISHED src=192.168.22.1 dst=74.220.214.114 sport=35037 dport=993 src=74.220.214.114 dst=192.168.22.1 sport=993 dport=35037 [ASSURED] mark=0 use=2
ipv4 2 udp 17 12 src=192.168.22.1 dst=192.168.22.0 sport=22626 dport=53 src=192.168.22.0 dst=192.168.22.1 sport=53 dport=22626 mark=0 use=2
ipv4 2 udp 17 12 src=192.168.22.1 dst=192.168.22.0 sport=12105 dport=53 src=192.168.22.0 dst=192.168.22.1 sport=53 dport=12105 mark=0 use=2
ipv4 2 tcp 6 431984 ESTABLISHED src=192.168.22.1 dst=74.220.214.114 sport=35032 dport=993 src=74.220.214.114 dst=192.168.22.1 sport=993 dport=35032 [ASSURED] mark=0 use=2
ipv4 2 udp 17 15 src=192.168.22.1 dst=192.168.22.0 sport=14502 dport=53 src=192.168.22.0 dst=192.168.22.1 sport=53 dport=14502 mark=0 use=2
ipv4 2 udp 17 6 src=192.168.22.1 dst=192.168.22.0 sport=11678 dport=53 src=192.168.22.0 dst=192.168.22.1 sport=53 dport=11678 mark=0 use=2
ipv4 2 udp 17 12 src=192.168.22.1 dst=192.168.22.0 sport=63673 dport=53 src=192.168.22.0 dst=192.168.22.1 sport=53 dport=63673 mark=0 use=2
ipv4 2 tcp 6 431985 ESTABLISHED src=192.168.22.1 dst=74.220.214.114 sport=35035 dport=993 src=74.220.214.114 dst=192.168.22.1 sport=993 dport=35035 [ASSURED] mark=0 use=2
ipv4 2 tcp 6 431984 ESTABLISHED src=192.168.22.1 dst=74.220.214.114 sport=35034 dport=993 src=74.220.214.114 dst=192.168.22.1 sport=993 dport=35034 [ASSURED] mark=0 use=2
ipv4 2 udp 17 7 src=192.168.22.1 dst=192.168.22.0 sport=43589 dport=53 src=192.168.22.0 dst=192.168.22.1 sport=53 dport=43589 mark=0 use=2
ipv4 2 tcp 6 431988 ESTABLISHED src=192.168.22.1 dst=74.220.214.114 sport=35038 dport=993 src=74.220.214.114 dst=192.168.22.1 sport=993 dport=35038 [ASSURED] mark=0 use=2
ipv4 2 udp 17 9 src=192.168.22.1 dst=192.168.22.0 sport=2426 dport=53 src=192.168.22.0 dst=192.168.22.1 sport=53 dport=2426 mark=0 use=2
ipv4 2 tcp 6 431981 ESTABLISHED src=192.168.22.1 dst=199.255.120.249 sport=39469 dport=443 src=199.255.120.249 dst=192.168.22.1 sport=443 dport=39469 [ASSURED] mark=0 use=2
ipv4 2 tcp 6 431981 ESTABLISHED src=192.168.22.1 dst=199.255.120.249 sport=39467 dport=443 src=199.255.120.249 dst=192.168.22.1 sport=443 dport=39467 [ASSURED] mark=0 use=2
ipv4 2 tcp 6 431984 ESTABLISHED src=192.168.22.1 dst=74.220.214.114 sport=35033 dport=993 src=74.220.214.114 dst=192.168.22.1 sport=993 dport=35033 [ASSURED] mark=0 use=2
ipv4 2 tcp 6 431980 ESTABLISHED src=192.168.22.1 dst=107.20.204.61 sport=56571 dport=443 src=107.20.204.61 dst=192.168.22.1 sport=443 dport=56571 [ASSURED] mark=0 use=2
ipv4 2 tcp 6 431983 ESTABLISHED src=192.168.22.1 dst=54.211.94.61 sport=49503 dport=443 src=54.211.94.61 dst=192.168.22.1 sport=443 dport=49503 [ASSURED] mark=0 use=2
ipv4 2 tcp 6 105 TIME_WAIT src=192.168.22.1 dst=77.234.40.90 sport=35805 dport=80 src=77.234.40.90 dst=192.168.22.1 sport=80 dport=35805 [ASSURED] mark=0 use=2
ipv4 2 udp 17 6 src=192.168.22.1 dst=198.27.65.66 sport=42656 dport=123 src=198.27.65.66 dst=192.168.22.1 sport=123 dport=42656 mark=0 use=2
ipv4 2 udp 17 11 src=192.168.22.1 dst=192.168.22.0 sport=7585 dport=53 src=192.168.22.0 dst=192.168.22.1 sport=53 dport=7585 mark=0 use=2
ipv4 2 udp 17 7 src=192.168.22.1 dst=192.168.22.0 sport=54382 dport=53 src=192.168.22.0 dst=192.168.22.1 sport=53 dport=54382 mark=0 use=2