If I create a rule to 'fwd' packets with a particular TCP option 
set (or IP option) to a specific local port, and then I accept
on that port, will subsequent packets without that option work?

ie, I have this:

100 fwd localhost,9000 tcp from any to any 1234 tcpoptions ts recv interface

SYN (TCP option SACK=1), Dest port=5555, Dest ip = random-host
SYN/ACK
ACK (no TCP options)

will the first SYN reach me? (yes I think, even though the IP is not mine
and
the dest port is not me, the ipfw fwd magic takes care).
Will the ACK from the client reach me? (the dest ip is not me, so will the
stack discard, or will the already created PCB take care of this?)

I'd like to carry on a normal TCP conversation, but select the local port
that terminates it based on a TCP option. The destination IP will be
somewhere
else (its a transparent proxy application).

Thanks in advance.

--don ([EMAIL PROTECTED] www.sandvine.com)

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to