From mboxrd@z Thu Jan 1 00:00:00 1970 From: Subject: RE: Debugging Date: Mon, 20 Oct 2003 01:26:59 +0200 Sender: netfilter-admin@lists.netfilter.org Message-ID: <004201c39698$7e8d7120$0501a8c0@robert> References: <09B04A55822EFF4DA48D2E0BB2941D4A15C51F@wardrive.citadelcomputer.com.au> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0043_01C396A9.42164120" Return-path: In-Reply-To: <09B04A55822EFF4DA48D2E0BB2941D4A15C51F@wardrive.citadelcomputer.com.au> Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: To: netfilter@lists.netfilter.org This is a multi-part message in MIME format. ------=_NextPart_000_0043_01C396A9.42164120 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit That did the trick. Stupid not to notice it, but indeed, the iptables file wasn't present in /etc/sysconfig, so I did "service iptables save" and it saved the ruleset (which is non-existent atm). Afterwards the service came online as expected. Now I can get back to learning how to write the rules ;-) Thanks! Robert Hazenveld -----Original Message----- From: George Vieira [mailto:georgev@citadelcomputer.com.au] Sent: maandag 20 oktober 2003 0:41 To: techmail@safe2surf.nl Subject: RE: Debugging vi /etc/init.d/iptables check inside for anything it's testing for to exist before it'll even run the script. >From memory it checks for /etc/sysconfig/iptables file which contains the rules you want to add to the machine, if this doesn't exist then the script stops.. I would remove all of the script contents and write your own iptables script, it's not hard once you know exaclty what you want for a firewall.. Thanks, ____________________________________________ George Vieira Citadel Computer Systems Pty Ltd Systems Manager georgev AT citadelcomputer DOT com DOT au Citadel Computer Systems Pty Ltd Phone : +61 2 9955 2644 HelpDesk: +61 2 9955 2698 http://www.citadelcomputer.com.au -----Original Message----- From: techmail@safe2surf.nl [mailto:techmail@safe2surf.nl] Sent: Monday, 20 October 2003 8:24 AM To: netfilter@lists.netfilter.org Subject: Debugging Hi, Perhaps this is a stupid question which has been asked too many times, but I wasn't able to find it. If I do "service iptables start" nothing happens, so when I do "service iptables status" it says "Firewall is stopped." Because I want to know where in the process the error is I'd like to know how to debug it. Is there any information on debugging to see what error it displays? Kind regards, Robert Hazenveld ------=_NextPart_000_0043_01C396A9.42164120 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

That did the = trick. Stupid not to notice it, but indeed, the iptables file wasn’t = present in /etc/sysconfig, so I did “service iptables save” and it = saved the ruleset (which is non-existent atm). Afterwards the service came online as = expected. Now I can get back to learning how to write the rules = ;-)

 

Thanks!

 

Robert = Hazenveld

 

-----Original Message-----
From: George Vieira [mailto:georgev@citadelcomputer.com.au]
Sent: maandag 20 oktober = 2003 0:41
To: = techmail@safe2surf.nl
Subject: RE: = Debugging

 

vi /etc/init.d/iptables

 

check inside for anything it's testing for to exist before it'll even run the = script.

From memory it checks for /etc/sysconfig/iptables file which contains the = rules you want to add to the machine, if this doesn't exist then the script = stops..

 

I would remove all of the script contents and write your own iptables script, = it's not hard once you know exaclty what you want for a = firewall..

 

Thanks,

 

____________________________________________

George Vieira
Citadel Computer Systems Pty Ltd   Systems Manager   georgev AT citadelcomputer DOT com DOT = au  

Citadel Computer Systems Pty Ltd

Phone : +61 2 9955 2644   HelpDesk: +61 2 9955 2698   http://www.citadelcomputer.co= m.au

 

 

-----Original Message-----
From: = techmail@safe2surf.nl [mailto:techmail@safe2surf.nl]
Sent: Monday, 20 October = 2003 8:24 AM
To: = netfilter@lists.netfilter.org
Subject: = Debugging

Hi,

 

Perhaps this = is a stupid question which has been asked too many times, but I wasn’t able to = find it.

 

If I do = “service iptables start” nothing happens, so when I do “service = iptables status” it says “Firewall is = stopped.”

 

Because I want = to know where in the process the error is I’d like to know how to debug = it. Is there any information on debugging to see what error it = displays?

 

Kind = regards,

 

Robert = Hazenveld

------=_NextPart_000_0043_01C396A9.42164120--