Title: Packet Capture and Transmit
To anyone who can help ..
Has anyone used Net::Pcap or Net::RawIP to capture network traffic to a file and then use this file to transmit the same traffic on another machine?
If yes, I'd love to see an example.
Thanks,
Yaron
Here is and example about Pcap RawIP to copy traffic.
It works only in Linux / *NIX because there isn't a port of RawIP for win32.
El Jueves 07 Abril 2005 17:25, Yaron Langer escribió:
To anyone who can help ..
Has anyone used Net::Pcap or Net::RawIP to capture network traffic to a
file
# dup.pl - Monitor a network interface in promiscious mode looking for
SNMP-Traps
# destined for given IP and returning to one or more destination IPs.
# The generated packages can be used with the crossed chain OUTPUT of
# Netfilter with later DNAT for the original IP (-A OUTPUT -t nat -s ip
-j