Re: ip address and ports

From: Barry Margolin (barmar@genuity.net)
Date: 11/26/02


From: Barry Margolin <barmar@genuity.net>
Date: Tue, 26 Nov 2002 20:27:52 GMT

In article <3DE3D240.2AB71359@yahoo.com>, Lik Mai Sak <alt.test> wrote:
>Tracker wrote:
>
>> > >having an open port
>> > Every PC (server, etc...) on the Internet with an IP address will have
>> > at least one port open.
>> Thousands of malicious hackers would love to get into my computer. On a
>> Windows Platform, no port is open, and am not running any SERVERS.
>
>Really? Go have a squizz at info/RFC's regarding ident.

Does Windows run an IDENT server by default? I don't know for sure, but I
suspect not.

>> > Your browser will, for example, open port 80.
>> Bullcrap, how can a browser open port 80? You really am lost dude.
>> I won't respond to your stupidy.
>> Tracker
>
>It opens port 80/8080/8081/3128 etc on the machine it's connecting to. If it
>didn't, web browsing would not work. (tho establishing a connection to an
>already open port would be more accurate)

Connecting to a server does not cause the client machine to have an open
port. There will be an open socket with a local (usually ephemeral) port
number, but it's not really "open" -- it only processes packets that come
back from the server it's connected to. This port can't be used by someone
to get into your system, which is what someone is generally concerned with
when they talk about "open ports". The most someone can do is forge
packets that appear to be part of that connection, but this requires
knowing the ephemeral port number and sequence numbers that are use in the
connection; unless the attacker is able to sniff the traffic on the
connection, this will be difficult.

-- 
Barry Margolin, barmar@genuity.net
Genuity, Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.


Relevant Pages

  • RE: VBscript Error on SBS2k3
    ... DHCP Server turned of SonicWALL with VPN Pass through request for IP to ... the problem should be caused by the 4125 port. ... > | Accessories and Communications and Remote Desktop Connection? ... > | 2.In Internet Explorer on the workstation you are connecting from, ...
    (microsoft.public.windows.server.sbs)
  • Re: interfaces lo:1 lo:2 lo:3? (for remote ssh tunnels)
    ... That's the problem tunneling (port forwarding) solves. ... >>can't get past the client firewall. ... > I don't understand why the server would be making the ... server initiates another connection to the client -- in this ...
    (Debian-User)
  • Re: Can not access Web and FTP sites from Internet
    ... your IP Configuration on the Server is correctly. ... Connecting To 12.208.215.87...Could not open connection to the host, ... 1> From the result, we can see the telnet failed, which means the router ... does not forward Port 443 to SBS Server. ...
    (microsoft.public.windows.server.sbs)
  • Re: Changing listener ports
    ... That very strange, can you try the same on windows platform, I mean to run ... > initiating connections to the same UNIX server. ... > connection, and the server keeps incrementing the local port number up. ...
    (microsoft.public.win32.programmer.networks)
  • Re: Correction
    ... Normally to physically disconnect is just a matter of reaching for the ... >> I have an ADSL connection which polls my computer from time to time, ... > disallow each and every port with Windows Firewall? ...
    (microsoft.public.windowsxp.messenger)