This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Dropping IGMP without logging -- need help!

For an unknown reason, my ISP is boadcasting some IGMP (IP Protocol 2) to address 224.0.0.1... Astaro pick it up and drop it....  which is fine. 

The question is : Can we prevent astaro 4.017 form logging those IGMP? I did it for all other crap like icmp request on external interface...  the problem with IGMP is that It's not TCP or UDP and can not be defined as a service.... Since those boradcast are comming from the ISP DHCP server, I can not simply block the source address... I did tried it just in case and guess what... it still log the damn IGMP...

If someone has any info, let me know....  even if its a manual command to try at the prompt!

thanks

Neo2048  


This thread was automatically locked due to age.
Parents Reply Children
  • Can you tell me where is that damn file?

    thanks! 
  • got a quick one...

    The problematic line is store in the following chain: LOG_CHAIN

    Here is the line itself:
     1    28 LOG        2    --  *      *       0.0.0.0/0            0.0.0.0/0 


    Once it get there, the packet is logged, if we simply remove that line (line 6 btw) it still drop IGMP but does not log it!

    Now, I need to find out where Astaro has store those pre-define entrys for IPTABLES....  and remove the line form it! But I have no idea where it is.... if the line 6 is deleted from command line, everything is fine....  until I reboot.....

    do someone know where the LOG_CHAIN definition is stored... which file I should edit?

    thanks!


     
  • Copy and past that line (it is ONE line):

    touch /sbin/init.d/ipfilter.local;chmod 400 /sbin/init.d/ipfilter.local;echo "/usr/local/bin/iptables -D INPUT -p 2 -j DROP" > /sbin/init.d/ipfilter.local;echo "/usr/local/bin/iptables -I INPUT -p 2 -j DROP" >> /sbin/init.d/ipfilter.local

    That should drop IGMP  

    Cheers
    Xeno   
  • thanks a lot!!!!

    Neo