JANUS DISPLAYSOCK

From m204wiki
Revision as of 17:51, 16 April 2013 by JAL (talk | contribs) (→‎Syntax)
Jump to navigation Jump to search

Display rules for socket port.

This command displays the rules in effect (the active rules) for one or more more specified CLSOCK, DEBUGGERCLIENT, SRVSOCK, or FTPSERVER ports.

Syntax

JANUS DISPLAYSOCK portname


Where portname identifies the ports whose rules are to be displayed.

JANUS DISPLAYSOCK output is in the form of a series of JANUS CLSOCK and JANUS SRVSOCK commands, and it may be captured for re-execution with a Model 204 USE command or with a Daemon object.

If JANUS DISPLAYSOCK is specified for an FTP port, it displays the FTP entities defined for the port, in addition to the command's usual output. The FTP entities include folders created, rules defined, and permissions granted.

DISSOCK is a valid abbreviation for DISPLAYSOCK. The following command will display the rules in effect for all CLSOCK, DEBUGGERCLIENT, SRVSOCK, and FTPSERVER ports whose names begin with OZ:

JANUS DISSOCK OZ*

Janus rules are not shown if they were made obsolete by subsequent rules; the JANUS DISPLAYSOCK command only shows rules that are active.

See also