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 fenx.com
Wed Aug 31 18:20:21 CEST 2011


On 8/31/2011 8:37 AM king6cong at gmail.com 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.

Emile




More information about the Python-list mailing list