|
|||||||||||
|
RE: Controling Segment Contents in TCP Stream
From: Marc Sherman <msherman(at)go-eol.com>
Date: Wed Jun 11 2003 - 14:17:07 EDT
Marc
-----Original Message-----
What I am trying to do is mess with some firewall/proxy software by screwing with (unfounded) assumptions it makes about the contents of individual packets. For example, I am seeing some Widely Used Commercial Firewall Software choke when an FTP client sends a packet containing just, "USER "
Now, since TCP is a stream-oriented protocol, this is actually perfectly acceptable behavior. The TCP stack of the server will handle this just fine, and the FTP server software will see the perfectly Standard-compliant input, At the other end. This is an old and well known problem with firewall/proxies, yet we see it all of the time. The problem I am having is finding a tool that lets me easily control the data in each segement of the TCP stream. I've manually crafted some packets with hping2 to do some testing, but it is a huge PITA to build the whole SYN/SYN-ACK/ACK handshake each time. Can anyone recommend a tool or show me how to get Netcat to do this? Or am I going to have to build something myself or hack Netcat code? Since this is a well known issue, I was hoping someone already had done the work and made it available. Thanks.
--
Crist J. Clark | cjclark@alum.mit.edu
| cjclark@jhu.edu
http://people.freebsd.org/~cjc/ |
cjc(at)freebsd.org
---------------------------------------------------------------------------
----------------------------------------------------------------------------
---------------------------------------------------------------------------
----------------------------------------------------------------------------
Received on Wed Jun 11 16:59:10 2003This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:02:36 EDT |
||||||||||
|
|||||||||||