Results 1 to 8 of 8

Thread: apf problem

  1. #1
    Join Date
    Mar 2004
    Location
    Funchal,Portugal,Europe,Earth,
    Posts
    40

    apf problem

    i upgraded my kernel to 2.6.4. and now when i try to start the apf firewall it says:

    Code:
          [email protected] [/etc/apf]# /sbin/service ./apf start
    Starting APF:lsmod: QM_MODULES: Function not implemented
    
    Unable to load iptables module (ip_tables), aborting.
                                                               [  OK  ]
    [email protected] [/etc/apf]#


    how i can reinstall or enable the ip_tables?

  2. #2
    you have the loadable module support in kernel, right?

    regards,
    M.
    Powered by AMD & FreeBSD.
    "Documentation is like sex:
    when it is good, it is very, very good;
    and when it is bad, it is better than nothing."

  3. #3
    Join Date
    Mar 2004
    Location
    Funchal,Portugal,Europe,Earth,
    Posts
    40
    Originally posted by Miha
    you have the loadable module support in kernel, right?

    regards,
    M.
    can you say how i activate the module support on kernel?

  4. #4
    Join Date
    May 2003
    Posts
    472
    it was something you did when you compiled the kernel, in the .config file.

  5. #5
    remove it and reinstall APF ! hope it help

  6. #6
    Join Date
    Mar 2003
    Location
    California USA
    Posts
    13,290
    na thats not the reason youandme, its because his kernel does not support iptables you can try turning on Support Monolithic kernel builds in the apf config. use at ur own risk
    Steven Ciaburri | Industry's Best Server Management - Rack911.com
    Software Auditing - 400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com
    Fully Managed Dedicated Servers (Las Vegas, New York City, & Amsterdam) (AS62710)
    FreeBSD & Linux Server Management, Security Auditing, Server Optimization, PCI Compliance

  7. #7
    Join Date
    Feb 2004
    Posts
    772
    Hi,

    Please refer the URL given below, for installing iptables.
    http://www.tldp.org/HOWTO/Querying-l...O/install.html

    May be this URL help you for installing iptables.

    Regards,

    Bright

  8. #8
    Join Date
    Dec 2001
    Location
    Toronto, Canada
    Posts
    21
    The reason apf fails on this is because it specifically looks for the module name with a .o extension. Kernel 2.6 uses .ko as the extension for modules.

    Look for the following line in your apf install dir (/etc/apf?)'s internals/functions.apf:

    if [ "$VALMOD" == "1" ] && [ ! -f "/lib/modules/$(uname -r)/kernel/net/ipv4/netfilter/$1.o" ]; then

    Change $1.o to $1.ko and it will load the modules fine.
    Eamon McDermott
    http://enthropia.com Admin

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •