[pox-dev] Create TCP packet

Murphy McCauley murphy.mccauley at gmail.com
Mon Nov 25 01:42:04 PST 2013


The .win attribute of the TCP class should be an integer, and it's just put into the 16-bit window field verbatim.  IIRC, in the absence of window scaling, this is just the number of bytes (beyond whatever is being ACKed) that you're willing to receive.  (If you're just trying to get a client to think a connection is open, I think you can probably just set it to 1 -- 0 may not be a good idea.)

I'd check the RFC or a good TCP reference for additional information.  Or just try it. :)

-- Murphy

On Nov 25, 2013, at 12:38 AM, Silvia Fichera <fichera.sil at gmail.com> wrote:

> Hi all,
> I would like send a TCP - SYN/ACK packet from the controller to one host.
> I already know how to buid UDP packet and send it in flooding, so I think I can follow the same way with TCP fields.
> I need to set a minimal congestion window as I can receive only the ACK. Is it measured in bit? How much should be the right dimension?
> 
> Thanks
> 
> -- 
> Silvia Fichera




More information about the pox-dev mailing list