You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
int main()
{
SnifferConfiguration config;
config.set_immediate_mode(true);
config.set_promisc_mode(true);
config.set_direction(PCAP_D_IN);
Sniffer s1("eth1", config);
s1.sniff_loop(callback);
}
The Sniffer works, but it does not send all packets to eth2. I'm sending ipv6 UDP Packets and SOME/IP Packets. Some of them are sent to eth2, some are not. But no no pattern recognizable. Can you help me to fix this?
The text was updated successfully, but these errors were encountered:
I'm using libtins and i want to create a sniffer, that sends every packet received on eth1 to eth2:
bool callback(PDU &pdu)
{
PacketSender sender("eth2");
sender.send(pdu);
return true;
}
int main()
{
SnifferConfiguration config;
config.set_immediate_mode(true);
config.set_promisc_mode(true);
config.set_direction(PCAP_D_IN);
Sniffer s1("eth1", config);
s1.sniff_loop(callback);
}
The Sniffer works, but it does not send all packets to eth2. I'm sending ipv6 UDP Packets and SOME/IP Packets. Some of them are sent to eth2, some are not. But no no pattern recognizable. Can you help me to fix this?
The text was updated successfully, but these errors were encountered: