Linux Netfilter discussions
 help / color / mirror / Atom feed
* port 389
@ 2004-01-23  7:27 Rakotomandimby Mihamina
  2004-01-23  8:38 ` Antony Stone
  0 siblings, 1 reply; 4+ messages in thread
From: Rakotomandimby Mihamina @ 2004-01-23  7:27 UTC (permalink / raw)
  To: netfilter

Hello , 
I asked for some frineds of mine to scan mly host , and they all find my 389 
port opened . here is the report , for those who understand french : 
http://www.tsenagasy.com/forum/viewtopic.php?p=33992#33992

i dont understand what's happening :

netstat | grep 389 
gives nothing , and
this is my set of rules .
would you help me to see , what is wrong ? or is the 389 just an "answer" 
port ?


iptables -P INPUT DROP
iptables -A INPUT -p tcp --syn -m limit --limit 1/s -j ACCEPT
iptables -A INPUT -p tcp --tcp-flags SYN,ACK,FIN,RST RST -m limit --limit 1/s 
-j ACCEPT
iptables -A INPUT -i ppp0 -m unclean -j LOG --log-level debug --log-prefix 
"unclean_: "
iptables -A INPUT -i ppp0 -m unclean -j DROP
iptables -A INPUT -i lo -j ACCEPT
iptables -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
iptables -A INPUT -p tcp --dport 20 -j ACCEPT
iptables -A INPUT -p tcp --dport 21 -j ACCEPT
iptables -A INPUT -p tcp --dport 25 -j ACCEPT
iptables -A INPUT -p tcp --dport 80 -j ACCEPT
iptables -A INPUT -p tcp --dport 8090 -j ACCEPT
iptables -A INPUT -p tcp --dport 8080 -j ACCEPT
iptables -A INPUT -p tcp --dport 10080 -j ACCEPT
iptables -A INPUT -p tcp --dport 9000 -j ACCEPT
iptables -A INPUT -p icmp -j ACCEPT
iptables -A INPUT -p tcp --syn -m limit --limit 10/s -j LOG --log-level debug 
--log-prefix "syn_flood_attack_: "
iptables -A INPUT -p tcp --tcp-flags SYN,ACK,FIN,RST RST -m limit --limit 10/s 
-j LOG --log-level debug --log-prefix "port_scan_attack_: "
iptables -A INPUT -j LOG --log-level debug --log-prefix "dropped_input_: "

-- 
Rakotomandimby Mihamina Andrianifaharana
Tel : +33 2 38 76 43 65
http://stko.dyndns.info/site_principal/Members/mihamina



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-01-24  9:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-23  7:27 port 389 Rakotomandimby Mihamina
2004-01-23  8:38 ` Antony Stone
2004-01-23 12:36   ` Rakotomandimby Mihamina
2004-01-24  9:57     ` Arnt Karlsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox