OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Controling Segment Contents in TCP Stream

From: Crist J. Clark (crist.clarkattbi.com)
Date: Fri Jun 13 2003 - 14:16:03 CDT


On Fri, Jun 13, 2003 at 09:25:38AM +0200, Bernd Jendrissek wrote:
> In article <20030611175204.GA55615blossom.cjclark.org> "Crist J. Clark" <crist.clarkattbi.com> wrote:
> >I am looking for a simple tool that I can use to control how TCP data
> >is split up among segments. I can't seem to figure out how to coax
> >Netcat into doing this.
>
> Type: U S E R <space> ^D
>
> The ^D causes netcat's read(2) to return the characters it already has.
>
> You might also try stty -icanon for character-by-character reading in
> netcat.

That's strange. Now netcat is doing that for me. I could have sworn
when I tried that before that I would get a little,

  E
   O
    F

Symbol on my terminal and netcat actually sent the \004
character. Maybe my terminal settings were mucking with things.

Thanks for making me look again. I should have known netcat could do
what I want.
--
Crist J. Clark | cjclarkalum.mit.edu
                                   | cjclarkjhu.edu
http://people.freebsd.org/~cjc/ | cjcfreebsd.org

---------------------------------------------------------------------------
----------------------------------------------------------------------------