Page MenuHomeFreeBSD

Update tcp_logging to have two new features
ClosedPublic

Authored by rrs on Dec 18 2019, 12:59 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 4, 8:31 AM
Unknown Object (File)
Mon, Nov 4, 8:31 AM
Unknown Object (File)
Mon, Nov 4, 8:31 AM
Unknown Object (File)
Mon, Nov 4, 8:13 AM
Unknown Object (File)
Oct 18 2024, 9:38 AM
Unknown Object (File)
Oct 1 2024, 8:25 PM
Unknown Object (File)
Sep 9 2024, 2:27 AM
Unknown Object (File)
Sep 9 2024, 1:51 AM
Subscribers

Details

Summary

This update has been running in NF for some time. It adds two features:

  1. The ability to add an added bit of text in the log - which is more cosmetic.

and

  1. The ability from a sysctl to turn off all logging. This is an important security consideration. I.e. if you are under attack having the ability to turn off all excess activity (such as logging) becomes a "good" thing to have.
Test Plan

Easiest way to test this is to run a few tcp connections and
turn on the logging and pull out the logs. If you get logs
it's working. One can also use the sysctl to truncate logging
and validate that it stops all logging. The cosmetic feature
can also be tested by simply using it and validating it
shows up in the new logging format.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable