Python port forwarding/multiplexing server
- by Ib33X
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