Bug 158697 - net/radvd doesn't listen for Router Solicitations
Summary: net/radvd doesn't listen for Router Solicitations
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Dennis Herrmann
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-06 23:10 UTC by Geoffrey Sisson
Modified: 2011-07-09 10:50 UTC (History)
0 users

See Also:


Attachments
file.diff (767 bytes, patch)
2011-07-06 23:10 UTC, Geoffrey Sisson
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Geoffrey Sisson 2011-07-06 23:10:07 UTC
   radvd doesn't listen for Router Solicitations even when
   "AdvSendAdvert" is set to "on".  The function
   setup_allrouters_membership in device-bsd44.c is just a stub
   that effectively performs a NOP when establishing a listen socket.
   The same function in device-linux.c contains a setsockopt call
   that causes radvd to join the all-routers multicast group.

   While ignoring RS messages isn't fatal (unconfigured hosts will
   eventually see an RA message), it is contrary to RFC 2461:

      A router MUST join the all-routers multicast address on an
      advertising interface. [Section 6.2.2]

Fix: Patch attached.  Note that this patch is only partial.  The
   function check_allrouters_membership in device-bsd44.c also needs
   attention.

------------------------ Begin included text ------------------------
How-To-Repeat:    Send Router Solicitations from a host to a FreeBSD router running
   radvd.  tcpdump -i <interface> dst host \( ff02::1 or ff02::2 \)
   will show unanswered Router Solicitations.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2011-07-07 03:21:53 UTC
Responsible Changed
From-To: freebsd-ports-bugs->dhn

Fix synopsis and assign.
Comment 2 dfilter service freebsd_committer freebsd_triage 2011-07-09 10:49:25 UTC
dhn         2011-07-09 09:49:16 UTC

  FreeBSD ports repository

  Added files:
    net/radvd/files      patch-device-bsd44.c 
  Log:
  - Fix listing for Router Solicitations
  
  PR:             ports/158697
  Submitted by:   Geoffrey Sisson <geoff@dns-oarc.net>
  
  Revision  Changes    Path
  1.1       +27 -0     ports/net/radvd/files/patch-device-bsd44.c (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Dennis Herrmann freebsd_committer freebsd_triage 2011-07-09 10:49:31 UTC
State Changed
From-To: open->closed

Committed. Thanks!