Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: TCPReplay problem |
|---|---|
| Date: | Fri, 28 Apr 2006 20:41:50 +1200 |
Ankur,
Hi all Can we direct tcpreplay to send packets to another machine? If so what is the command for that. I didnt see any documentation for that. When it sends out packets on an interface is are they just sent to the next ethernet or is tcpreplay used for testing the machine on which it is installed. I assume it shouldn't be the latter case.
tcpreplay does just that - it will replay a captured pcap file. So, whatever the source and destination addresses in the original pcap file were, tcpreplay will put those on the network. This means that, if the packets reach the original destination, only the first SYN packet will have some meaning - the original host will choose a different sequence number than the one which was recorded in the pcap file and the rest of the communication will be dropped by the destination (it will never receive a proper SYN/ACK packet from the source; it will receive one recorded in the pcap file but it will have incorrect sequence number).
I presume you want to use the pcap file to run an attack on a destination -- you'll have to use a different tool for that (last time I had to do this I manually crafted attack packets).
If you check the roadmap for tcpreplay you will see that some of these features will probably be included in the 3.0 release.
Cheers,
Bojan
------------------------------------------------------------------------------ This List Sponsored by: Cenzic
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | RE: Core Impact vs. Canvas vs. Metasploit, Damien Dinh |
|---|---|
| Next by Date: | Re: privelege escalation with .bat files, Maudite MLRL |
| Previous by Thread: | TCPReplay problem, ankur jindal |
| Next by Thread: | Re: TCPReplay problem, Graeme Connell |
| Indexes: | [Date] [Thread] [Top] [All Lists] |