Python port forwarding/multiplexing server

Posted by Ib33X on Stack Overflow See other posts from Stack Overflow or by Ib33X
Published on 2009-12-09T14:37:30Z Indexed on 2010/04/20 7:23 UTC
Read the original article Hit count: 378

I would like to make server that listen on UDP port 162 (SNMP trap) and then forwards this traffic to multiple clients. Also important is that the source port & address stays same (address spoofing).

I guess that best tool for this would be Twisted or Scapy or mybe vanilla sockets, only I can't find anything in the documentation for Twisted about source address spoofing/forging.

What would you recommend me to do?

Edit:added bounty

© Stack Overflow or respective owner

Related posts about python

Related posts about networking