Skip to content
ates edited this page Feb 13, 2011 · 13 revisions

Netspire modules

  1. mod_pap - PAP protocol implementation
  2. mod_chap - CHAP protocol implementation
  3. mod_digest - Digest protocol implementation
  4. mod_mschap_v2 - Microsoft CHAP version 2 protocol implementation
  5. mod_ippool - Implementation of pool of IP addresses
  6. mod_rpc - interface to execute commands on the server side
  7. mod_iptraffic - module for serving the VPN customers
  8. mod_postgresql - PostgreSQL driver for Netspire
  9. mod_disconnect_script - module for disconnecting clients with the executing external program
  10. mod_disconnect_pod - module for terminating client's sessions by sending Radius disconnect message to the NAS

mod_mschap_v2

Microsoft Challenge Handshake Authentication Protocol version 2 (MS-CHAP v2) that provides stronger security for the remote access connections.

Configuration and options

This should be added to the modules section of the netspire.conf: {mod_mschap_v2, [{use_mppe, no}, {require_encryption, yes}, {require_strong, yes}]}

  • use_mppe = yes | no

Enable or disable generation of the additional Radius attributes in Accept-Response packet which adds the support of the MPPE encryption.

  • require_encryption = yes | no

Setup the MS-MPPE-Encryption-Policy attribute in the appropiate value to signify whether the use of encryption is allowed or required.

  • require_strong = yes | no

Signify the types of the encryption available for the use of MPPE, 40-bit key or 128-bit key.

mod_ippool

It's used to manage the pools of the IP addresses. Could allocate the pools, lease, renew and release of the IP addresses.

Configuration and options

This should be added to the modules section of the netspire.conf: {mod_ippool, [ {allocate, true}, {default, main}, {timeout, 180}, {pools, [ {main, ["10.10.1.0/24", "192.168.1.0/255.255.252.0"]} ]} ]}

  • allocate = true | false

Reset the pool on every application start

  • default = name()

Default pool name will be used if Netspire-Framed-Pool RADIUS reply is missing

  • timeout = integer()

Configure the life time of the leased IP address. IP address will be released after timeout value. The value should be specified in seconds.

Be aware that timeout value has to be 2-3 seconds more than the session_timeout parameter in mod_iptraffic

  • The pools section is used to describe the IP pools and their IP ranges.

mod_disconnect_script

Disconnect the client by the executing external program

Configuration and options

This should be added to the modules section of the netspire.conf:

     {mod_disconnect_script, [{disconnect_script, "/full/path/to/script"}]}
  • disconnect_script = string()

Specify the full path to the program which needs to be executed.

mod_disconnect_pod

Terminate the client's session by sending Radius Disconnect-Message (rfc3576) to the NAS

Configuration and options

This should be added to the modules section of the netspire.conf:

     {mod_disconnect_pod, []}
Clone this wiki locally