Results 1 to 5 of 5
  1. #1
    Join Date
    Apr 2004
    Posts
    47

    using APF firewall how do I deny this IP range?

    Using latest APF firewall on RH9

    I want to deny all these IP range, example:

    2##.0.0.0 - 2##.255.255.255

    all of it.

    How do I do that ?
    Can I do this in deny_host.rules?

    2##.0/24.0/24.0/24

    I know this works: 2##.255.255.0/24 in deny_hosts.rules but how about the entire range?


    help!
    <b> ? </b>

  2. #2
    Join Date
    Apr 2004
    Posts
    47
    I also get an error message when i do apf -r :

    lsmod: QM_MODULES: Function not implemented

    but, firewall is working since if I type apf -st it shows stuff.
    <b> ? </b>

  3. #3
    Try 2##.0.0.0/8

    That should do the trick.

  4. #4
    Originally posted by one1coolone1
    I also get an error message when i do apf -r :

    lsmod: QM_MODULES: Function not implemented

    but, firewall is working since if I type apf -st it shows stuff.
    are you on VPS? If yes, you can ignore the messages.
    ••• Like us on Facebook to qualify for discounts! •••
    ••• http://www.sprintserve.net •••
    ••• Offering: | Internap FCP Bandwidth! | Rebootless Kernel Updates! | Magento Optimized Hosting | Wordpress Hosting | •••
    ••• Services: | Managed Multiple Cores 64bit Servers | Server Management | •••

  5. #5
    Join Date
    Mar 2003
    Location
    California USA
    Posts
    13,681
    he could also have a staticly compiled kernel.
    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

Posting Permissions

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