Toon posts:

IPcop firewall

Pagina: 1
Acties:

Verwijderd

Topicstarter
Ja k'heb ge kijken en zie niets over mijn probleem.
In mijn firewall logs zit het vol met IGMP scans hoe kan ik de firewall instellen om deze niet in de log te zetten???

  • miniBSD
  • Registratie: Augustus 2002
  • Laatst online: 20-12-2023
Als je ik kijk op http://ipcop.hopto.org/ wordt het probleem in de FAQ genoemd:

· My ISP is filling my logs with IGMP or PIM packets. How can I stop logging those?

Log into the IPCop console as root and edit a file named /etc/rc.d/rc.firewall.up . In that file, add these two lines to permanenly drop IGMP and PIM packets.

For a modem connection to the ISP...

ipchains -A input -i ppp0 -p igmp -j REJECT
ipchains -A input -i ppp0 -p pim -j REJECT


For an ethernet connection to the ISP...

ipchains -A input -i eth1 -p igmp -j REJECT
ipchains -A input -i eth1 -p pim -j REJECT

You can add these lines just before the comment:

# all ICMP on ppp too

Of course, directly editing the firewall rules is risky business and is done at your own peril. If this breaks your firewall, you get to keep both parts.

Quidquid latine dictum sit, altum sonatur (Whatever is said in Latin sounds profound).


Verwijderd

Topicstarter
yups heb ik gezien maar omdat ik een linux noob bent heb ik het file met wordpad aangepast en dat werkt niet dus. Maar ja heb ik met vi nu al gedaan...