LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-19-2004, 02:14 PM   #1
borrrden
Member
 
Registered: May 2004
Location: Philadelphia
Distribution: Fedora Core 3
Posts: 98

Rep: Reputation: 15

I tried every single one of those rules, but still it lists all my ports (well almost all) as OPEN I've tried everything I can to try to stealth them or close them or whatever but it wont work, help.

This is what is on my iptables script

# Generated by iptables-save v1.2.3 on Thu Jul 18 11:05:40 2002
*nat
:PREROUTING ACCEPT [45635:8144121]
:POSTROUTING ACCEPT [6369:384202]
:OUTPUT ACCEPT [6511:393740]
COMMIT
# Completed on Thu Jul 18 11:05:40 2002
# Generated by iptables-save v1.2.3 on Thu Jul 18 11:05:40 2002
*filter
:INPUT DROP [0:0]
:FORWARD DROP [0:0]
:OUTPUT DROP [0:0]
ROPPING - [0:0]
:INCOM - [0:0]
:INCOM-Rules - [0:0]
:OUTG - [0:0]
:OUTG-Rules - [0:0]
:SPOOFCH - [0:0]
:SWITCH - [0:0]
-A INPUT -j DROPPING
-A INPUT -i lo -j ACCEPT
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -j SPOOFCH
-A FORWARD -j DROPPING
-A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT
-A FORWARD -j SWITCH
-A OUTPUT -j DROPPING
-A OUTPUT -s 127.0.0.1 -d 127.0.0.1 -o lo -j ACCEPT
-A OUTPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A OUTPUT -j OUTG-Rules
-A DROPPING -s 255.255.255.255 -j DROP
-A DROPPING -d 255.255.255.255 -j DROP
-A INCOM -j SPOOFCH
-A INCOM-Rules -p tcp -m tcp --dport 113 -j REJECT --reject-with icmp-port-unreachable
-A INCOM-Rules -m limit --limit 2/sec --limit-burst 10 -j LOG --log-prefix "fw-L-i Generic Drop for Inco "
-A INCOM-Rules -j ACCEPT
-A OUTG -j OUTG-Rules
-A OUTG-Rules -m limit --limit 2/sec --limit-burst 10 -j LOG --log-prefix "fw-L-o Generic Drop for Outg "
-A OUTG-Rules -j ACCEPT
-A SPOOFCH -j INCOM-Rules
-A SWITCH -m state --state RELATED,ESTABLISHED -j ACCEPT
-A SWITCH -i eth0 -o eth1 -j OUTG
-A SWITCH -i eth1 -o eth0 -j INCOM
COMMIT
# Completed on Thu Jul 18 11:05:40 2002

i dont know what any of this means, guarddog made it...

eth0 is my ethernet port, and eth1 is my wireless LAN card (I go online on eth1)

Last edited by borrrden; 09-19-2004 at 02:58 PM.
 
Old 09-19-2004, 07:01 PM   #2
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 57
Note: I'm making this it's own thread, as the original is more about blocking icmp, rather than total stealthing.

Last edited by Capt_Caveman; 09-19-2004 at 07:05 PM.
 
  


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
Total stealthing mykrob Linux - Security 23 12-15-2004 05:50 AM
Stealthing Open Router Ports ghight Linux - Security 8 02-19-2004 10:05 AM
stealthing port 113 danielw Linux - Security 4 12-21-2003 03:53 AM
Stealthing port 113 B McHack Linux - Distributions 1 11-16-2003 05:14 PM
Stealthing all ports Stephanie Linux - General 10 07-26-2002 11:00 AM


All times are GMT -5. The time now is 05:39 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration