retis-org / retis

Tracing packets in the Linux networking stack & friends
https://retis.readthedocs.io/en/stable/
100 stars 14 forks source link

Add initial conntrack module #239

Closed amorenoz closed 1 year ago

amorenoz commented 1 year ago

This PR adds a new module for conntrack, "ct", for brevity.

Currently it extracts some information from the struct nf_conn liked to each skb printing it in a format that resembles that of conntrack -L utility.

The functionality is fairly simple and there is plenty of room for extension and improvement, some ideas: