[Twisted-Python] TCP and ICMP

Tom van Neerijnen twisted at tomvn.com
Sun May 11 03:01:16 MDT 2014


You might find something to use in
http://twistedmatrix.com/documents/current/api/twisted.pair.html, or at
least an idea of how to implement it from one of the existing components.


On Sat, May 10, 2014 at 3:29 PM, Jay Shah <jayshah30392 at gmail.com> wrote:

> Hiee All,
>
> I have very simple question. I have already implemented custom reactor for
> handling ICMP requests (reference: txnettools) . My problem is: i am
> implementing tcp traceroute. I have handled all icmp time exceed messages.
> But, i want to handle tcp syn-ack reply which i am getting from remote
> server.
> How can i do that ?
> Can i start listening to TCP syn req or replies on the same reactor on
> which i am listening to icmp replies ?
> or
> should i install new custom reactor for listening to tcp replies ?
> I want to parse SYN ACK request ONLY. Neither I want to make a new
> connection with remote server nor handling them! I just need syn ack
> replies to be parsed so that i can figure out whether i have reached my
> destination or not.
> thank you.
>
> Jay Shah
> (Technische Universität München,
> München, Deutschland
> Tel. +49 176 7266 7259 )
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://twistedmatrix.com/pipermail/twisted-python/attachments/20140511/de086639/attachment.html>


More information about the Twisted-Python mailing list