Code:
Chain INBOUND (1 references)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere state RELATED,ESTAB LISHED
ACCEPT udp -- anywhere anywhere state RELATED,ESTAB LISHED
ACCEPT all -- terrenisrv1 anywhere
ACCEPT all -- 212.143.241.132 anywhere
root@terrenisrv1:/home/martin# iptables -L
Chain INBOUND (1 references)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT udp -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT all -- terrenisrv1 anywhere
ACCEPT all -- 212.143.241.132 anywhere
ACCEPT all -- 212.143.241.129 anywhere
ACCEPT all -- 212.143.241.132 anywhere
ACCEPT tcp -- anywhere anywhere tcp dpt:imap2
ACCEPT udp -- anywhere anywhere udp dpt:imap2
ACCEPT tcp -- anywhere anywhere tcp dpt:pop3
ACCEPT udp -- anywhere anywhere udp dpt:pop3
ACCEPT tcp -- anywhere anywhere tcp dpt:smtp
ACCEPT udp -- anywhere anywhere udp dpt:25
ACCEPT tcp -- anywhere anywhere tcp dpt:www
ACCEPT udp -- anywhere anywhere udp dpt:www
ACCEPT tcp -- anywhere anywhere tcp dpt:81
ACCEPT udp -- anywhere anywhere udp dpt:81
ACCEPT tcp -- anywhere anywhere tcp dpt:smtp
ACCEPT udp -- anywhere anywhere udp dpt:25
ACCEPT tcp -- anywhere anywhere tcp dpt:telnet
ACCEPT udp -- anywhere anywhere udp dpt:23
ACCEPT tcp -- anywhere anywhere tcp dpts:x11:6015
ACCEPT udp -- anywhere anywhere udp dpts:x11:6015
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh
ACCEPT udp -- anywhere anywhere udp dpt:ssh
ACCEPT tcp -- anywhere anywhere tcp dpt:ftp
ACCEPT udp -- anywhere anywhere udp dpt:fsp
LSI all -- anywhere anywhere
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT tcp -- port-195-90-1-5.static.qsc.de anywhere tcp flags:!SYN,RST,ACK/SYN
ACCEPT udp -- port-195-90-1-5.static.qsc.de anywhere
ACCEPT tcp -- dns2.netvision.net.il anywhere tcp flags:!SYN,RST,ACK/SYN
ACCEPT udp -- dns2.netvision.net.il anywhere
ACCEPT all -- anywhere anywhere
ACCEPT icmp -- anywhere anywhere limit: avg 10/sec burst 5
DROP all -- anywhere 255.255.255.255
DROP all -- anywhere 212.143.241.255
DROP all -- BASE-ADDRESS.MCAST.NET/8 anywhere
DROP all -- anywhere BASE-ADDRESS.MCAST.NET/8
DROP all -- 255.255.255.255 anywhere
DROP all -- anywhere 0.0.0.0
DROP all -- anywhere anywhere state INVALID
LSI all -f anywhere anywhere limit: avg 10/min burst 5
INBOUND all -- anywhere anywhere
LOG_FILTER all -- anywhere anywhere
LOG all -- anywhere anywhere LOG level info prefix `Unknown Input'
Chain FORWARD (policy DROP)
target prot opt source destination
ACCEPT icmp -- anywhere anywhere limit: avg 10/sec burst 5
LOG_FILTER all -- anywhere anywhere
LOG all -- anywhere anywhere LOG level info prefix `Unknown Forward'
Chain LOG_FILTER (5 references)
target prot opt source destination
Chain LSI (2 references)
target prot opt source destination
LOG_FILTER all -- anywhere anywhere
LOG tcp -- anywhere anywhere tcp flags:SYN,RST,ACK/SYN limit: avg 1/sec burst 5 LOG level info prefix `Inbound '
DROP tcp -- anywhere anywhere tcp flags:SYN,RST,ACK/SYN
LOG tcp -- anywhere anywhere tcp flags:FIN,SYN,RST,ACK/RST limit: avg 1/sec bur st 5 LOG level info prefix `Inbound '
DROP tcp -- anywhere anywhere tcp flags:FIN,SYN,RST,ACK/RST
LOG icmp -- anywhere anywhere icmp echo-request limit: avg 1/sec burst 5 LOG lev el info prefix `Inbound '
DROP icmp -- anywhere anywhere icmp echo-request
LOG all -- anywhere anywhere limit: avg 5/sec burst 5 LOG level info prefix `In bound '
DROP all -- anywhere anywhere
Chain LSO (0 references)
target prot opt source destination
LOG_FILTER all -- anywhere anywhere
LOG all -- anywhere anywhere limit: avg 5/sec burst 5 LOG level info prefix `Ou tbound '
REJECT all -- anywhere anywhere reject-with icmp-port-unreachable
Chain OUTBOUND (1 references)
target prot opt source destination
ACCEPT icmp -- anywhere anywhere
ACCEPT tcp -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT udp -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT all -- anywhere anywhere
Chain OUTPUT (policy DROP)
target prot opt source destination
ACCEPT tcp -- terrenisrv1 port-195-90-1-5.static.qsc.de tcp dpt:domain
ACCEPT udp -- terrenisrv1 port-195-90-1-5.static.qsc.de udp dpt:domain
ACCEPT tcp -- terrenisrv1 dns2.netvision.net.il tcp dpt:domain
ACCEPT udp -- terrenisrv1 dns2.netvision.net.il udp dpt:domain
ACCEPT all -- anywhere anywhere
DROP all -- BASE-ADDRESS.MCAST.NET/8 anywhere
DROP all -- anywhere BASE-ADDRESS.MCAST.NET/8
DROP all -- 255.255.255.255 anywhere
DROP all -- anywhere 0.0.0.0
DROP all -- anywhere anywhere state INVALID
OUTBOUND all -- anywhere anywhere
LOG_FILTER all -- anywhere anywhere
LOG all -- anywhere anywhere LOG level info prefix `Unknown Output'
Code:
netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 localhost.localdo:32769 *:* LISTEN 6758/hpiod
tcp 0 0 localhost.localdo:32770 *:* LISTEN 6761/python
tcp 0 0 localhost.localdo:mysql *:* LISTEN 7319/mysqld
tcp 0 0 *:5900 *:* LISTEN 8015/vino-server
tcp 0 0 *:ftp *:* LISTEN 7605/proftpd: (acce
tcp 0 0 terrenisrv1:domain *:* LISTEN 6730/named
tcp 0 0 localhost.locald:domain *:* LISTEN 6730/named
tcp 0 0 *:smtp *:* LISTEN 7434/master
tcp 0 0 localhost.localdoma:953 *:* LISTEN 6730/named
tcp 0 0 terrenisrv1:58907 h7252.serverkompete:www TIME_WAIT -
tcp 0 0 localhost.localdo:42285 localhost.localdo:32769 ESTABLISHED6761/python
tcp 0 0 localhost.localdo:32769 localhost.localdo:42285 ESTABLISHED6758/hpiod
tcp 0 0 terrenisrv1:56010 a.tribalfusion.com:www TIME_WAIT -
tcp 0 0 terrenisrv1:56013 a.tribalfusion.com:www TIME_WAIT -
tcp 0 0 terrenisrv1:42435 66.249.93.99:www ESTABLISHED8212/firefox-bin
tcp 0 0 terrenisrv1:42436 66.249.93.99:www ESTABLISHED8212/firefox-bin
tcp6 0 0 *:imaps *:* LISTEN 6843/couriertcpd
tcp6 0 0 *:pop3s *:* LISTEN 6884/couriertcpd
tcp6 0 0 *:pop3 *:* LISTEN 6861/couriertcpd
tcp6 0 0 *:imap2 *:* LISTEN 6820/couriertcpd
tcp6 0 0 *:ssh *:* LISTEN 7561/sshd
tcp6 0 0 ip6-localhost:953 *:* LISTEN 6730/named
THANKS!!
Recent comments
12 hours 16 min ago
12 hours 22 min ago
17 hours 20 min ago
1 day 1 min ago
1 day 50 min ago
1 day 2 hours ago
1 day 6 hours ago
1 day 13 hours ago
1 day 16 hours ago
1 day 18 hours ago