LinuxQuestions.org
Review your favorite Linux distribution.
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-25-2001, 03:01 PM   #1
siymann
LQ Newbie
 
Registered: Jun 2001
Posts: 3

Rep: Reputation: 0
iptables - advanced port blocking/stealth mode


Hi guys,

I used to use ipchains (2.2.x kernel) and had ip masq rules setup (for sharing my cable modem onto my lan). I then upgraded to the latest Slackware version (8 i think) and installed kernel 2.4.x and then noticed i needed to use iptables.

I have iptables setup to do basic ipmasq, but I haven't been able to find any info of howto secure it (i.e. get all my crappy ports reporting stealth on steve gibsons shields up site). Does anyone have/know of any info on iptables configuration???


cheers.
siy.
 
Old 10-26-2001, 05:21 AM   #2
raz
Member
 
Registered: Apr 2001
Location: London
Posts: 408

Rep: Reputation: 31
siy,

try playing with.

iptables -A INPUT -p tcp ! --syn -m state --state NEW -j LOG --log-prefix "New not syn:"
iptables -A INPUT -p tcp ! --syn -m state --state NEW -j DROP


Go to the following links for the info your looking for.

http://people.unix-fu.org/andreasson...l.html#AEN1031
http://ods.dyndns.org/ipt_flow.html
http://www.linuxguruz.org/iptables/
http://www.docum.org
http://netfilter.filewatcher.org/netfilter-faq.html
http://netfilter.filewatcher.org/unr...WTO/index.html
http://lists.samba.org/mailman/listinfo/netfilter

/Raz
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Stealth iptables ruleset Mux Linux - Security 10 02-21-2007 02:54 AM
opening port (blocking mode) novice_din Programming 2 02-17-2005 08:36 PM
Running linux in stealth mode mrpc_cambodia Red Hat 0 11-15-2004 07:53 PM
Question about port blocking with Iptables GUIPenguin Linux - Networking 2 10-11-2004 06:25 PM
IPTables in Stealth mode bentman78 Linux - Networking 1 04-06-2004 03:43 PM

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

All times are GMT -5. The time now is 01:23 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