<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body>
    Siva,<br>
    <br>
    iSCSI targets can be configured to listen on any TCP port.<br>
    Changing the UEFI iSCSI Client's TargetPort min/max will effectively
    prevent the user from communicating with the targets configured to
    listen on ports outside that range (in your example: below 1024).<br>
    I do not see a reason behind removing that flexibility. If user sets
    iSCSI target and client ports to values shared by other services, it
    is that user's mistake.<br>
    <br>
    Thanks,<br>
    Maciej<br>
    <br>
    <div class="moz-cite-prefix">On 01-Sep-20 16:31, Sivaraman Nainar
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:B4DE137BDB63634BAC03BD9DE765F19702B4B46629@VENUS1.in.megatrends.com">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"MS PGothic";
        panose-1:2 11 6 0 7 2 5 8 2 4;}
@font-face
        {font-family:"\@MS PGothic";
        panose-1:2 11 6 0 7 2 5 8 2 4;}
@font-face
        {font-family:"Times New Roman \, serif";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"MS PGothic","sans-serif";}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal0;
        mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
p.msochpdefault, li.msochpdefault, div.msochpdefault
        {mso-style-name:msochpdefault;
        mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:10.0pt;
        font-family:"MS PGothic","sans-serif";}
span.emailstyle18
        {mso-style-name:emailstyle18;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.emailstyle19
        {mso-style-name:emailstyle19;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.emailstyle20
        {mso-style-name:emailstyle20;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.emailstyle21
        {mso-style-name:emailstyle21;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.emailstyle24
        {mso-style-name:emailstyle24;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle25
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle26
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle27
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span style="color:#1F497D">Hello </span>Maciej:<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">The ports numbers from 0 to 1023 are having
          specific roles. <span style="color:#1F497D">
            <o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">Ex: 80 for
            HTTTP, 443 for HTTPS.
            <o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">In the case can
            we set Min as 1024 and Max as
          </span>65535. <o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Thanks<o:p></o:p></p>
        <p class="MsoNormal">Siva<span style="color:#1F497D"><o:p></o:p></span></p>
        <div>
          <div style="border:none;border-top:solid #E1E1E1
            1.0pt;padding:3.0pt 0in 0in 0in">
            <p class="MsoNormal"><b>From:</b> <a class="moz-txt-link-abbreviated" href="mailto:devel@edk2.groups.io">devel@edk2.groups.io</a>
              [<a class="moz-txt-link-freetext" href="mailto:devel@edk2.groups.io">mailto:devel@edk2.groups.io</a>]
              <b>On Behalf Of </b>Maciej Rabeda<br>
              <b>Sent:</b> Tuesday, September 1, 2020 7:32 PM<br>
              <b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:devel@edk2.groups.io">devel@edk2.groups.io</a>; Sivaraman Nainar<br>
              <b>Subject:</b> Re: [edk2-devel] TCP Port for ISCSI
              Connection<o:p></o:p></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal" style="margin-bottom:12.0pt">Hi Siva,<br>
          <br>
          What seems to be the problem at hand? What kind of range of
          values for TargetPort do you propose?<br>
          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.<br>
          I see nothing wrong with that.<br>
          <br>
          Thanks,<br>
          Maciej<span style="font-size:12.0pt"><o:p></o:p></span></p>
        <div>
          <p class="MsoNormal">On 31-Aug-20 11:05, Sivaraman Nainar
            wrote:<o:p></o:p></p>
        </div>
        <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
          <p class="MsoNormal"><span style="color:#1F497D">Rabeda:</span><o:p></o:p></p>
          <p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
          <p class="MsoNormal"><span style="color:#1F497D">Could you
              please provide your comment on this.</span><o:p></o:p></p>
          <p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
          <p class="MsoNormal"><span style="color:#1F497D">-Siva</span><o:p></o:p></p>
          <div>
            <div style="border:none;border-top:solid #E1E1E1
              1.0pt;padding:3.0pt 0in 0in 0in">
              <p class="MsoNormal"><b>From:</b> Sivaraman Nainar <br>
                <b>Sent:</b> Tuesday, July 28, 2020 12:15 PM<br>
                <b>To:</b> <a href="mailto:jiaxin.wu@intel.com"
                  moz-do-not-send="true">jiaxin.wu@intel.com</a><br>
                <b>Cc:</b> <a href="mailto:devel@edk2.groups.io"
                  moz-do-not-send="true">devel@edk2.groups.io</a><br>
                <b>Subject:</b> RE: TCP Port for ISCSI Connection<o:p></o:p></p>
            </div>
          </div>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal"><span style="color:#1F497D">Jiaxin:</span><o:p></o:p></p>
          <p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
          <p class="MsoNormal"><span style="color:#1F497D">Can you
              please comment on the below query.</span><o:p></o:p></p>
          <p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
          <p class="MsoNormal"><span style="color:#1F497D">-Siva</span><o:p></o:p></p>
          <div>
            <div style="border:none;border-top:solid #E1E1E1
              1.0pt;padding:3.0pt 0in 0in 0in">
              <p class="MsoNormal"><b>From:</b> <a
                  href="mailto:devel@edk2.groups.io"
                  moz-do-not-send="true">devel@edk2.groups.io</a> [<a
                  href="mailto:devel@edk2.groups.io"
                  moz-do-not-send="true">mailto:devel@edk2.groups.io</a>]
                <b>On Behalf Of </b>Sivaraman Nainar<br>
                <b>Sent:</b> Friday, July 17, 2020 5:39 PM<br>
                <b>To:</b> <a href="mailto:devel@edk2.groups.io"
                  moz-do-not-send="true">devel@edk2.groups.io</a><br>
                <b>Cc:</b> <a href="mailto:jiaxin.wu@intel.com"
                  moz-do-not-send="true">jiaxin.wu@intel.com</a><br>
                <b>Subject:</b> [edk2-devel] Reg: TCP Port for ISCSI
                Connection<o:p></o:p></p>
            </div>
          </div>
          <p class="MsoNormal"> <o:p></o:p></p>
          <div>
            <p class="MsoNormal">Hello all:<o:p></o:p></p>
            <p class="MsoNormal"> <o:p></o:p></p>
            <p class="MsoNormal">In the ISCSI driver, Target TCP Port
              Input shows the default port as 3260. Which can be set
              from 0 to 65535<o:p></o:p></p>
            <p class="MsoNormal"> <o:p></o:p></p>
            <p class="MsoNormal" style="margin-bottom:12.0pt">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.<o:p></o:p></p>
            <p class="MsoNormal"><a
                href="https://tools.ietf.org/html/rfc3720"
                moz-do-not-send="true">https://tools.ietf.org/html/rfc3720</a><br>
              <br>
              13. IANA Considerations<br>
              <br>
              This section conforms to [RFC2434].<br>
              <br>
              The well-known user TCP port number for iSCSI connections
              assigned by<br>
              IANA is 3260 and this is the default iSCSI port.
              Implementations<br>
              needing a system TCP port number may use port 860, the
              port assigned<br>
              by IANA as the iSCSI system port; however in order to use
              port 860,<br>
              it MUST be explicitly specified - implementations MUST NOT
              default to<br>
              use of port 860, as 3260 is the only allowed default.<br>
              <br>
              with my understanding, it wouid be good if we can change
              the below Min and  MAX port number ranges with right
              ranges.<o:p></o:p></p>
            <p class="MsoNormal"> <o:p></o:p></p>
            <p class="MsoNormal">#define TARGET_PORT_MIN_NUM       0<o:p></o:p></p>
            <p class="MsoNormal">#define TARGET_PORT_MAX_NUM       65535<o:p></o:p></p>
            <p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
            <p class="MsoNormal">Thanks<o:p></o:p></p>
            <p class="MsoNormal">Siva<o:p></o:p></p>
          </div>
          <p class="MsoNormal"><span
              style="font-size:12.0pt;font-family:"Times New Roman
              , serif","serif"">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.
            </span><o:p></o:p></p>
        </blockquote>
        <p class="MsoNormal"><span
            style="font-size:12.0pt;font-family:"Times New
            Roman","serif""><o:p> </o:p></span></p>
        <div>
          <p class="MsoNormal"></o:p></span></p>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>

<div width="1" style="color:white;clear:both">_._,_._,_</div>
<hr>
Groups.io Links:<p>


You receive all messages sent to this group.



<p>

<a target="_blank" href="https://edk2.groups.io/g/devel/message/64899">View/Reply Online (#64899)</a> |


  


|


  
    <a target="_blank" href="https://groups.io/mt/76530384/1813853">Mute This Topic</a>
  

| <a href="https://edk2.groups.io/g/devel/post">New Topic</a><br>



<br>

<a href="https://edk2.groups.io/g/devel/editsub/1813853">Your Subscription</a> |
<a href="mailto:devel+owner@edk2.groups.io">Contact Group Owner</a> |

<a href="https://edk2.groups.io/g/devel/unsub">Unsubscribe</a>

 [edk2-devel-archive@redhat.com]<br>
<div width="1" style="color:white;clear:both">_._,_._,_</div>