Page MenuHomeFreeBSD

pf: Add counters for syncookies
ClosedPublic

Authored by kp on Aug 29 2021, 6:26 PM.
Tags
None
Referenced Files
F166116581: D31713.id94329.diff
Tue, Aug 11, 8:49 PM
Unknown Object (File)
Tue, Aug 11, 1:53 PM
Unknown Object (File)
Tue, Aug 11, 8:14 AM
Unknown Object (File)
Mon, Aug 10, 1:13 PM
Unknown Object (File)
Mon, Aug 10, 12:38 PM
Unknown Object (File)
Mon, Aug 10, 12:35 PM
Unknown Object (File)
Sun, Aug 9, 3:42 PM
Unknown Object (File)
Sun, Aug 9, 12:58 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.