Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-6439

NFS should not reject NFS requests to the NULL procedure whether port monitoring is enabled or not


    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.0
    • Fix Version/s: 2.5.0
    • Component/s: nfs
    • Labels:
    • Target Version/s:
    • Hadoop Flags:


      As discussed in HDFS-6406, this JIRA is to track the follow update:

      1. Port monitoring is the feature name with traditional NFS server and we may want to make the config property (along with related variable allowInsecurePorts) something as dfs.nfs.port.monitoring.

      2 . According to RFC2623 (http://www.rfc-editor.org/rfc/rfc2623.txt):

      Whether port monitoring is enabled or not, NFS servers SHOULD NOT reject NFS requests to the NULL procedure (procedure number 0). See subsection 2.3.1, "NULL procedure" for a complete explanation.

      I do notice that NFS clients (most time) send mount NULL and nfs NULL from non-privileged port. If we deny NULL call in mountd or nfs server, the client can't mount the export even as user root.

      3. it would be nice to have the user guide updated for the port monitoring feature.


        1. HDFS-6439.003.patch
          59 kB
          Brandon Li
        2. HDFS-6439.004.patch
          60 kB
          Brandon Li
        3. HDFS-6439.005.patch
          60 kB
          Brandon Li
        4. HDFS-6439.patch
          10 kB
          Aaron T. Myers
        5. HDFS-6439.patch
          6 kB
          Aaron T. Myers
        6. linux-nfs-disallow-request-from-nonsecure-port.pcapng
          83 kB
          Brandon Li
        7. mount-nfs-requests.pcapng
          399 kB
          Brandon Li

          Issue Links



              • Assignee:
                atm Aaron T. Myers
                brandonli Brandon Li
              • Votes:
                0 Vote for this issue
                5 Start watching this issue


                • Created: