Skip to content

Packet connector tunneling ethernet frames received from the physical interface with pcap into tcp/udp streams.

Notifications You must be signed in to change notification settings

AlessandroMartinelli/Packet-Connector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Packet Connector

A packets connector allows conversion of packets from different interface and different formats (tcp client/server, netmap, pcap). This project aim to implement pcap packet read/written from/to pcap interfaces and files.

EXTRA: Added a test funtionality through virtual interface (see veth) that generates ARP packets.

Known issues

  • The pcap inject function cannot write to the NIC a packet whose size is greater than the MTU.
  • This way some asymmetry arises: fragmented packets are delivered to the application already reassembled by the NIC and put in the pconn queue, thus having occasionally large sizes.
  • In the opposite direction (writing those received packets from the queue to the NIC through the inject function), instead, packets are not fragmented: they are simply truncated, thus they become corrupted when sent over the network

About

Packet connector tunneling ethernet frames received from the physical interface with pcap into tcp/udp streams.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •