Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.networking > #2215

Re: Newbie learning about Ports

From Tauno Voipio <tauno.voipio@notused.fi.invalid>
Newsgroups comp.os.linux.networking
Subject Re: Newbie learning about Ports
Date 2013-06-15 17:40 +0300
Organization A noiseless patient Spider
Message-ID <kphu36$fjp$1@dont-email.me> (permalink)
References <5c1188cf-b21f-45f2-b504-2d9737db3a5c@googlegroups.com> <kpfld6$68q$4@usenet01.boi.hp.com> <b4b24feb-ff6d-42f1-a411-47086367c95f@googlegroups.com> <kpg589$6n2$1@usenet01.boi.hp.com>

Show all headers | View raw


On 15.6.13 1:25 , Rick Jones wrote:
> adnanchowdhury88@gmail.com wrote:
>> Thanks for the explanation Rick I found it very helpful. I admit
>> though, I still don't have a firm understanding of it all.
>
>> If I make a request for website A.com, the outgoing traffic will
>> leave through an ephemeral port to be received by A.com's port 80,
>> correct? And when the server responds, will it leave its own
>> ephemeral port to be received by my port 80?
>
> No. In this case the only ephemeral port is on the client.  Source and
> destination port numbers get swapped when going the other way.
>
>  From your client, it will be source port == yourephemeral; destination
> port == 80.  When the server replies it will be source port == 80
> destination port == your ephemeral.
>
>> Do you have any articles/documentation on the matter that could
>> explain the process further?
>
> The works of the late W Richard Steves would be one source.
>
> rick
>

You should start with:

   TCP/IP Illustrated, Volume 1, The Protocols

Be warned, there are hundreds of pages to read end understand.

-- 

-Tauno Voipio

Back to comp.os.linux.networking | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Newbie learning about Ports adnanchowdhury88@gmail.com - 2013-06-14 07:56 -0700
  Re: Newbie learning about Ports Rick Jones <rick.jones2@hp.com> - 2013-06-14 17:54 +0000
    Re: Newbie learning about Ports adnanchowdhury88@gmail.com - 2013-06-14 12:03 -0700
      Re: Newbie learning about Ports Moe Trin <ibuprofin@painkiller.example.tld.invalid> - 2013-06-14 19:58 +0000
      Re: Newbie learning about Ports Rick Jones <rick.jones2@hp.com> - 2013-06-14 22:25 +0000
        Re: Newbie learning about Ports Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2013-06-15 17:40 +0300
      Re: Newbie learning about Ports Jorgen Grahn <grahn+nntp@snipabacken.se> - 2013-06-15 21:00 +0000

csiph-web