Sjon Wijnolst|Salisbury BV wrote:
> Tom Eastep schreef:
>> Sjon Wijnolst wrote:
>>
>>> The variables are setup in /etc/shorewall/params:
>>> ETH1_IP=($find_first_interface_address eth1)
>>> ETH2_IP=($find_first_interface_address eth2)
>>>
>> The syntax of those two commands is wrong (The '$' should be before the
>> '(').
>>
> Thanks Tom, it solved the issue! Very sorry to bother you with such a
> simple mistake, shame on me...
>
> Maybe it's an idea to add a check on the 'params' file to 'shorewall
> check'? Just for those few people like me.The params file is checked during 'shorewall check'. The problem is that /etc/shorewall/params can contain arbitrary shell code. Your shell code didn't do what you wanted it to do but it was not incorrect in and of itself; it was perfectly valid code. FWIW, Shorewall-perl would have caught your error at compile time rather than at run-time; but the problem probably would not have been any easier to analyze. -Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ [EMAIL PROTECTED] PGP Public Key \ https://lists.shorewall.net/teastep.pgp.key
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
_______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
