audit remotehost add

Add an identified Remote Logging Server.

NOTE   From Luna Network HSM 7appliance software version 7.8.5 onward, you have the option to choose tls for security when transferring audit logs to a remote logging server.

User Privileges

Only specialized Audit users can access audit commands.

Syntax

audit remotehost add -host <hostnameoripaddress> [-protocol <protocol>] [-port <port>] [-mode <authmode>] [-name <commonname>] [-tls >]   

Argument(s) Shortcut Description
-host <hostnameoripaddress> -h Specifies the Remote Logging Server Host Name or IP address.
-mode <authmode> -m

Authentication mode.

Valid values: server,mutual

Default: server

-name <hostcommonname> -n Specifies the Remote Logging Server common name.
-port <port> -po

Specifies the server port to use for the Remote Logging Server.

Range: 0 to 65535

Default: 514

-protocol <protocol> -pr

Specifies the protocol for remote logging with the specified server.

Valid values: tcp,udp,relp

Default: udp

The -name parameter is required when the protocol is relp.

-tls . -t

Setup host with TLS. Not used with udp protocol.

Example

lunash:>audit remotehost add -host 192.20.11.64

Stopping syslog:                                           [  OK  ]

Starting syslog:                                           [  OK  ]
iptables: Saving firewall rules to /etc/sysconfig/iptables:[  OK  ]

Command Result : 0 (Success)

Example with appliance software 7.8.5 onward

lunash:>audit remotehost add -host 192.20.11.64 -protocol tcp -port 54 -mode server -tls

Stopping syslog:                                           [  OK  ]

Starting syslog:                                           [  OK  ]
iptables: Saving firewall rules to /etc/sysconfig/iptables:[  OK  ]

Command Result : 0 (Success)