OpenVZ Forum


Home » Mailing lists » Users » iptables LOG
iptables LOG [message #45562] Mon, 19 March 2012 09:59 Go to previous message
massimiliano.sciabica is currently offline  massimiliano.sciabica
Messages: 11
Registered: March 2012
Junior Member
Hello,
I have loaded the necessary modules in CT0 (debian) and implemented a
set of iptables rules in CT150 (Centos5.7).
I added a LOG before the DROP rule in order to be informed of packet
being dropped: the rule is being matched, but I can't find any log in
/var/log/messages.

I'm not sure wether the TCP stack is in CT150 or in CT0 (I would say in
CT0, as it is kernel code), but I'm quite sure that iptables logs come
from kernel.
How can I get those logs directly in CT150?
I tried the ULOG target instead of LOG, but I'm hitting the same
problem. Would adding NET_ADMIN capability help?

Thanks
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: CT freeze on chkpnt --suspend operation, need advice, nothing can't kill it
Next Topic: IO usage stat within containers
Goto Forum:
  


Current Time: Wed Jun 18 18:34:03 GMT 2025

Total time taken to generate the page: 0.03954 seconds