Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #12495

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

From Emile van Sebille <emile@fenx.com>
Subject Re: How to save the packages received by a network interface or some port in a file and resend the packages received when needed?
Date 2011-08-31 09:20 -0700
References <CACZyjCG-Mm72B++CkvOvztAySbVD+CNdj-s21+c1ocvbndZfUQ@mail.gmail.com> <j3lhv5$r06$1@dough.gmane.org> <CACZyjCE2wsjT17UjOPieFWC1t9+PQ4=L4em6w5ezvOPVfzndmA@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.613.1314807648.27778.python-list@python.org> (permalink)

Show all headers | View raw


On 8/31/2011 8:37 AM king6cong@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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: 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@fenx.com> - 2011-08-31 09:20 -0700

csiph-web