User Details
- User Since
- Sep 6 2022, 11:10 AM (84 w, 6 d)
Sun, Mar 24
What real-life situation is this fix for? If this is for connections coming from behind a 3rd party SNAT, where SNAT reuses source ports faster than pf expires states, then maybe tuning pf timeouts would be enough. Or we could allow pf states to transition from TCPS_FIN_WAIT_2 back to TCPS_SYN_SENT, basically implementing SO_REUSEPORT for pf.
Feb 13 2024
This is a duplicate.
pfsync: Fix offset calculation
Feb 5 2024
A slightly less invasive patch.
Feb 4 2024
Oct 26 2023
Oct 25 2023
Fix test cleanups.
Oct 24 2023
Oct 18 2023
Oct 17 2023
Update man page's date.
Oct 16 2023
Remove pf.conf.5 changes added by mistake.
Oct 12 2023
Sep 28 2023
Sep 13 2023
Sep 9 2023
Aug 23 2023
Aug 20 2023
Aug 18 2023
Add the missing "Respond to SYN with a syncookie" part.
Aug 17 2023
Updated to cover the IPv6 forwarding too
Aug 16 2023
Jul 12 2023
Jun 17 2023
This change has been in fact merged.
May 28 2023
May 24 2023
Added tcpdump and netstat changes to this patch because of change of struct pfsync_state to struct pfsync_state_1301.
Split userspace export into a separate commit for DIOCGETSTATESV2.
May 15 2023
Don't remove tcpdump compatibility.
May 9 2023
May 8 2023
Fixed broken rebase on main.
Rebased again, the previous diff has been wrongly generated.
Remove support for printing the old state deletion messages from tcpdump.
May 7 2023
This revision has been merged.
May 5 2023
@kp , I see that you've merged it on 2023-04-13. But this review is still opened. What's the procedure here, will you close it or should I abandon it?
May 2 2023
May 1 2023
The returnlocked flag is now a booelan.
Updated pointer handing. Changed the flag to boolean.
Apr 30 2023
Removed unnecessary state lock assertion.
Apr 29 2023
Apr 15 2023
Apr 9 2023
Added function pfsync_sstate_to_qid to translates pf_kstate->sync_state to queue name. This removes multiple such translations scattered around the code and fixes pfsync_q_del.
Apr 4 2023
Apr 3 2023
Apr 2 2023
Remove debug printfs
Apr 1 2023
Created PFSTATE_DN_IS_PIPE and PFSTATE_DN_IS_QUEUE mapped from corresponding PFRULE_DN_IS_.*. Grouped all of PFRULE_.* and PFSTATE_.* flags together, aligned them and documented to which variables they get assigned.
Mar 20 2023
Fix "fragment" in printing rules. Use proper integer types. Restore actions for pfsynced states. Expand pfsync_state->state_flags to 16b.
Update tests to use new test function names.
Mar 12 2023
Make normalization functions behave in more straightforward manner. If there are no scrub rules then the normalization of IP and TCP is enforced just like in OpenBSD. Otherwise if scrub rules are present, obey them.