netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Rémi Denis-Courmont" <rdenis@simphalempin.com>
To: David Stevens <dlstevens@us.ibm.com>
Cc: cananian@gmail.com, "C. Scott Ananian" <cscott@laptop.org>,
	netdev@vger.kernel.org
Subject: Re: [RFD] First draft of RDNSS-in-RA support for IPv6 DNS autoconfiguration
Date: Sat, 23 Jun 2007 22:18:44 +0300	[thread overview]
Message-ID: <200706232218.50100@auguste.remlab.net> (raw)
In-Reply-To: <OF8A941F0F.60C57774-ON88257303.0064A759-88257303.006782B8@us.ibm.com>

[-- Attachment #1: Type: text/plain, Size: 2313 bytes --]

Le samedi 23 juin 2007, David Stevens a écrit :
>         This doesn't say that unauthenticated packets must be
> delivered, and I don't think the portability of an RDNS daemon is an
> issue. But even if you really wanted to run the same code on a
> non-Linux machine, it just means that your daemon code would have to
> do its own authentication.
> Reading /proc or netlink with packet formats you've defined to get
> this information is not more portable to non-Linux machines, right? I
> don't see any issue here. If an application is relying on the ability
> to see forged packets for portability reasons, it's probably not an
> application you want running on your machine. :-)

It so happens that the very userland applications that are currently 
using raw ICMPv6 sockets to see RAs *DO* want to see them all. As far 
as I know, they are all monitoring softwares (radvdump from radvd, 
rdisc6 from ndisc6, and probably scapy as well) where you do want to 
see "problematic" packets.

All in all, this would break well-behaved standard-abiding userland 
applications...

> > The userspace DNS configuration daemon might need to be started
> > later than the kernel autoconf - another issue that needs help from
> > the kernel.
>
>         Easily done; the init scripts are what bring the interfaces
> up in the first place, so start the daemon before those run. Adding
> an entry in inittab so it'll be automatically restarted if it dies is
> also a reasonable thing. RA's are resent periodically, and they can
> be lost anyway, so not the end of the world if you miss one, either.

What about NFS root? the network interface will already be up before 
even the real init gets started, let alone the userland RDNSS daemon.

"resent periodically"... at a default rate of one every 10 minutes! I 
surely hope your desktop boots up faster than that. Besides, some links 
do not have unsolicited advertisements at all (I have seen such a PPPoA 
link for instance). An ugly kludge would be to send a RS from userland, 
but that's not so great considering routers are rate-limiting their 
RAs.

The only way is for the kernel to remember "something" about the last 
processed RA. That disqualifies raw ICMPv6 sockets.

-- 
Rémi Denis-Courmont
http://www.remlab.net/

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2007-06-23 19:18 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-22 23:26 [RFD] First draft of RDNSS-in-RA support for IPv6 DNS autoconfiguration C. Scott Ananian
2007-06-22 23:39 ` Michael Buesch
2007-06-23  0:09   ` C. Scott Ananian
2007-06-23  2:11     ` Dan Williams
2007-06-23  9:07     ` Michael Buesch
2007-06-23 20:41       ` David Miller
2007-06-22 23:42 ` Michael Buesch
2007-06-23  1:04 ` David Stevens
2007-06-23  1:17   ` Simon Arlott
2007-06-23  4:30     ` David Stevens
2007-06-23  4:50       ` Simon Arlott
2007-06-23  5:12       ` David Miller
2007-06-23  8:23         ` Pierre Ynard
2007-06-24 19:05     ` Olaf Kirch
2007-06-23 13:25   ` Rémi Denis-Courmont
2007-06-23 14:47     ` C. Scott Ananian
2007-06-23 16:40       ` Simon Arlott
2007-06-23 16:48       ` David Stevens
2007-06-23 16:51         ` Rémi Denis-Courmont
2007-06-23 17:45           ` David Stevens
2007-06-23 18:13             ` Rémi Denis-Courmont
2007-06-23 18:51               ` David Stevens
2007-06-23 19:18                 ` Rémi Denis-Courmont [this message]
2007-06-23 20:27             ` Pierre Ynard
2007-06-25  2:17       ` Dan Williams
2007-06-25  2:53         ` David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200706232218.50100@auguste.remlab.net \
    --to=rdenis@simphalempin.com \
    --cc=cananian@gmail.com \
    --cc=cscott@laptop.org \
    --cc=dlstevens@us.ibm.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).