Re: [SLE] Solved, Re: [SLE] Firewall oddity

From: Darryl Gregorash (raven_at_accesscomm.ca)
Date: 11/13/05

  • Next message: Anders Johansson: "Re: [SLE] Clearing up the FUD on CLI/Mono"
    Date: Sat, 12 Nov 2005 18:16:30 -0600
    To: suse-linux-e@suse.com
    
    

    On 11/12/2005 10:48 AM, Simon Roberts wrote:
    >Thanks Darryl for the pointers, I finally worked out what's going on
    >(with a little more help from ethereal and by setting the "log
    >everything" mode on the firewall).
    >
    >The problem was that for some reason setting dhcp as an allowed service
    >doesn't quite do the job. You have to add bootpc and bootps to the
    >"allowed broadcast" field too.
    >
    >I'm not sure how this ever worked, given that the broadcast field in
    >Yast's firewall wizard isn't something I'd played with before, and I'm
    >also unsure why Yast isn't smart enough to set that field when I told
    >it that I wanted to allow dhcp. Maybe 10.0 is smarter, or maybe I did
    >something unimaginably fiendish to confuse it :)
    >
    >Anyway, now, with bootpc and bootps as allowed broadcasts, it works
    >again.
    Apologies for not getting back to you sooner, but it's good to see you
    were able to resolve this on your own. I doubt my "pointers" had much
    bearing on that; perhaps I got you to focus your attention on the
    firewall a bit more, but nothing more than that. My previous message
    said nothing about initial broadcast messages, which I mistakenly
    thought were actually working -- I thought you were saying that renewal
    requests weren't getting through. Yes, it is strange that your dhcp
    worked before, without that broadcast service being specifically allowed
    (are you certain the internal interface wasn't previously open to *all*
    broadcast messages?). But I've seen stranger things reported in here
    before :)

    The following explanation should help future readers with the same
    problem understand what has happened here:

    At first, a system usually has no idea where any dhcp server is, so it
    has to use a broadcast message to find one (it will also obtain a first
    IP lease at this time). When the time comes to renew the initial lease,
    it does know of a dhcp server, so a unicast message is possible.

    On the dhcp server (which is what Simon is configuring here), the DMZ
    and/or INT interfaces must therefore be opened for INPUT on port bootps
    (67) for both types of messages. The lines in the firewall config for
    FW_SERVICES_INT_TCP, etc only pertain to unicast messages, with a
    separate set used for broadcast. It makes no sense to combine the two
    sets of variables, because very few services need to use broadcast; you
    would have to write exceptions into the script for those that did. It's
    far simpler to use separate config variables, one set for unicast
    messages and another for broadcast.

    -- 
    Check the headers for your unsubscription address
    For additional commands send e-mail to suse-linux-e-help@suse.com
    Also check the archives at http://lists.suse.com
    Please read the FAQs: suse-linux-e-faq@suse.com
    

  • Next message: Anders Johansson: "Re: [SLE] Clearing up the FUD on CLI/Mono"

    Relevant Pages

    • Re: [SLE] Solved, Re: [SLE] Firewall oddity
      ... > firewall a bit more, ... > said nothing about initial broadcast messages, ... > it does know of a dhcp server, so a unicast message is possible. ... > far simpler to use separate config variables, ...
      (SuSE)
    • Re: Weird dhcp broadcast address
      ... > seems to it to be the broadcast address as a gateway. ... if the address is 111.222.112.5 and the netmask ... DHCP server is set up incorrectly. ...
      (comp.os.linux.networking)
    • Re: Weird dhcp broadcast address
      ... > seems to it to be the broadcast address as a gateway. ... if the address is 111.222.112.5 and the netmask ... DHCP server is set up incorrectly. ...
      (alt.os.linux)
    • Re: dhcpd with multiple interfaces.
      ... So the broadcast address assigned to eth2 should be 192.168.1.127. ... I think that there is some kind of bug in DHCP server, ... > it really should NAK the DHCPREQUEST received via eth3, ... using just plain ethernet befare ruling it as a bug with DHCPd. ...
      (comp.os.linux.networking)
    • RE: WinCE 4.1 UDP broadcast problems with Auto IP
      ... The bug is caused by the legacy-registry flush mechanism ... ... > To set up its IP address I run a program on the PC which broadcasts a UDP ... > replies with another (broadcast) UDP message telling the PC what its current ... > The problem I am seeing is this: if a DHCP server is available, ...
      (microsoft.public.windowsce.app.development)

    Loading