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)
Tue, Mar 10, 6:22 PM
Unknown Object (File)
Thu, Feb 19, 11:14 AM
Unknown Object (File)
Feb 17 2026, 11:26 PM
Unknown Object (File)
Feb 16 2026, 5:10 PM
Unknown Object (File)
Feb 7 2026, 10:36 PM
Unknown Object (File)
Jan 31 2026, 7:48 AM
Unknown Object (File)
Jan 25 2026, 5:13 AM
Unknown Object (File)
Nov 28 2025, 12:06 AM
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