Variables of Global Configurations(Variable)

Revision as of 16:27, 15 June 2021 by Shin (talk | contribs) (→‎mysql_tls)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

It is the variables that are using in the imRAD services. If the Dynamic is yes, the service applies it in a few seconds. In other words, you don't need to restart the service after configuring variables. If the Dynamic is no, you must restart the service after configuring it.

check_reserv_ip_at_renew
  • Description: If you set it to "yes", If the DHCP service receives a RENEW and an IP address exists that is not same to the request IP address in the RENEW message, the DHCP service responds with NAK(DHCPv4) or replies with "NoBinding" error to assign the reserved IP address to have a client is assigned the reserved IP address. If an administrator reserves a different IP address for the same host after the host was assigned an IP address, this case may occur.
  • Target Service: dhcpv4, dhcpv6
  • How to configure: CLI - Services(daemons)
  • Range: yes | no
  • Default Value: no
  • Data Type: string
  • Dynamic: yes
dhcpv4_dbpool
  • Description: It is the number of database pools. we recommend the default because the service increases the size if necessary.
  • Target Service: dhcpv4
  • How to configure: CLI - Services(daemons)
  • Range: 1 or more
  • Default Value: 2
  • Data Type: numeric
  • Dynamic: no
dhcpv4_decline_age
  • Description: It is the time in seconds to change the status from "decline" to "avail" of the declined IP addresses.
  • Target Service: dhcpv4
  • How to configure: CLI - Services(daemons)
  • Range: 300 ~ 7200
  • Default Value: 1200
  • Data Type: numeric
  • Dynamic: yes
dhcpv4_expire_check_intv
  • Description: It is the interval in seconds to check the lease expiration.
  • Target Service: dhcpv4
  • How to configure: CLI - Services(daemons)
  • Range: 30 ~ 600
  • Default Value: 600
  • Data Type: numeric
  • Dynamic: yes
dhcpv4_socket_rcvbuf
  • Description: It is the receiving buffer size of the socket.
  • Target Service: dhcpv4
  • How to configure: CLI - Services(daemons)
  • Default Value: 200k
  • Data Type: numeric
  • Dynamic: no
dhcpv4_socket_sndbuf
  • Description: It is the sending buffer size of the socket.
  • Target Service: dhcpv4
  • How to configure: CLI - Services(daemons)
  • Default Value: 200k
  • Data Type: numeric
  • Dynamic: no
dhcpv6_dbpool
  • Description: It is the number of database pools. we recommend the default because the service increases the size if necessary.
  • Target Service: dhcpv6
  • How to configure: CLI - Services(daemons)
  • Range: 1 or more
  • Default Value: 2
  • Data Type: numeric
  • Dynamic: no
dhcpv6_decline_age
  • Description: It is the time in seconds to change the status from "decline" to "avail" of the declined IP addresses.
  • Target Service: dhcpv6
  • How to configure: CLI - Services(daemons)
  • Range: 300 ~ 7200
  • Default Value: 1200
  • Data Type: numeric
  • Dynamic: yes
dhcpv6_expire_check_intv
  • Description: It is the interval in seconds to check the lease expiration.
  • Target Service: dhcpv6
  • How to configure: CLI - Services(daemons)
  • Range: 30 ~ 600
  • Default Value: 600
  • Data Type: numeric
  • Dynamic: yes
dhcpv6_socket_rcvbuf
  • Description: It is the receiving buffer size of the socket.
  • Target Service: dhcpv6
  • How to configure: CLI - Services(daemons)
  • Default Value: 200k
  • Data Type: numeric
  • Dynamic: no
dhcpv6_socket_sndbuf
  • Description: It is the sending buffer size of the socket.
  • Target Service: dhcpv6
  • How to configure: CLI - Services(daemons)
  • Default Value: 200k
  • Data Type: numeric
  • Dynamic: no
entid_from_hostname
  • Description: If you set it to "yes", the service reads the enterprise code from the hostname in the DHCP request. It MAY cause a little slow down the performance of the DHCP service.
  • Target Service: dhcpv4, dhcpv6
  • How to configure: CLI - Services(daemons)
  • Range: yes | no
  • Default Value: no
  • Data Type: string
  • Dynamic: yes

Note that the enterprise codes that can read in the DHCPv4 service are either "Samsung", "Apple", or "Microsoft".

from_encoding
  • Description: It is used to convert the hostname of dhcpv4 clients that have multibyte characters to utf8.
  • Target Service: dhcpv4
  • How to configure: CLI - Services(daemons)
  • Range: The encode name(e.g. euc-jp)
  • Default Value: euc-kr
  • Data Type: string
  • Dynamic: No

If there are multiple clients that have set their hostname including multibyte characters, and they use operating systems with different characters set each other, only the hostnames encoded to the "from_encoding" may be converted to utf8.

logexp_dbpool
  • Description: It is the number of database pools. we recommend the default because the service increases the size if necessary.
  • Target Service: logexp
  • How to configure: CLI - Services(daemons)
  • Range: 1 or more
  • Default Value: 3
  • Data Type: numeric
  • Dynamic: no
lsyslog_priority
  • Description: It is the highest syslog priority to read. The lsyslog is the logs that were generated by the imRAD services.
  • Target Service: logexp
  • How to configure: CLI - Services(daemons)
  • Range: 1 ~ 6
  • Default Value: 5
  • Data Type: numeric
  • Dynamic: Yes
mysql_tls
  • Description: If you set it to "yes", All applications except for "radiusd" connect to the database using TLS.

You can configure database TLS connection of "radius" from the management interface(RADIUS> Settings> General> RADIUS Database Configuration).

  • Target Service: dhcpv4, dhcpv6
  • How to configure: CLI - Database
  • Range: yes | no
  • Default Value: no
  • Data Type: string
  • Dynamic: no
postdhcp_success
  • Description: If you set it to "yes", it saves all results after response but we recommend that only saving the errored results(default) is better because all results can cause a huge number of logs.
  • Target Service: dhcpv4, dhcpv6
  • How to configure: CLI - Services(daemons)
  • Range: yes | no
  • Default Value: no
  • Data Type: string
  • Dynamic: yes
syslog_priority
  • Description: It is the highest syslog priority to read.
  • Target Service: logexp
  • How to configure: CLI - Services(daemons)
  • Range: 1 ~ 6
  • Default Value: 5
  • Data Type: numeric
  • Dynamic: Yes