On 5/14/12 3:28 PM, Tom Eastep wrote: > On 05/14/2012 03:23 PM, John McMonagle wrote: > >> Tom >> >> Seems to work. >> The provider is removed after about 20 seconds after failure. >> It returns a bit over 3 minutes after being plugged back in. >> Seems a bit long. Is that intentional? > > You need to adjust your LSM parameters. The default LSM settings are to > fail fast and recover slowly.
And here is another patch you should apply. -Tom -- Tom Eastep \ When I die, I want to go like my Grandfather who Shoreline, \ died peacefully in his sleep. Not screaming like Washington, USA \ all of the passengers in his car http://shorewall.net \________________________________________________
diff --git a/Shorewall/lib.core b/Shorewall/lib.core
index 1ce4f8f..724ed9a 100644
--- a/Shorewall/lib.core
+++ b/Shorewall/lib.core
@@ -184,11 +184,15 @@ interface_is_usable() # $1 = interface
if interface_is_up $1 && [ "$(find_first_interface_address_if_any
$1)" != 0.0.0.0 ]; then
run_isusable_exit $1
status=$?
+ else
+ status=1
fi
else
if interface_is_up $1 && [ "$(find_first_interface_address_if_any
$1)" != :: ]; then
run_isusable_exit $1
status=$?
+ else
+ status=1
fi
fi
fi
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
