Bug 194425 - mountd(8): feature enhancement: restrict exports to authorized hosts
Summary: mountd(8): feature enhancement: restrict exports to authorized hosts
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-17 19:16 UTC by Leon Dang
Modified: 2014-10-17 19:16 UTC (History)
0 users

See Also:


Attachments
new option to restrict exports in mountd (5.42 KB, patch)
2014-10-17 19:16 UTC, Leon Dang
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Leon Dang 2014-10-17 19:16:06 UTC
Created attachment 148396 [details]
new option to restrict exports in mountd

Currently mountd will return all entries for exports and dump requests. In some cases it is desirable for these to be restricted to only authorized hosts or completely hidden.

This feature is available in commercial products, such as EMC (https://community.emc.com/docs/DOC-7003) and HP-UX.

The attached patch has three options to restrict exports results, using a new "-x" switch:
* visible = default, all visible
* host = only return results applicable to the host
* hide = fully hidden