[ previous ] [ next ] [ threads ]
 
 From:  Curt Shaffer <curt at chilitech dot net>
 To:  m0n0wall at lists dot m0n0 dot ch
 Subject:  m0n0 hacking questions
 Date:  Wed, 21 Apr 2004 16:39:49 -0400
I have started today to add a generic fail-over option for the 
m0n0wall. I plan to add a fail-over link in the menu and this link will 
contain an enable/disable option, a place for Secondary IP, subnet and 
Gateway and in later versions, types of alive state checking, time 
limits for checking and intervals to check after a state change. I am 
just writing a script that checks for an alive state via ping or TCP 
and returns a value. If it is ok everything stays the same, if it is 
down it changes the wan information and adds a static route to the 
primary destination,  then reboots the box for the settings to take 
affect. It then checks at an interval to see if the primary destination 
is back up and if so then it changes the wan information back to the 
primary. I will probably add the link under the Services option on the 
menu which I think may be the most fitting. Just letting everyone know 
docs will be available as soon as I get a working version. I know its a 
generic way to do it but until something better comes around it will 
do. Let me know if you have any suggestions or requests!


Curt Shaffer
Wireless/Network Specialist
Chilitech Internet Solutions
www.chilitech.com
866-678-6858
smime.p7s (3.1 KB, application/pkcs7-signature)