Re: FairQ ALTQ for PF - Patch #2

Previous thread: Re: FairQ ALTQ for PF - Patch #2 by Jost Tobias Springenberg on Monday, April 7, 2008 - 1:01 pm. (1 message)

Next thread: PF PICKUPS patch #2 by Matthew Dillon on Monday, April 7, 2008 - 2:32 pm. (1 message)
From: Matthew Dillon
Date: Monday, April 7, 2008 - 2:30 pm

Got it.   Oooh, that's nasty.  It's confirming that the SYN is for
    the other direction by testing the seqlo variable, which is non-zero
    on the direction that already got the SYN, and zero on the direction
    that hasn't.  That code comment deserves to be expanded a bit :-)

    Here's a new patch, changing the one SYN detect flag into two flags
    and setting them in the proper places.  'pfctl -s state -v -v' now
    reports three possible states:  'indeterminate', 'incomplete', and
    'good'. 

	fetch http://apollo.backplane.com/DFlyMisc/pickups02.patch

    I did some quick testing and all three states appear to work properly,
    so if someone forgets to 'keep state' in both directions the state
    output will say 'incomplete' instead of 'good'.

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>
Previous thread: Re: FairQ ALTQ for PF - Patch #2 by Jost Tobias Springenberg on Monday, April 7, 2008 - 1:01 pm. (1 message)

Next thread: PF PICKUPS patch #2 by Matthew Dillon on Monday, April 7, 2008 - 2:32 pm. (1 message)