PSMP experiences delays in interrupting executed command.

PSMP experiences delays in interrupting executed command.

105
Created On 11/10/26 11:01 AM - Last Modified 11/10/26 15:55 PM


Symptom


PSMP Connections encounters long delays whilst interrupting (CTRL+C) executed commands which create a large output printed to screen from the terminal.

 

An example of such a command would be to grep a tcp dump of a nic.

#tcpdump -i any | grep <ipaddress>

 



Environment


9.9;9.10;10.0;10.1;10.2;10.3;10.4;10.5;10.6;10.7;10.8;10.9;10.10;11.1;11;11.2;11.3;11.4 PSMP Performance

Cause


The long delay is not in forwarding the Control+C to the target, but receiving and processing all the input from the command.

This behaviour is normal to PSMP, The processing of all the data received from the target takes time.

The research and development team are aware of the behaviour and looking at optimising the processing of large outputs from targets.



Resolution


Please note that the following options are workarounds to the issue and not the full solution.

 

1) Disabled Recording and Auditing Features on the PSMP-SSH connection component.

 

a. Administration > Platform Management > Edit relevant platform > UI & Workflows > Privilegedng Session Management

b. Right-click and select Add Audit Settings

c. Right-click Audit Settings and select Add SSH Keystrokes Audit

d. Set Enabled to No

e. Right-click Privileged Session Management and select Add Recorder settings

f. Right-click Recorder Settings and select Add SSH Text Recorder

g. Set Enabled to No

h. Save the settings.

i. Restart PSMP service. #service psmpsrv restart

 

Alternative Option

 

2) Use SSH rather than Plink for the PSMP-SSH connection component.

This has better results, as it does not support the audit and recording features.

 

From the PVWA under Administration > Configuration Options > Connection Components > PSMP-SSH > Target Settings, ClientApp parameter:

 

Current entry is:

{PSPComponentsFolder}/plink [-{PSMProtocol}] [-P {Port}] [-L {PSMTunnelRandomPort}:127.0.0.1:{PSMTunnelTargetPort}] {Username}@{Address}

 

To change to ssh replace /plink with /ssh so the entry reads:

 

{PSPComponentsFolder}/ssh [-{PSMProtocol}] [-P {Port}] [-L {PSMTunnelRandomPort}:127.0.0.1:{PSMTunnelTargetPort}] {Username}@{Address}

 

Save the settings by pressing Apply followed by Ok.

Restart PSMP service. #service psmpsrv restart

 



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000000yYwCAI&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail