securid-ppp: a script for ppp SecurID login to corporate network via a modemMotivationsecurid-ppp program is for establishing a ppp link via a modem with a network where the authentication is based on the SecurID(tm) device. Since the SecurID(tm) device displays pseudo random numbers synchronized with a central controller that changes periodically every minute, chat is not a convenient solution because the dialing procedure duration might exceed the minute. The idea is to have the password entered only when requested. For that purpose Jim Isaacson proposed an expect script: secure-card that is included in the ppp distribution. securid-ppp consists in an extension with more functionalities based on the same philosophy: i) it is based on expectk for providing a graphical user interface, ii) it enables the selection of the phone to dial among a list of phone numbers each of them associated with a location, iii) it is configurable using a resource file. Example of resource fileYou can add your default numbers and secrets in your $HOME/.secureidppprc file as follows: set phonelocations {{France "0102030405"} {USA "0504030201"} {Wonderland "0123456789"}}
set login "MyLogin"
set password "StartOfMyPasswd"
set modem /dev/modem
set speed 115200
set prefix ""
set dialstyle "DT"
set defaultlocation 0 Adjustable variables of resource fileThe possible variables that can be set in the resource file are:
Additional remarksThis script assumes that the modem device location is in /dev/modem. For devfs please add in the /etc/devfs/conf.d directory a file named modem containing the following lines: REGISTER ^ttySLT0$ CFUNCTION GLOBAL symlink $devname modem
UNREGISTER ^ttySLT0$ CFUNCTION GLOBAL unlink modem where ttySLT0 is to be replaced by your real modem device. Moreover on debian distributions it is convenient to give the following groups to the user that will invoke the script to set up the link: adduser your_user_id dialout
adduser your_user_id dip ShortcutsSome shortcuts have been defined: they are active anytime in the main window:
References
|
Main Page >