Code:
ifconfig -a
br0 Link encap:Ethernet HWaddr 00:90:4C:C0:00:00
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3401256 errors:0 dropped:0 overruns:0 frame:0
TX packets:2947142 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2951129911 (2.7 GiB) TX bytes:1844875120 (1.7 GiB)
eth0 Link encap:Ethernet HWaddr 00:90:4C:C0:00:00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6553295 errors:118 dropped:0 overruns:6 frame:6
TX packets:6344544 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:705334729 (672.6 MiB) TX bytes:629152780 (600.0 MiB)
Interrupt:4 Base address:0x1000
eth1 Link encap:Ethernet HWaddr 00:90:4C:C1:00:00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4225 errors:0 dropped:0 overruns:0 frame:288
TX packets:44803 errors:289 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5456622 (5.2 MiB) TX bytes:8904846 (8.4 MiB)
Interrupt:13 Base address:0x5000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MULTICAST MTU:16436 Metric:1
RX packets:1 errors:0 dropped:0 overruns:0 frame:0
TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:76 (76.0 B) TX bytes:76 (76.0 B)
ppp0 Link encap:Point-to-Point Protocol
inet addr:92.242.87.37 P-t-P:89.189.25.251 Mask:255.255.255.255
UP POINTOPOINT RUNNING MULTICAST MTU:1400 Metric:1
RX packets:2184289 errors:0 dropped:0 overruns:0 frame:0
TX packets:1659063 errors:0 dropped:1 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:1763187823 (1.6 GiB) TX bytes:380775050 (363.1 MiB)
sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
vlan0 Link encap:Ethernet HWaddr 00:90:4C:C0:00:00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3397030 errors:0 dropped:0 overruns:0 frame:0
TX packets:2944914 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2959320593 (2.7 GiB) TX bytes:1856479168 (1.7 GiB)
vlan2 Link encap:Ethernet HWaddr 00:1B:11:37:C9:24
inet addr:10.23.18.33 Bcast:10.23.19.255 Mask:255.255.252.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3156265 errors:0 dropped:0 overruns:0 frame:0
TX packets:3399630 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1923022122 (1.7 GiB) TX bytes:3067640908 (2.8 GiB)
Code:
netstat -an
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:515 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:9100 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:53 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:5431 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:3838 0.0.0.0:* LISTEN
tcp 0 0 192.168.1.1:5431 192.168.1.3:49683 TIME_WAIT
tcp 0 0 10.23.18.33:1032 172.18.224.4:1723 ESTABLISHED
tcp 0 0 192.168.1.1:5431 192.168.1.3:49712 TIME_WAIT
tcp 0 0 :::81 :::* LISTEN
tcp 0 0 :::53 :::* LISTEN
tcp 0 0 :::22 :::* LISTEN
tcp 0 0 :::23 :::* LISTEN
tcp 0 52 ::ffff:192.168.1.1:22 ::ffff:192.168.1.3:49470 ESTABLISHED
udp 0 0 0.0.0.0:53 0.0.0.0:*
udp 0 0 0.0.0.0:67 0.0.0.0:*
udp 0 0 0.0.0.0:1900 0.0.0.0:*
udp 0 0 :::53 :::*
raw 108384 0 0.0.0.0:2 0.0.0.0:* 2
raw 0 0 0.0.0.0:2 0.0.0.0:* 2
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] STREAM LISTENING 17664 /var/run/pptp/172.18.224.4:2
unix 7 [ ] DGRAM 265 /dev/log
unix 3 [ ] STREAM CONNECTED 17668 /var/run/pptp/172.18.224.4:2
unix 3 [ ] STREAM CONNECTED 17662
unix 2 [ ] DGRAM 17642
unix 2 [ ] DGRAM 2078
unix 2 [ ] DGRAM 884
unix 2 [ ] DGRAM 473
unix 2 [ ] DGRAM 468