OpenVZ Forum


Home » General » Support » Iptables Logging
Iptables Logging [message #33733] Wed, 05 November 2008 07:06 Go to next message
imknight is currently offline  imknight
Messages: 15
Registered: January 2008
Junior Member
Should iptables logging work within a container.

I can see the logging work via dmesg but cant seem to redirect this output to a file in anyway.

I have made the changes as listed at http://kb.parallels.com/en/875 so that all the modules are loaded - just the logging doesnt appear to work to anything except dmesg.

Does anyone know how to redirect dmesg to a file?
Re: Iptables Logging [message #33743 is a reply to message #33733] Thu, 06 November 2008 11:21 Go to previous messageGo to next message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hello,


you should start klogd inside container.
Just because of the performance needs the ability to run klogd inside CT from inside /etc/init.d/syslog script was eliminated.
Re: Iptables Logging [message #33744 is a reply to message #33733] Thu, 06 November 2008 11:47 Go to previous message
imknight is currently offline  imknight
Messages: 15
Registered: January 2008
Junior Member
Ah!

Thought i was missing something obvious.

Confirmed working - thanks.
Previous Topic: Install OS without a OSTemplate?
Next Topic: Performance problems on heavily-loaded VE
Goto Forum:
  


Current Time: Sat Jul 27 20:32:32 GMT 2024

Total time taken to generate the page: 0.02834 seconds