1

I would like to rewrite the contents/payload of UDP packets as they are received by a machine, on selected reports - before they are passed to the listening application.

For example, I would like to change the headers of a UDP-based protocol by using grep-like regular expressions (to add, remove or change parts of each message received).

Is this possible with a software firewall or similar tool?

Thanks all!

3 Answers 3

1

If this isn't for production, but rather just learning. I recommend Scapy, you can craft and replay packets on a object oriented interface that relates to the OSI model. It acts like an interactive python console. You can also sniff with it, lots of fun ;-)

0
1

Such a tool is called a UDP Proxy and there are a few out there.

  • Simple UDP Proxy/Pipe
  • udpproxy
  • UProxy
2
  • Thanks, DigitalRoss. These last two look like they do forwarding of UDP only, rather than allowing rewrites of the payload. Is that so? What do you mean by "Simple UDP Proxy/Pipe". Pipe to a userland program?
    – wodow
    Oct 30, 2009 at 16:36
  • Ah, I see it is actually the name of a package!
    – wodow
    Oct 30, 2009 at 16:38
0

TRIPP may also be a solution:

http://tripp.dynalias.org/

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .