Skip to contentSkip to conversation

IDS better than hardcore iptables rules?

DISCUSSION [email protected] 3 participants 3 messages Feb 3, 2005 – Feb 4, 2005

lore
Share & tools
lore
#0 lore raw

Many people on this list including Jason O. are masters at creating very detailed careful iptables rules that DROP packets that have anything peculiar about them.

(e.g. FIN without ACK, etc.)

My iptables script just filters based on port number and protocol. I was wondering if instead of diving into TCP education to duplicate the fine work Jason and others have done,
if an IDS (Intrusion Detection System)
like Snort would serve the same purpose???

I assume Snort **ALSO** knows what TCP flag combos typically signify a port scan and other nasties?

Chris

--
_______________________________________

Christian Seberino, Ph.D.
SPAWAR Systems Center San Diego
Code 2872
49258 Mills Street, Room 158
San Diego, CA 92152-5385
U.S.A.

Phone: (619) 553-9973
Fax : (619) 553-6521
Email: [email protected]
_______________________________________

#1 lore raw
Quoted 13 lines · On Thu, 3 Feb 2005 [email protected] wrote:

Many people on this list including Jason O. are masters at creating very detailed careful iptables rules that DROP packets that have anything peculiar about them.

(e.g. FIN without ACK, etc.)

My iptables script just filters based on port number and protocol. I was wondering if instead of diving into TCP education to duplicate the fine work Jason and others have done,
if an IDS (Intrusion Detection System)
like Snort would serve the same purpose???

Quoted 3 lines

I assume Snort **ALSO** knows what TCP flag combos typically signify a port scan and other nasties?

And there are many that have delved into combining the two applications to work together, but, IDS is a beat unto itself, takes perhaps a bit more thought and work just to tune the IDS *behind* the firewall to get the proper set of true alarms working such that it's not just another whining app that gets ignored pretty much as much as most system logs tend to be.

And TCP education is require as much for IDS setup and design as proper firewalling. There are no shortcuts, one needs to gain the basic knowledge levels to tackle more then the basics of network design as in any other venture one wishes to put their efforts into. Afterall, there were no real cheap shortcuts to your phd, correct?

Thanks,

Ron DuFresne

Signature · 11 lines
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        admin & senior security consultant:  sysinfo.com
                        http://sysinfo.com

...Love is the ultimate outlaw.  It just won't adhere to rules.
The most any of us can do is sign on as it's accomplice.  Instead
of vowing to honor and obey, maybe we should swear to aid and abet.
That would mean that security is out of the question.  The words
"make" and "stay" become inappropriate.  My love for you has no
strings attached.  I love you for free...
                        -Tom Robins <Still Life With Woodpecker>
#2 lore raw
In reply to [email protected]
Quoted 28 lines · El vie, 04 de 02 de 2005 a las 00:03, [email protected] escribió:

Many people on this list including Jason O. are masters at creating very detailed careful iptables rules that DROP packets that have anything peculiar about them.

(e.g. FIN without ACK, etc.)

My iptables script just filters based on port number and protocol. I was wondering if instead of diving into TCP education to duplicate the fine work Jason and others have done,
if an IDS (Intrusion Detection System)
like Snort would serve the same purpose???

I assume Snort **ALSO** knows what TCP flag combos typically signify a port scan and other nasties?

Chris

--
_______________________________________

Christian Seberino, Ph.D.
SPAWAR Systems Center San Diego
Code 2872
49258 Mills Street, Room 158
San Diego, CA 92152-5385
U.S.A.

Quoted 4 lines

Phone: (619) 553-9973
Fax : (619) 553-6521
Email: [email protected]
_______________________________________

Your problem it's dead easy to solve. You *need*
a firewall and *also* an IDS/IPS. Don't try to
substitute one thing with the other, they are
different thing and both are useful.

Regards.

Signature · 12 lines
Jose Maria Lopez Hernandez
Director Tecnico de bgSEC
[email protected]
bgSEC Seguridad y Consultoria de Sistemas Informaticos
http://www.bgsec.com
ESPAÑA

The only people for me are the mad ones -- the ones who are mad to live,
mad to talk, mad to be saved, desirous of everything at the same time,
the ones who never yawn or say a commonplace thing, but burn, burn, burn
like fabulous yellow Roman candles.
                -- Jack Kerouac, "On the Road"