NFSD: Handle new xprtsec= export option
Enable administrators to require clients to use transport layer security when accessing particular exports. Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
This commit is contained in:
parent
b3cbf98e2f
commit
9280c57743
3 changed files with 62 additions and 3 deletions
|
|
@ -62,5 +62,18 @@
|
|||
| NFSEXP_ALLSQUASH \
|
||||
| NFSEXP_INSECURE_PORT)
|
||||
|
||||
/*
|
||||
* Transport layer security policies that are permitted to access
|
||||
* an export
|
||||
*/
|
||||
#define NFSEXP_XPRTSEC_NONE 0x0001
|
||||
#define NFSEXP_XPRTSEC_TLS 0x0002
|
||||
#define NFSEXP_XPRTSEC_MTLS 0x0004
|
||||
|
||||
#define NFSEXP_XPRTSEC_NUM (3)
|
||||
|
||||
#define NFSEXP_XPRTSEC_ALL (NFSEXP_XPRTSEC_NONE | \
|
||||
NFSEXP_XPRTSEC_TLS | \
|
||||
NFSEXP_XPRTSEC_MTLS)
|
||||
|
||||
#endif /* _UAPINFSD_EXPORT_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue