Guest User

Untitled

a guest
Jul 25th, 2012
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.77 KB | None | 0 0
  1. root@vipul-linux:~# iptables -L -vnx
  2. Chain INPUT (policy ACCEPT 22 packets, 9901 bytes)
  3. pkts bytes target prot opt in out source destination
  4.  
  5. Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
  6. pkts bytes target prot opt in out source destination
  7.  
  8. Chain OUTPUT (policy ACCEPT 24 packets, 4030 bytes)
  9. pkts bytes target prot opt in out source destination
  10. root@vipul-linux:~# netstat -tulpen
  11. Active Internet connections (only servers)
  12. Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name
  13. tcp 0 0 113.19.128.197:53 0.0.0.0:* LISTEN 116 6349 1051/named
  14. tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 116 6347 1051/named
  15. tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 280131 4777/sshd
  16. tcp 0 0 127.0.0.1:8118 0.0.0.0:* LISTEN 115 6689 1199/privoxy
  17. tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN 1000 5552 1153/postgres
  18. tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 116 5475 1051/named
  19. tcp 0 0 127.0.0.1:9050 0.0.0.0:* LISTEN 0 5608 1207/tor
  20. tcp6 0 0 :::53 :::* LISTEN 116 6341 1051/named
  21. tcp6 0 0 :::22 :::* LISTEN 0 280133 4777/sshd
  22. tcp6 0 0 ::1:5432 :::* LISTEN 1000 5551 1153/postgres
  23. tcp6 0 0 ::1:953 :::* LISTEN 116 5476 1051/named
  24. udp 0 0 113.19.128.197:53 0.0.0.0:* 116 6348 1051/named
  25. udp 0 0 127.0.0.1:53 0.0.0.0:* 116 6346 1051/named
  26. udp 0 0 0.0.0.0:68 0.0.0.0:* 0 5009 1070/dhclient3
  27. udp6 0 0 :::53 :::* 116 6340 1051/named
  28. root@vipul-linux:~# cat /etc/hosts
  29. 127.0.0.1 localhost
  30. 127.0.1.1 bt.foo.org bt
  31.  
  32. # The following lines are desirable for IPv6 capable hosts
  33. ::1 localhost ip6-localhost ip6-loopback
  34. fe00::0 ip6-localnet
  35. ff00::0 ip6-mcastprefix
  36. ff02::1 ip6-allnodes
  37. ff02::2 ip6-allrouters
  38. ff02::3 ip6-allhosts
  39.  
  40. root@vipul-linux:~#
Advertisement
Add Comment
Please, Sign In to add comment