diff options
author | dillon <dillon@FreeBSD.org> | 1998-12-15 18:59:07 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 1998-12-15 18:59:07 +0000 |
commit | cb74461921e1e5c4a8541896c032bc29dac867de (patch) | |
tree | 8c12f0b2b6d862235aaefce2d9213d1d11bb0997 /sbin/mount_portal/mount_portal.8 | |
parent | ecc123364e6a7526722a84f1da31f02d19881809 (diff) | |
download | FreeBSD-src-cb74461921e1e5c4a8541896c032bc29dac867de.zip FreeBSD-src-cb74461921e1e5c4a8541896c032bc29dac867de.tar.gz |
Add pt_tcplisten.c functionality, fix a few minor bugs
PR: kern/8793, misc/8796, kern/8797, kern/8798, kern/8050, kern/6758
Submitted by: Duncan Barclay <dmlb@ragnet.demon.co.uk>
Diffstat (limited to 'sbin/mount_portal/mount_portal.8')
-rw-r--r-- | sbin/mount_portal/mount_portal.8 | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/sbin/mount_portal/mount_portal.8 b/sbin/mount_portal/mount_portal.8 index ed9434e..5a5750f 100644 --- a/sbin/mount_portal/mount_portal.8 +++ b/sbin/mount_portal/mount_portal.8 @@ -35,7 +35,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)mount_portal.8 8.3 (Berkeley) 3/27/94 -.\" $Id$ +.\" $Id: mount_portal.8,v 1.3 1998/07/06 07:19:25 charnier Exp $ .\" .Dd March 27, 1994 .Dt MOUNT_PORTAL 8 @@ -89,11 +89,22 @@ to the calling process as the result of the open system call. By convention, the portal daemon divides the namespace into sub-namespaces, each of which handles objects of a particular type. .Pp -Currently, two sub-namespaces are implemented: +The following sub-namespaces are currently implemented: +.Pa tcplisten , .Pa tcp and .Pa fs . The +.Pa tcplisten +namespace takes a slash separated hostname and port and creates a TCP/IP +socket bound to the given hostname-port pair. The hostname may be +specified as "ANY" to allow any other host to connect to the socket. A +port number of 0 will dynamically allocate a port, this can be +discovered by calling +.Xr getsockname 8 +with the returned file descriptor. Privilaged ports can only be bound to +by the super-user. +The .Pa tcp namespace takes a hostname and a port (slash separated) and creates an open TCP/IP connection. @@ -116,6 +127,7 @@ tells the daemon what type of object to create. Subsequent fields are passed to the creation function. .Bd -literal # @(#)portal.conf 5.1 (Berkeley) 7/13/92 +tcplisten/ tcplisten tcplisten/ tcp/ tcp tcp/ fs/ file fs/ .Ed |