Annexure A. Sophos Cyberoam Console
Publicité
Publicité
Cyberoam Console Guide
Annexure A clear
Clears the screen
Syntax clear
cyberoam
Cyberoam Management
Syntax
cyberoam [ appliance_access | application_classification
| disover-mode | firewall acceleration | fsck-on-nextboot | gre
| ntlm_auth |
Parameter list & description
Keywords & Variables appliance_access [disable | enable | show] application_classification [off | on | show | microapp_discovery { on | off | show } ]
Description
To override or bypass the configured Appliance Access and allow access to all the Cyberoam services.
Disable to re-apply Appliance Access.
Default – Disabled.
Enable and disable event will be logged in Admin Logs.
If application_classification is enabled, traffic will be categorized on the basis of application, and traffic discovery live connections that is displayed on Web
Admin Console, will be displayed based on the application.
Once application_classification is enabled, you can enable microapp_discovery, which will identify and classify microapps used within web browsers.
If application_classification is disabled, traffic will be categorized on port-based applications, and traffic discovery based on applications will not display any signature-based application.
Page 29 of 73
Cyberoam Console Guide
Default – ON
Note
• application_classification must be ON to enable Micro
App_Discovery.
•
Enabling Micro App Discovery using the CLI command will classify Microapps but they cannot be blocked. To block Microapps, one needs to enable HTTPS scanning for Microapps using the Web Admin Console.
Cyberoam Authentication Options auth [cta | thin-client]
1. Manage cta options auth [cta {collector | enable | unauthtraffic | disable | show | vpnzonenetwork }]
Manage collector options auth cta [collector {add | delete}]
•
To add a collector in new group auth cta [collector {add
<collector-ip> collector-port
<port> create-new-collectorgroup}]
•
To add a collector in an existing collector group auth cta [collector {add
<collector-ip> collector-port
<port> collector-group
<group-number>}]
•
To delete a collector IP auth cta [collector {delete
<collector-ip>}]
To enable cta auth cta [enable]
Enable authentication: transparent authentication, thin client authentication for AD users cta - Add and remove CTA collector IP Address for clientless Single Sign On configuration thin-client – add and remove citrix server IP Address for thin-client support
Page 30 of 73
Manage drop period for unauthenticated traffic options auth cta [unauth-traffic <drop-period>]
•
To configure the default drop period for unauthenticated traffic auth cta [unauth-traffic dropperiod <default>]
•
To manually configure the drop period for unauthenticated traffic auth cta [unauth-traffic dropperiod <0-120>]
To disable cta auth cta [disable]
To display all cta configurations auth cta [show]
Manage VPN zone Network options auth cta [vpnzonenetwork]
•
To add source-network IP
Address auth cta
[vpnzonenetwork{add source network <ipaddress>}]
•
To delete source-network
IP Address auth cta
[vpnzonenetwork{delete source network <ipaddress>}]
2. Manage thin-client options auth [thin-client {add | delete | show}]
To add a thin-client IP Address auth [thin-client{ add citrix-ip
Cyberoam Console Guide
Page 31 of 73
Cyberoam Console Guide
<ipaddress>}]
To delete a thin-client IP Address auth [thin-client{ delete citrix-ip
<ipaddress>}]
To display thin-client IP Address auth [thin-client{ show}]
Cyberoam VLAN tag cr-vlan-tag [reset | set | show]
To reset vlanid cr-vlan-tag [reset]
To set vlanid cr-vlan-tag [set]
To display the configured vlanid cr-vlan-tag [show]
Bridge Management bridge [bypass-firewall-policy { unknown-network-traffic } | staticentry ]
1. Manage bypass-firewall-policy options bypass-firewall-policy [unknownnetwork traffic {allow | drop | show} ]
To allow unknown network traffic bypass-firewall-policy [unknownnetwork traffic {allow} ]
To drop unknown network traffic
[unknownbypass-firewall-policy network traffic {drop} ]
To view bypass status for unknown network traffic
Set vlan tag on traffic which is originated by cyberoam and do not fall in any firewall rule. set – set vlanid <0-4094> on bridge interface. reset - reset or remove vlanid on bridge-interface show – show configured vlan tags on bridge interface(s).
Use the bypass-firewall-policy command to configure policy for unknown network traffic (non-routable traffic) on which no firewall policy is applied. allow - allow unknown network traffic to pass through system drop - do not allow unknown network traffic to pass through system show - display unknown traffic bypass status
Page 32 of 73
Cyberoam Console Guide bypass-firewall-policy network traffic {show} ]
[unknown-
2. Manage static-entry options static-entry [add | delete | show]
To add a static entry static-entry [add {interface (<bridge name>:<membername>) macaddr
<MAC Address> priority (dynamic | static)}]
DHCP Management dhcp [dhcp-options | lease-over-
IPSec ]
1. Manage DHCP options dhcp [dhcp-options {add | binding | delete | list}]
To add a custom DHCP option dhcp [dhcp-options {add optioncode
<1-255> optionname <string> optiontype (array-of | one-byte | twobyte | four-byte | ipaddress | string | boolean)}]
To delete a custom DHCP option dhcp [dhcp-options optionname <Option name>}]
{delete
To display all configurable DHCP option dhcp [dhcp-options{list}]
Use static-entry for Static MAC configuration in Bridge
Mode. Bridge forwarding table stores all the MAC addresses learned by the Bridge and is used to determine where to forward the packets. add - add a new static entry in bridge MAC table.
Examples: cyberoam bridge static-entry [add {interface
<Bridge1:Member1> macaddr <00:16:76:49:33:CE> priority (static) cyberoam bridge static-entry [add {interface
<Bridge1:Member1> macaddr <00:16:76:49:33:CE> priority (dynamic) delete - delete an existing static entry from bridge MAC table
Example: cyberoam bridge static-entry [delete
00:16:76:49:33:CE] show - show all static entries in bridge table
Cyberoam supports configuration of DHCP options, as defined in RFC 2132. DHCP options allow users to specify additional DHCP parameters in the form of predefined, vendor-specific information that is stored in the options field of a DHCP message. When the DHCP message is sent to clients on the network, it provides vendor-specific configuration and service information.
Appendix A provides a list of DHCP options by RFC-
assigned option number.
Page 33 of 73
Cyberoam Console Guide
To manage additional options for
DHCP server
•
Add option to DHCP Server dhcp [dhcp-options {binding add (dhcpname <DHCP server name> optionname
<DHCP Options> value
<text>)}]
•
Delete option from DHCP
Server dhcp [dhcp-options {binding delete (dhcpname <DHCP server name>)}]
•
Show options assigned to
DHCP Server dhcp [dhcp-options {binding show (dhcpname <DHCP server name)}>]
2. Manage IP Lease over IPSec
To disable IP Lease over IPSec for all DHCP Servers (Default Value) dhcp [lease-over-IPSec {disable}]
To enable IP Lease over IPSec for all DHCP Servers dhcp [lease-over-IPSec {enable}]
To display all IP Lease over IPSec configuration dhcp [lease-over-IPSec {show}]
DHCPv6 Management dhcpv6 [dhcpv6-options]
Manage DHCPv6 options dhcpv6 [dhcpv6-options {add | binding | delete | list}]
Cyberoam supports configuration of DHCPv6 options, as defined in RFC 3315. DHCPv6 options allow users to specify additional DHCPv6 parameters in the form of predefined, vendor-specific information that is stored in the options field of a DHCPv6 message. When the DHCPv6 message is sent to clients on the network, it provides vendor-specific configuration and service information.
Appendix B provides a list of DHCPv6 options by RFC-
assigned option number.
Page 34 of 73
Cyberoam Console Guide
To add a custom DHCPv6 option dhcpv6 [dhcpv6-options {add optioncode <1-65535> optionname
<string> optiontype (array-of | onebyte | two-byte | four-byte | ipv6address | string | boolean)}]
To delete a custom DHCPv6 option dhcpv6 [dhcpv6-options {delete optionname <Option name>}]
To display all configurable DHCPv6 option dhcpv6 [dhcpv6-options{list}]
To manage additional options for
DHCPv6 server
•
Add option to DHCPv6
Server dhcpv6 [dhcpv6-options
{binding add (dhcpname
<DHCPv6 server name> optionname <DHCP Options> value <text>)}]
•
Delete option from DHCPv6
Server dhcpv6 [dhcpv6-options
{binding delete (dhcpname
<DHCPv6 server name>)}]
•
Show options assigned to
DHCPv6 Server dhcpv6 [dhcpv6-options
{binding show (dhcpname
<DHCPv6 server name)}>]
Appliance Diagnostics diagnostics [ctr-log-lines | purge-oldlogs | subsystems | purge-alllogs | show | utilities]
Various tools to check appliance health. ctr-log-lines – set number of lines to display Cyberoam
Troubleshoot Report (CTR) log file.
Default – 1000.
Page 35 of 73
Cyberoam Console Guide
1. To take last n lines for Cyberoam
Troubleshoot Report (CTR) diagnostics [ctr-log-lines <250-10000
>]
2. To truncate all rotated logs diagnostics [purge-old-logs]
3. To configure Subsystems diagnostics [subsystems {Access-
Server | Bwm | CSC | IM | IPSEngine
| LoggingDaemon | Msyncd |
POPIMAPFTPDeamon | Pktcapd |
SMTPD | SSLVPN | SSLVPN-RPD |
WebProxy | Wifiauthd}]
Manage Access Server options diagnostics [subsystems {Access-
Server (debug | purge-log | purge-oldlog)}]
•
Enable/Disable
Server debug
Access diagnostics [subsystems {Acc ess-Server debug <off | on>}]
•
To truncate all logs diagnostics [purge-log]
•
To truncate all rotated logs diagnostics [purge-old-log]
Manage CSC options diagnostics [subsystems {CSC (debu g | purge-log | purge-old-log)}]
•
Toggle CSC debug mode diagnostics [subsystems {CS
C debug <off | on>}]
•
To truncate all logs diagnostics [subsystems
{CSC (purge-log)}] purge-old-logs – purge all rotated log files subsystems – configure each subsystem individually.
Configuration options include: debug, purge-logs and purge-old-logs purge-all-logs – truncate all log files show – view diagnostics statistics utilities – view utilities statistics
Page 36 of 73
•
To purge all rotated logs diagnostics [subsystems
{CSC (purge-old-log)}]
Note
•
Here we are showing management options for two subsystems only since all except
CSC offers same three configuration options i.e. to enable/disable debug mode, to truncated all logs and to purge old logs.
•
In case of CSC, the debug mode differs a little. In all the subsystems administrator has an option to enable/disable debug mode, while in CSC the debug mode can only be toggled.
4. To truncate all logs diagnostics [purge-all-logs]
5. To view diagnostic statistics diagnostics [show ]
6. To view utilities statistics diagnostics [ utilities ]
Note:
•
SSLVPN option will be visible in all the models except CR15i and
CR15wi models.
•
Wifiauthd option will be visible in
CR15wi, CR15wiNG, CR25wi, CR
25wiNG/6P, CR35wi and
CR35wiNG models only.
•
Msyncd option will be visible in all the models except CR15i,
CR10iNG, CR 15iNG, CR15wi,
CR 15wiNG, CR25wi,
CR25wiNG/6P CR35wi and
Cyberoam Console Guide
Page 37 of 73
Cyberoam Console Guide
CR35wiNG models.
Discover Mode Configuration discover-mode [tap {interface (add
<Port_Name> | delete <Port_Name>)
| show}]
Firewall Acceleration Configuration
Firewall-acceleration (enable | disable
| show) fsck-on-nextboot [off | on | show]
Use to configure one of more interfaces of Cyberoam in
Discover Mode. add - configure an interface in Discover mode
Example - discover-mode [tap {interface (add <PortD >)} delete - remove an interface from Discover mode
Example - discover-mode [tap {interface (delete <PortD
>)} show - use to view ports configured in Discover mode, if any
Use to enable Firewall Acceleration that uses advanced data-path architecture that enables Cyberoam Firewall with faster processing of data packets for known traffic. enable - use to to enable firewall acceleration disable - use to to disable firewall acceleration show - use to view status of firewall acceleration configuration
Check file system integrity of all the partitions. Turning
ON this option forcefully checks the file system integrity on next appliance reboot. By default, check is OFF but whenever appliance goes in failsafe due to following reasons, this check is automatically turned ON:
•
Unable to start Config/Report/Signature
Database
•
Unable to Apply migration
•
Unable to find the deployment mode
Once the check is turned ON, on the next boot, all the partitions will be checked. In addition, check will be turned OFF again on the next boot.
GRE Tunneling gre [route | tunnel]
1. For GRE tunnel
If the option is ON and the appliance boots up due following reasons, then file system check will not be enforced and option will be disabled after boot:
•
Factory reset
•
Flush Appliance Report
Configure, delete, set TTL and status of gre tunnel, view route details like tunnel name, local gateway network and netmask, remote gateway network and netmask.
Page 38 of 73
Cyberoam Console Guide gre tunnel [add | show | set | delete]
To add a GRE Tunnel gre tunnel [add {name <tunnel-name> local-gw <WAN_Interface> remotegw <Remote_WAN_IP> local-ip <
LcalIP > remote-ip <RemoteIP>}]
To list GRE Tunnel gre tunnel [show]
To set TTL for GRE Tunnel gre tunnel [set {name <tunnel-name> ttl<ttlvalue>}]
To set state of GRE Tunnel gre tunnel [set {name <tunnel-name> state (enable | disable)}]
To delete GRE Tunnel
1. gre tunnel [del {name <tunnelname>
<WAN_Interface>
<Remote_WAN_IP>}] local-gw remote-gw
2. gre tunnel [del {name <tunnelname>}]
3. gre tunnel [del {ALL}]
To check status of GRE Tunnel gre tunnel [show {name <tunnelname>} | {local-gw <WAN_Interface> remote-gw <Remote_WAN_IP>}]
2. Unicast Routing Support in
GRE gre route [add | delete | show]
NOTE:
1. GRE tunnel cannot be configured over dynamic
WAN interface such as PPPoE and DHCP.
2. After creating a GRE Tunnel, information regarding same will be displayed on Multicast page.
3. Ping the IP Address of remote GRE interface to check status of GRE tunnel.
1. Configure, delete and verify the details of
Unicast Routes for a network or a host, with respective GRE tunnel.
Page 39 of 73
Cyberoam Console Guide
To add an Unicast Route for
Network gre route [add {net <Network Address
/Mask> tunnelname <Tunnel Name>}]
To add an Unicast Route for Host gre route [add {host <IP> tunnelname
<Tunnel Name>}]
To delete an Unicast Route for
Network gre route [delete {net <Network
Address/Mask> tunnelname <Tunnel
Name>}]
To delete an Unicast Route for
Host gre route [delete {host <IP> tunnelname <Tunnel Name>}]
To see all the networks and hosts with respective GRE Tunnels gre route [show]
High Availability Options ha [disable | load-balancing {off | on} | show {details | logs lines <number>}]
Appliance IPS Autoupgrade ips_autoupgrade
[off | on | show] disable - Option to disable HA. One can enable HA from
Web Admin Console – System > HA load-balancing – Option to disable traffic load balancing between the cluster appliances. By default, as soon as
Active-Active is configured, traffic load balancing is enabled. show – Displays HA configuration details like HA status and state, current and peer appliance key, dedicated port and IP Address, load balancing and Auxiliary
Administrative port and IP Address. It also displays HA logs if HA is configured.
Enable or disable IPS auto-upgrade. One can enable
/disable from Web Admin Console – System >
Maintenance > Updates also.
Page 40 of 73
Cyberoam Console Guide
Manage Static IPSec Routes ipsec_route [add | del | show]
To add an IPSec Route for Host ipsec_route [add {host <IP> tunnelname <Tunnel Name>}]
To add an IPSec Route for Network ipsec_route [add {net <Network
Address/Mask> tunnelname <Tunnel
Name>}]
To delete an IPSec Route for Host ipsec_route [del {host <IP> tunnelname <Tunnel Name>}]
To detele an IPSec Route for
Network ipsec_route [del {net <Network
Address/Mask> tunnelname <Tunnel
Name>}]
To see all the networks and hosts with respective IPSec Tunnels ipsec_route [show]
Configure IPSec routes and view route details like tunnel name, host/network and netmask
Manage link failover over VPN link_failover [add | del | show]
1. Manage Add Link Fail-over options link_failover [add {primarylink Port
<Port Name> backuplink (gre | vpn)}]
To configure GRE Tunnel as a
Backup link using PING link_failover [add {primarylink Port
<Port Number> backuplink gre tunnel
<gre tunnel name> monitor PING host <ip address>}]
To configure GRE Tunnel as a
Backup link using TCP
VPN can be configured as a Backup link. With this, whenever primary link fails, traffic will be tunneled through VPN connection and traffic will be routed again through the primary link once it is UP again.
Page 41 of 73
Cyberoam Console Guide link_failover [add {primarylink Port
<Port Number> backuplink gre tunnel
<gre tunnel name> monitor TCP host
<ip address> Port <Port Number>}]
To configure an IPSec/VPN connection as a Backup link using
PING link_failover [add {primarylink Port
<Port Number> backuplink vpn tunnel
<ipsec connection name> monitor
PING host <ip address>}]
To configure an IPSec/VPN connection as a Backup link using
TCP link_failover [add {primarylink Port
<Port Number> backuplink vpn tunnel
<vpn connection name> monitor TCP host <ip address> Port <Port
Number>}]
2. To delete link failover configuration link_failover del primarylink <Port name>
3. To display all link failover configuration link_failover [show]
Nested Group support for NTLM
Authentication
Cyberoam ntlm_auth nested_group_support [off | on | show] restart [all ]
Manage Route Precedence route_precedence [set | show]
1. Manage Set Route Precedence options route_precedence [set {static | vpn}]
Use to configure Nested Group Support for NTLM
Authentication. on - use to enable Nested Group Support for NTLM
Authentication off - use to disable Nested Group Support for NTLM
Authentication show - use to view status of Nested Group configuration
Restart Cyberoam
Set the route precedence
Page 42 of 73
Cyberoam Console Guide
To configure Static Routes
Precedence route_precedence [set {static vpn}]
To configure VPN Routes
Precedence route_precedence [set {vpn static}]
2. To display Route Precedence configuration route_precedence [show] serial_dialin [ enable | disable | modem-nvram ( reset | save-initstring) ] shutdown
Load/Unload System Modules system_modules [h23 {load | unload}
| irc {load | unload} | pptp {load | unload} | show | sip {load | unload} | tftp {load | unload}]
This command is available only in CR15i, CR10iNG,
CR15iNG, CR15wi and CR 15wiNG appliances.
Enable/Disable serial dial-in or DB9. enable – Enables serial dial-in feature. Modem can be connected to Cyberoam's serial(COM) port. disable – Disable serial dial-in feature. modem-nvram to save/reset init string in modem. reset – Reset init string in modem to factory default value save – Save pre-configured init string in modem's memory
Shutdown Cyberoam
Load or unload the system modules like h23, irc, sip, tftp
By default, all the modules are loaded.
Load/unload modules to enhance the network performance and reduce the potential security risk.
H323 - The H.323 standard provides a foundation for audio, video, and data communications across IP-based networks, including the Internet. H.323 is an umbrella recommendation from the International
Telecommunications Union (ITU) that sets standards for multimedia communications over Local Area Networks
(LANs) that do not provide a guaranteed Quality of
Service (QoS). It enables users to participate in the same conference even though they are using different videoconferencing applications.
PPTP - PPTP (Point to Point Tunneling Protocol) is a network protocol that enables secure transfer of data from a remote client to a private server, creating a Point to Point VPN tunnel using a TCP/IP based network.
Page 43 of 73
Cyberoam Console Guide
Wireless WAN wwan [disable | enable | query | set | show ]
1. To disable WWAN wwan [disable]
2. To enable WWAN wwan [enable]
3. Manage WWAN Query options wwan [query {serialport <serial pot number> ATcommand <at command string>}]
4. Manage WWAN Set options wwan [set {disconnect-onsystemdown (off | on)}]
5. To display WWAN configuration wwan [show]
IRC - IRC (Internet Relay Chat) is a multi-user, multichannel chatting system based on a client-server model.
Single Server links with many other servers to make up an IRC network, which transport messages from one user (client) to another. In this manner, people from all over the world can talk to each other live and simultaneously. DoS attacks are very common as it is an open network and with no control on file sharing, performance is affected.
SIP – SIP (Session Initiation Protocol) is a signaling protocol which enables the controlling of media communications such as VOIP. The protocol is generally used for maintaining unicast and multicast sessions consisting of several media systems. SIP is a text based and TCP/IP supported Application layer protocol.
TFTP - Trivial File Transfer Protocol (TFTP) is a simple form of the File Transfer Protocol (FTP). TFTP uses the
User Datagram Protocol (UDP) and provides no security features.
Enable or disable wireless WAN and view information of the Wi-Fi modem information (if plugged - in)
Wireless WAN menu will be available on Web Admin
Console only when wwan is enabled from CLI.
Page 44 of 73
Cyberoam Console Guide
dnslookup
Query Internet domain name servers for hostname resolving
Syntax dnslookup [host {<ipaddress> | <string> }]
Parameter list & description
Keywords & Variables host
[<ipaddress> | <string> ] server
[ <ipaddress> [host]]
Description
Host to be searched
Internet name or address of the name server
Dnslookup6
Query Internet domain name servers for IPv6 hostname resolving.
Syntax
Dnslookup6 [host {<ipaddress6> | <string> }]
Parameter list & description
Keywords & Variables
Host
[<ipaddress6> | <string> ] server
[ <ipaddress6> [host]]
Description
Host to be searched
Internet name or address of the name server
ping
Sends ICMP ECHO_REQUEST packets to network hosts
Syntax ping [<ipaddress> | <string> | count | interface | quiet | size | sourceip | timeout]
Parameter list & description
Keywords & Variables Description
Ipaddress
String count <number>
IP Address to be pinged
Domain to be pinged
Stop sending packets after count
Page 45 of 73
Cyberoam Console Guide interface
[Port <port ID> ]
Quiet size <number> sourceip <ipaddress> timeout <number>
Set outgoing interface
Display the summary at startup and end
Number of data bytes to be sent
IP Address of the source
Stop sending packets and exit after specified time
ping6
Sends ICMPv6 ECHO_REQUEST packets to network hosts
Syntax ping [<ipaddress6> | count | interface | quiet | size]
Parameter list & description
Keywords & Variables Description
Ipaddress6 IPv6 Address to be pinged count <number> interface
[Port <port ID> ]
Stop sending packets after count
Set outgoing interface
Quiet size <number>
Display the summary at startup and end
Number of data bytes to be sent
route
Use to view / manipulate the IP routing table. Route manipulates the kernel’s IP routing tables. Its primary use is to set up temporary routes to specific hosts or networks via an interface. When the add or del options are used, route modifies the routing tables. Without these options, route displays the current contents of the routing tables.
Syntax diagnostics [utilities {route (flush-cache | lookup)}]
Parameter list & description
Keywords & Variables flush-cache lookup
route6
Description
Flush entire route cache
Route lookup
Page 46 of 73
Cyberoam Console Guide
Use to view / manipulate the IP routing table. Route manip ulates the kernel’s IP routing tables. Its primary use is to set up temporary routes to specific hosts or networks via an interface. When the add or del options are used, route modifies the routing tables. Without these options, route displays the current contents of the routing tables.
Syntax diagnostics [utilities {route6 (flush-cache | lookup)}]
Parameter list & description
Keywords & Variables flush-cache lookup
Description
Flush entire route cache
Route lookup
traceroute
Use to trace the path taken by a packet from the source system to the destination system, over the
Internet.
The Internet is a large and complex aggregation of network hardware, connected together by gateways. Tracking the route one's packets follow (or finding the miscreant gateway that is discarding your packets) can be difficult. Traceroute utilizes the IP protocol `time to live (TTL)' field and attempts to elicit an ICMP TIME_EXCEEDED response from each gateway along the path to some host.
Syntax traceroute [ <ipaddress> | <string> | first-ttl | icmp | max-ttl | no-frag | probes | source | timeout | tos]
Keywords & Variables Description
<ipaddress>
[size <number>]
Set the IP Address to be traced
Set the domain to be traced <string>
[size <number>] first-ttl Set the initial time-to-live used in the first outgoing probe packet
Use ICMP ECHO instead of UDP datagrams icmp max-ttl no-frag probes source timeout
Set the max time-to-live
Set the 'don't fragment' bit
Probes are sent at each ttl. Default - 3
Use given IP Address as source address
Set the timeout -in seconds for a response to a probe -
Page 47 of 73
Cyberoam Console Guide tos default 5
Set the type-of-service
traceroute6
Use to trace the path taken by a packet from the source system to the destination system, over the
Internet.
The Internet is a large and complex aggregation of network hardware, connected together by gateways. Tracking the route one's packets follow (or finding the miscreant gateway that is discarding your packets) can be difficult. Traceroute utilizes the IP protocol `time to live' field and attempts to elicit an ICMP TIME_EXCEEDED response from each gateway along the path to some host.
Syntax
Traceroute6 [ <ipaddress6> | <string> | first-ttl | max-ttl | probes | source | timeout | tos]
Keywords & Variables Description
<ipaddress6>
[size <number>]
<string>
[size <number>] first-ttl
Set the IPv6 Address to be traced
Set the domain to be traced max-ttl
Set the initial time-to-live used in the first outgoing probe packet
Set the max time-to-live probes source timeout tos
Probes are sent at each ttl. Default - 3
Use given IP Address as source address
Set the timeout -in seconds for a response to a probe default 5
Set the type-of-service
connections
Allows to view and delete connections to the Cyberoam appliance.
Syntax connections [count | v4 | v6 ]
Parameter list & description
Page 48 of 73
Cyberoam Console Guide
Keywords & Parameters Description count <number> Count of current connections v4 [delete | show] v6 [delete | show]
View and delete IPv4 connections
View and delete IPv6 connections
enableremote
Allows to connect to the Cyberoam remotely i.e. allows to establish remote (SSH) connection. By default, remote connection is not allowed,
Syntax enableremote [port <number> | serverip <ipaddress>]
Parameter list & description
Keywords & Parameters Description port <number> Port through which the remote SSH connection can be established serverip <ipaddress> IP Address of the Cyberoam to which the remote connection can be established
disableremote
Disables the remote (SSH) connection, if enabled. By default, it is not allowed. Refer to enable remote to allow to establish the remote connection.
Syntax disableremote
Page 49 of 73
Cyberoam Console Guide
set
Set entities
Syntax
| on-appliancereports | proxy-arp | service-param
| sslvpn | vpn | lanbypass | report-disk-usage
Parameter list & description
Keywords & Variables advanced-firewall
[bypass-stateful-firewall-config {add
<dest_host <ipaddress> | dest_network
<ipaddress> | source_host <ipaddress> | source_destination <ipaddress>> | del
<dest_host <ipaddress> | dest_network
<ipaddress>| source_host <ipaddress> | source_destination <ipaddress>>} | cr-traffic-nat {add (destination
<ipaddress> | interface Port <port name>
| snat <ipaddress>| netmask <netmask> )
| delete (destination <ipaddress>| interface Port <port name> | snat
<ipaddress>| netmask <netmask> ) } | icmp-error-message <allow | deny> | fragmented-traffic <allow | deny> | ftpbounce-prevention <control | data> | midstream-connection-pickup <on | off> | strict-icmp-error-tracking <on | off> | strict-policy <on | off> | tcp-appropriatebyte-count <on | off> | tcp-est-idle-timeout <2700 - 432000> | tcp-frto <on | off> | tcp-selectiveacknowledgement <on | off> | tcp-seqchecking <on | off> | tcp-timestamp <on | off> | tcp-window-scaling <on | off> | udptimeout-stream <30 - 3600> ]
Description
Configure advanced firewall setting bypass-stateful-firewall-config – Add host or network when the outbound and return traffic does not always traverse through Cyberoam. icmp-error-message - Allow or deny ICMP error packets describing problems such as network/host/port unreachable, destination network/host unknown and so on. fragmented-traffic - Allow or deny fragmented traffic. IP Fragmentation is the process of breaking down an IP datagram into smaller packets to be transmitted over different types of network media and then reassembling them at the other end. While Fragmentation is an integral part of the IP protocol, there are numerous ways in which attackers have used fragmentation to infiltrate and cause a denial of service to networks. ftpbounce-prevention - Prevent FTP Bounce attack on FTP control and data connection. An
FTP Bounce attack is when an attacker sends a
PORT command to an FTP server, specifying the IP Address of a third party instead of the attacker's own IP Address. The FTP server then sends data to the victim machine. midstream-connection-pickup - Configure midstream connection pickup settings. Enabling midstream pickup of TCP connections will help while plugging in the Cyberoam appliance as a bridge in a live network without any loss of service. It can also be used for handling network behavior due to peculiar network design and configuration. E.g. atypical routing configurations
Page 50 of 73
Cyberoam Console Guide leading to ICMP redirect messages. By default,
Cyberoam is configured to drop all untracked
(mid-stream session) TCP connections in both the deployment modes. strict-icmp-error-tracking - Allow or Drop ICMP reply packets. Setting this option ‘on’ drops all
ICMP reply packets. strict-policy on - Applies strict firewall policy. It drops UDP Dst Port 0, TCP Src Port 0 and/or
Dst Port 0, Land Attack, Winnuke Attack, Data
On TCP Sync, Zero IP Protocol, TTL Value 0 traffic. strict-policy off - Disables strict firewall policy tcp-appropriate-byte-count –
Appropriate Byte Count (ABC) settings.
Controls
ABC is a way of increasing congestion window
(cwnd) more slowly in response to partial acknowledgments. tcp-est-idle-timeout - Set Idle Timeout between
2700 - 432000 seconds for TCP connections in the established state tcp-frto Off – Disables Forward RTO-Recovery
(F-RTO). F-RTO is an enhanced recovery algorithm for TCP retransmission timeouts and it is particularly beneficial in wireless environments where packet loss is typically due to random radio interference rather than intermediate router congestion. F-RTO is sender-side only modification. Therefore it does not require any support from the peer. tcp-selective-acknowledgement Off – Disables selective acknowledgement. Using selective acknowledgments, the data receiver can inform the sender about all segments that have arrived successfully, so the sender need retransmit only the segments that have actually been lost. tcp-seq-checking –
Every TCP packet contains a Sequence Number
(SYN) and an Acknowledgement Number (ACK).
Cyberoam monitors SYN and ACK numbers within a certain window to ensure that the packet is indeed part of the session.
However, certain application and third party vendors use non-RFC methods to verify a
Page 51 of 73
arp-flux
[ on | off ]
Cyberoam Console Guide packet's validity or for some other reason a server may send packets in invalid sequence numbers and expect an acknowledgement. For this reason, Cyberoam offers the ability to disable this feature.
Default – ON tcp-timestamp Off – Disables timestamps.
Timestamp is an TCP option used to calculate the Round Trip Measurement in a better way than the retransmission timeout method. tcp-window-scaling Off – Disables window scaling. The TCP window scaling increase the
TCP receiving window size above its maximum value of 65,535 bytes. udp-timeout-stream - Set up UDP timeout value between 30 - 3600 seconds for established UDP connections.
Default - 60 Seconds
ARP flux occurs when multiple ethernet adaptors, often on a single machine, respond to an ARP query. Due to this, problem with the link layer address to IP Address mapping can occur.
Cyberoam may respond to ARP requests from both Ethernet interfaces. On the machine creating the ARP request, these multiple answers can cause confusion. ARP flux affects only when Cyberoam has multiple physical connections to the same medium or broadcast domain. on - Cyberoam may respond to ARP requests from both Ethernet interfaces when Cyberoam has multiple physical connections to the same medium or broadcast domain. off - Cyberoam responds to ARP requests from respective Ethernet interface when Cyberoam has multiple physical connections to the same medium or broadcast domain.
Page 52 of 73
Cyberoam Console Guide bandwidth
[ default-policy {guaranteed <number> burstable <number> priority <number> | graph} | guarantee {enforced | lenient} | max-limit <number>] | [allocationbehavior {normal | realtime} http_proxy [ add_via_header <on | off > | dos (add {connection <number> | method
(GET <number> | POST <number>) | delete { connection | method (GET |
POST ) } | host-entries (add {host-name <string> | delete {host-name<string>} ) | default-policy and guarantee allows to define the bandwidth restriction on the traffic on which the bandwidth policy is not applied while max-limit allows to define the link bandwidth.
•
To set the link bandwidth i.e. bandwidth provided by Service Provider and can be used as “ set bandwidth max-limit
<number>” and to view the configured limit, use the command “ show bandwidth maxlimit ”.
•
To enforce bandwidth restriction on the traffic on which the bandwidth policy is not applied so that guaranteed bandwidth is available to the users to whom the guaranteed bandwidth policy is applied, configure “ set bandwidth guarantee enforced” .
•
If guarantee is enforced, default bandwidth policy will be applicable to the traffic on which bandwidth policy is not applied. You can set the guaranteed and burstable bandwidth and priority on this traffic. This bandwidth is applicable on Internal (LAN and
DMZ) to External zone (WAN and VPN) traffic and External to Internal zone traffic.
Default Guaranteed bandwidth = 0 kbps,
Burstable bandwidth = max-limit, priority = 7
(lowest). Guaranteed and burstable bandwidth can be defined as “ set bandwidth default-policy guaranteed
<number> burstable <number> priority
<number>”
•
If you do not want to enforce the bandwidth restriction on the traffic on which the bandwidth policy is not applied, configure
“ set bandwidth guarantee lenient ”.
•
If you want to normally allocate the excess bandwidth after guaranteed bandwidth allocation, configure “set bandwidth allocationbehavior normal”.
•
If you want to allocate bandwidth for real time traffic having QoS policy with priority 0
(like VOIP), configure “set bandwidth allocationbehavior realtime”.
Set proxy parameters add via header - Default – ON dos – Configure number of HTTP requests per source IP or number of HTTP requests per TCP connection. Number of requests higher than the configured rate is considered as attack and the
Page 53 of 73
Cyberoam Console Guide
Configure/Modify ICAP Settings
1. Apply Modified Configuration
Command: set icap apply-change
2. Configure Request Mode IP
Address for ICAP Server
Command: set icap edit reqmod IPaddress <IP Address>
3. Configure Request Mode Port
Number for ICAP Server
Command: set icap edit reqmod port<Port Number>
4. Configure Request Mode Service
Name for ICAP Server
Command: set icap edit reqmod servicename <service name>
5. Reset Request Mode ICAP Server
Command: set icap edit reqmod reset
6. Configure Response Mode IP
Address for ICAP Server
Command: set icap edit respmod IPaddress <IP Address>
7. Configure Response Port Number for ICAP Server traffic from the said source is dropped. One can either configure allowed number of connections or for granular controls can configure allowed number of requests per Method – GET and PUT.
Applicable only when Cyberoam is deployed in
Transparent mode.
For applying the configuration modification executed using Edit commands of Request
Mode or Response Mode.
For configuring ICAP Server Request Mode IP
Address.
Example: set icap edit reqmod IP-address
192.168.1.2
For configuring ICAP Server Request Mode Port number. Any port number compatible with
Cyberoam and ICAP Server can be configured as Request Port.
Example: set icap edit reqmod port 1344
For configuring ICAP Server Request Mode
Service Name. Only those services that are offered and configured by ICAP Request Server
Administrator are accessible by Cyberoam.
Example: set icap edit reqmod service-name xyz
All Request Mode parameters, IP Address, port and service-name are reset to respective default value. By default, the value is none. The
Request Mode for the respective ICAP Server will be flushed.
For configuring ICAP Server Response Mode IP
Address.
Example: set icap edit respmod IP-address
192.168.1.2
For configuring ICAP Server Response Mode
Port number. Any port number compatible with
Page 54 of 73
Cyberoam Console Guide
Command: set icap edit respmod port<Port Number>
8. Configure Response Mode Service
Name for ICAP Server
Command: set icap edit respmod service-name <service name>
9. Reset Response Mode ICAP Server
Command: set icap edit respmod reset
10. Configure Inbound/Outbound
Content Body Limit
Command: set icap edit options body limit <Bytes>
11. Configure Number of Connections for ICAP Server
Command: set icap edit options connections <integer>
12. To Enable/Disable DLP Mode for
ICAP Server
Command: set icap edit options mode_dlp <on | off> ips
Set Network Interface Parameters network [interface-speed | mtu-mss | macaddr | lag-interface]
1. Set Interface Speed Settings network [interface-speed {port <port name> (1000fd | 1000hd | 100fd | 100hd |
Cyberoam and ICAP Server can be configured as Response Port.
Example: set icap edit respmod port 1344
For configuring ICAP Server Response Mode
Service Name. Only those services that are offered and configured by ICAP Response
Server Administrator are accessible by
Cyberoam.
Example: set icap edit respmod service-name xyz
All Response Mode parameters, IP Address, port and service-name are reset to respective default value. By default, the value is none. The
Response Mode for the respective ICAP Server shall be flushed.
To configure the inbound and outbound content body limit in bytes.
Example: set icap edit options body limit
10485760
To configure the number of connections supported by ICAP Server.
Example: set icap edit options connections 1
For switching on or switching off the DLP mode.
Note: ICAP is supported in CR50iNG and above only.
Configure IPS settings
Configure network interface parameters interface speed - Speed mismatch between
Cyberoam and third party routers and switches can result into errors or collisions on interface, no connection or traffic latency, slow performance. mss – Maximum Segment Size – It defines the
Page 55 of 73
Cyberoam Console Guide
10fd | 10hd | auto)}]
2. Set MTU-MSS network [mtu-mss {port <port name> mtu
<number | default> mss <number | default>}]
3. Set MAC Address network [macaddr {port <port name>
(default | override)}]
4. Set LAG Interface Proprties network [lag-interface {port <port name>
(lag-mgt | link-mgt)}]
Set LAG related properties
•
Set the LAG mode lag-mgt mode {802.3ad | activebackup}
•
Set properties for active-backup mode lag-mgt active-backup {primary interface (<interface name> | auto) failback-policy <link-speed | none | takeover>}
•
Set properties for LACP (802.3ad) mode lag-mgt lacp {lacp-rate <fast | slow> static-mode <disable | enable> xmit-hash-policy <layer2 | layer2+3 | layer3+4>}
Set Link related properties link-mgt {monitor-interval <1 – 10000>| up-delay <0 – 10000> | down-delay <0 –
10000> | garp-count <0 – 255>} amount of data that can be transmitted in a single TCP packet
Range – 576 – 1460 bytes mtu - Maximum Transmission Unit - It specifies the largest physical packet size, in bytes, that a network can transmit. This parameter becomes an issue when networks are interconnected and the networks have different MTU sizes. Any packets larger than the MTU value are divided
(fragmented) into smaller packets before being sent.
Default – 1500 bytes
MTU size is based on addressing mode of the interface.
Range – 576 – 1500 bytes for static mode
Range – 576 – 1500 bytes for DHCP mode
Range – 576 – 1492 bytes for PPPoE mode mcaddr – Configure MAC Address for the available network interfaces. lag-interface – Configure or edit LAG interface properties. lag-mgt – Configure the LAG mode and its properties. LAG supports two modes:
•
Active-Backup: Provides automatic link failover facility. In this a single slave remains active. If the active slave fails then other slave in the LAG becomes the active slave. failback-policy – Cyberoam decides failback interface based on 3 criteria:
1. link-speed: failback is done if speed of the failed active slave is greater than the current active slave interface.
2. takeover: failback is done, irrespective of the speed of rest of member interfaces.
3. none: failback is never done.
Note that ‘failback-policy’ is appliacable only when a LAG interface is configured using 3 or more member interfaces.
•
LACP (802.3ad): Provides load balancing and automatic failover. In this mode all the links are used for serving the traffic.
Page 56 of 73
Cyberoam Console Guide static-mode – You must enable static-mode if the terminating network device does not support LACP. link-mgt – Configure Link related properties for the LAG interface. monitor-interval – Set interval for monitoring link state, in milliseconds.Cyberoam will check link status of each participant interface, as per the configured monitor interval.
Range – 1 – 10000 up-delay – Set the time, in milliseconds, to wait before enabling a slave after a link recovery has been detected.
Range – 0 – 10000 down-delay – Set the time, in milliseconds, to wait before disabling a slave after a link failure has been detected.
Range – 0 – 10000 garp-count – Set number of garp packets to be sent to the terminating network device.
Range – 0 – 255
Note:
• garp-count is not supported in LACP
(802.3ad) mode., on-appliance-reports [on | off] proxy-arp [add [interface Port<port name> | dst_ip <ipaddress> | dst_iprange
(from_ip <ipaddress>] | to_ip
<ipaddress> ] | del | [interface Port<port number> | dst_ip <ipaddress> | dst_iprange
(from_ip <ipaddress>] | to_ip
<ipaddress> ] ] service-param [FTP {add | delete} | HTTP
{add | delete} | HTTPS
Generate on-appliance reports
Default – ON.
.
Add and delete proxy ARP
By default, Cyberoam inspects all inbound
HTTP, HTTPS, FTP, SMTP/S, POP and IMAP
Page 57 of 73
Cyberoam Console Guide
{deny_unknown_proto <on | off> | invalid_certificate <allow | block> } |
IMAP {add | delete} | IM_MSN {add | delete} | IM_YAHOO {add | delete} | POP
| SMTP {add | delete} | SMTPS {add (port
<port_value>) | delete
<port_value>) | invalid-certificate}] sslvpn [proxy-sslv3 <on | off> | webaccess <on | off>] vpn [l2tp {authentication (ANY | CHAP |
MS_CHAPv2 | PAP)} {mtu <number>} | pptp {authentication (ANY | CHAP |
MS_CHAPv2 encryption (NONE | SOME
| STRONG | WEAK)| PAP)]
(port traffic on the standard ports. “service-param” enables inspection of HTTP, HTTPS, FTP,
SMTP/S, POP, IMAP, IM – MSN and Yahoo traffic on non-standard ports also. add Port<port name > – enable inspection for a specified port number. delete Port<port name> - disable inspection for a specified port number. deny_unknown_proto - Allow/deny traffic not following HTTPS protocol i.e. invalid traffic through HTTPS port
Default – ON invalid_certificate - If you enable HTTPS or
SMTPS scanning, you need to import
Cyberoam_SSL_CA certificate in your browser for decryption of SSL traffic, otherwise your browser will always give a warning page when you try to access any secure site. “ Invalid
Certificate error” warning appears when the site is using an invalid SSL certificate. Cyberoam blocks all such sites. Use this command, if you want to allow access to such sites.
Note for SMTPS scanning:
CA certificate used by Cyberoam to sign certificate should be added in the certificate store of your Email client.
Enable/disable SSL V3 and web access mode support
Set authentication protocol for l2tp and pptp connections.
For l2tp, Maximum Transmission Unit (MTU) can be configured.
MTU range: 576 – 1460
Default: 1410 lanbypass [off | on] Enable/disable Lan Bypass report-disk-usage [watermark <number>] Set Watermark in percentage for the Report Disk usage. Watermark represents the allowed level up to which data can be written to the Report
Disk.
Watermark range: 60 – 85
Default – 80%
Page 58 of 73
Cyberoam Console Guide routing wan-load-balancing [weighted-roundrobin | session-persistent ] fqdn-host [{cache-ttl <number | default | dns-reply-ttl>}]
In case the Report Disk usage increases more than the set Watermark level, administrator is shown a warning message saying the Report
Disk usage is more than the set Watermark level.
In case the Report Disk usage increases more than 90%, no additional data will be allowed to be written to the Report Disk until the Report
Disk usage is reduced to the set Watermark level. weighted-round-robin
Each link is assigned a weight. Sophos Firewall distributes traffic among the links in proportion to the weight assigned to each.
Note: You can also choose the IP family for which the load balancing method is to be configured. Use ip-family as described below. session-persistent session-persistent {connection-based| destination-only | source-only | source-anddestination } connection-based - Considers a combination of source and destination IP addresses, protocol, and destination port. destination-only - Considers the destination IP address.source-only - Considers the source IP address (default). source-and-destination - Considers a combination of source and destination IP addresses.
Note: You can also choose IP family for which the load balancing method is to be configured.
Use ip-family as described below. ip-family{ ipv4 | ipv6 | all } ipv4 - Applies the load balancing method to IPv4 gateways. ipv6 - Applies the load balancing method to IPv6 gateways. all - Applies the load balancing method to IPv4 and IPv6 gateways.
Set cache- ttl value for FQDN Host. The cachettl value represents the time (in seconds) after which the cached FQDN Host to IP Address binding will be updated.
Page 59 of 73
Cyberoam Console Guide virtualhost [{failover mail-notification
(disable | enable)}] port-affinity [add {port <Port Name> cpu
<CPU Core>} | defsetup | del { port <Port
Name> } | fwonlysetup]
Range: 1 – 86400 seconds
Default – 3600 seconds dns-reply-ttl – use the ttl value in DNS reply packet as cache-ttl
Enable/disable mail notification for Virtual Host
Fail-over.
Configure Port Affinity settings. Administratir can manually assign/unassign a CPU Core to a particular Interface. All the network traffic for the
Interfaces will be handled by the assigned CPU
Cores.
By default, your appliance is shipped with the factory-default Port Affinity settings.
Note:
•
Port-affinity will be visible in CR 35iNG, CR
35wiNG, CR 50iNG, CR100iNG, CR 200i,
CR200iNG/XP, CR300i, CR300iNG/XP,
CR500ia/RP/1F/10F,
CR750ia/1F/10F,
CR500iNG-XP,
CR750iNG-XP,
CR1000ia/10F, CR1000iNG-XP,
CR1500ia/10F, CR1500iNG-XP, CR 2500iNG and CR2500iNG-XP appliances only.
•
CPU Cores can be assigned to the binded
Interfaces only.
•
Portaffinity is not supported with ‘Legacy
Network Adaptors’, when Cyberoam Virtual
Security appliance is deployed in Microsoft
Hyper-V.
ips
Configure IPS settings
Syntax ips [ enable_appsignatures | ips-instance | lowmem-settings | maxpkts | maxsesbytes-settings | packet-streaming]
Parameter list & description
Keywords & Parameters enable_appsignatures [on | off]
Description
Set enable appsignature ON or OFF on – Set enable appsignature ON
Page 60 of 73
Cyberoam Console Guide ips-instance [add | apply | clear] off – Set enable appsignature OFF
Manipulate number of IPS process instances created by init process add – Add IPS instance to the init list apply – Start IPS processes as given in the list clear – Clear IPS list for init process lowmem-settings [off | on | show ] Set whether low memory settings to be applied or not.
Low memory settings are applied in case of system having memory issues. show - Displays current status of low memory settings.
By default, it is off on – enable low memory settings off – disable low memory settings maxpkts [<number> | all | default] Set number of packets to be sent for Application
Classification number – any number above 8 all - pass all of the session packets for application classification default - pass first 8 packets of the session of each direction for application classification (total 16) maxsesbytes-settings [ update
<number>] maxsesbytes-settings allows you to set the maximum allowed size. Any file beyond the configured size is bypassed and not scanned.
Update – set the value for maximum bytes allowed per session packet-streaming [ on | off ] Set whether packet streaming is to be allowed or not. packet-streaming is used to restrict streaming of packets in situations where system is experiencing memory issues. on - Enables packet streaming. off - disable packet streaming.
Page 61 of 73
Cyberoam Console Guide
show
Displays various parameters configured
Syntax
Keywords & Variables advanced-firewall arp-flux bandwidth
View Country-Host listing and IP Address to
Country mapping
To enlist the countries country-host {list}
To map IP Address to its country country-host {ip2country ipaddress <IP Address>} date fqdn-host http_proxy icap ips-settings lanbypass network [ interface-speed
<interface> | interfaces | macaddr <interface> | mtu-mss <interface> ]
Description
Shows firewall configuration
1. Strict policy,
2. FtpBounce Prevention
3. TCP Conn. Establishment Idle Timeout
4. Fragmented Traffic Policy
5. Midstream Connection Pickup
6. TCP Seq Checking
7. TCP Window Scaling
8. TCP Appropriate Byte Count
9. TCP Selective Acknowledgements
10. TCP Forward RTO-Recovery[F-RTO]
11. TCP TIMESTAMPS
12. Strict ICMP Tracking
13. ICMP error message
Displays ARP – Flux status
Displays Bandwidth regulation
1. Command: show country-host list
To enlist all the countries for which the policies are configured.
2. Command: show country-host ip2country ipaddress
<IP Address>
Shows the name of country to which the given IP
Address belongs.
Shows system date and time
Shows fqdn-host status
Displayes information about HTTP Proxy
Displays the ICAP Server configurations
Shows IPS engine settings
Shows whether Lan bypass is on/off interface-speed – Shows current interface speed settings. interfaces – Shows all network interfaces configuration
Page 62 of 73
Cyberoam Console Guide on-appliance-reports macaddr – Shows original and overrided mac address of interface. mtu-mss – Shows mtu and mss of interface.
Shows whether On-Appliance reporting is On/Off pppoe [connection status] Shows all configured PPPoE connection status port-affinity proxy-arp
Displays network device to CPU mapping
Displays configured pProxy ARP on the interfaces
Reports disk usage configurations report-disk-usage routing balancing wan-loadservice-param sslvpn [ log | proxy-sslv3 | web-access ]
Displays the load balancing methods configured for the following:
•
IPv4 gateways
•
IPv6 gateways
Displays configured non-standard parameters of services
Displays SSL VPN settings log – Shows SSLVPN logs proxy-sslv3 – Shows whether https bookmark over access over
SSLv3 is enabled/disabled.
Web-access – Shows whether sslvpn web access servcice is enabled/disabled virtualhost [failover | mailnotification] vpn [connection | IPSeclogs | configuration |
PPTP-logs | L2TP-logs]
Displays mail notification status for virtual host failover/failback event
Displays VPN settings connection – Shows vpn connection status
IPSec-logs – Shows IPSec VPN logs configuration – Shows whether PPTP and L2TP is configured or not
PPTP-logs – Shows PPTP VPN logs
L2TP-logs – Shows L2TP logs
tcpdump
tcpdump prints out the headers of packets on a network interface that match the boolean expression. Only packets that match expression will be processed by tcpdump.
Syntax tcpdump [<text> | count | filedump | hex | interface | llh | no_time | quite | verbose ]
Parameter list & description
Page 63 of 73
Cyberoam Console Guide
Keywords & Variables
<text> count filedump hex interface llh no_time quite verbose
Description
Packet filter expression. Based on the specified filter, packets are dumped. If no expression is given, all packets are dumped else only packets for which expression is `true' are dumped.
The expression consists of one or more primitives. Primitives usually consist of an id (name or number) proceeded by one or more qualifiers. Refer to the below given table on writing filtering expressions.
Exit after receiving count packets
Tcpdump output can be generated based on criteria required.
Save tcpdump output in a binary file and can be downloaded from http://<cyberoam_interface_ip>/documents/tcpdump.pcap
File contains the troubleshooting information useful to analyze the traffic with advanced tool like ethereal for Cyberoam
Support team.
Print each packet (minus its link level header) in hexadecimal notation
Listen on <interface>
View packet contents with Ethernet or other layer 2 header information
Do not print a timestamp on each dump line
Print less protocol information so output lines are shorter.
Verbose output. For example, the time to live, identification, total length and options in an IP packet are printed. Also enables additional packet integrity checks such as verifying the
IP and ICMP header checksum.
How to view traffic of the specific host specific network specific network source specific destination network specific port tcpdump command tcpdump ’host <ipaddress>’ tcpdump ’net <network address>’ tcpdump address>’ tcpdump address>’
’src
’dst net net
<network
<network tcpdump ’port <port-number>’ specific source port tcpdu mp ’src port <port-number>’ specific destination port specific host for the particular port the specific host for all the ports except tcpdump ’dst port <port-number>’ tcpdump ‘host <ipaddress> and port
<portnumber>’ tcpdump ‘host <ipaddress> and port not <portnumber>’
Example tcpdump ‘host 10.10.10.1’ tcpdump ‘net 10.10.10.0’ tcpdump ‘src net 10.10.10.0’ tcpdump ‘dst net 10.10.10.0’ tcpdump ‘port 21’ tcpdump ‘src port 21’ tcpdump ‘dst port 21’ tcpdump ‘host 10.10.10.1 and port 2 1’ tcpdump ‘host 10.10.10.1 and port not 22’
Page 64 of 73
Cyberoam Console Guide
SSH specific protocol tcpdump ’proto ICMP’ tcpdump ’proto UDP’ tcpdump ’proto TCP’ tcpdump ‘arp’ paritcular interface tcpdump interface <interface> specific port of a particular interface tcpdump interface <interface> ‘Port
<portnumber>’ tcpdump interface PortA tcpdump interface PortA ‘port 21’
Note:
Expression can be combined using logical operators AND or OR and with NOT also. Make sure to use different combinations within single quotes.
telnet
Use telnet protocol to connect to another remote computer.
Syntax telnet [<ipaddress>]
Parameter list & description
Keywords & Variables ipaddress
{ <port number> }
Description official name, an alias, or the Internet address of a remote host
Port - indicates a port number (address of an application).
If a number is not specified, the default telnet port is used.
telnet6
Use telnet protocol to connect to another remote computer.
Syntax telnet6 [<ipaddress6>]
Parameter list & description
Page 65 of 73
Cyberoam Console Guide
Keywords & Variables ipaddress6
{ <port number> }
Description official name, an alias, or the Internet address of a remote host
Port - indicates a port number (address of an application).
If a number is not specified, the default telnet port is used.
Partition Reset support
File System Integrity check verifies all the partitions for corruption. Check is enabled automatically when the appliance goes in failsafe mode.
It is required to flush the partitions if appliance comes up in failsafe mode even after the integrity check.
RESET command is extended to include commands to flush partitions. With these commands, administrator can reset the config, signature and report partition. Entire data will be lost, as the partition will be flushed.
Integrity check repairs the partition while resetting partition removes entire data from the partition.
Command Usage:
When you type RESET at the Serial Console Password prompt, menu with 3 options is provided:
1. Reset configuration
2. Reset configuration and signatures
3. Reset configuration, signatures and reports
Page 66 of 73
Télécharger
Publicité