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)
Thu, May 30, 3:16 AM
Unknown Object (File)
Thu, May 30, 3:16 AM
Unknown Object (File)
Thu, May 30, 3:12 AM
Unknown Object (File)
Thu, May 30, 2:59 AM
Unknown Object (File)
Feb 24 2024, 2:12 PM
Unknown Object (File)
Jan 28 2024, 7:39 AM
Unknown Object (File)
Dec 28 2023, 1:49 PM
Unknown Object (File)
Dec 23 2023, 5:03 PM
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