cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
832
Views
4
Helpful
22
Replies

Pix gives the impression that a port is open when it is not

alfonso.cornejo
Level 3
Level 3

Hi to all,

I have this scenario, I have a pix firewall and in one DMZ i have my servers, i have allowed only the https access to one of them from the outside interface but if i make a telnet to the server for any port the firewall gives the impression that it is open.

For example if from an MS-DOS command line i try a telnet to the server to the port 1200 wich is not allowed by the firewall and is also closed in the server the MS-DOS window gets "black" wich means that the port is open but as soon as i press a key the MS-DOS window gets closed so it means that the connection was not stablished wich is correct but it gave the impresion that it was stablished.

Do you have any ideas about what could be causing this?

Thanks in advance.

1 Accepted Solution

Accepted Solutions

andrew.prince
Level 10
Level 10

This is normal - the pix will just "drop" the packets silently, without sending a "reset" to the remote end indicating there was any kind of connection - basically the firewall is giving the impression of a blackhole.

If you change the TCP settings, to send a reset back - you are announcing there is something there, not allways the best approach.

View solution in original post

22 Replies 22

andrew.prince
Level 10
Level 10

This is normal - the pix will just "drop" the packets silently, without sending a "reset" to the remote end indicating there was any kind of connection - basically the firewall is giving the impression of a blackhole.

If you change the TCP settings, to send a reset back - you are announcing there is something there, not allways the best approach.

Hi Andrew,

Thank you very much for clearing this!...just for general knowledge how can I change that TCP settings??

Thanks in advance.

Best Regards,

Sure no - OK the config you need is:-

service resetinbound

" Causes the security appliance to send TCP resets for all TCP sessions that arrive at the interface, are attempting to transit the security appliance, and are denied by the security appliance based on access lists. When this option is not selected, the security appliance silently discards the packets of all such sessions"

service resetoutside

" Causes the security appliance to send TCP resets for all TCP sessions that arrive at the least secure interface, terminate at the least secure interface, and are denied by the security appliance based on access lists. When this option is not selected, the security appliance silently discards the packets of all such sessions"

HTH>

Thank's alot Andrew!

np - glad to help.

Hi Andrew,

Do you know a cisco document that confirm this??

The security department is asking me for an evidence from cisco.

Thanks in advance for your help.

Best Regards,

Alfonso,

What device (PIX/ASA) do you have and what version of software are you running (6.x,7.x or 8.x) ?

Hi Andrew,

PIX 7.2

Thanks

Alfonso,

See the below URL for the version of PIX IOS you are using:-

http://www.cisco.com/en/US/docs/security/asa/asa72/command/reference/s1_72.html#wp1290652

HTH>

Thank you very much again Andrew!

Best regards,

np - glad to help.

Hi Andrew,

Just today i had the opportunity to try the commands service resetinbound and service resetoutside on my pix but there is still the situation, i mean i'm still getting the "black" screen on my MS-DOS window wich gives the impresion that the port that i'm telnet to is open when it is not.

Do you have any idea what else could be causing this??

Thanks in advance

Hi Andrew,

I read the document again and it seems that the commands that i have to configure are:

service resetoutside

service resetinbound interface dmz

service resetinbound interface outside

But i'm still getting the same situation, do you think this may be a bug issue or anything else?

The traffic is comming from the outside interface to a DMZ.

Thanks in advance for your help.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card