Thanks Aaron,
I think you're right. If this could have been done with one or two lines of shell script and ready-made utilities I would have done it, but it seems not that straightforward.

I guess I'll do it in Perl, using IO::Socket::INET, that's what I know best.

Cheers,
Steffen.

On 23 Aug. 2016, at 0:25 , Aaron Turner <synfina...@gmail.com> wrote:

You'd have to run multiple copies of tcpreplay.

Honestly, you'd be far better off reading something like Learn Python
the Hard Way[*] and some searches on stackexchange and cobbling
together a simple python script to do this.  It would be pretty
trivial and a good "first program" for someone interested in learning
how to code.

* To be fair, just about any language could do this in under 50 lines
of code, not just Python.  Well except Java.  :)
--
Aaron Turner
https://synfin.net/         Twitter: @synfinatic
Those who would give up essential Liberty, to purchase a little temporary
Safety, deserve neither Liberty nor Safety.
-- Benjamin Franklin


On Sun, Aug 21, 2016 at 11:17 PM, Steffen Kluge <tcprep...@dotnet.org> wrote:
Hi all,
New mailing list member here, and reasonably new tcpreplay user...

The problem I'm trying to solve is receiving UDP packets (Radius accounting)
on one machine and sending them on to a list of other machines. I thought
that tcpdump/tcpreplay should make this straightforward.

Can I use the loop option with tcpreplay to send the same UDP packet to a
list of IP addresses, or do I need to invoke tcpreplay once for each
destination address?

Thanks in advance,
Steffen.

------------------------------------------------------------------------------

_______________________________________________
Tcpreplay-users mailing list
Tcpreplay-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tcpreplay-users
Support Information: http://tcpreplay.synfin.net/trac/wiki/Support

------------------------------------------------------------------------------
_______________________________________________
Tcpreplay-users mailing list
Tcpreplay-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tcpreplay-users
Support Information: http://tcpreplay.synfin.net/trac/wiki/Support

------------------------------------------------------------------------------
_______________________________________________
Tcpreplay-users mailing list
Tcpreplay-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tcpreplay-users
Support Information: http://tcpreplay.synfin.net/trac/wiki/Support

Reply via email to