Page MenuHomeFreeBSD

Rename net.inet.ip.check_interface to rfc1122_strong_es and document it.
ClosedPublic

Authored by glebius on Nov 9 2021, 8:33 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 6, 11:48 PM
Unknown Object (File)
Sat, Apr 6, 6:24 PM
Unknown Object (File)
Mar 11 2024, 4:33 PM
Unknown Object (File)
Jan 23 2024, 11:35 PM
Unknown Object (File)
Dec 20 2023, 5:56 AM
Unknown Object (File)
Dec 14 2023, 7:39 PM
Unknown Object (File)
Dec 10 2023, 11:03 PM
Unknown Object (File)
Nov 15 2023, 9:52 PM

Details

Summary

This very questionable feature was enabled in FreeBSD for a very short
time. It was disabled very soon upon merging to RELENG_4 - 23d7f14119bf.
And in HEAD was also disabled pretty soon - 4bc37f9836fb1.

The tunable has very vague name. Check interface for what? Given that
it was never documented and almost never enabled, I think it is fine
to rename it together with documenting it.

Also, count packets dropped by this tunable as ips_badaddr, otherwise
they fall down to ips_cantforward counter, which is misleading, as
packet was not supposed to be forwarded, it was destined locally.

Diff Detail

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

Event Timeline

donner added a subscriber: donner.

Others call this "host model" instead of "end system", hence I was confused without reading the documentation.

This revision is now accepted and ready to land.Nov 9 2021, 9:39 PM
kp added a subscriber: kp.
kp added inline comments.
share/man/man4/inet.4
211

That doesn't read quite right, I think.

Maybe "If a packet with a local destination address"? Or maybe a native speaker will have a better suggestion.

share/man/man4/inet.4
211

I asked couple native speakers for help and both found it challenging thing to describe the feature succinctly and clearly. Maybe that's why it originally was named so vaguely and left undocumented? :) If I don't get any good advice in a day, I'm going to commit as is and let it be improved post commit.