Jump to content

Featured Replies

Posted

I am taking packet data and using libpcap pcap inject method to pass the packet onto another network. This works fine but the mac address in the packet changes to that of the local device been used to relay the packet. Tracing through the libpcap code the inject method calls the standard send() socket method, but from there I loose track of the calls which are updating the mac address. Where in the Linux code is the send() method? and does anybody know what I would need to do to prevent the mac address been over written in the packet.

 

Thanks in advance

 

Continue reading...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...