Setting TCP


Some parameters may be needed to set before using TCP. On SSL, SSH, TELNET or web socket communication, especially, SSL setting is required before connection by set command of pid_ioctl function.

pid_ioctl($pid, "set ITEM VALUE");

ITEM means setting items and VALUE is possible value of the item.

Available TCP Items

ITEM VALUE Description
nodelay 0 Enable Nagle algorithm
1 Disable Nagle algorithm
api ssl Use SSL
tls Use SSL
※ available on F/W 1.5.0 or later
ssh Use SSH server
telnet Use TELNET server
ws Use Web Socket server
ssl method client SSL client (version: automatic)
※ available on F/W 1.3.1 or later
server SSL server (version: automatic)
※ available on F/W 1.3.1 or later
tls1_client SSL client (TLS 1.0)
tls1_server SSL server (TLS 1.0)
ssh auth accept Accept SSH authorization
reject Reject SSH authorization
ws path PATH Set path of web socket URI
mode 0 Set data type of web socket: text
1 Set data type of web socket: binary
proto PROTOCOL Set protocol of web socket
origin ADDR Specify a host to allow connection

※ Note : It is recommended to set "ssl method" to "client" or "server".(required to use F/W 1.3.1 or later)

※ Note : Both "ssl3_client" and "ssl3_server" commands on "ssl method" is no more supported on F/W 1.5.0 or later.

※ Caution : TCP Nagle Algorithm is to improve effective data transmission by reducing the number of segments. Thus, it may accompany a little delay.

※ Caution : Only TCP 0 to 3 are available for setting SSL and SSH. In addition, it is not possible to set the TCP id to another api mode before product reboots.