While you are answering BASH questions Charles, do you think you can 
answer a couple more? Sorry Charles. No good deed goes unpunished ;-)

A while back we came upon the idea of modifying the IPSEC updown script to 
add the internal IP address of the LEAF machine as the source in the IP 
route generated by the updown script. This allowed us to use only one 
tunnel to communicate instead of two (LAN-LAN and Gateway-Gateway). Back 
then we coded the info in manually into the updown script. Now that Bering 
uses the current version of FreeSwan we have updown scripts that can be 
passed custom parameters. Charles can you (or anyone in the LEAF 
community) tell me how to go about modifying the script to pass the 
internal address? If so how do I code the parm in ipsec.conf? I've tried 
to do this, but my tests have been dismal failures (possibly owing to my 
minimal understanding of BASH).

I am also working on updates to weblet to allow remote monitoring of both 
the status and the current configuration of a LEAF machine. So far most 
everything I have been able to do. I can display all the important config 
files except one. I can't get weblet to display snmpd.conf. I checked the 
file and directory permissions and they are the same for snmpd.conf as for 
other files such as sshd_config, yet one displays and the other does not. 
I'm running on Bering 1.2 and weblet runs as user sh-httpd. The BASH 
command I use is:       $(cat /etc/snmp/snmpd.conf)       The command runs 
just fine when I run it from the console, but them I'm running as root not 
as sh-httpd.  What am I doing wrong? 

Best Regards,

Roger McClurg
[EMAIL PROTECTED]



----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please 
delete without copying and kindly advise us by e-mail of the mistake in 
delivery. NOTE: Regardless of content, this e-mail shall not operate to 
bind CSC to any order or other contract unless pursuant to explicit 
written agreement or government initiative expressly permitting the use of 
e-mail for such purpose.
----------------------------------------------------------------------------------------



-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to