Juan Pedro Muñoz Gea wrote:
> Hi all,
>
> I'm using pcap library to capture live packets.
> I want to distinguish incoming and outgoing captured packets
> in an interface in promiscuous mode, without examining the payload, but I
> don't know the way to do it.
>
> Using the PF_PACKET sockets fam
Hi all,
I'm using pcap library to capture live packets.
I want to distinguish incoming and outgoing captured packets
in an interface in promiscuous mode, without examining the payload, but I
don't know the way to do it.
Using the PF_PACKET sockets family, if we use
the "recvfrom" function and a "