public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Maciej Rabeda" <maciej.rabeda@linux.intel.com>
To: devel@edk2.groups.io, sivaramann@amiindia.co.in
Subject: Re: [edk2-devel] TCP Port for ISCSI Connection
Date: Tue, 1 Sep 2020 16:01:46 +0200	[thread overview]
Message-ID: <142a8a9f-fb6f-3bd1-2b8f-8e6888e09081@linux.intel.com> (raw)
In-Reply-To: <B4DE137BDB63634BAC03BD9DE765F19702B4B442A6@VENUS1.in.megatrends.com>

[-- Attachment #1: Type: text/plain, Size: 2373 bytes --]

Hi Siva,

What seems to be the problem at hand? What kind of range of values for 
TargetPort do you propose?
TARGET_PORT_MIN/MAX_NUM refer to a range of values (0-65535) that be set 
in TargetPort field in iSCSI HII. 3260 is a default TCP port for iSCSI.
I see nothing wrong with that.

Thanks,
Maciej

On 31-Aug-20 11:05, Sivaraman Nainar wrote:
>
> Rabeda:
>
> Could you please provide your comment on this.
>
> -Siva
>
> *From:* Sivaraman Nainar
> *Sent:* Tuesday, July 28, 2020 12:15 PM
> *To:* jiaxin.wu@intel.com
> *Cc:* devel@edk2.groups.io
> *Subject:* RE: TCP Port for ISCSI Connection
>
> Jiaxin:
>
> Can you please comment on the below query.
>
> -Siva
>
> *From:* devel@edk2.groups.io <mailto:devel@edk2.groups.io> 
> [mailto:devel@edk2.groups.io] *On Behalf Of *Sivaraman Nainar
> *Sent:* Friday, July 17, 2020 5:39 PM
> *To:* devel@edk2.groups.io <mailto:devel@edk2.groups.io>
> *Cc:* jiaxin.wu@intel.com <mailto:jiaxin.wu@intel.com>
> *Subject:* [edk2-devel] Reg: TCP Port for ISCSI Connection
>
> Hello all:
>
> In the ISCSI driver, Target TCP Port Input shows the default port as 
> 3260. Which can be set from 0 to 65535
>
> As per below RFC it talks about the Default Port only. Still it not 
> clearly said if we can use the numbers 49152-65535 which is reserved.
>
> https://tools.ietf.org/html/rfc3720
>
> 13. IANA Considerations
>
> This section conforms to [RFC2434].
>
> The well-known user TCP port number for iSCSI connections assigned by
> IANA is 3260 and this is the default iSCSI port. Implementations
> needing a system TCP port number may use port 860, the port assigned
> by IANA as the iSCSI system port; however in order to use port 860,
> it MUST be explicitly specified - implementations MUST NOT default to
> use of port 860, as 3260 is the only allowed default.
>
> with my understanding, it wouid be good if we can change the below Min 
> and  MAX port number ranges with right ranges.
>
> #define TARGET_PORT_MIN_NUM       0
>
> #define TARGET_PORT_MAX_NUM       65535
>
> Thanks
>
> Siva
>
> This e-mail is intended for the use of the addressee only and may 
> contain privileged, confidential, or proprietary information that is 
> exempt from disclosure under law. If you have received this message in 
> error, please inform us promptly by reply e-mail, then delete the 
> e-mail and destroy any printed copy. Thank you.
>
> 


[-- Attachment #2: Type: text/html, Size: 8884 bytes --]

  reply	other threads:[~2020-09-01 14:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <16228C0E194D8DF1.2727@groups.io>
2020-07-28  6:45 ` TCP Port for ISCSI Connection Sivaraman Nainar
2020-08-31  9:05 ` Sivaraman Nainar
2020-09-01 14:01   ` Maciej Rabeda [this message]
2020-09-01 14:31     ` [edk2-devel] " Sivaraman Nainar
2020-09-01 14:41       ` Maciej Rabeda
2020-09-01 14:49         ` Sivaraman Nainar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=142a8a9f-fb6f-3bd1-2b8f-8e6888e09081@linux.intel.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox