Page MenuHomeFreeBSD

netinet: Do not forward or ICMP response to INADDR_ANY
ClosedPublic

Authored by zlei on Feb 27 2025, 3:02 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Mar 21, 1:03 PM
Unknown Object (File)
Mar 19 2025, 2:14 PM
Unknown Object (File)
Mar 19 2025, 2:14 PM
Unknown Object (File)
Mar 19 2025, 10:57 AM
Unknown Object (File)
Mar 15 2025, 12:59 AM
Unknown Object (File)
Mar 9 2025, 8:12 AM
Unknown Object (File)
Mar 8 2025, 10:20 AM
Unknown Object (File)
Mar 7 2025, 3:37 PM
Subscribers

Details

Summary

The section 4 in the draft proposal [1] explicitly states that 0.0.0.0,
aka INADDR_ANY, retains its existing special meanings.

[1] https://datatracker.ietf.org/doc/draft-schoen-intarea-unicast-0

Fixes: efe58855f3ea IPv4: experimental changes to allow net 0/8, 240/4, part of 127/8
MFC after: 3 days

Diff Detail

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

Event Timeline

zlei requested review of this revision.Feb 27 2025, 3:02 PM
glebius added inline comments.
sys/netinet/in.c
280

Why not using in_nullhost() here?

This revision is now accepted and ready to land.Feb 27 2025, 6:26 PM
sys/netinet/in.c
280

I'll use in_nullhost() when I commit. I thought INADDR_ANY is eye-catching :)

zlei marked an inline comment as done.Mar 2 2025, 3:04 PM