LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 10-01-2002, 10:05 PM   #1
penseur2
Member
 
Registered: Jan 2002
Location: Chennai India
Distribution: Red Hat
Posts: 42

Rep: Reputation: 15
bastille , shorewall


hi,

i usually use bastille or shorewall to secure my client's installations/LANs. so about 2 weeks back i was going over some printouts and i found a default accept line in the INPUT chain and in some cases the FORWARD
chain. the funny thing is the user defined chains dealing with incominig traffic are placed after this default accept
making them useless.
if anyone else sees this problem please let me know. i'm now running my own fw scripts.
this has happened in several cases of bastille installs and one install of shorewall. so if no one else
is having the problem maybe i am misconfiguring it. i've double checked and rechecked the configs
and /sbin/bastille-netfilter too. so pls check your fw chains and see i there is a line which simply accepts all packets before any user defined chains
regards
penseur2
 
Old 10-03-2002, 06:01 AM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Which interface does this ACCEPT line refer to?
Is it accepting LAN traffic before it is sent out or accepting lo traffic.
?
You may need these if you have default DROP policies...

Regards,
Peter
 
Old 10-03-2002, 09:41 PM   #3
penseur2
Member
 
Registered: Jan 2002
Location: Chennai India
Distribution: Red Hat
Posts: 42

Original Poster
Rep: Reputation: 15
it's accepting traffic from all interfaces including lo,ppp0 and eth0,eth1 and it does this before any of the logging
rules are in place, so there is no point in having any more rules after that rule.
 
Old 10-04-2002, 06:48 AM   #4
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Quite right !!

But, it's ok to have a line like this if all the DROP rules are before it.
It really depends on the default POLICY and whether filtering is done in the main chain or a sub chain.

Regards,
Peter
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
shorewall config question with /etc/shorewall/rules peter72 Linux - Networking 3 01-01-2007 09:33 PM
Bastille nemopaice Ubuntu 4 11-17-2005 11:08 PM
Bastille Sc0pE Linux - Software 0 05-22-2005 11:27 AM
Bastille! XLinux Linux - Security 1 02-23-2005 07:15 PM
Bastille Obie Mandriva 3 08-23-2004 06:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 08:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration