Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm seeing a lot of connections with source and destination in conntrack. I want to log these packets which have source and destination so that I can digg this issue further.

Can you tell me how can I add a rule which logs a packet in ufw?


share|improve this question

sudo ufw logging on for the full Ubuntu Community documentation.

share|improve this answer
UFW loging is enabled, but I need but I need to log these specific packets (with source and destination – Calin Don May 3 '12 at 14:58
In Linux the IP typically means to listen on all eth cards. – notkevin May 3 '12 at 15:18

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.