![Black Box LS1016A User Manual Download Page 235](http://html.mh-extra.com/html/black-box/ls1016a/ls1016a_user-manual_2763435235.webp)
Chapter 3 - Additional Features
User Guide
235
Session Sniffing
Versions 2.1.0 and later
You can open more than one common and sniff session at the same port. For this purpose,
the following configuration items are available in the file pslave.conf:
•
all.multiple_sessions: If it is configured as
no
, only two users can connect to the same
port simultaneously. If it is configured as
yes
, more than two simultaneous users can con-
nect to the same serial port. A “Sniffer menu” will be presented to the user and they can
choose either to open a sniff session; to open a read and/or write session; to cancel a
connection; or to send a message to other users connected to the same serial port. If it is
configured as “RW_sessions,” only read and/or write sessions will be opened, and the
sniffer menu won’t be presented. If it is configured as “sniff_session” only, a sniff session
will be opened, and the sniffer menu won’t be presented. Default value: no.
•
sN.multiple_sessions: Valid only for port N. If it is not defined, it will assume the value of
all.multiple_sessions
.
•
all.escape_char: Valid for all the serial ports; this parameter will be used to present the
menus below to the user. Only characters from ‘^a’ to ‘^z’ (i.e., CTRL-A to CTRL-Z) will
be accepted. The default value is ‘^z’ (CTRL-Z).
•
sN.escape_char: Valid only for port N; this parameter will be used to present the menus
below to the user. Only characters from ‘^a’ to ‘^z’ (i.e. CTRL-A to CTRL-Z) will be
accepted. If it is not defined, it will assume the value of all.escape_char.
When multiple sessions are allowed for one port, the behavior of the BLACK BOX
®
Advanced Console Server will be as follows:
1.
The first user to connect to the port will open a common session.
2.
From the second connection on, only admin users will be allowed to connect to that
port. The BLACK BOX
®
Advanced Console Server will send the following menu to these
administrators (defined by the parameter all.admin_users or sN.admin_users in the file
pslave.conf):
——————————————————————————————————