question for TCP gurus (in ipfw)
Julian Elischer
julian at elischer.org
Wed Dec 13 16:11:29 PST 2006
in the ipfw function send_reject6() we go to great length to calculate
the sequence number to put into the ack field of the reject packet..
but it's a RESET we are generating..
do we need to go to all the work of setting the ACK value etc?
could we do either of:
1/ not set the ACK bit and just not do the extra work. Just send a reset?
or
2/ instead of ACKing all the data in the packet we are resetting,
how about just ACKing the sequence number it starts with
and saving ourselves from doing the work of ACKing all the data
up to the current packet end. (which is the packet we are rejecting
anyhow) (It takes some calculation to work out the new ack value
which seems pointless as we are rejecting it..)
More information about the freebsd-net
mailing list