Thread: RX bytes
View Single Post
  #2   (View Single Post)  
Old 22nd October 2008
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,503
Default

Code:
$ netstat -inb     
Name    Mtu   Network     Address               Ibytes     Obytes
lo0     33168 <Link>                             14035      14035
lo0     33168 127/8       127.0.0.1              14035      14035
lo0     33168 ::1/128     ::1                    14035      14035
lo0     33168 fe80::%lo0/ fe80::1%lo0            14035      14035
bge0    1500  <Link>      00:10:18:00:9f:fd  287795130   11082790
bge0    1500  192.168.222 192.168.222.20     287795130   11082790
bge0    1500  fe80::%bge0 fe80::210:18ff:fe  287795130   11082790
re0*    1500  <Link>      00:19:db:47:b0:4c          0          0
enc0*   1536  <Link>                                 0          0
Or
Code:
$ netstat -in  
Name    Mtu   Network     Address              Ipkts Ierrs    Opkts Oerrs Colls
lo0     33168 <Link>                              75     0       75     0     0
lo0     33168 127/8       127.0.0.1               75     0       75     0     0
lo0     33168 ::1/128     ::1                     75     0       75     0     0
lo0     33168 fe80::%lo0/ fe80::1%lo0             75     0       75     0     0
bge0    1500  <Link>      00:10:18:00:9f:fd   192905    42   129995     0     0
bge0    1500  192.168.222 192.168.222.20      192905    42   129995     0     0
bge0    1500  fe80::%bge0 fe80::210:18ff:fe   192905    42   129995     0     0
re0*    1500  <Link>      00:19:db:47:b0:4c        0     0        0     0     0
enc0*   1536  <Link>                               0     0        0     0     0
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote