Welcome to the Comodo Forum
Welcome,
Guest
. Please
login
or
register
.
December 24, 2009, 03:41:31 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
344979
Posts
38084
Topics
86489
Members
Latest Member:
Pescao6
more news...
Search:
Advanced search
|
Tag Cloud
Welcome to the Comodo Forum
Learn about Computer Security and Interact with Security Experts
Computer Firewalls
Ports closed non-Stealth
« previous
next »
Pages:
[
1
]
Author
Topic: Ports closed non-Stealth (Read 2026 times)
SeekingSecurity
Newbie
Offline
Posts: 24
Ports closed non-Stealth
«
on:
October 23, 2009, 11:13:42 AM »
Hello:
I have a router (D-Link) and I enabled your firewall and select a DMZ direction (I needed for emule and others...). I installed comodo firewall and I have only configured the ports for certain programs (emule, Pando, Utorrent; as you explain in the forum)) but there is a port that is always closed (22) but no stealth; lately I see closed new ports (1037,1040,1041) ( I used Shields Up). I suppose this ports are closed in the router and is stealth in Comodo Firewall. I don't know ...
How can I do to stealth these ports definitively?, Without having to each time by telnet:
iptables -I INPUT-s 0.0.0.0 /0 -p tcp - dport 22 -j DROP
Why do I get more and more ports closed and not hidden?
I spent a couple of online anti-virus and I have a clean PC.
(Sorry, my english is not too good).
«
Last Edit: October 23, 2009, 11:17:18 AM by SeekingSecurity
»
Logged
SeekingSecurity
Newbie
Offline
Posts: 24
Re: Ports closed non-Stealth
«
Reply #1 on:
October 23, 2009, 12:11:27 PM »
I restarted the pc and now I get with no stealth and closed ports 22 and 1054 (Shields Up).
Logged
Ronny
Product Translator
Global Moderator
Comodo's Hero
Offline
Posts: 5213
Re: Ports closed non-Stealth
«
Reply #2 on:
October 23, 2009, 12:16:39 PM »
Hi SeekingSecurity,
The difference between a Stealth port and a Closed port is this.
If Shields up sends a probe request to TCP port 22 and some firewall drop's the packet silent, Shields up's request will time-out without receiving any response, hence Stealth.
If the same happens but the PC responds (Or Router in between) with a TCP RST (Reset packet) then Shields up know's the system is active and the port is Closed because of the response it received from your system.
Same goes for ICMP but then the expected response is an ICMP Packet with Type 3 Code 3 Unreachable, Port Unreachable, thus also "Closed".
I'm personally not a fan of DMZ hosts, i prefer to setup those applications with a fixed port and use port-forwarding in the router to only pass these packets to your internal system.
In regards to Iptables, is that the way to go in the D-Link router?
Do you save the Iptables with the command "iptables save"?
Logged
Forum Volunteer - Any concerns? Please send me a PM and/or review the
Forum Policy !
SeekingSecurity
Newbie
Offline
Posts: 24
Re: Ports closed non-Stealth
«
Reply #3 on:
October 23, 2009, 12:38:37 PM »
I've seen in a forum to close ports that can be done through iptables and I do it with this statement:
Window to DOS
Telnet router address
login and password
iptables ...
I do not like is saved with iptables ...
The DMZ I've seen in another forum, since I worked at the time emule, and so I managed to use it at the time.
Thanks for responding.
Logged
Ronny
Product Translator
Global Moderator
Comodo's Hero
Offline
Posts: 5213
Re: Ports closed non-Stealth
«
Reply #4 on:
October 23, 2009, 12:41:14 PM »
Does the router also support this command?
netstat -an
This should display the current connections from and to the router including the ports it's listening on.
Is port 22 listed there as LISTENING?
Logged
Forum Volunteer - Any concerns? Please send me a PM and/or review the
Forum Policy !
SeekingSecurity
Newbie
Offline
Posts: 24
Re: Ports closed non-Stealth
«
Reply #5 on:
October 23, 2009, 01:47:25 PM »
Port 22 is not listed.
Logged
Ronny
Product Translator
Global Moderator
Comodo's Hero
Offline
Posts: 5213
Re: Ports closed non-Stealth
«
Reply #6 on:
October 26, 2009, 03:13:19 AM »
Can you do a scan with a freshly rebooted router and pc and see what it comes up with...
Logged
Forum Volunteer - Any concerns? Please send me a PM and/or review the
Forum Policy !
SeekingSecurity
Newbie
Offline
Posts: 24
Re: Ports closed non-Stealth
«
Reply #7 on:
October 30, 2009, 05:39:04 PM »
Shields Up! --> Failed. All ports Stealth less port 22, 1052 and 1055.
With netstat -an:
This ports isn't LISTENING. The port 1052 and 1055 is ESTABLISHED.
Logged
SeekingSecurity
Newbie
Offline
Posts: 24
Re: Ports closed non-Stealth
«
Reply #8 on:
October 31, 2009, 10:04:42 AM »
I currently use a program that runs on Windows startup in Comodo enabled Define a New Trusted Application, which is called: Expect version 5.21.
I create a FILE.bat to run at the start of Windows, this contain:
Tclsh80.exe Closing22.txt
And Closing22.txt contains:
#!expect -f
set timeout 2
set remote_server 192.168.1.1
set my_user_id *****
set my_password ***********
set my_command9 "iptables -I INPUT -s 0.0.0.0/0 -p TCP --dport 22 -j DROP"
spawn telnet $remote_server
expect "login:"
send "$my_user_idr"
expect "Password:"
send "$my_passwordr"
expect "%"
send "$my_command9r"
expect "%"
send "exitr"
expect eof
It runs on Windows startup, but not always close the port. I don't know why? ...
Logged
Ronny
Product Translator
Global Moderator
Comodo's Hero
Offline
Posts: 5213
Re: Ports closed non-Stealth
«
Reply #9 on:
October 31, 2009, 10:50:08 AM »
This is very strange because.
1) your router doesn't appear to be listening on port 22.
2) your normal Windows system should also not be listening on this port.
Can you check to see if your PC is listening on port 22? by using
netstat -an|find /i "22"
If it doesn't find anything, can you then create the following global rule on CIS and put it all the way up to the top.
Block and Log
TCP
Src Any
SrcPort Any
Dst Any
DstPort 22
And rerun the Shield's Up test? After that check CIS firewall log if you see matches for attacks on port 22
Logged
Forum Volunteer - Any concerns? Please send me a PM and/or review the
Forum Policy !
SeekingSecurity
Newbie
Offline
Posts: 24
Re: Ports closed non-Stealth
«
Reply #10 on:
October 31, 2009, 03:04:21 PM »
With netstat-an | find / i "22":
The port 22 is not listening. Only the Firefox connections.
I think it's a defect of some DLink routers, I've seen in others forums, and I'm not the only one who's wrong, (although it could be the ISP that provides the router with a closed port to access...) .
I just put in Comodo Firewall + Attack Detection Settings this rule. I run the Shields Up test, and I get port 22 closed. In Common Tasks + View Firewall Events do not see any attack on port 22.
Logged
Ronny
Product Translator
Global Moderator
Comodo's Hero
Offline
Posts: 5213
Re: Ports closed non-Stealth
«
Reply #11 on:
November 01, 2009, 10:49:43 AM »
Maybe there is new firmware for your D-Link router?
Could be that something is fixed....
Does it contain some sort of Network Intrusion Detection/Prevention?
Logged
Forum Volunteer - Any concerns? Please send me a PM and/or review the
Forum Policy !
SeekingSecurity
Newbie
Offline
Posts: 24
Re: Ports closed non-Stealth
«
Reply #12 on:
November 01, 2009, 01:07:40 PM »
Does it contain some sort of Network Intrusion Detection/Prevention? No. Only Antivirus and Antispyware (Spybot S&D, Spywareblaster).
Maybe there is new firmware for your D-Link router? I have the last firmware offered for my ISP.
I'm testing now with a laptop that I have given, still shows port 22 closed. Unfortunately it seems that my PC crashed (works power supply, motherboard LED lights up, but will not start, maybe dead micro, I think I will be busy few days).
Thank you.
Logged
Ronny
Product Translator
Global Moderator
Comodo's Hero
Offline
Posts: 5213
Re: Ports closed non-Stealth
«
Reply #13 on:
November 01, 2009, 01:14:15 PM »
Quote from: SeekingSecurity on November 01, 2009, 01:07:40 PM
Does it contain some sort of Network Intrusion Detection/Prevention? No. Only Antivirus and Antispyware (Spybot S&D, Spywareblaster).
Looks like a misunderstanding, I was wondering if the D-Link router contains these features...
Quote
Maybe there is new firmware for your D-Link router? I have the last firmware offered for my ISP.
I'm testing now with a laptop that I have given, still shows port 22 closed. Unfortunately it seems that my PC crashed (works power supply, motherboard LED lights up, but will not start, maybe dead micro, I think I will be busy few days).
Thank you.
Good luck with recovering your system, do you know what you changed lately?
Maybe that caused anything...
Logged
Forum Volunteer - Any concerns? Please send me a PM and/or review the
Forum Policy !
SeekingSecurity
Newbie
Offline
Posts: 24
Re: Ports closed non-Stealth
«
Reply #14 on:
November 03, 2009, 02:32:28 PM »
I cleaned all the components inside, and after several days by clicking on the button, has started the computer normally. There are things that computers do not understand!
The router firewall is disabled and I use Comodo, so I can manually control and faster what interests me.
Logged
Tags:
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Want to help Comodo?
-----------------------------
=> Help Spread the Word - Official Comodo banners and logos
=> How can you help Comodo? (Please we do need you!)
===> Help spread the word! (Please read and help)
===> Comodo website issues for submitting website problems only
=> Please tell us your views and Vote here!
-----------------------------
General Category
-----------------------------
=> Melih's Corner - CEO Talk/Discussions/Blog
=> Comodo.TV - Our Internet Video Channel
===> Comodo.TV - News and Announcements
===> Comodo.TV - Program Lineup
===> Audience Feedback and Suggestions
=> Which Product do you want Comodo to develop next?
=> General Discussion (off topic) Anything and everything...
===> Member Confessions :-)
===> Funny Photos :-)
===> Cool Stuff
-----------------------------
Desktop Security Products
-----------------------------
=> Comodo Internet Security - CIS
===> Overview - CIS
===> Help - CIS
=====> Anti Virus Help
=====> Firewall Help
=====> Defense+ Help
=====> Install / Setup / Configuration Help
===> FAQ - CIS
=====> Anti Virus FAQ
=====> Firewall FAQ
=====> Defense+ FAQ
=====> Install / Setup / Configuration FAQ
===> Feedback/Comments/Announcements/News - CIS
===> Guides - CIS
=====> Anti Virus Guides
=====> Firewall Guides
=====> Defense+ Guides
=====> Install / Setup / Configuration Guides
=====> Video Guides
===> Wishlist - CIS
=====> Anti Virus Wishlist
=====> Firewall Wishlist
=====> Defense+ Wishlist
=====> GUI -Graphical User Interface - Wishlist
===> Bug Report - CIS
=====> Anti Virus Bugs
=====> Firewall Bugs
=====> Defense+ Bugs
=====> Other - General - GUI etc Bugs
=====> False Positive/Negative reporting - (Is this a malware that CIS has/not detected?)
===> Virus/Malware Removal Assistance
===> Leak Testing/Attacks/Vulnerability Research
=> Comodo Time Machine - CTM
===> Frequent Asked Questions (FAQ)
=> Comodo Dragon - CD
=> Comodo Instant Malware Analysis Online - CIMA
=> Comodo Disk Encryption - CDE
===> Overview - CDE
===> Help - CDE
===> FAQ - CDE
===> Feedback/Comments/Announcements/News - CDE
===> Wishlist - CDE
===> Beta Corner - CDE
===> BUG Reports - CDE
=> Comodo Secure Email - CSE
===> Frequently Asked Questions (FAQ)
===> Feedback/Comments/Announcements/News about CSE
===> Bug Reports
===> Help for Comodo SecureEmail
=> Comodo TrustConnect - Securing the Wireless world!
=> Comodo EasyVPN - CEVPN
===> Frequently Asked Questions (FAQ)
===> Feedback/Comments/Announcements/News about Comodo EasyVPN
===> Bug reports
===> Help for Comodo EasyVPN
=> HopSurf (Bringing Internet to you)
=> Comodo Online Backup - COB
=> Comodo Backup - CB
===> Comodo Backup - FAQ
===> Comodo Backup - Help
=> Verification Engine - CVE
=> Comodo Vulnerability Analyzer - CVA
=> Comodo AntiSpam - CAS
-----------------------------
Desktop Utilities
-----------------------------
=> Comodo System Cleaner - File/Registry/Privacy Cleaner
=> Live PC Support (geeks ready to help 24/7/365)
-----------------------------
Enterprise Security
-----------------------------
=> Comodo Endpoint Security Manager
-----------------------------
Compliance
-----------------------------
=> PCI DSS Compliance
-----------------------------
Learn about Computer Security and Interact with Security Experts
-----------------------------
=> Computer Firewalls
=> Anti Virus/Malware Products/Other Security products
=> Free Virus/Spyware/Trojan/Malware Removal by Comodo Experts
=> HIPS (Host Intrusion Prevention Systems)
=> Anti Phishing solutions
=> Digital Certificates, Encryption and Digital Signing
=> General Security Questions and Comments (not product related)
-----------------------------
Free Services for End Users
-----------------------------
=> UserTrust - First Independent Website Rating - Empowering our users!
=> Hacker Guardian
=> Trustfax (free Trial) (online faxing)
-----------------------------
Free Products
-----------------------------
=> Link to Free Comodo Products
-----------------------------
International Comodo Forums
-----------------------------
=> International Comodo Forums
===> 汉语语言, 漢語語言 / Chinese Simplified, Traditional
===> Nederlands / Dutch
===> Francais / French
===> Deutsch / German
===> ελληνικά / Greek
===> Magyar / Hungarian
===> Italiano / Italian
===> Nihongo / Japanese
===> Norsk / Norwegian
===> Polski / Polish
===> Português/Portuguese
===> По-русски / Russian
===> Espanol / Spanish
===> Svenska / Swedish
===> Turkce / Turkish
===> Українська / Ukrainian
===> tiếng Việt / Vietnamese
===> Slovenský / Slovak
-----------------------------
Digital Certificates
-----------------------------
=> Code Signing Certificate
=> Content Verification Certificate
=> Email Certificate
=> SSL Certificate
-----------------------------
Web Server Products
-----------------------------
=> Two Factor Authentication for Web Applications
=> Trustlogo
-----------------------------
Other
-----------------------------
=> Forum Policy Violation Board
-----------------------------
Archive Boards
-----------------------------
=> Comodo Diskshield
=> Comodo Firewall
===> Feedback/Comments/Announcements/News
===> Help for v3
===> Help for v2
===> Frequently Asked Questions (FAQ) for Comodo firewall
===> Comodo Firewall Translations
===> Bug Reports
=> Comodo Anti-Viruspyware (CAVS)
===> Help for Comodo AntiVirus
===> FAQ for Comodo Anti-ViruSpyware
===> Feedback/Comments/Announcements/News about CAVS
=> Launch Pad (Discontinued)
=> Trusttoolbar (Discontinued)
=> Comodo Meet (Web Conferencing Product) (Discontinued)
=> User Anywhere (Remote Access product) (Discontinued)
=> Trustix Enterprise Firewall
=> ZTL
=> Comodo BOClean Anti-Malware
===> Announcements
===> Comodo BOClean Anti-Malware FAQ
=> Comodo Memory Firewall(Buffer Overflow Protection)
===> Comodo Memory Firewall Beta Corner
===> Help
===> Frequently Asked Questions (Comodo Memory Firewall)
===> Feedback/Comments/Announcements/News
=> i-Vault
=> Safesurf
Page created in 0.044 seconds with 16 queries.
Powered by SMF 1.1.11
|
SMF © 2006, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks
Design by
7dana.com