This is a discussion on Blocking ranges of ip with iptables within the Linux Security forums, part of the System Security and Security Related category; -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi ~ I am trying to block a range of IP addresses using iptables, the ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 Hi ~ I am trying to block a range of IP addresses using iptables, the command I am using is : iptables -A INPUT -m iprange --src-range $ip_addresss -m limit --limit \ ~ $LOG_LIMIT --limit-burst 1 -j LOG --log-level $LOG_LEVEL \ ~ --log-prefix "IP IN: $reason " I am have issues under standing the ipt_iprange kernel module for iptables, I don't have it loaded. I went to the netfilter CVS repository and found 4 files relating to the kernel module: Kconfig.ladd Makefile.ladd ipt_iprange.c ipt_iprange.h How do you make the kernel/install this kernel module please? Thanks for your help Paul -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBpIazoLDxPzZbDg8RAuxNAJ9V7AOEEj+OXqOmAu8XRZ vrZaSl0QCguO6Z ELKXKGrZg+Flk8CCH2qNT08= =6ANZ -----END PGP SIGNATURE----- |