filter unwanted packets

Kefalas Apostolos apollo at hellug.gr
Sun Oct 7 20:16:01 EEST 2001


Kalispera Paides,


Se ena Linuxaki sto opoio 8eloume na kanei Dial-On-Demand exoume settarei 
ton
pppd me ta katallila orismata kai paizei kanonika ektos tou oti den rixnei
tin syndesei meta apo ta 180sec pou tou exoume orisei ki auto giati o
provider stelnei kapoia paketa mono kai mono gia na mou spasei ta neura alla
kai gia na dei an eimai akoma edw!!!!!!!!!

#tcpdump -i ppp0

19:08:33.372539 147.102.223.244 > 224.0.0.1: igmp query v2 [tos 0xc0]  [ttl 
1]
19:08:36.342547 147.102.223.244 > 224.0.0.13: pim v2 Hello (Hold-time 
1m45s) [tos 0xc0]  [ttl 1]
19:09:06.432517 147.102.223.244 > 224.0.0.13: pim v2 Hello (Hold-time 
1m45s) [tos 0xc0]  [ttl 1]
19:09:33.522516 147.102.223.244 > 224.0.0.1: igmp query v2 [tos 0xc0]  [ttl 
1]
19:09:36.522508 147.102.223.244 > 224.0.0.13: pim v2 Hello (Hold-time 
1m45s) [tos 0xc0]  [ttl 1]
19:10:06.742513 147.102.223.244 > 224.0.0.13: pim v2 Hello (Hold-time 
1m45s) [tos 0xc0]  [ttl 1]
19:10:33.712552 147.102.223.244 > 224.0.0.1: igmp query v2 [tos 0xc0]  [ttl 
1]
19:10:36.722534 147.102.223.244 > 224.0.0.13: pim v2 Hello (Hold-time 
1m45s) [tos 0xc0]  [ttl 1]
19:11:06.782540 147.102.223.244 > 224.0.0.13: pim v2 Hello (Hold-time 
1m45s) [tos 0xc0]  [ttl 1]

Xrhsimopoioume loipon iptables gia na kopsoume ta en logw paketa dinontas
ton parakatw kanona:

#iptables -A INPUT -i ppp+ -s 147.102.223.244 -d 224.0.0.0/24 -j DROP

H genikh politikh ths INPUT einai ACCEPT exoyme phryna 2.4.7 kai iptables
1.2.2

Dyxtixws omws synexizoume na lambanoume ta en logw paketa me apotelesma
na min peftei i......... syndesi mas!!!!!!!


Kamia idea????






More information about the Linux-greek-users mailing list