On Thu, Oct 29, 2015 at 11:30 AM, Yoshifumi Nishida <
nsd...@gmail.com> wrote:
> I see some packets are going out by doing this sort of things? Can't we
> utilize this?
>
> sudo packetdrill --local_ip=MY_IP --wire_client --wire_server_ip=SERVER_IP
> --wire_server_port=SERVER_PORT --wire_client_dev=NIC_NAME --ip_version=ipv4
> SCRIPT_NAME
When it comes to the question of sending traffic from packetdrill to remote
hosts not running packetdrill, my sense is that most of what would be required
is already in the code base: parsing scripts, injecting packets, sniffing
packets. But currently the "wire" mode requires a client running
packetdrill (which makes system calls on the machine under test)
and the server running packetdrill (which injects packets on the LAN),
and the two machines must be on the same LAN.
My sense is that an interested party could write a new packetdrill mode that
was closely based on wire_server.c but removed the logic to handshake
with the client, and simply injected packets and waited for inbound packets,
according to the script.
neal