From: "david" Subject: Re: I need help , please Date: Fri, 5 Jul 2002 11:25:47 +0200 Sender: netfilter-admin@lists.samba.org Message-ID: <015601c22405$f21c42d0$8703000a@aid.inf.cu> References: <002701c2242f$9498cd20$0a01a8c0@ed> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0153_01C22416.B5866740" Return-path: Errors-To: netfilter-admin@lists.samba.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: To: blacknet@simplyaquatics.com Cc: netfilter@lists.samba.org This is a multi-part message in MIME format. ------=_NextPart_000_0153_01C22416.B5866740 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable OK , I agree.In fact I am just trying. I heve tested a simpler script : # Standard default policies iptables -P INPUT DROP iptables -P FORWARD DROP iptables -P OUTPUT DROP am here you have the output. /etc/rc.d/init.d/iptables : command not found iptables: bad police name iptables: bad police name iptables: bad police name /etc/rc.d/init.d/iptables : command not found ----- Original Message -----=20 From: Ed Street=20 Cc: netfilter@lists.samba.org=20 Sent: Friday, July 05, 2002 4:23 PM Subject: RE: I need help , please Hello, =20 First this script is not coded that well (not clean at all) second I = would recommend changing scripts. If you are going to keep this script = I would urge you to do some serious house cleaning. For the errors you = can put breakpoints thru the script to determine the problems (bet = there's several here) =20 This type of script is not something you should just pick up and run = blindly. =20 Ed =20 -----Original Message----- From: netfilter-admin@lists.samba.org = [mailto:netfilter-admin@lists.samba.org] On Behalf Of david Sent: Friday, July 05, 2002 4:01 AM To: mimom@rcn.com; George Vieira; jesse.linux Cc: netfilter@lists.samba.org Subject: Fw: I need help , please =20 Hi: =20 George and Jesse: =20 Here i am sending you all that I have done: KERNEL Enable loadble modulo support Y Network packet Filtering Y IP netfilter configuration Y IP table support Y =20 everything else as modules. =20 make bzImage make modules make modules_Install reboot uname -a = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D =20 chkconfig --level 0123456 ipchains off /etc/rc.d/init.d/ipchains stop chkconfig --level 2345 iptables on /etc/rc.d/init.d/iptables start = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D =20 Here are my script (/etc/rc.d/init.d/iptables) and the errors. =20 david =20 Thanks to all of you ------=_NextPart_000_0153_01C22416.B5866740 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
OK , I agree.In fact I  am just=20 trying.
I heve tested a simpler script = :
 
# Standard default policies
iptables = -P INPUT=20 DROP
iptables -P FORWARD DROP
iptables -P OUTPUT = DROP
am here you have the = output.
/etc/rc.d/init.d/iptables : command not = found
iptables: bad police name
iptables: = bad police=20 name
iptables: = bad police=20 name
/etc/rc.d/init.d/iptables : command not = found

----- Original Message -----
From:=20 Ed Street
Cc: netfilter@lists.samba.org
Sent: Friday, July 05, 2002 = 4:23 PM
Subject: RE: I need help , = please

Hello,

 

First this = script is=20 not coded that well (not clean at all) second I would recommend = changing=20 scripts.  If you are = going to keep=20 this script I would urge you to do some serious house cleaning.  For the errors you can put = breakpoints=20 thru the script to determine the problems (bet there’s several=20 here)

 

This type = of script=20 is not something you should just pick up and run=20 blindly.

 

Ed

 

-----Original=20 Message-----
From:=20 netfilter-admin@lists.samba.org = [mailto:netfilter-admin@lists.samba.org]=20 On Behalf Of = david
Sent: Friday, July 05, 2002 = 4:01=20 AM
To: = mimom@rcn.com; George=20 Vieira; jesse.linux
Cc:=20 netfilter@lists.samba.org
Subject: Fw: I need help ,=20 please

 

Hi:

 

George and=20 Jesse:

 

Here i am sending you = all that I=20 have done:

KERNEL

Enable loadble modulo=20 support   Y

Network packet = Filtering =20 Y

IP netfilter=20 configuration   Y

IP table = support  =20 Y

 

everything else as=20 modules.

 

make=20 bzImage

make=20 modules

make=20 modules_Install

reboot

uname=20 -a

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D

 

chkconfig --level = 0123456 ipchains=20 off

/etc/rc.d/init.d/ipchains=20 stop

chkconfig --level 2345 = iptables=20 on

/etc/rc.d/init.d/iptables=20 start

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D

 

Here are my script=20 (/etc/rc.d/init.d/iptables) and the = errors.

 

david

 

Thanks to all of=20 = you

------=_NextPart_000_0153_01C22416.B5866740--