Is there a good (easy) way to find out what port above 1023 are
actually being used?
on my pix firewall I have a statment such as
access-list storein permit tcp host 1.1.1.1 host 10.1.1.1 gt 1023
my security auditors tell me I have to list the actual ports.
bboett
|
|
0
|
|
|
|
Reply
|
bboett (1)
|
10/2/2006 1:37:09 AM |
|
On 2006-10-02 03:37, bboett@hickorytech.net wrote:
> Is there a good (easy) way to find out what port above 1023 are
> actually being used?
Can You be more precise? What do You mean by "being used"?
--
MichaĆ Iwaszko
(Rot13 my address)
|
|
0
|
|
|
|
Reply
|
UTF
|
10/2/2006 1:05:52 PM
|
|
Well you could
access-list storein permit tcp host YOURIP host 10.1.1.1 ANY
All you need to do is a run a port scanner on host YOURIP to 10.1.1.1 and
see what pops up.
<bboett@hickorytech.net> wrote in message
news:1159753029.151454.204740@h48g2000cwc.googlegroups.com...
> Is there a good (easy) way to find out what port above 1023 are
> actually being used?
>
> on my pix firewall I have a statment such as
>
> access-list storein permit tcp host 1.1.1.1 host 10.1.1.1 gt 1023
>
> my security auditors tell me I have to list the actual ports.
>
> bboett
>
|
|
0
|
|
|
|
Reply
|
Rohan
|
10/2/2006 1:41:24 PM
|
|
In article <1159753029.151454.204740@h48g2000cwc.googlegroups.com>,
<bboett@hickorytech.net> wrote:
>Is there a good (easy) way to find out what port above 1023 are
>actually being used?
>on my pix firewall I have a statment such as
>access-list storein permit tcp host 1.1.1.1 host 10.1.1.1 gt 1023
>my security auditors tell me I have to list the actual ports.
Is this Microsoft Windows systems involved? If so, then gt 1023 is
as often as specific as you are going to be able to get. Windows
-tends- to allocate the lowest unused port number from 1024 upwards,
but it can get into the 60000+ range too.
The key to resolving this to the satisifaction of the security
auditors is to note that dynamic port numbers as destinations
do not occur in isolation in normal operations: when they occur,
they occur as a result of a negotiation process that the PIX can
often track and automatically open -just- the particular port.
Particularily for tcp, since "permit tcp" is for opening new
connections (whereas "permit udp" can sometimes be for getting
around too-low timeouts on connections that have been opened from
outside into the PIX, since udp is "stateless".)
You need to track down the process which is allocating the connection
numbers dynamically, and ensuring that the PIX opens the appropriate
ports automatically by way of an appropriate "fixup".
If you have PIX 4, PIX 5, or PIX 6, there are some circumstances
under which the PIX cannot do this properly when using NETBIOS,
Windows NT Authentication, Windows RPC, or plain "Sun RPC".
In particular, if you have Windows Exchange clients on your end,
and the remote end of the link has Windows NT authentication and
Windows Exchange 2000 Server, then you will never get this right,
not unless you have experts running the Exchange systems that can
nail down the ports very very precisely and tell you what they
configured them as. (This is, for example, beyond the capacities
of the five-person full-time Exchange team at my organization;
there is a poster to comp.security.firewalls who goes by Leythos
who -claims- that his company routinely does this.) In the
scenario I describe, remote NT authentication and remove Exchange 2000
server, unless you find an expert lock-downer, you *will* encounter
problems unless you static NAT all your internal addresses individually
to public IP addresses and you permit all tcp ports > 1023 in both
directions between your desktops and the remote servers.
In -theory-, going for Exchange 2003 and LDAP solves those problems.
Well, I shouldn't say "in theory": I should say that "The Exchange
team assured me that [...]". In practice when we switched over to
Exchange 2003, we still had inexplicables :(
|
|
0
|
|
|
|
Reply
|
roberson
|
10/2/2006 3:38:29 PM
|
|
|
3 Replies
132 Views
(page loaded in 0.074 seconds)
Similiar Articles: Firewall port setup for HP-UX 11i NFS daemons - comp.sys.hp.hpux ...Hi, all Does anyone know how to setup firewall for NFS connection? We have two LAN segment protected by a firewall, and two hp-ux machine on each... VPN Firewall ports - comp.dcom.sys.ciscoHi, I setup a remote vpn for a couple of users, but need to know what ports need to be open on my router to allow their vpn connection. I am using jus... wget - which port number(s)? - comp.os.linux.miscHi, Which outgoing ports do I need to open in my firewall to be able to use wget from a debian box? regards geir ... javaw.exe and firewall - comp.lang.java.securityHi Is it safe to set the firewall allow everything for javaw.exe as it seems to be ... Why not open just the IPs and ports you need? You can always use private JREs for ... How to close ports - comp.unix.solariswget - which port number(s)? - comp.os.linux.misc Hi, Which outgoing ports do I need to open in my firewall to be able to use ... How to close ports - comp.unix.solaris ... ODBC Connector very slow, Win XP Firewall - comp.databases.mysql ...The problem was the Windows XP firewall: After opening the port 3306 (TCP) I had full speed. Only a note for someone who has the same problem :)) Gottfried Change default printer port - comp.sys.sun.adminI'm sending print jobs to a remote network. The firewall on the remote network maps ports to specific IP addresses. The trouble is, I have two printer... Pix ASA hide ports for portscan? - comp.dcom.sys.ciscoHi All, I have configured a Pix ASA and opened some ports to dmz and inside for e ... the outside This is due to the nature of tcp and not related to any special firewall. Configuring sendmail relay behind the firewall - comp.unix.solaris ...At the same time I decided to move all my public services (web, mail etc) onto my Ultra 5, sitting behind the firewall, using port redirection on the firewall to make ... connecting Cisco routers through their *AUX* ports - comp.dcom.sys ...AUX, and a console port ... port > or > Parallel and their I/F ... If a storm goes through ... through IPsec - comp.dcom.sys.cisco > Our firewall does not block any ports ... How to manually open ports in Internet Connection Firewall in ...Describes how to manually open ports in Internet Connection Firewall (ICF) in Windows XP to make sure that the programs work correctly when ICF is in use ... Firewall Port Explained & How to I open one?Firewall Port Explanation, port opening for services ... If the internet were radio, IP would be the radio waves and IP Ports would be the channels or frequencies. 7/13/2012 5:32:04 PM
|