Signed-off-by: Máté Eckl <ecklm94@xxxxxxxxx> --- tests/py/inet/socket.t | 10 ++++++++++ tests/py/inet/socket.t.payload | 8 ++++++++ 2 files changed, 18 insertions(+) create mode 100644 tests/py/inet/socket.t create mode 100644 tests/py/inet/socket.t.payload diff --git a/tests/py/inet/socket.t b/tests/py/inet/socket.t new file mode 100644 index 0000000..7782c3c --- /dev/null +++ b/tests/py/inet/socket.t @@ -0,0 +1,10 @@ +:sockchain;type filter hook prerouting priority -150 + +*ip;sockip4;sockchain +*ip6;sockip6;sockchain + +# For now, it does not work for inet tables + +socket exists;ok +socket flags transparent;ok + diff --git a/tests/py/inet/socket.t.payload b/tests/py/inet/socket.t.payload new file mode 100644 index 0000000..05ece70 --- /dev/null +++ b/tests/py/inet/socket.t.payload @@ -0,0 +1,8 @@ +# socket exists +ip sockip4 sockchain + [ match name socket rev 3 ] + +# socket flags transparent +ip sockip4 sockchain + [ match name socket rev 3 ] + -- ecklm -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html