New ZeroConf Spec
Trent Lloyd
lathiat at bur.st
Mon Jul 10 12:04:09 BST 2006
On Mon, Jul 10, 2006 at 09:58:58AM +0100, Scott James Remnant wrote:
> On Sun, 2006-07-09 at 13:39 -0500, Carl Karsten wrote:
>
> > Scott James Remnant wrote:
> > > On Mon, 2006-07-03 at 20:48 -0700, Dan Kegel wrote:
> > >
> > >> There should be no exception: there should be no open ports by default.
> > >>
> > > This isn't actually entirely true; we currently have two open ports by
> > > default:
> > >
> > > If you're on a network with DHCP, the DHCP client listens on UDP port 68
> > > to receive responses from the DHCP server.
> > >
> > > And every time you make a DNS query, a UDP port is opened to receive the
> > > response from the DNS server.
> >
> > I think you are missing the meaning or intent of "no open ports" - when a client
> > makes a request of a server, it waits for the response on a port. That includes
> > a web browser, dns, e-mail client, apt-get, IRC and anything else that talks to
> > another box.
> >
> These all talk TCP, which has reasonably strong prevention against
> attack from an alternate source which comes for free in the kernel.
>
> DNS uses UDP which does NOT have this prevention, while the daemon is
> waiting for a reply, it can receive packets from ANYWHERE.
And in fact with mDNS/DNS-SD you *want* to receive packets from
"anywhere"
Trent
>
> Scott
> --
> Scott James Remnant
> scott at ubuntu.com
> --
> ubuntu-devel mailing list
> ubuntu-devel at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel
--
Trent Lloyd <lathiat at bur.st>
Bur.st Networking Inc.
More information about the ubuntu-devel
mailing list