Skip to contentSkip to conversation

exports: document change to "insecure" export option

PATCH In review J. Bruce Fields 2 participants 2 messages Jun 14, 2018 – Jun 19, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 exports: document change to "insecure" export option

From: "J. Bruce Fields" <[email protected]>

We're changing the kernel to allow gss requests from high ports even when "secure" is set.

If the change gets backported to distro kernels, the kernel version may be an imperfect predictor of the behavior, but I think it's the best we can do.

---
 utils/exportfs/exports.man | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
utils/exportfs/exports.man +5 -3
index 4f95f3a2197e..e3a16f6b276a 100644
@@ -131,10 +131,12 @@ this way are ro, rw, no_root_squash, root_squash, and all_squash.
 understands the following export options:
 .TP
 .IR secure
-This option requires that requests originate on an Internet port less
-than IPPORT_RESERVED (1024). This option is on by default. To turn it
-off, specify
+This option requires that requests not using gss originate on an
+Internet port less than IPPORT_RESERVED (1024). This option is on by default.
+To turn it off, specify
 .IR insecure .
+(NOTE: older kernels (before upstream kernel version 4.17) enforced this
+requirement on gss requests as well.)
 .TP
 .IR rw
 Allow both read and write requests on this NFS volume. The
Signature · 1 line
2.17.1
#1 lore raw
Quoted 10 lines · J. Bruce Fields

From: "J. Bruce Fields" <[email protected]>

We're changing the kernel to allow gss requests from high ports even when "secure" is set.

If the change gets backported to distro kernels, the kernel version may be an imperfect predictor of the behavior, but I think it's the best we can do.

Committed....

steved.

Quoted 25 lines
---
 utils/exportfs/exports.man | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
utils/exportfs/exports.man +5 -3
index 4f95f3a2197e..e3a16f6b276a 100644
@@ -131,10 +131,12 @@ this way are ro, rw, no_root_squash, root_squash, and all_squash.
 understands the following export options:
 .TP
 .IR secure
-This option requires that requests originate on an Internet port less
-than IPPORT_RESERVED (1024). This option is on by default. To turn it
-off, specify
+This option requires that requests not using gss originate on an
+Internet port less than IPPORT_RESERVED (1024). This option is on by default.
+To turn it off, specify
 .IR insecure .
+(NOTE: older kernels (before upstream kernel version 4.17) enforced this
+requirement on gss requests as well.)
 .TP
 .IR rw
 Allow both read and write requests on this NFS volume. The