I wonder why in knoppix, the manual page of iptables(1.2.11) has the --src-range ip-ip option. New version of iptables? My server iptables version is 1.2.9
----- Original Message ----- From: "Paolo Alexis Falcone" <[EMAIL PROTECTED]> To: "Philippine Linux Users Group Mailing List" <[EMAIL PROTECTED]> Subject: Re: [plug] Block a range of ips Date: Tue, 30 Nov 2004 09:56:22 +0800 > > On Tue, 30 Nov 2004 08:31:52 +0700, Ramil Galib <[EMAIL PROTECTED]> wrote: > > hi guys, > > hope you can help me with this > > i want to block a range of ip addresses > > if it is only a single ip, i'm using > > iptables -i input -s 192.168.1.100 -j drop > > how do i specify the range, say 192.168.1.100 to 192.168.1.150 > > do i have to write individual ips? > > If they all belong to one subnet block, you could try rewriting it in > CIDR notation, else, a script that would iterate the IP values would > be effective. > -- > Paolo Alexis Falcone > [EMAIL PROTECTED] > -- > Philippine Linux Users' Group (PLUG) Mailing List > [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph) > Official Website: http://plug.linux.org.ph > Searchable Archives: http://marc.free.net.ph > . > To leave, go to http://lists.q-linux.com/mailman/listinfo/plug > . > Are you a Linux newbie? To join the newbie list, go to > http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie > > -- _______________________________________________ Find what you are looking for with the Lycos Yellow Pages http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10 -- Philippine Linux Users' Group (PLUG) Mailing List [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph Searchable Archives: http://marc.free.net.ph . To leave, go to http://lists.q-linux.com/mailman/listinfo/plug . Are you a Linux newbie? To join the newbie list, go to http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
