On 09/05/2013 07:15 AM, Steve Wray wrote:
> I don't have access to the config file the kernel was built with. How
> would I otherwise find out?
> 
> I find these kernel modules with 'log' in their names and there doesn't
> seem to be a match. If the kernel doesn't have this compiled in does
> that mean that shorewall cannot operate and theres no workaround?
> Because, honestly, I can live without firewall logging of any kind on
> this server.
> 
> root@hk2server:/lib/modules# find 3.4.0-cloud/ -iname \*log\*
> 3.4.0-cloud/3.4.0-cloud-i386/kernel/net/ipv4/netfilter/ipt_ULOG.ko
> 3.4.0-cloud/3.4.0-cloud-i386/kernel/net/bridge/netfilter/ebt_nflog.ko
> 3.4.0-cloud/3.4.0-cloud-i386/kernel/net/bridge/netfilter/ebt_ulog.ko
> 3.4.0-cloud/3.4.0-cloud-i386/kernel/net/bridge/netfilter/ebt_log.ko
> 3.4.0-cloud/3.4.0-cloud-i386/kernel/net/netfilter/xt_NFLOG.ko
> 3.4.0-cloud/3.4.0-cloud-i386/kernel/drivers/md/dm-log.ko
> 3.4.0-cloud/kernel/net/ipv4/netfilter/ipt_ULOG.ko
> 3.4.0-cloud/kernel/net/bridge/netfilter/ebt_nflog.ko
> 3.4.0-cloud/kernel/net/bridge/netfilter/ebt_ulog.ko
> 3.4.0-cloud/kernel/net/bridge/netfilter/ebt_log.ko
> 3.4.0-cloud/kernel/net/netfilter/xt_NFLOG.ko
> 3.4.0-cloud/kernel/drivers/md/dm-log.ko
> 
> 

You can replicate the test for the LOG target that the rules compiler
performs as follows:

        iptables -N foo
        iptables -A foo -j LOG
        iptables -F foo
        iptables -X foo

If the second command fails, then you have no LOG target support.

-Tom
-- 
Tom Eastep        \ When I die, I want to go like my Grandfather who
Shoreline,         \ died peacefully in his sleep. Not screaming like
Washington, USA     \ all of the passengers in his car
http://shorewall.net \________________________________________________

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to