Roamserver 5.1 For Unix Administrator'S Guide
Roamserver 5.1 For Unix Administrator'S Guide
Roamserver 5.1 For Unix Administrator'S Guide
Corporate Headquarters
iPass Inc.
3800 Bridge Parkway
Redwood Shores, CA 94065 USA
www.ipass.com
+1 650-232-4100
+1 650-232-0227 fx
TABLE OF CONTENTS
Introduction 5
System Requirements ..............................................................................................................................5
Server Requirements........................................................................................................................5
Additional Requirements ..................................................................................................................5
Preferences ......................................................................................................................................5
Supported Platforms.........................................................................................................................5
Default Port.......................................................................................................................................6
Installation 7
Requirements............................................................................................................................................7
Process .....................................................................................................................................................7
Installing Behind a Firewall .......................................................................................................................7
Downloading .............................................................................................................................................8
Installing the Software ..............................................................................................................................8
Upgrading to RoamServer 5.1 ..................................................................................................................8
Running the Migration Tool ..............................................................................................................9
RADIUS Attributes ............................................................................................................................9
Setup 10
Setting Values in ipassRS.properties.............................................................................................10
Running ipassconfig.csh .................................................................................................................10
Adding, Editing or Deleting Properties ...........................................................................................10
Initial RoamServer Configuration............................................................................................................11
Certification.....................................................................................................................................12
Verification ......................................................................................................................................12
Testing ....................................................................................................................................................13
Test 1: checkipass ..........................................................................................................................13
Test 2: RoamServer Test Tool .......................................................................................................14
Test 3: Connectivity Test using iPassConnect ...............................................................................15
Authentication Servers 16
Unix and SITE Authentication.................................................................................................................16
Accounting Servers 20
Accounting Log File Configuration..........................................................................................................20
Local Accounting ....................................................................................................................................20
Remote Accounting (RADIUS and TACACS+ users).............................................................................20
Running RoamServer 21
Runtime Commands ...............................................................................................................................21
rs_command ..........................................................................................................................................21
ipassRS.properties 22
Property Help ..........................................................................................................................................22
Property Glossary ...................................................................................................................................22
Configuration Options 27
Policy File................................................................................................................................................27
Failover ...................................................................................................................................................28
Trace Log File Configuration ..................................................................................................................29
Ascend Data Filters for Non-VPN Access ..............................................................................................30
Log File Deletion.....................................................................................................................................31
Routing by Realm ...................................................................................................................................31
ipassLDAP.properties 32
User-Configurable Options .....................................................................................................................32
Suggested Configuration ........................................................................................................................33
Using Active Directory ............................................................................................................................34
LDAP Authentication and RoamServer ..................................................................................................40
Warranty
No part of this document may be reproduced, disclosed, electronically distributed, or used without the prior consent of the copyright
holder.
Use of the software and documentation is governed by the terms and conditions of the iPass Corporate Remote Access Agreement, or
Channel Partner Reseller Agreement.
Every effort has been made to use fictional companies and locations in this manual. Any actual company names or locations are strictly
coincidental and do not constitute endorsement.
Introduction
The RoamServer 5.1 for Unix Administrator Guide provides systematic instructions for installation of
RoamServer 5.1 for Unix. It also includes instructions on how to configure RoamServer to use Unix, Site,
RADIUS, LDAP or TACACS+ as an authentication protocol.
You should read this guide all the way through before attempting to install, upgrade, or configure
RoamServer.
For the latest information on RoamServer 5.1, check the RoamServer 5.1 Release Notes, available on
the iPass Portal.
<RS_Home>
These instructions sometimes refer to a directory called <RS_Home>. This is the directory where
RoamServer is installed; the default for RoamServer 5.1 is usr/ipass/roamserver/5.1.0.
System Requirements
Server Requirements
110 MB temporary disk space
70 MB permanent disk space
Root access is required for installation
Server must have a static IP address (no DHCP)
If installed behind a firewall, an accessible NAT IP address
Installer must have administrative permissions on the host
Additional Requirements
Connectivity to an authentication database
If placed behind a firewall, the firewall must not block inbound connections to TCP port 577. The
firewall must not block outbound connections to the iPass Transaction Centers. See page 7 for
more details.
Preferences
The following are not required, although strongly preferred:
Connectivity: The RoamServer host should have connectivity to an SMTP mail server to send
your certificate, and connectivity to an accounting server to allow accounting logs to be written to
an alternate location.
Supported Platforms
RoamServer 5.1 has been successfully tested on the following platforms:
Solaris 8 and 9 (SPARC architecture processor)
o Solaris 8 users need the Solaris SPARC OS Patches required for the Java 2 Standard
Edition (J2SE) 1.5 from http://sunsolve.sun.com .(If the web page has moved, try
http://java.sun.com/ to find the download page.)
Linux Kernel 2.4.21 (Red Hat ES 3.0)
Linux Kernel 2.6.5 (SuSE 9.1)
Default Port
The default RoamServer port is 577 and should always be used when configuring RoamServer.
Installation
Requirements
Before installing RoamServer 5.1, you will need the following:
Administrator rights on the RoamServer host.
Your iPass Customer ID.
Your host's private and public IP addresses.
The port number on which RoamServer will listen (defaults to 577)
The host's operating system, including kernel and version number
Process
The installation process consists of the following steps:
1. Download the installation file.
2. Install the software.
3. Set initial configuration and certify the RoamServer.
4. Configure RoamServer to communicate with your authentication servers, and if desired,
accounting servers.
5. Set any advanced options, such as:
a. Policy File
b. Secondary Servers for Failover
c. Log Files
6. Set additional properties in the ipassRS.properties file, if necessary.
7. Test the installation.
However, you may be asked to open the port to other IPs as the iPass network continues to grow. The
most current list of IP addresses is posted on the iPass portal.
You should also open your corporate firewall to allow LAN users access to the following servers, so users
can perform iPass software updates:
pb1.ipass.com
pb2.ipass.com
sqm.ipass.com
did01.ipass.com
did02.ipass.com
If your firewall is performing Network Address Translation (NAT), you will need to provide the IP address
of your firewall to your iPass Installation Engineer.
Downloading
Before installing, you will need to download the installation file from the iPass FTP site.
From RoamServer 3.x: If you've upgraded to RoamServer 5.1 from RoamServer 3.x, migration of your
previous settings will be handled automatically by the RoamServer migration tool during installation.
However, you will need to perform these additional steps before starting the application.
1. In the /etc/services directory you will need to comment out the statement regarding RoamServer
services: vnas 577/tcp # iPass VNAS Service
2. In the inetd.conf file comment out the following:
vnas stream tcp nowait root /usr/ipass/bin/vnas vnas -c /usr/ipass/ipass.gpld -d -t
/usr/ipass/logs/ipass-gpld.trace
RADIUS Attributes
When upgrading to RoamServer 5.x and using RADIUS authentication, check your RADIUS logs to verify
your RFC attributes. If an attribute is not shown in the tables in Appendix II on page 47, then you need to
re-configure your RADIUS to eliminate the attribute.
Setup
Before first running RoamServer, you must perform some initial setup tasks and receive a digital
certificate from iPass.
Running ipassconfig.csh
Configuration tasks can be performed quickly and easily by running a script called ipassconfig.csh,
located in the <RS_Home>/bin directory, which can be used to set properties in the ipassRS.properties
file.
To run ipassconfig.csh:
1. In your <RS_Home>/bin directory, type ipassconfig.csh.
2. The script requests important configuration information. Enter the requested information as
needed.
3. The values in square brackets [ ] are default values. To enter a default value, press ENTER.
Multiple instances of ipassconfig.csh are not recommended. You should only run a single instance of
the script at any one time, as simultaneous instances can overwrite each other's results.
Processing
The script will then describe any errors that may have occurred during installation and generate a
certificate request, as follows:
A copy of the certificate is saved as <RS_Home>/certs/mail_cert_req.data.
If SMTP services are available on this server, mail it to cert-request@ipass.com as an
attachment.
If SMTP services are not available on this server, the preferred method of certificate request
exchange is in real time with an iPass technician using FTP. Contact your iPass installation
engineer to arrange this exchange.
Certification
Upon successful completion of the certificate request generation script, iPass will process your request
and generate a certificate for RoamServer, which will be valid for 10 years. The x509 certificate will allow
SSL 128-bit encrypted communication between the iPass transaction server and RoamServer.
Certification may take from 1 hour to 2 days. If you need the certificate immediately, please contact
iPass Technical Support.
Once your certificate request is processed, iPass will send the certificate file back to you, either via e-mail
or FTP. You will need to save the information in this file, without alteration, as a file named isp_cert.pem
in the <RS_Home>/certs/ directory.
If you are cutting and pasting the file from an e-mail, be sure to include the header and footer of the
certificate string as shown in the example certificate shown here.
Verification
You have now completed the basic installation process, and are almost ready to begin testing. Before you
begin, you will need to verify and configure the main configuration file for RoamServer, named
<RS_Home>/ipassRS.properties. This can be opened in a text editor. Examine this file and verify that
all values have been entered correctly. See page 22 for more information on ipassRS.properties.
Automatic Restarts
Finally, you must configure RoamServer to automatically restart, in case the RoamServer host cycles
power or reboots. You can do this one of two ways: manually, or, if your system is at runlevel 3, by a
script.
Testing
There are three tests that should be performed following every installation and configuration of
RoamServer to ensure proper functioning:
Running the checkipass tool
Running the RoamServer Test Tool
Testing with iPassConnect
When testing RoamServer, it is recommended that you perform all of these tests in the order that they
are presented here. Depending on the complexity of your system, it may take less or more
troubleshooting to confirm that all is working properly.
Test 1: checkipass
The checkipass test is a simulated request from RoamServer to the AAA server, which stays local to
your network. To test RoamServer using the checkipass test, you will need to run the checkipass test
program as an administrator.
This test simply verifies that RoamServer can authenticate a local user by communicating with the AAA
server. This procedure only tests RoamServer. No realm should be attached to the user name unless it is
required by your AAA. The authentication request goes from the checkipass test to RoamServer, then to
the AAA server for authentication, and finally back to RoamServer and checkipass program.
checkipass is found in the test subdirectory of your iPass directory. You will need to use a valid user
name and password for the host on which RoamServer is installed.
To run checkipass,
1. Run ./checkipass [options] -u <username>
2. Enter the password when prompted.
Authentication Servers
This section discusses configuring RoamServer to communicate with your authentication servers. These
instructions assume that you are installing RoamServer behind your firewall or on the same host as your
AAA server. If you are installing RoamServer in front of your firewall (or even on the firewall server), you
may need to modify some of these settings. Consult with your iPass RoamServer Installation Engineer for
assistance.
RADIUS Authentication
RoamServer can forward authentication requests and accounting packets to a RADIUS server running on
the network. RoamServer will format the request as a standard RADIUS request and forward it to the
RADIUS daemon at the address and port number specified during the installation. You must know the IP
address and port number that will be used to reach your RADIUS server.
Additionally, you must make the RADIUS encryption key (shared secret) available to RoamServer.
RoamServer uses this shared secret to encrypt the RADIUS packet contents before sending them to the
RADIUS server. The RADIUS server then uses the shared secret to decrypt the packet contents. (A
shared secret cannot contain the comma (,) or equals sign (=) characters.)
Your system must have a static, routable IP address, and cannot be blocked by a firewall.
2. Verify that RoamServer is entered as a client of your RADIUS. You will need to edit the
appropriate configuration file on your RADIUS server by adding the IP address of the
RoamServer, and the corresponding shared secret, that you entered above.
3. If you make any changes to your RADIUS, you will have to restart it to make sure the changes
take effect.
4. Restart RoamServer. RoamServer will now be able to authenticate against your RADIUS Server.
RoamServer can contain the IP address of more than one authentication or accounting Server for failover
purposes. For more information, see Failover on page 28.
LDAP Authentication
RoamServer can forward authentication requests to an LDAP server running on the network.
RoamServer will format the request as a standard LDAP request and forward it to the LDAP daemon at
the address and port number that is specified during the installation. You must know the IP address and
port number that will be used to reach your LDAP server. Additionally, you must configure/customize how
RoamServer will perform authentication at the LDAP server. LDAP-specific configuration is set in a file
called ipassLDAP.properties. For more information, refer to ipassLDAP.properties on page 32, and
the ipassLDAP.properties.example file included in the RoamServer package.
Secure LDAP
RoamServer can support LDAP over SSL connections. Server-side authentication is performed in the
SSL handshake. If enabled, RoamServer will only require a list of certification authority (CA) certificates
for validating the LDAP server. SSL is commonly done over port 636.
To list all certificates, run list_CA_certificates.
By default, most secure LDAP servers allow client authentication in the SSL handshake but do not require
it. To perform only server authentication, RoamServer must have the CA certificate loaded.
4. Have the certificate request in file ipassrs_cert_req signed by your LDAP server’s Certificate
Authority.
5. Receive the certificate and store it in a file called new_ipassrs_cert in the <RS_Home>\bin
folder.
If the file you are importing is a certificate chain, the –trustcacerts option is not needed.
TACACS+ Authentication
RoamServer can forward authentication requests to a TACACS+ server running on the network.
RoamServer will format the request as a standard TACACS+ request and forward it to the TACACS+
daemon at the address and port number that is configured during the installation. You must know the IP
address and port number that will be used to reach your TACACS+ server. Additionally, you must make
the TACACS+ shared secret available to RoamServer. The shared secret is configured in the TACACS+
configuration file called tac_plus.conf. RoamServer uses this shared secret to encrypt the TACACS+
packet contents before sending them to the TACACS+ server. The TACACS+ server then uses the
shared secret to decrypt the packet contents. Refer to your TACACS+ documentation for more
information on the tac_plus.conf file and shared secret. The TACACS+ server can be located anywhere
with a routable, static IP address, including on the same host as the RoamServer.
If the TACACS+ server is running on an alternative host on your network (that is, not on the server
running RoamServer), you will need to install a copy of the tac_plus.conf file on that server or on a
network-addressable drive available to that server. You will also need to configure this file location in the
RoamServer setup.
Accounting Servers
Accounting Log File Configuration
RoamServer can be configured to write accounting information to a log file. The log file rotation and
backup process can be customized to suit your networking environment and business needs. Depending
on the type of AAA used, RoamServer can use either local accounting logging or remote accounting
logging.
Local Accounting
For authentication protocols that do not have a built-in remote accounting server (that is, Unix, SITE and
LDAP), RoamServer can be configured to keep detailed local accounting records at a location specified
by the user. For authentication protocols which have a remote server capable of handling accounting
transactions (that is, RADIUS, TACACS+), RoamServer can forward the accounting record to the remote
server for logging.
If the files are not needed, they can be deleted and remote accounting can be turned off.
To resend the data, run the script resendacct.csh. This forwards the failedAcct file to the AAA
server and then deletes the file.
This task can be automated by adding it to the crontab:
1. Use crontab -e to edit the crontab file and add the line: 0 3 * * * cd
/usr/ipass/roamserver/bin; ./resendacct.csh
2. View the crontab file using crontab -l
Running RoamServer
This section discusses procedures for operating RoamServer.
Runtime Commands
The RoamServer process is named ipassrs.
Starting RoamServer
To start RoamServer: in the <RS_Home>/bin directory, run: roamserverd start
Some systems will shut down all processes started by a user when that user logs off. If this is the case,
run: nohup roamserverd stop
rs_command
You can also perform many runtime functions by using the tool rs_command, in the <RS_Home>/bin
directory.
Usage: rs_command <command options>
Command Options
-host <IP address> Specifies the IP address of the machine to send the command to.
-port <port number> Specifies the server port number to send the command to. Default is
the local server's listener port (577).
-shutdown The server will shutdown.
-restart The server will restart.
-software_update The server will do a software update.
-reload_config Causes the server to reload many (but not all) of the properties from
the ipassRS.properties file. These are:
AutoUpdate flag, used to enable/disable automatic software update.
AAA Servers ( AuthServer and AcctServer properties)
Policy Rules, if feature is enabled.
Log Rotation parameters.
DebugLevel of server.
For a complete reload, you should use the -restart switch.
-dump_queue The server will dump the queue elements to a file.
-get <filename> -host <IP address> -port Get a file from a remote RoamServer.
<port number> Use filename ipassRS.properties to get the RoamServer
properties file.
Use filename RS.trace to get the RoamServer trace file.
Optionally, use any valid filename relative to the RoamServer home
directory.
-post <Name=value;Name1=value1> -host To post configuration changes on a remote host. where Name=Value
<IP address> -port <port number> pairs are the properties settings separated by a semicolon. (;)
<IP address> is the IP address of the remote host,
<port number> is the port number of the remote host.
-post_file <file> -host <IP address> - To post configuration changes on a remote host, where <file>
port <port number> contains the configuration changes to be uploaded to RoamServer,
<IP address> is the IP address of the remote host,
<port number> is the port number of the remote host.
-version Print the server version.
ipassRS.properties
The ipassRS.properties file allows customization of RoamServer features. By setting properties in the
file, you can enable important RoamServer functions. Enabling some features may involve setting more
than one property.
Property names are case-sensitive, but property values are not. Valid values for Boolean properties are:
true, false, yes, no, y, n.
Property Help
You can obtain help on any property, including those listed here, by using a tool called config_help.csh,
found in your <RS_Home>/bin directory.
To list all server properties: config_help.csh -listall
Property Glossary
This glossary defines all properties found in ipassRS.properties, including configurable parameters for
each property.
Property Description
AcctLogBackupType AcctLogBackupType=<backupType>
where <backupType> is either MultipleWithTimestamp or SingleBackup. The default is
MultipleWithTimestamp.
AcctLogBackupType sets the accounting log's backup file name when rotation is to be performed on
local accounting files.
AcctLogRotationDays AcctLogRotationDays=<days>
Valid range is: 1 to 30 days. The default is 7 days.
AcctLogRotationDays control how often the local accounting file is rotated.
AcctLogRotationMaxSize AcctLogRotationMaxSize=<max size>
Minimum value is 100 kbytes. Maximum value is 20000 kbytes. The default is 10000 kbytes.
AcctLogRotationMaxSize limits how large (in kbytes) the local accounting file can get before it is
rotated.
AcctLogRotationType AcctLogRotationType=<rotationType>
Where <rotationType> is either FileSize or NumberOfDays.The default is FileSize.
AcctLogRotationType sets the type of rotation to be performed on the local accounting files.
AcctServer Provides accounting server information, for example
AcctServer1=name11=value11,name12=value12,name13=value13.....
AcctServer2=name21=value21,name22=value22,name23=value23.....
AcctServer parameters:
Protocol: The server's protocol. Values can be: NT/Radius/LDAP/TACACS
EnableSsl: Flag used to enable/disable SSL connections to the LDAP servers. It is ignored when
used for other Acct servers.
IpAddress: The server's IP address.
Port: The server's port number.
LocalIpAddress: The Local IP address to bind the socket to. (Optional and Only for RADIUS)
Attempts: The number of attempts made to communicate with a server.
IdleTimeout: Timeout (in milliseconds) to wait for a response from a server for a given
communication attempt.
SharedSecret: The shared secret used by a RADIUS/TACACS+ server.
IncludeDomain: Include the user's domain in the request sent to the server.
IncludeDomainAsWinPrefix: Include the user's domain, as Windows style prefix,in the request
sent to the server. For example, user@ntdomain would become ntdomain\user
IncludePrefix: Include the user's routing prefix in the request sent to the server.
IncludeNasPortType: Include the NAS-Port-Type in the request sent to the RADIUS AAA server.
StripRealm: Specifies a realm suffix to strip away from the user's domain. For example, with
StripRealm=example.com and IncludeDomain enabled, the login of
Property Description
user@ntdomain.example.com would become user@ntdomain
NTDomain: The NT domain used to authenticate window users.
NTRasMode: The NT RAS mode to use. 1=WINNT RAS mode, 0=WINNT.
SiteFile: The file used in Site (Unix Shadow file) authentication
LdapConfigFile: The file used to load LDAP specific properties for an LDAP server.
ValidateAuthenticator: Specifies in the RADIUS Authenticator should be validated. Values are
YES or NO. Default is YES.
ProtocolVersion: Used by the TACACS+ server to specify the Minor Version.Values are 1 or 0.
Default is 1.
EnableLocalAcct: Used by an AcctFile server to enable/disable local accounting. Values are YES
or NO. Default is NO.
RetryDelay: The time delay, in minutes, before retrying a server that recently failed a connection
request. When a connection fails to a server, it is reordered to the end of the list. Once the
RetryDelay expires, that server is brought back to the top of the list. The default value is 15
minutes. Valid range is: >= 0.
AscendDataFilter AscendDataFilter1=<valid string for ascend-data-filter>.
This is used as an Anti-Spam feature for some providers and will block the email port (25) at the provider. If
the AAA server does not send it to us, we will use the AscendDataFilter(s) specified to send back in the
auth accept packet.
The string "ip in drop tcp dstport=25" is a mandatory AscendDataFilter attribute. When no
AscendDataFilter is configured, this feature is disabled.
See page 30 for more information.
AuthServer Provides authorization server information, for example
AuthServer1=name11=value11,name12=value12,name13=value13.....
AuthServer2=name21=value21,name22=value22,name23=value23.....
AuthServer parameters:
Protocol: The server's protocol. Values can be: NT/Radius/LDAP/TACACS
EnableSsl: Flag used to enable/disable SSL connections to the LDAP servers. It is ignored when
used for other Auth servers.
IpAddress: The server's IP address.
Port: The server's port number.
LocalIpAddress: The Local IP address to bind the socket to. (Optional and Only for RADIUS)
Attempts: The number of attempts made to communicate with a server.
IdleTimeout: Timeout (in milliseconds) to wait for a response from a server for a given
communication attempt.
SharedSecret: The shared secret used by a RADIUS/TACACS+ server.
IncludeDomain: Include the user's domain in the request sent to the server.
IncludeDomainAsWinPrefix: Include the user's domain, as Windows style prefix,in the request
sent to the server. For example, user@ntdomain would become ntdomain\user
IncludePrefix: Include the user's routing prefix in the request sent to the server.
IncludeNasPortType: Include the NAS-Port-Type in the request sent to the RADIUS AAA server.
StripRealm: Specifies a realm suffix to strip away from the user's domain. For example, with
StripRealm=example.com and IncludeDomain enabled, the login of
user@ntdomain.example.com would become user@ntdomain
NTDomain: The NT domain used to authenticate window users.
NTRasMode: The NT RAS mode to use. 1=WINNT RAS mode, 0=WINNT.
SiteFile: The file used in Site (Unix Shadow file) authentication
LdapConfigFile: The file used to load LDAP specific properties for an LDAP server.
ValidateAuthenticator: Specifies in the RADIUS Authenticator should be validated. Values are
YES or NO. Default is YES.
ProtocolVersion: Used by the TACACS+ server to specify the Minor Version.Values are 1 or 0.
Default is 1.
EnableLocalAcct: Used by an AcctFile server to enable/disable local accounting. Values are YES
or NO. Default is NO.
RetryDelay: The time delay, in minutes, before retrying a server that recently failed a connection
request. When a connection fails to a server, it is reordered to the end of the list. Once the
RetryDelay expires, that server is brought back to the top of the list. The default value is 15
minutes. Valid range is: >= 0.
CustomerId CustomerId=<iPass Code>.
This is the same number as your iPass portal customer ID. If you do not yet have such code, or are unsure
what this code is, contact your iPass representative.
Property Description
DebugLevel DebugLevel=<level>.
Debug level determines if debug and error messages are logged to the trace file. The following levels are
supported.
Debug Level 0 - Only severe messages are logged.
Debug Level 1 - Error messages are logged.
Debug Level 2 - Error and Debug messages are logged.
Debug Level 3 - Error, Debug, and Packet parsing information is logged.
Debug Level 4 - Error, Debug, Packet parsing, and Packet dumping is logged.
Debug Level 5 - Detailed Packet and debug information is logged.
Use the AcctLog tool to retransmit these records to the RoamServer, which will then resend it to the
Accounting Server
The failed account directory should specify either the full path to the directory or the path relative to the
iPass server home via the $ipass.server.home macro.
IMonServer attributes:
IpAddress: The IMonServer's IP address.
Port: The IMonServer's port number.
Do not change the default values set internally, unless instructed by iPass. Refer to iPass NetServer
Documentation for more details.
Listener List of the Listeners for this server.Expected format:
Listener1=Type=<protocol>,Port=<port number>,IpAddress=<local IP address>
Listener2=Type=<protocol>,Port=<port number>,IpAddress=<local IP address>
NumOfThreads: You can improve connectivity to a RoamServer by increasing the number of threads
accepting requests on port 577. This can be helpful for if your RoamServer is under heavier stress,
such as 10 or more requests per second. For example: Listener1=Port=577,NumOfThreads=10
This is an advanced setting. The server may not function properly if this value is set incorrectly.
LogDirFileDeletionAge LogDirFileDeletionAge=<age in days>
Valid range is: 0 to 180 days. The default is 90 days. A value of 0 means deletion is DISABLED.
LogDirFileDeletionAge determines how old files in the directory <iPass Server Home>/logs
must be before they are deleted. The check for file age is done only when the log file rotation happens. See
page 31 for more information.
PolicyFile PolicyFile=<Policy file Name>.
This entry, when present enables policy management (access control). The policy file contains a list of
access control rules. Each rule can identify a country, class of service, a username, and whether roaming
access is allowed or denied. This file can be created using the Policy Tool.
Property Description
ReplyClass ReplyClass=yes/no
Configuration to enable passing Class attribute coming from the AAA server. When enabled, Roamserver
will pass the Class attribute coming from AAA server. Default value is no (disabled).
When disabled, Roamserver will block the Class attribute coming from AAA server. However, Roamserver
may add its own Class attribute values even if ReplyClass is disabled.
RouteByRealm RouteByRealm=yes/no
Configuration to enable routing based on user realms (domains). When enabled, the
RoutingRealm1, RoutingRealmX... are used to specify the servers to route to for a given realm.
Default value is no.
Routing by realm allows routing requests to specific AAA servers, based on the user's realm or
domain. Routing can also be done by routing prefix. This allows you to use different types of
authentication server, if necessary. For example, you could use both a RADIUS server and an LDAP
server simultaneously. Requests from one domain, or with one prefix, can be directed to one server
while requests from another domain or with another prefix can be directed to a second server.
If routing by realm is enabled on your RoamServer, you will also need to set other properties to
specify your other AAA servers, including RoutingRealm, Realm, AuthServer, and
AcctServer
Example
RouteByRealm=YES
RoutingRealm1=Realm=example.com,AuthServer1=AuthServer1,
AcctServer1=AcctServer1
RoutingRealm2=Realm=XY,AuthServer1=AuthServer2,
AcctServer1=AcctServer2
RoutingRealm3=Realm=DEFAULT,AuthServer1=AuthServer1,AcctServer1=AcctServer1
RouteByRealmScheme RouteByRealmScheme=<scheme>
Where <scheme> is either EndsWith or StartsWith. The default is EndsWith.
RouteByRealmScheme indicates how the RoutingRealm properties are matched up with the domain (or
realm) of the incoming user request.
See page 31 for more information on routing by realm.
RoutingRealm RoutingRealm=<valid domain or routing prefix>.
See also RouteByRealm for examples of proper use and formatting.
ServerInfold This feature is not currently in use.
StartUpMessage StartUpMessage=yes/no.
This entry determines if a message is generated by the server on startup. This is an advanced setting. The
server may not function properly if this value is set incorrectly. Default value for this property is set to no
(startup messages are turned off)
StoreFailedAcct StoreFailedAcct=yes/no or true/false.
Determines if the RoamServer will store accounting to a local file if it fails to communicate with any and all
of the AAA accounting servers. The resendacct tool can then be used to resend each of those
accounting records to the RoamServer once the AAA is back up. Default setting is: false
TraceLogBackupType TraceLogBackupType=<backupType>
Where <backupType> is either MultipleWithTimestamp or SingleBackup. The default is
SingleBackup.
TraceLogBackupType sets the trace log's backup file name when rotation is to be performed on the local
trace files.
TraceLogRotationHours TraceLogRotationHours=<hours>
Valid range is: 1 to 720 hours. The default is 168 hours (1 week).
TraceLogRotationMaxSize limits how large (in kilobytes) the local trace file can get before it is rotated.
UploadServer Provides iPass software Upload Server information. Sample format of the entries:
UploadServer1=name11=value11,name12=value12,...
UploadServer2=name21=value21,name22=value22,...
UploadServer attributes:
IpAddress: The URL of the iPass software update server
RetryDelay: The time delay, in minutes, before retrying a server that recently failed a connection
request. When a connection fails to a server, it is reordered to the end of the list. Once the
RetryDelay expires, that server is brought back to the top of the list. The default value is 15
minutes. Valid range is: >= 0.
FailureThreshold: Once the failure count exceeds the FailureThreshold, the server is
reordered to the end of the list. The default value is 0.
Property Description
This property determines if the server uses policy file for authentication. Default value for this property is
set to n. This is an advanced setting. The server may not function properly if this value is set incorrectly
ZipLogFilesEnabled ZipLogFilesEnabled=true/false.
Determines whether or not trace and log files are zipped. Default is set to true.
Configuration Options
This section discusses some RoamServer configurable options in detail. For more information on setting
properties, see the Property Glossary on page 22.
Policy File
A Policy File allows you to filter the requests being sent to your authentication server. RoamServer will
validate all users against this file before contacting your authentication server. This feature may be helpful
if you wish RoamServer to authenticate from a large user database, but only want a small group of those
users to be able to roam, or conversely, if you only wish to deny roaming access to a small group.
The Policy Tool, rs_policy, located in your <RS_Home>/bin directory, is an application used for creation
and maintenance of a Policy File. Although the Policy File is a text file, iPass recommends you use the
Policy Tool for creating, editing and maintaining your Policy File. This will ensure proper formatting and
correct policy criteria.
2. If the tool detects that no Policy File exists, it will create one in the default directory.
To edit or manage your policy file: In the policy tool, choose your option from the menu:
1. Add a rule
2. Remove a rule
3. Edit a rule
4. Explain an existing rule
5. List the rules
6. Save the rules
7. List Country Code
8. Quit
When done, enter 8 to quit the Tool. You must stop and then restart RoamServer so that it can read a
new or edited Policy File.
0 1 1 1
0 1 1 0
0 1 0 1
0 1 0 0
0 0 1 1
0 0 1 0
0 0 0 1
0 0 0 0
All rules are read and the most specific rule to match a given request is used. For example, these entries
in a policy file would block all wireless access, except in the US.
#class of service Auth_domain user_id country_code allow_access
WIRELESS * * * N
WIRELESS * * US Y
Because the policy file is written with permissions of root/admin, lowering the privileges required to run
the policy tool will cause the tool to fail. Accordingly, you may wish to do one of the following to ensure
policy file permissions are valid:
Reset policy file permissions every time the policy tool is run.
Set up a cron job to periodically reset the file permission regardless of when policy tool is run.
Failover
If the primary server is unreachable, RoamServer can fail over to one or more secondary authentication
or accounting servers. This feature works with RADIUS, LDAP and TACACS+ authentication protocols.
RoamServer 5.1 for Unix
Administrator's Guide ©2006 iPass Inc. 28
Configuration Options
Your secondary servers do not have to be of the same type as your primary server. For example, if
you had both a RADIUS server and an LDAP server, you could designate your RADIUS server as
primary and your LDAP server as secondary.
Also, you may not skip any numbers in the sequence when specifying servers. (For example,
AuthServer1, AuthServer2 and AuthServer4 would not be an acceptable sequence.)
troubleshooting. In addition, the software can be configured to log accounting data to either a local file or
to forward it to a remote accounting server. (Some earlier versions of RoamServer could log to both a
local server and remote server at the same time, but this feature is not present in RoamServer 5.1)
If your DebugLevel value is set to any value greater than 0, you will need to customize the log file rotation
and backup process so that the logs don't build up unnecessarily. A DebugLevel of 5 produces a great
deal of output. This can cause RoamServer.trace file to grow very large, and may slow the processing
time of RoamServer. iPass recommends a debug level of 0 in a production environment.
Sample Settings
AscendDataFilter1=ip in forward tcp est
AscendDataFilter2=ip in forward dstip xxx.xxx.xxx.xxx/yy
AscendDataFilter3=ip in drop tcp dstport=25
AscendDataFilter4=ip in forward
Routing by Realm
Routing by realm allows routing requests to specific AAA servers, based on the user's realm or domain.
Routing can also be done by routing prefix.
This allows you to use different types of authentication server, if necessary. For example, you could use
both a RADIUS server and an LDAP server simultaneously. Requests from one domain, or with one
prefix, can be directed to one server while requests from another domain or with another prefix can be
directed to a second server.
To enable routing by realm, set RouteByRealm to YES. If routing by realm is enabled, you will also need to
set other properties to specify your other AAA servers, including RoutingRealm, AuthServer, and
AcctServer.
Sample Settings
RouteByRealm=YES
RoutingRealm1=Realm=mydomain.com,AuthServer1=AuthServer1,AcctServer1=AcctServer1
RoutingRealm2=Realm=XY,AuthServer1=AuthServer2,AcctServer1=AcctServer2
RoutingRealm3=Realm=DEFAULT,AuthServer1=AuthServer1,AcctServer1=AcctServer1
ipassLDAP.properties
In the AuthServer property of ipassRS.properties, you can specify a path to a file containing special
LDAP settings named ipassLDAP.properties. This section discusses configuration for this file.
User-Configurable Options
This table summarizes the configurable options in ipassLDAP.properties. When an
ipassLDAP.properties file is not present, or if an option is not specified, the default values will be used.
Property Default Comments
Value
LdapBaseDn NULL Specifies base DNs to be used during LDAP authentication. When configured, it will be appended to
the LdapExactMatchRdn during exact match bind and used as a search base during the LDAP
search operation. Any variables supplied in the format of $VARIABLE will be replaced with the actual
value of that variable. The current variables supported are $USERID, $PREFIX and $DOMAIN.
If no LdapBaseDn is configured, then no anonymous bind and search will be performed.
Multiple base DNs (more than one line) are permitted in the ipassLDAP.properties file. When multiple
base DNs are configured, the authentication process will use them in the order they appear in the
ipassLDAP.properties file. If authentication fails using the first LdapBaseDn, authentication will be
re-attempted using the second LdapBaseDn and so on.
Since a base DN is added on to the login name when an exact match bind is performed, if a user logs
on using a full DN (uid=Joe,ou=people,o=example.com), LdapBaseDn should not be because
performance will be reduced.
Examples:
LdapBaseDn=ou=people,o=example.com
LdapBaseDn=o=example.com
LdapBaseDn=dc=company,dc=com
LdapBindDn NULL For LDAP servers that do not support anonymous binds, this configuration will set a specific DN to be
used for binding to the LDAP server, before performing a search operation. When anonymous binds
are supported, omit this configuration and the default value of NULL will be used.
Example: LdapBindDn= uid=bindmaster,ou=people,o=example.com
LdapBindPasswd NULL For LDAP servers that do not support anonymous binds, this configuration will set a password to be
used for binding to the LDAP server before performing a search operation. When anonymous binds
are supported, omit this configuration and the default value of NULL will be used.
Example: LdapBindPasswd=bindpasswd
LdapCompareAttr NULL Configuration to enable comparison of user passwords against a specific user attribute in the LDAP
directory as a means of authentication. The user attribute specified must contain a password saved in
clear text in the LDAP directory for LdapCompareAttr to work.
This compare replaces the final user bind to authenticate the user. The user bind authenticates
against the standard password attribute (usually userpassword), which may or may not be
encrypted in the LDAP directory.
Example: LdapCompareAttr=roamingPassword
LdapDetectBaseDn YES When LdapDetectBaseDn is enabled, and no LdapBaseDn is configured, it will detect all the
available BaseDn (a.k.a. namingContexts) of the LDAP server. Valid values: YES or NO.
LdapDoExactMatch NO Disables or enables binding directly to the LDAP server for user authentication using only the user's
login id, password, and any base DN by the LdapBaseDn configuration.
Accepted values are YES or NO.
Example: LdapDoExactMatch= YES
LdapExactMatchRdn uid=$USERID The DN used for the exact match bind is comprised of two parts: the relative DN (RDN) and the base
DN. The base portion can be specified by the LdapBaseDn configuration. The relative DN format can
be specified by the LdapExactMatchRdn. The RDN is by default uid=$USERID, where the variable
$USERID is replaced by the username specified at login time. The current variables supported are
$USERID and $DOMAIN.
For example:
User joe exists in a LDAP tree with a DN of uid=joe,ou=people,o=example.com, and he logs in
as joe@example.com. For a successful exact match bind, leave the LdapExactMatchRdn as
default and set the LdapBaseDn=ou=people,o=example.com.
User Mary exists in a LDAP tree with a DN of cn=Mary,dc=company,dc=com, and she logs in as
Mary@example.com. For a successful exact match bind, set the
LdapExactMatchRdn=cn=$USERID and set the LdapBaseDn=dc=company,dc=com.
The exact match bind can be disabled by setting LdapDoExactMatch=NO.
Only one LdapExactMatchRdn (one line) is allowed in the ipassLDAP.properties file.
Suggested Configuration
uid=user1,ou=development,o=example.com
uid=user2,ou=finance,o=example.com
uid=user3,ou=marketing,o=example.com
Performing a search for the user might be a simpler approach. Therefore, the exact match bind step can
be skipped all together. If all users login with the format of user1@example.com, then only do an
anonymous bind and search of the LDAP directory.
Set the following in the ipassLDAP.properties file:
LdapBaseDn=o=example.com
LdapDoExactMatch=no
LdapSearchFilter=uid=$USERID
Example 2
For companies with an LDAP directory structure where all roaming users are stored in the same directory:
uid=user1,ou=people,o=example.com
uid=user2,ou=people,o=example.com
uid=user3,ou=people,o=example.com
All users are in the ou=people,o=example.com directory. If all users log in with the format of
user1@example.com, then to bind to the LDAP server on the first try with the exact match bind.
Example 3
For companies whose roaming users login with a full Distinguished Name (DN) such as:
uid=user1,ou=development,o=example.com@example.com, the user ID portion (which is everything to
the left of the leftmost @-sign) is the full DN of the user.
Only the exact match bind is needed.
Set the following in ipassLDAP.properties:
LdapExactMatchRdn=$USERID
LdapDoExactMatch=Yes
The error codes returned by Active Directory are the hexadecimal numbers of the Microsoft System Error
Codes. You can convert a hex number to a decimal number and look up the corresponding error code on
the Microsoft Website at:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/debug/base/system_error_codes.asp
Here is an example of an iPassLDAP.properties file configured for use with Active Directory. All lines in
ipassLDAP.properties prefaced with a space or # sign are ignored.
# File: ipassLDAP.properties.example
##########################################################
##########################################################
LdapBaseDn1= dc=company,dc=com
LdapSearchFilter = sAMAccountName=$USERID
LdapBindDn = cn=bindUser,cn=Users,dc=dev,dc=company,dc=com
LdapBindPassword = bindUserPassword
LdapDetectBaseDn = YES
#LdapSearchMoreServers= YES
#LdapCompareAttr= someUserAttribute
#LdapDetectBaseDn = YES
#LdapMemberOfGroup = CN=iPassUsers,CN=Users,DC=company,DC=com
#LdapGroupDepth = 3
#LdapSearchScope = 2
##########################################################
##########################################################
#LdapBaseDn1= o=company.com
#LdapSearchFilter = uid=$USERID
#LdapDetectBaseDn = YES
#LdapSearchScope = 2
#LdapDoExactMatch = NO
#LdapExactMatchRdn = uid=$USERID
#LdapBindDn = uid=bindUser,ou=people,o=company.com
#LdapBindPassword = bindUserPassword
#LdapCompareAttr= someUserAttribute
#LdapSearchMoreServers= YES
##########################################################
##########################################################
##########################################################
# LdapBaseDn1= o=company1.com
# LdapBaseDn2= o=$DOMAIN
# LdapBaseDn1= dc=company,dc=com
##########################################################
##########################################################
# Default is "uid=$USERID".
# LdapSearchFilter = uid=$USERID
# LdapSearchFilter = sAMAccountName=$USERID
# LdapSearchFilter =
(&(sAMAccountName=$USERID)(memberOf=CN=iPassUsers,CN=Users,DC=company,DC=com))
# iPass attribute (wrapped with ${} ) from the incoming auth_request packet:
# LdapSearchFilter =
(&(sAMAccountName=$USERID)(memberOf=CN=${class_of_service_str},CN=Users,DC=company,DC=
com))
# DIAL-UP,DIAL-UP-ISDN,DIAL-UP-PHS,WIRED,WIRELESS
##########################################################
##########################################################
# it will detect all the available BaseDn (a.k.a. namingContexts) of the LDAP server.
# Options: NO or YES
# Default: YES
# LdapDetectBaseDn = YES
##########################################################
##########################################################
# It compares the given <Group DN> to the memberOf attribute of the user
# Default is none.
# LdapMemberOfGroup = CN=iPassUsers,CN=Users,DC=company,DC=com
##########################################################
##########################################################
# A value of 1 would avoid any nested group search and only look at the
# LdapGroupDepth = 3
##########################################################
##########################################################
# Search Scope.
# 0 (Object Scope)
# 1 (OneLevel Scope)
# 2 (Subtree Scope)
# LdapSearchScope = 2
##########################################################
##########################################################
# Default is NO.
# LdapDoExactMatch = YES
##########################################################
##########################################################
# format for the exact match bind. Supported variables are USERID, PREFIX and DOMAIN.
# Default is "uid=$USERID".
# LdapExactMatchRdn = uid=$USERID,o=company.com
##########################################################
##########################################################
# Default is none.
# LdapBindDn = uid=test,ou=people,o=company.com
# LdapBindPassword = test
# LdapBindDn = cn=bindUser,cn=Users,dc=company,dc=com
# LdapBindPassword = bindUserPassword
##########################################################
##########################################################
# to compare the password with when authenticating. NOTE: This will replace
# Default is none.
# LdapCompareAttr= someUserAttribute
##########################################################
##########################################################
# LdapSearchMoreServers= YES
##########################################################
Action 2: Anonymous bind and search will be performed to authenticate the user. That means a bind to
the LDAP server using a NULL userid and password. If anonymous binds are not supported by the LDAP
server, a LdapBindDn and LdapBindPasswd can be specified in the ipassLDAP.properties file.
After a successful bind, we search the LDAP directory for the user starting from a base DN as specified
by the LdapBaseDn and filtering with the LdapSearchFilter. If a user (and only one user) is found
during the search, a simple bind to the LDAP server will be performed to authenticate the user. This last
authentication will be done using the DN of the user found during the search and the password supplied
at login time.
The anonymous bind and search will not be performed if the user was authenticated during the exact
match, or if no LdapBaseDn was specified in ipassLDAP.properties.
RADIUS
0 Failed to open DatagramSocket
AcctFile
1 Failed to write to local AcctFile
1 Error occurred while trying to talk to Windows server
1 Failed talking to Windows server
2 Received unexpeted null packet when writing to local AcctFile
# Attribute Notes
0- NAS-Port
1
0- Service-Type
1
0- Framed-Protocol
1
0- Framed-IP-Address
1
0- Framed-IP-Netmask
1
0- Framed-Routing
1
0+ Filter-Id
0- Framed-MTU
1
0+ Framed-Compression
0+ Login-IP-Host
0- Login-Service
1
0- Login-TCP-Port
1
0 Reply-Message
0- Callback-Number
1
0- Callback-Id
1
0+ Framed-Route
0- Framed-IPX-Network
1
0 State
0+ Class
0+ Vendor-Specific
0- Session-Timeout
1
0- Idle-Timeout
1
0- Termination-Action
1
0- Called-Station-Id
1
0- Calling-Station-Id
1
0- NAS-Identifier An Accounting-Request must contain either a NAS-IP-Address or a NAS-
1 Identifier (or both).
0+ Proxy-State
0- Login-LAT-Service
1
0- Login-LAT-Node
1
0- Login-LAT-Group
1
0- Framed-AppleTalk-Link
1
0- Framed-AppleTalk-
1 Network
0- Framed-AppleTalk-Zone
1
1 Acct-Status-Type
0- Acct-Delay-Time
1
0- Acct-Input-Octets
1
0- Acct-Output-Octets
# Attribute Notes
1
1 Acct-Session-Id
0- Acct-Authentic
1
0- Acct-Session-Time
1
0- Acct-Input-Packets
1
0- Acct-Output-Packets
1
0- Acct-Terminate-Cause
1
0+ Acct-Multi-Session-Id
0+ Acct-Link-Count
0 CHAP-Challenge
0- NAS-Port-Type
1
0- Port-Limit
1
0- Login-LAT-Port
1