SAS/CONNECT 9.2 Driver for Java |
This page describes all the options you can specify in the tunnel feature's configuration file and provides some general guidelines for specifying the options.
When you modify the shrcgi.cfg file, make sure you follow these guidelines:
For each SASHOST, first specify the SASHOST identifier (which can include wildcards), then specify the options that apply to that host. If an option applies to more than one SASHOST, but not all SASHOSTs, you must repeat the option for each host. If you want an option to apply to all SASHOSTs, make it a global option by placing it before the first SASHOST line.
The options SASPORT, RESPONSE_x, CLIENTHOST, and USERNAME have ALLOW and DISALLOW lists. The ALLOW lists and DISALLOW lists have similar functions: they both controls which machines and users are able to connect to the remote SAS sessions. Use one or the other depending on which will require a shorter list.
The DISALLOW list takes precedence over the ALLOW list. When the tunnel feature's server programs receive a request from the applet, they check the DISALLOW list first. If the request matches any value in the DISALLOW list, the request is rejected. The ALLOW list is checked only if the DISALLOW list is not present or if the request did not match any values specified in the DISALLOW list. If an ALLOW list is present, the request must match an option in the ALLOW list; otherwise, the request is rejected.
You can use the asterisk (*) wildcard when specifying values in ALLOW or DISALLOW lists. For example, C*AT matches CAT, CHAT, and CRAVAT.
You can use aliases in the configuration file to mask the actual SAS command that is being used to invoke the remote SAS session. By masking the SAS command, the tunnel feature avoids exposing any specific information about the configuration of your system.
You can specify only one set of options for each host. If you specify a second set of options for a host, the second set is ignored. For example, if you specify options for the host identifier TEST*, and then you specify options for TEST2, the tunnel feature ignores the options that are specified for TEST2. When it receives a request that includes TEST2, the tunnel feature checks the request against the options specified for TEST*.
If a configuration file entry accepts multiple values, delimit the values with commas only.
Leading spaces are ignored.
Line continuation is not supported. You can use lines up to 256 characters.
To enter a comment, enter a pound sign (#) as the first character on each line of the comment. The Message Router ignores lines that begin with the pound sign.
The following configuration options apply to two hosts: TESTER and WIZARD.
SASHOST=TESTER ALLOW_USERNAME=XYZ,A*,QRS DISALLOW_USERNAME=ABC SASHOST=WIZARD ALLOW_RESPONSE_3=sas,sas -dms
The USERNAME specifications apply only to the TESTER host, and the SASCOMMAND specification applies only to the WIZARD host. Only users with the IDs XYZ, QRS, and those starting with A, except ABC, can connect to the host machine TESTER. On WIZARD, the only SAS commands allowed are the two commands shown in the ALLOW list (assuming that RESPONSE_3 is defined as the response to the command prompt).
This section lists the options you can define in the tunnel feature's configuration file.
The following options apply to both SAS/SHARE and SAS/CONNECT:
SASHOST=*
.
Note: The tunnel feature will look for an exact match, so if you specify a node name, but the request that tunnel feature receives uses the IP address for the same node, the tunnel feature will not recognize that the node name and IP address are for the same node.
Note: Information will be added to this log file every time the tunneling feature is used, potentially creating an extremely large file. Consider periodically deleting the contents of the file, or remove this option setting from the configuration file after your tunneling problems have been resolved.
mycommand=sas -dmr
you could then refer to the command using its alias, like so:
ALLOW_RESPONSE=$mycommand
The following option applies to SAS/SHARE only:
The following option applies to SAS/CONNECT only:
Copyright © 2007 by SAS Institute Inc., Cary, NC, USA. All rights reserved.