Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@vipul-linux:~# iptables -L -vnx
- Chain INPUT (policy ACCEPT 22 packets, 9901 bytes)
- pkts bytes target prot opt in out source destination
- Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
- pkts bytes target prot opt in out source destination
- Chain OUTPUT (policy ACCEPT 24 packets, 4030 bytes)
- pkts bytes target prot opt in out source destination
- root@vipul-linux:~# netstat -tulpen
- Active Internet connections (only servers)
- Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name
- tcp 0 0 113.19.128.197:53 0.0.0.0:* LISTEN 116 6349 1051/named
- tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 116 6347 1051/named
- tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 280131 4777/sshd
- tcp 0 0 127.0.0.1:8118 0.0.0.0:* LISTEN 115 6689 1199/privoxy
- tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN 1000 5552 1153/postgres
- tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 116 5475 1051/named
- tcp 0 0 127.0.0.1:9050 0.0.0.0:* LISTEN 0 5608 1207/tor
- tcp6 0 0 :::53 :::* LISTEN 116 6341 1051/named
- tcp6 0 0 :::22 :::* LISTEN 0 280133 4777/sshd
- tcp6 0 0 ::1:5432 :::* LISTEN 1000 5551 1153/postgres
- tcp6 0 0 ::1:953 :::* LISTEN 116 5476 1051/named
- udp 0 0 113.19.128.197:53 0.0.0.0:* 116 6348 1051/named
- udp 0 0 127.0.0.1:53 0.0.0.0:* 116 6346 1051/named
- udp 0 0 0.0.0.0:68 0.0.0.0:* 0 5009 1070/dhclient3
- udp6 0 0 :::53 :::* 116 6340 1051/named
- root@vipul-linux:~# cat /etc/hosts
- 127.0.0.1 localhost
- 127.0.1.1 bt.foo.org bt
- # The following lines are desirable for IPv6 capable hosts
- ::1 localhost ip6-localhost ip6-loopback
- fe00::0 ip6-localnet
- ff00::0 ip6-mcastprefix
- ff02::1 ip6-allnodes
- ff02::2 ip6-allrouters
- ff02::3 ip6-allhosts
- root@vipul-linux:~#
Advertisement
Add Comment
Please, Sign In to add comment