Δημοσιεύτηκε: 28 Οκτ 2008, 23:01
jjkarag@jjkarag-desktop:~$ ping 192.168.1.1 -c 5
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted
--- 192.168.1.1 ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 3999ms
jjkarag@jjkarag-desktop:~$ ping www.google.com -c 5
ping: unknown host www.google.com
jjkarag@jjkarag-desktop:~$
jkarag@jjkarag-desktop:~$ sudo netstat -atpn
[sudo] password for jjkarag:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 5974/mysqld
tcp 0 0 0.0.0.0:6549 0.0.0.0:* LISTEN 6605/mythbackend
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 6130/cupsd
jjkarag@jjkarag-desktop:~$ sudo iptables -L
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT all -- anywhere anywhere
LOG all -- 127.0.0.0/8 anywhere LOG level warning
DROP all -- 127.0.0.0/8 anywhere
DROP all -- anywhere 224.0.0.1
LOG all -- anywhere anywhere LOG level warning
DROP all -- anywhere anywhere
Chain FORWARD (policy DROP)
target prot opt source destination
DROP all -- anywhere 224.0.0.1
LOG all -- anywhere anywhere LOG level warning
DROP all -- anywhere anywhere
Chain OUTPUT (policy DROP)
target prot opt source destination
ACCEPT all -- anywhere anywhere
DROP all -- anywhere 224.0.0.1
LOG all -- anywhere anywhere LOG level warning
DROP all -- anywhere anywhere
jjkarag@jjkarag-desktop:~$
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted
--- 192.168.1.1 ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 3999ms
jjkarag@jjkarag-desktop:~$ ping www.google.com -c 5
ping: unknown host www.google.com
jjkarag@jjkarag-desktop:~$
jkarag@jjkarag-desktop:~$ sudo netstat -atpn
[sudo] password for jjkarag:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 5974/mysqld
tcp 0 0 0.0.0.0:6549 0.0.0.0:* LISTEN 6605/mythbackend
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 6130/cupsd
jjkarag@jjkarag-desktop:~$ sudo iptables -L
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT all -- anywhere anywhere
LOG all -- 127.0.0.0/8 anywhere LOG level warning
DROP all -- 127.0.0.0/8 anywhere
DROP all -- anywhere 224.0.0.1
LOG all -- anywhere anywhere LOG level warning
DROP all -- anywhere anywhere
Chain FORWARD (policy DROP)
target prot opt source destination
DROP all -- anywhere 224.0.0.1
LOG all -- anywhere anywhere LOG level warning
DROP all -- anywhere anywhere
Chain OUTPUT (policy DROP)
target prot opt source destination
ACCEPT all -- anywhere anywhere
DROP all -- anywhere 224.0.0.1
LOG all -- anywhere anywhere LOG level warning
DROP all -- anywhere anywhere
jjkarag@jjkarag-desktop:~$