* Need help with iptables and iprange module
@ 2007-02-15 0:15 TheNokia
2007-02-15 0:49 ` Michel van der Klei
0 siblings, 1 reply; 6+ messages in thread
From: TheNokia @ 2007-02-15 0:15 UTC (permalink / raw)
To: netfilter
Hello everybody, I installed iptables v1.3.7 (the lastest one)
But when I try to use iprange module (-m iprange) here the error:
debian:~# iptables -A INPUT -m iprange
iptables v1.3.7: iprange match: You must specify `--src-range' or `--dst-range'
Try `iptables -h' or 'iptables --help' for more information.
debian:~# iptables -A INPUT -m iprange --src-range
iptables v1.3.7: Unknown arg `--src-range'
Try `iptables -h' or 'iptables --help' for more information.
debian:~# iptables -A INPUT -m iprange --src-range
xx.xxx.xxx.0-xx.xxx.xxx.255 -j DROP
iptables: No chain/target/match by that name
I try to install the crap-patch-o-matic, impossible to install without
100 years of linux knowledge.
Can someone help me with that ?
Thank you in advance.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Need help with iptables and iprange module
2007-02-15 0:15 TheNokia
@ 2007-02-15 0:49 ` Michel van der Klei
2007-02-15 12:56 ` Jan Engelhardt
0 siblings, 1 reply; 6+ messages in thread
From: Michel van der Klei @ 2007-02-15 0:49 UTC (permalink / raw)
To: netfilter
On Wed, 14 Feb 2007 19:15:13 -0500 TheNokia <nokiairc@gmail.com> wrote:
> Hello everybody, I installed iptables v1.3.7 (the lastest one)
> But when I try to use iprange module (-m iprange) here the error:
>
> debian:~# iptables -A INPUT -m iprange
> iptables v1.3.7: iprange match: You must specify `--src-range' or `--dst-range'
> Try `iptables -h' or 'iptables --help' for more information.
> debian:~# iptables -A INPUT -m iprange --src-range
> iptables v1.3.7: Unknown arg `--src-range'
> Try `iptables -h' or 'iptables --help' for more information.
> debian:~# iptables -A INPUT -m iprange --src-range
> xx.xxx.xxx.0-xx.xxx.xxx.255 -j DROP
> iptables: No chain/target/match by that name
>
> I try to install the crap-patch-o-matic, impossible to install without
> 100 years of linux knowledge.
Which kernelversion is there installed on your Debian machine. Since kernel
2.6.18 it's no longer needed to run patch-o-matic.
modprobe ipt_iprange will do that trick for you.
--
Michel van der Klei
http://www.mitch-it.nl
A brain is a wonderful thing,
everybody should have one
--
Met vriendelijk groet,
Michel van der Klei
Mitch IT
Annendal 11
4761 LK ZEVENBERGEN
tel: 0168329316
fax: 0168329639
http://www.mitch-it.nl
A brain is a wonderful thing,
everybody should have one
^ permalink raw reply [flat|nested] 6+ messages in thread
* Need help with iptables and iprange module
@ 2007-02-15 1:45 TheNokia
2007-02-15 2:01 ` Michel van der Klei
0 siblings, 1 reply; 6+ messages in thread
From: TheNokia @ 2007-02-15 1:45 UTC (permalink / raw)
To: netfilter
I try want you said Michel but
debian:/glftpd/ftp-data/users# modprobe ipt_iprange
modprobe: Can't locate module ipt_iprange
My version kernel is 2.4.27-2-386
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Need help with iptables and iprange module
2007-02-15 1:45 Need help with iptables and iprange module TheNokia
@ 2007-02-15 2:01 ` Michel van der Klei
2007-02-15 10:45 ` Pascal Hambourg
0 siblings, 1 reply; 6+ messages in thread
From: Michel van der Klei @ 2007-02-15 2:01 UTC (permalink / raw)
To: TheNokia; +Cc: netfilter
On Wed, 14 Feb 2007 20:45:41 -0500 TheNokia <nokiairc@gmail.com> wrote:
> I try want you said Michel but
>
> debian:/glftpd/ftp-data/users# modprobe ipt_iprange
> modprobe: Can't locate module ipt_iprange
>
> My version kernel is 2.4.27-2-386
It's like i said in my previous mail ..... you'll need kernel
2.6.18 for the ipt_iprange module _without_ patch-o-matic.
I don't know if you're bound 2 kernel 2.4.27. If not i would
recommend a kernel update.
apt-get update && apt-get install linux-image-2.6.18-4-686
should do that trick for you.
Otherwise .... patch-o-matic isn't that hard ;-)
--
Michel van der Klei
http://www.mitch-it.nl
A brain is a wonderful thing,
everybody should have one!
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Need help with iptables and iprange module
2007-02-15 2:01 ` Michel van der Klei
@ 2007-02-15 10:45 ` Pascal Hambourg
0 siblings, 0 replies; 6+ messages in thread
From: Pascal Hambourg @ 2007-02-15 10:45 UTC (permalink / raw)
To: netfilter
Hello,
Michel van der Klei a écrit :
> On Wed, 14 Feb 2007 20:45:41 -0500 TheNokia <nokiairc@gmail.com> wrote:
>
>>debian:/glftpd/ftp-data/users# modprobe ipt_iprange
>>modprobe: Can't locate module ipt_iprange
>>
>>My version kernel is 2.4.27-2-386
>
> It's like i said in my previous mail ..... you'll need kernel
> 2.6.18 for the ipt_iprange module _without_ patch-o-matic.
Actually the iprange match support is included in all standard 2.6
kernels, since version 2.6.0. But indeed you need to patch the kernel
sources in order to add this feature to a 2.4 kernel.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Need help with iptables and iprange module
2007-02-15 0:49 ` Michel van der Klei
@ 2007-02-15 12:56 ` Jan Engelhardt
0 siblings, 0 replies; 6+ messages in thread
From: Jan Engelhardt @ 2007-02-15 12:56 UTC (permalink / raw)
To: Michel van der Klei; +Cc: netfilter
On Feb 15 2007 01:49, Michel van der Klei wrote:
>>
>> I try to install the crap-patch-o-matic, impossible to install without
>> 100 years of linux knowledge.
>
>Which kernelversion is there installed on your Debian machine. Since kernel
>2.6.18 it's no longer needed to run patch-o-matic.
>
>modprobe ipt_iprange will do that trick for you.
And iptables will autoload it for you if it's there, so the trick is already
done.
Jan
--
ft: http://freshmeat.net/p/chaostables/
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-02-15 12:56 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-15 1:45 Need help with iptables and iprange module TheNokia
2007-02-15 2:01 ` Michel van der Klei
2007-02-15 10:45 ` Pascal Hambourg
-- strict thread matches above, loose matches on Subject: below --
2007-02-15 0:15 TheNokia
2007-02-15 0:49 ` Michel van der Klei
2007-02-15 12:56 ` Jan Engelhardt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox