Page MenuHomeFreeBSD

pf: Add counters for syncookies
ClosedPublic

Authored by kp on Aug 29 2021, 6:26 PM.
Tags
None
Referenced Files
F83864121: D31713.id.diff
Thu, May 16, 2:33 AM
Unknown Object (File)
Tue, Apr 16, 1:53 PM
Unknown Object (File)
Apr 11 2024, 9:11 AM
Unknown Object (File)
Apr 5 2024, 4:14 AM
Unknown Object (File)
Dec 20 2023, 2:28 AM
Unknown Object (File)
Dec 14 2023, 8:47 PM
Unknown Object (File)
Oct 27 2023, 6:57 AM
Unknown Object (File)
Sep 1 2023, 1:23 AM

Details

Summary

Count when we send a syncookie, receive a valid syncookie or detect a
synflood.

MFC after: 1 week
Sponsored by: Modirum MDPay

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 41250
Build 38139: arc lint + arc unit

Event Timeline

kp requested review of this revision.Aug 29 2021, 6:26 PM
kbowling added inline comments.
sys/netpfil/pf/pf.h
165

I don't see this used anywhere, pf_synflood_check()?

sys/netpfil/pf/pf.h
165

It's not used yet. It will be when I add the adaptive mode.

This is part of a series, and getting pushed slightly out of order, because this part is done and the adaptive mode needs a little more work.

This revision is now accepted and ready to land.Aug 31 2021, 5:21 PM
This revision was automatically updated to reflect the committed changes.