linux-ipsec: How to know whats in your Linux system?
We now have a three state problem, KLIPS could be a module, staticly
compiled into the kernel or not there at all. My problem as a USSA
only script writer is to figure out which is the current (runtime)
case.
Looking for a module is easy as there is a file to look for. It's
not full proff as it could be in at least two different directorys and
the kernal might not have the modules interface compiled into it.
The other two modes (staticly linked and just not there) are very
hard to deal with from a shell script point of view.
Humm, would it mess up anything if I tryed to run tncfg, if that
failed try to insmod, if that works try tncfg again and if that fails
guess that we have no ipsec?
Yeiks.
Maybe the 'ipsec' command should have a --isthere flag? Does anyone
have an idea about the 'right' way to do this under Linux, or is this
still an unsolved problem in Linux?
||ugh Daniel
hugh@toad.com
Systems Testing & Project mis-Management
The Linux FreeS/WAN Project
http://www.xs4all.nl/~freeswan
Received on Tue Jun 30 05:40:35 1998
This archive was generated by hypermail 2.1.8
: Wed Aug 23 2006 - 12:59:24 EDT
|