I would like to keep a log of the connection list. I find a few unrelated IPs every now and then (10.x.x.x) plus I want to track non-http connections.
I was think of something like
Code: Select all
cat /proc/net/nf_conntrack >> /tmp/connection.log
Is there a better way? I tried remote logging but there is little WAN connection information.
I appreciate any pointers.