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


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

Re: Newbie learning about Ports

From Rick Jones <rick.jones2@hp.com>
Newsgroups comp.os.linux.networking
Subject Re: Newbie learning about Ports
Date 2013-06-14 22:25 +0000
Organization the Unofficial HP
Message-ID <kpg589$6n2$1@usenet01.boi.hp.com> (permalink)
References <5c1188cf-b21f-45f2-b504-2d9737db3a5c@googlegroups.com> <kpfld6$68q$4@usenet01.boi.hp.com> <b4b24feb-ff6d-42f1-a411-47086367c95f@googlegroups.com>

Show all headers | View raw


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
-- 
firebug n, the idiot who tosses a lit cigarette out his car window
these opinions are mine, all mine; HP might not want them anyway... :)
feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...

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