https://qa.mandrakesoft.com/show_bug.cgi?id=760

           Product: guarddog
         Component: guarddog
           Summary: guarddog does not like LANGUAGE French (and others?)
           Version: 2.0.0-2mdk
          Platform: PC
        OS/Version: All
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


If you use run guarddog under a language environment that is not C or english
the parsing of the ifconfig command fails to recognize your network interfaces
addresses and so the resulting iptables rules are incorrect.

In english ifconfig shows for example : 
eth0      Link encap:Ethernet  HWaddr 00:01:02:0C:20:8A
          inet addr:10.0.0.10  Bcast:10.0.0.255  Mask:255.255.255.0

In french the same is :
eth0      Lien encap:Ethernet  HWaddr 00:01:02:0C:20:8A
          inet adr:10.0.0.10  Bcast:10.0.0.255  Masque:255.255.255.0

Notice 'adr:' in english versus 'addr:' in french.
It seems that guarddog incorrectly parse this line using en english pattern.

temporary workaround, run: LANGUAGE=C guarddog

but the parsing should not depend on the language environnment used.
This is  a SECURITY ISSUE.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

Reply via email to