How to save the packages received by a network interface or some port in a file and resend the packages received when needed?

Emile van Sebille emile at
Wed Aug 31 12:20:21 EDT 2011

On 8/31/2011 8:37 AM king6cong at said...
> In fact,UDP is enough for me,I heared that tcpdump and netcat can store
> and resend the udp packages to get the replay effect,but I don't know
> how,

That may be, but I've never tried that.

> or is there some better way? I am working on a Linux server and
> only some basic terminal tools are available :)

If appropriate, I'd try the iptables --tee option.


More information about the Python-list mailing list