tantan un jour écrivit:
Hello,
to know someone from using a packet generator?
tcpreplay allow you to send specific packets from a file, including
invalid ones AFAIK. Since you can alter the packets, it can be useful for
testing the application when receiving bad data like a string that is one
bit too short or other limit conditions.
There is some tricks to intercept the packets in the fly and mangle
them a little before resending them.
http://tcpreplay.synfin.net/trac/wiki/manual
tcpcat can also sometime proves useful.
If all you use is a tcp/ip connection and the protocol is text based, like
SMTP, a script in Perl, Python or even some Shell script (note that in
Debian, this is disabled by default in Bash) could be the easiest solution
for you.
I'd like to create packages in-house design, and then send it. The goal
is to analyze
communication between two partners, so down to the smallest possible
Detail.
So, you don't really want a packet generator. Here the good old tcpdump
will be your friend. Snort might also be useful in some situation where
there is many servers involved and you want to remove all regular packets
and gets only the problematic ones. There is plenty of good tutorial for both.
Simon
--
To UNSUBSCRIBE, email to debian-security-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org