Page MenuHomeFreeBSD

nd6: Ignore entire PI if violates RFC 4862 section 5.5.3
ClosedPublic

Authored by pouria on Sat, Mar 28, 8:13 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 18, 3:27 PM
Unknown Object (File)
Sat, Apr 18, 10:33 AM
Unknown Object (File)
Fri, Apr 17, 12:39 PM
Unknown Object (File)
Thu, Apr 16, 12:05 AM
Unknown Object (File)
Wed, Apr 15, 9:04 PM
Unknown Object (File)
Tue, Apr 14, 1:22 PM
Unknown Object (File)
Tue, Apr 14, 2:30 AM
Unknown Object (File)
Mon, Apr 13, 5:28 AM

Details

Summary

Ignore prefix information update earlier in prelist_update().
If PI is invalid or autonomous bit is unset, we better to let our
SLAAC address expire.
If we don't have any previous matching prefix, better not to create new one.
Because either our router don't want us to have one anymore, or the very
RA is malicious.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Sun, Mar 29, 5:00 PM
zlei added inline comments.
sys/netinet6/nd6_rtr.c
1572

Remove this stale comment as well ?

1607

The previous comment confuses me a bit. Why pr must be non NULL at this point ?

pouria retitled this revision from ndp: Ignore entire PI if violates RFC 4862 section 5.5.3 to nd6: Ignore entire PI if violates RFC 4862 section 5.5.3.Wed, Apr 1, 4:07 PM
pouria marked an inline comment as done.

Address @zlei comment.

This revision now requires review to proceed.Wed, Apr 1, 4:32 PM

Not an expert in the area.

This revision was not accepted when it landed; it landed in state Needs Review.Fri, Apr 17, 10:59 PM
This revision was automatically updated to reflect the committed changes.