SURVIVOR: ip WebAuth Module
About ip
basics
Module Type Scheduler Remote
webauth Yes No
syntax
     authmodule ip {
       [validhost <relation>]
     }
 

Dependencies

  • None

Arguments

Name Type Value
validhost optional relation, reg/regv only A regular expression defining which hosts are considered valid users. If this option is not specified, all hosts will be considered valid by this module.

Description

The ip module bases authentication on the source connection's IP address. Although this module provides optional regular expression matching, it is still up to the authorization decisions made in cgi.cf to determine what, if any, access should be granted.

For numeric addresses that translate to names, the primary hostname for that address will be returned as the authenticated user. Otherwise, the numeric address will be returned as the user. No group memberships are returned.

Examples

  1. To allow all hosts to be considered valid users:
         authmodule ip {}
         
  2. To only allow hosts in the subnet admin.site.org to be considered valid users:
         authmodule ip {
           validhost reg[\.admin\.site\.org$]
         }
         

$Date: 2006/11/19 22:54:43 $
$Revision: 0.3 $
keywords
validhost