dup to gretap

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey folks,

I was playing around with the dup functionality discussed here:
https://wiki.nftables.org/wiki-nftables/index.php/Duplicating_packets

As an experiment, I set up a gre tunnel device (i.e. `ip tunnel add
foo mode gre...`) that sent packets to a veth I'd previously set up. I
created a rule to dup to this interface and did a tcpdump on the veth
to confirm that it worked, which it did. Great.

I tried doing the same type of thing, but with a gretap device (i.e.
`ip link add foo type gretap`), but this time I didn't capture any
packets. Darn.

My goal here is to duplicate the whole packet, including the
unmodified Ethernet header, encapsulated in GRE. Is this possible with
some combination of Linux devices and nft?

Cheers,
Ben
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux