diff options
author | Patrick McHardy <kaber@trash.net> | 2009-03-18 04:55:00 +0100 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2009-03-18 04:55:00 +0100 |
commit | fac10ea799fe9b6158d74f66d6ad46536d38a545 (patch) | |
tree | 8c093bcbb2144aab54c70103e6ed438456ae0d48 /tests/payload-ll |
Initial commitv0.01-alpha1
Diffstat (limited to 'tests/payload-ll')
-rwxr-xr-x | tests/payload-ll | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/payload-ll b/tests/payload-ll new file mode 100755 index 00000000..8d2480ac --- /dev/null +++ b/tests/payload-ll @@ -0,0 +1,15 @@ +#! nft -f + +table add ip filter +chain add ip filter input NF_INET_LOCAL_IN 0 + +# mac source +rule add ip filter input @ll,48,48 00:15:e9:f0:10:f8 counter + +# mac dest +rule add ip filter input @ll,0,48 00:1b:21:02:6f:ad counter + +# mac source and mac dest +rule add ip filter input @ll,0,48 00:1b:21:02:6f:ad \ + @ll,48,48 00:15:e9:f0:10:f8 \ + counter |