This is a discussion on linux console program to monitoring network traffic including TCP/UDP session packet and bytes? within the Linux Security forums, part of the System Security and Security Related category; Hello, I'm using linux firewall (kernel 2.4.25 ) I'd like to see and packet , bytes via session ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hello,
I'm using linux firewall (kernel 2.4.25 ) I'd like to see and packet , bytes via session monitoring on linux firewall. when I issue #cat /proc/net/ip_conntract command on linux firewall console , I can't see them. I'm looinking for linux console program for TCP/UDP session monitoring including packets and bytes. or Is there a linux console program ( not UI and not Windows version ) to see session informaion include bytes, packets ? =========================== #cat /proc/net/ip_conntract ==> can't see bytes and packets ... tcp 6 431999 ESTABLISHED src=192.168.7.80 dst=192.168.7.1 sport=1194 dport=22 src=192.168.7.1 dst=192.168.7.80 sport=22 dport=1194 [ASSURED] use=1 tcp 6 431980 ESTABLISHED src=192.168.7.90 dst=207.46.107.60 sport=3788 dport=1863 src=207.46.107.60 dst=218.55.14.100 sport=1863 dport=3788 [ASSURED] use=1 .. .. .. Thanks a lot. have a day. |
|
|||
|
In article <ca6cvg$vs$1@news.hananet.net>, rambo88 wrote:
> Hello, > I'm using linux firewall (kernel 2.4.25 ) > I'd like to see and packet , bytes via session monitoring on linux firewall. > ... > I'm looinking for linux console program for TCP/UDP session monitoring > including packets and bytes. > > or Is there a linux console program ( not UI and not Windows version ) to > see session informaion include > bytes, packets ? There are many solutions. The usual limit is your time spent picking out the "significant" packets from the usually overwhelming volume of packets going by. If you need a CLI (scriptable) tool consider tcpdump(8). If you need practical filtering, consider ApplicationVantage (our proprietary product) form Compuware (http://www.compuware.com/) If your load is small enough that you can tolerate its limited capture filtering, consider ethereal(8). Hopefully helpful, -- Dr. Robert J. Meier Server Vantage Agent Infrastructure |
|
|||
|
rambo88 wrote:
> Hello, > I'm using linux firewall (kernel 2.4.25 ) > I'd like to see and packet , bytes via session monitoring on linux firewall. > > when I issue #cat /proc/net/ip_conntract command on linux firewall console > , I can't see them. > > I'm looinking for linux console program for TCP/UDP session monitoring > including packets and bytes. > > or Is there a linux console program ( not UI and not Windows version ) to > see session informaion include > bytes, packets ? > > =========================== > #cat /proc/net/ip_conntract ==> can't see bytes and packets ... > > tcp 6 431999 ESTABLISHED src=192.168.7.80 dst=192.168.7.1 sport=1194 > dport=22 src=192.168.7.1 dst=192.168.7.80 sport=22 dport=1194 [ASSURED] > use=1 > tcp 6 431980 ESTABLISHED src=192.168.7.90 dst=207.46.107.60 sport=3788 > dport=1863 src=207.46.107.60 dst=218.55.14.100 sport=1863 dport=3788 > [ASSURED] use=1 > . > . > . > > Thanks a lot. > have a day. > > > Not sure if this is the information you are looking for, but iptables -L -v -n gives you the packet and byte numbers for each chain. |
|
|||
|
rambo88 wrote:
> Hello, > I'm using linux firewall (kernel 2.4.25 ) > I'd like to see and packet , bytes via session monitoring on linux firewall. > > when I issue #cat /proc/net/ip_conntract command on linux firewall console > , I can't see them. > > I'm looinking for linux console program for TCP/UDP session monitoring > including packets and bytes. > > or Is there a linux console program ( not UI and not Windows version ) to > see session informaion include > bytes, packets ? > > =========================== > #cat /proc/net/ip_conntract ==> can't see bytes and packets ... > > tcp 6 431999 ESTABLISHED src=192.168.7.80 dst=192.168.7.1 sport=1194 > dport=22 src=192.168.7.1 dst=192.168.7.80 sport=22 dport=1194 [ASSURED] > use=1 > tcp 6 431980 ESTABLISHED src=192.168.7.90 dst=207.46.107.60 sport=3788 > dport=1863 src=207.46.107.60 dst=218.55.14.100 sport=1863 dport=3788 > [ASSURED] use=1 > . > . > . > > Thanks a lot. > have a day. > > > TCPDUMP -- --- http://www.alf.at.tc Austrian Linux Forum |
|
|||
|
Bernhard Kastner <bkastner@aon.at> wrote in
news:2m4k05FirjpjU1@uni-berlin.de: > rambo88 wrote: > >> Hello, >> I'm using linux firewall (kernel 2.4.25 ) >> I'd like to see and packet , bytes via session monitoring on linux >> firewall. >> >> when I issue #cat /proc/net/ip_conntract command on linux firewall >> console , I can't see them. >> >> I'm looinking for linux console program for TCP/UDP session >> monitoring including packets and bytes. >> >> or Is there a linux console program ( not UI and not Windows version >> ) to see session informaion include >> bytes, packets ? >> >> =========================== >> #cat /proc/net/ip_conntract ==> can't see bytes and packets ... >> >> tcp 6 431999 ESTABLISHED src=192.168.7.80 dst=192.168.7.1 >> sport=1194 dport=22 src=192.168.7.1 dst=192.168.7.80 sport=22 >> dport=1194 [ASSURED] use=1 >> tcp 6 431980 ESTABLISHED src=192.168.7.90 dst=207.46.107.60 >> sport=3788 dport=1863 src=207.46.107.60 dst=218.55.14.100 sport=1863 >> dport=3788 [ASSURED] use=1 >> . >> . >> . >> >> Thanks a lot. >> have a day. >> >> >> > TCPDUMP > or, if you only want the # bytes/packets for a session rather than the actual packet details, iptraf. |