iptables


tuxbrewer

This is a simple way of logging all new outgoing TCP connections:

# iptables \
  --append OUTPUT \
  --match state \
  --protocol tcp \
  --state NEW \
  -j LOG \
  --log-uid

Licensed under CC BY Creative Commons License ~ ✉ torstein.k.johansen @ gmail ~ 🐘 @skybert@emacs.ch ~ 🐦 @torsteinkrause