From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mx.groups.io with SMTP id smtpd.web11.13645.1598968915976349015 for ; Tue, 01 Sep 2020 07:01:56 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=permanent DNS error (domain: linux.intel.com, ip: 192.55.52.88, mailfrom: maciej.rabeda@linux.intel.com) IronPort-SDR: CP3jl5PeWRBnMkl1DqjaPuEUbZG5CfJFwbcFnQCCHxRkB+sGdfIWNKj5uKttBC3T/FXdvZwmrs iuodkXy6To5A== X-IronPort-AV: E=McAfee;i="6000,8403,9730"; a="175214767" X-IronPort-AV: E=Sophos;i="5.76,379,1592895600"; d="scan'208,217";a="175214767" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Sep 2020 07:01:54 -0700 IronPort-SDR: NeHyLilimYa+HJaGGXfPRPgmNNMw5wbO7SLOfVKSaZattyX10gI0sN0LZyVfd7nqsCFYcXLEP1 4sdCYf9Alnxw== X-IronPort-AV: E=Sophos;i="5.76,379,1592895600"; d="scan'208,217";a="502249303" Received: from mrabeda-mobl.ger.corp.intel.com (HELO [10.213.25.179]) ([10.213.25.179]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Sep 2020 07:01:52 -0700 Subject: Re: [edk2-devel] TCP Port for ISCSI Connection To: devel@edk2.groups.io, sivaramann@amiindia.co.in References: <16228C0E194D8DF1.2727@groups.io> From: "Maciej Rabeda" Message-ID: <142a8a9f-fb6f-3bd1-2b8f-8e6888e09081@linux.intel.com> Date: Tue, 1 Sep 2020 16:01:46 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------E941CBFDD480375512390EA2" Content-Language: pl --------------E941CBFDD480375512390EA2 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit 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] *On Behalf Of *Sivaraman Nainar > *Sent:* Friday, July 17, 2020 5:39 PM > *To:* devel@edk2.groups.io > *Cc:* 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. > > --------------E941CBFDD480375512390EA2 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 8bit 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] On Behalf Of Sivaraman Nainar
Sent: Friday, July 17, 2020 5:39 PM
To: devel@edk2.groups.io
Cc: 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.


--------------E941CBFDD480375512390EA2--