[Click] Anyone have a simple stateless TCP responder?

Beyers Cronje BCronje at cs.co.za
Thu Jun 2 05:43:38 EDT 2005


Hi Nicholas,

I've got a small element that provides valid ACKs on packets coming in through it's input 0. It ACKs every second packet || packets with PUSH bit set. Not exactly what you are looking for, but should be very easy to add SYN processing ie through input 1 and have a template pre-build HTTP response/redirect packet.

Let me know.

Beyers


-----Original Message-----
From: click-bounces at amsterdam.lcs.mit.edu on behalf of Nicholas Weaver
Sent: Thu 6/2/2005 12:45 AM
To: click at amsterdam.lcs.mit.edu
Subject: [Click] Anyone have a simple stateless TCP responder?
 

Does anyone have a simple stateless TCP responder element?

Namely, it accepts a SYN.  It generates a corresponding SYN-ACK, a
spew of data packets (without waiting for the ACK from the SYN-ACK),
and the FIN?

I want an element which can give an HTTP redirect or error message
when I'm blocking an IP, rather than just dropping on the floor, and
I'd (ideally) want it to be stateless.  If it doesn't work 100% of teh
time due to dropped packets, no big deal, the connections it is used
on are for ones which are explicitly being dropped by a security
module.

Thanks.

-- 
Nicholas C. Weaver                               nweaver at icsi.berkeley.edu
     This message has been ROT-13 encrypted twice for higher security.
_______________________________________________
click mailing list
click at amsterdam.lcs.mit.edu
https://amsterdam.lcs.mit.edu/mailman/listinfo/click



This is an email from Bytes Technology Group. It is confidential to the 
ordinary user of the email address to which it is addressed 
and may contain copyright and/or legally privileged information.
No one else may read, print, store, copy, forward or act in 
reliance upon all or any part of it or its attachments. If you 
received this email in error please notify its sender.


More information about the click mailing list