
 ========================================
   CONNTRACK-VIEWER version 1.3
   http://cv.intellos.net

   by Patrick Lagace patou@sympatico.ca

 =======================================

DESCRIPTION
-----------
Conntrack-Viewer is a perl script to view the masquerading connections with iptables, it uses /proc/net/ip_conntrack

With ipchains, it was extremely easy to view the masquerading connections, 'netstat -M' or 'netstat --masquerade' gave 
you the result right away.

But since iptables, if you try this you will get: "netstat: no support for `ip_masquerade' on this system.". With 
iptables, the informations regarding the masquerading connections are accesible via /proc/net/ip_conntrack wich is 
extremely hard to read

This is why Conntrack-Viewer is so helpfull, it make those criptic results a lot more legible.


USAGE
-----
USAGE: ./conntrack-viewer [-n][-m][-d][-nh][-h]
-n      Numeric form only, no dns resolution (this is faster)
-m      Masqueraded connections only
-d      Direct connections only
-nh     Results only, hide header
-h      Print this help


CHANGELOG
---------
1.3     changed the service detection to use distant AND source port
1.2     added the masqueraded connections display only
        added the direct connections display only
        added the header feature
        changed the columns spacing
        improved the code efficacity and legibility with comments

1.1     added the -n switch to view in numeric format
        removed the $status in the result cause it's directly related to the connection state

1.0     initial release


LICENSE
-------
conntrack-viewer is free and protected by the GPL license. 

SUPPORT / CONTACT
-----------------
For question, comment or support, please contact the author,
Patrick Lagac
patou@sympatico.ca


