In This Section: |
These terms are used in the CLI commands:
test_ad_connectivity
- A utility that runs connectivity tests from the Security Gateway to an AD domain controller.The PEP and PDP processes are key components of the system. Through them, administrators control user access and network protection.
AD Query can run either on a Security Gateway that has been enabled with Identity Awareness or on a Log Server. When it runs on a Security Gateway, AD Query serves the Identity Awareness feature, and gives logging and policy enforcement. When it runs on a Log Server, AD Query gives identity logging. The command line tool helps control users’ statuses as well as troubleshoot and monitor the system.
The test_ad_connectivity
utility runs over both the LDAP and WMI protocols. It is usually used by the SmartDashboard Identity Awareness first time wizard, but you can run it manually on the Security Gateway when needed.
Description These commands control and monitor the PDP process.
Syntax # pdp [command]... <parameter>
Parameter |
Description |
---|---|
|
Display available options for this command and exit |
|
Control debug messages |
|
Tracker options |
|
pdp connections information |
|
pdp network information |
|
pdp status information |
|
pdp control commands |
|
Display monitoring data |
|
Recalculate users and computers group membership (deleted accounts will not be updated) |
|
Operations related to AD Query |
|
Show pdp timers information |
|
Nested groups configuration |
|
Authentication or authorization options |
|
Monitor or control IFMAP |
Description Lets you monitor the status of connected sessions. You may perform varied queries according to the usage below to get the output you are interested in.
Syntax # pdp monitor <parameter> <option>
Parameter |
Description |
---|---|
|
Display information for all connected sessions |
|
Display session information for the given user name |
|
Display session information for the given IP address |
|
Display session information for the given computer name |
|
Display all sessions that relate to a managed asset (i.e. all sessions that successfully performed computer authentication) |
|
Display all sessions connecting via the given client type Possible client types are:
|
|
Display all sessions of users / computers that are members of the given group name |
|
Display all sessions that are connected with a client version that is higher than (or equal to) the given version |
|
Display all sessions that are connected via a client version that is lower than (or equal to) the given version. |
|
print sessions filtered by assigned source port (MUH sessoins only) |
Example
pdp monitor ip 192.0.2.1
Shows the connected user behind the given IP address (192.0.2.1).
Note - The last field "Published " indicates whether the session information was already published to the Gateway PEPs whose IP addresses are listed. |
Description These commands assist in monitoring and synchronizing the communication between the PDP and the PEP.
Syntax pdp connections <argument>
Argument |
Description |
---|---|
|
Shows the connection status of all the PEPs that should be updated by the current PDP |
|
Shows a list of terminal servers that are connected |
|
Shows a list of the active IFMAP sessions |
Description Provides commands to control the PDP process.
Syntax # pdp control <
parameter> <
option>
Parameter |
Description |
---|---|
|
Logs out the session that is related to the given IP. |
|
Revokes the packet tagging key if one exists. |
|
Forces an initiated synchronization operation between the PDPs and the PEPs. When running this command, the PDP will inform its related PEPs the up-to-date information of all connected sessions. At the end of this operation, the PDP and the PEPs will contain the same and latest session information. |
Description Shows information about network related features.
Syntax # pdp network <parameter>
Parameter |
Description |
---|---|
|
Display a list of networks known by the PDP. |
|
Display the mapping of a network address to registered gateways (PEP module). |
Description Activates and deactivates the debug logs of the PDP daemon.
Syntax # pdp debug <parameter> <option>
Parameter |
Description |
---|---|
|
Turn on the debug logs (should be followed by the command "set" to determine the required filter). |
|
Turn off the debug logs. |
|
Filter the debug logs that would be written to the debug file according to the given topic and severity Best Practice - For debug it is recommended to run:
Note that you can place a number of topics and severity pairs. For example: |
|
Unset a specific topic or topics. |
|
Show the status of the debug option. |
|
Reset the debug options of severity and topic. The debug is still activated after running this command. |
|
Rotate the log files (increase the index of each log file) so that the current log file that will be written is the PDP log. For example, pdpd.elg becomes pdpd.elg.0 and so on. |
|
Allows enabling or disabling writing of the CCC debug logs into the PDP log file. |
Important - Activating the debug logs affects the performance of the daemon. Make sure to turn off the debug after you complete troubleshooting. |
Description Adds the TRACKER topic to the PDP logs (on by default). This is very useful when monitoring the PDP-PEP identity sharing and other communication on distributed environments. This can be set manually by adding the TRACKER topic to the debug logs.
Syntax # pdp tracker <parameter>
Parameter |
Description |
---|---|
|
Turns on logging of TRACKER events in the PDP log. |
|
Turns off the logging of TRACKER events in the PDP log. |
Description Displays PDP status information such as start time or configuration time.
Syntax # pdp status <parameter>
Parameter |
Description |
---|---|
|
Display PDP information. |
Description Initiates a recalculation of group membership for all users and computers. Note that deleted accounts will not be updated.
Syntax # pdp update <parameter>
Parameter |
Description |
---|---|
|
Recalculate group membership for all users and computers. |
Description For AD Query, adds an identity to the Identity Awareness database on the Security Gateway. The group data must be in the AD.
Syntax # pdp ad associate ip <ip> u <username> d <domain> [m <machine>] [t <timeout>] [s]
Parameter |
Description |
---|---|
|
IP address for the identity. |
|
Username for the identity. |
|
Computer that is defined for the identity. |
|
Domain of the ID server. |
|
Timeout setting for the AD Query (default is 5 hours). |
|
Associates |
Description Removes the identity from the Identity Awareness database on the Security Gateway. Identity Awareness does not authenticate a user that is removed.
Syntax # pdp ad disassociate ip <ip> {u <username>|m <machine>} [r {probed|override|timeout}]
Parameter |
Description |
---|---|
|
IP address for the identity |
|
Username for the identity |
|
Computer that is defined for the identity |
|
Timeout setting for the AD Query (default is 5 hours) |
|
Reason that is shown in the SmartView Tracker logs |
Description Provides commands to control and monitor the PEP process.
Syntax # pep [command]... <parameter>
Parameter |
Description |
---|---|
|
Tracker options. |
|
Display PEP information. |
|
Control debug messages. |
|
Control and set PEP parameters. |
Description Displays information regarding pep status.
Syntax # pep show <parameter> <option>
Description Enables monitoring the status of sessions that are known to the PEP. You can perform varied queries according to the usage below to get the output you are interested in.
Syntax # pep show user all
Parameter |
Description |
---|---|
|
Display all sessions with information summary. |
Query Syntax # pep show user query <parameter>
Parameter |
Description |
||
---|---|---|---|
|
Display session information for the given user name. |
||
|
Display session information for the given computer name. |
||
|
Display session information for the given IP. |
||
|
Display session information for the given session ID. |
||
|
Display all session information that was published from the given PDP IP. |
||
|
Display all sessions of users that are members of the given user group name. |
||
|
Display all sessions of computers that are members of the given computer group name. |
||
Note - You can use multiple query tokens (parameters) at once to create a logical "AND" correlation between them. For example, to display all users that have a sub string of "jo" AND are part of the user group "Employees" then you can use:
|
Description Enables monitoring the communication channel between the PEP and the PDP. The output displays the connect time and the number of users that were shared through the connection.
Syntax # pep show pdp <parameter>
Parameter |
Description |
---|---|
|
List all the PDPs that are connected to the current PEP with the relevant information. |
|
Display connection information of the given PDP IP. |
Description Shows the last time the daemon was started and the last time a policy was received.
Important - Each time the daemon starts, it loads the policy and the two timers (Daemon start time and Policy fetched at) will be very close. |
Syntax # pep show stat
Description Shows network related information.
Syntax # pep show network <parameter>
Parameter |
Description |
---|---|
|
Shows information about mapping between the network and PDPs. |
|
Shows which networks this PEP is registered to. |
Description Enables and disables the debug of the PEP.
Syntax # pep debug <
parameter> <
option>
Parameter and option |
Description |
---|---|
|
Enables the PEP debug (should be followed by the command " |
|
Disables the PEP debug. |
|
Filters the PEP debug logs that would be written to the debug file according to the given topic and severity. Available topics are:
Available severities are:
Best Practice - We recommend to run:
|
|
Unsets a specific topic or topics. |
|
Shows the PEP debug status. |
|
Resets the PEP debug options of severity and topic. |
|
Rotates the PEP log files (increase the index of each log file):
|
|
Displays the memory consumption by the pepd daemon. |
|
Displays and sets the number of indentation spaces in the |
|
Displays IP address mapping debug information. |
Important - Activating the debug logs affects the performance of the daemon. Make sure to turn off the debug after you complete troubleshooting. |
Description Provides commands to control and monitor the AD Query process.
When AD Query runs on a Security Gateway, AD Query serves the Identity Awareness feature that gives logging and policy-enforcement. In this case the command line is: adlog a <argument>
(see below for options)
When it runs on a Log Server, AD Query gives identity logging. In this case, the command line is: adlog l <argument>
. Note: the l
in adlog l
is a lowercase L.
Options for adlog a
and adlog l
are identical.
Syntax # adlog {a|l} <command>… <argument>
Parameter |
Description |
|
---|---|---|
|
Display available options for this command and exit. |
|
|
Set the working mode:
|
|
|
See sections below. |
|
|
||
|
||
|
||
|
||
|
||
|
||
|
Description Shows the database of identities acquired by AD Query, according to the given filter.
Usage adlog [a|l] query <argument>
Syntax
Parameter |
Description |
---|---|
|
Filters identities relating to the given IP. |
|
Filters identity mappings according to the given string. |
|
Filters identity mappings according to a specific user. |
|
Filters identity mappings according to a specific computer. |
|
No filtering, shows the entire identity database. |
Example
adlog a query user jo
Shows the entry that contains the string "jo" in the user name.
Description Turns on/off debug flags for controlling the debug file. The debug file is located at $FWDIR/log/pdpd.elg (for Identity Awareness on a Security Gateway) or $FWDIR/log/fwd.elg (for identity logging on a log server).
Usage adlog [a|l] debug <parameter>
Syntax
Parameter |
Description |
---|---|
|
Turn on debug. |
|
Turn off debug. |
|
Show debug status (on/off). |
|
Turn on debug and add extended debug topics. |
Description |
Shows the status of connection to the AD domain controller. |
Syntax |
|
Description Displays statistics regarding NT Event Logs received by adlog, per IP and by total. It also shows the number of identified IPs.
Usage adlog [a|l] statistics
Syntax None
Description Sends control commands to AD Query.
Usage adlog {a|l} control <parameter>
Syntax
Parameter |
Description |
---|---|
|
Stop AD Query. New identities are not acquired via AD Query. |
|
Send a reconfiguration command to AD Query, which means it resets to policy configuration as was set in SmartDashboard. |
Description Manages the list of Multi-User Hosts.
Usage adlog {a|l} control muh <parameter>
Syntax
Parameter |
Description |
---|---|
|
Adds an IP address as a Multi-User Host |
|
Remove an IP address from the list of Multi-User Hosts |
|
Show all known Multi-User Hosts |
Description Manages service accounts. Service accounts are accounts that don’t belong to actual users, rather they belong to services running on a computer. They are suspected as such if they are logged in more than a certain number of times.
Usage adlog {a|l} control srv_accounts <parameter>
Syntax
Parameter |
Description |
---|---|
|
Show all known service accounts |
|
Manually updates the list of service accounts |
|
Remove an account name from the list of service accounts |
|
Clears all the accounts from the list of service accounts |