Conntrack events (i.e. conntack -E) don't seem to be working on Container-Optimized OS. For instance
# docker run --net=host --privileged --rm cap10morgan/conntrack -E
^Cconntrack v1.4.2 (conntrack-tools): 0 flow events have been shown.
gets stuck and doesn't print any events even if connections are happening.
IPtables doesn't show evidence of conntrack being disabled and listing the flows does work without problems:
e.g.
In a terminal I do
# nc 8.8.8.8 80
And in another terminal I get
# docker run --net=host --privileged --rm cap10morgan/conntrack -L | grep 8.8.8.8
tcp 6 86311 ESTABLISHED src=10.240.0.4 dst=8.8.8.8 sport=36521 dport=80 src=8.8.8.8 dst=10.240.0.4 sport=80 dport=36521 [ASSURED] mark=0 use=1 id=3957064024
Has anyone run into this? It's difficult to troubleshoot this much further without access to the source and connection tracking is fundamental to our monitoring product.
Thanks,
Alfonso Accosta