[Firewall] Possible bug: restart doesn't detect changes in dyndns plugin

∫imøn ㋡ simon at simonbcn.net
Thu Jul 14 14:03:14 CEST 2011


Thanks, and what's the proper way to fix this? From where I download 
the svn version?

El jue 14 jul 2011 14:00:52 CEST, Arno van Amersfoort escribió:
> I've fixed this the *proper* way in SVN. Thanks for reporting this though.
> 
> a.
> 
> On 7/14/2011 11:07, ∫imøn ㋡ wrote:
>> Sorry, the correct function would be:
>>
>> plugin_restart()
>> {
>> ## Re-add standard chain rules that are flushed on a restart
>> echo "${INDENT}Restarting..."
>>
>> plugin_stop
>> plugin_start
>>
>> return 0
>> }
>>
>> El 14/07/11 11:03, ∫imøn ㋡ escribió:
>>> Yes, "DYNDNS_RUN_AT_START=1".
>>> I think the problem is in 50dyndns-host-open.plugin. The
>>> plugin_restart() function simply inserts the old rule into the main
>>> chain, it doesn't read the changes, it doesn't call to dyndns-helper
>>> script to read the new rules.
>>> I think that plugin_restart() function should be so simply like:
>>>
>>> # Plugin restart function
>>> plugin_restart()
>>> {
>>> ## Re-add standard chain rules that are flushed on a restart
>>> echo "${INDENT}Restarting..."
>>>
>>> plugin_stop()
>>> plugin_start()
>>> return 0
>>> }
>>>
>>> Don't you think?
>>>
>>> El jue 14 jul 2011 10:06:01 CEST, Arno van Amersfoort escribió:
>>>> Do you have "DYNDNS_RUN_AT_START*=1" set in your DynDNS plugin config
>>>> file?* That should make it work.....
>>>>
>>>> a.
>>>>
>>>> On 07/12/2011 12:22 AM, Simón wrote:
>>>>> Hi,
>>>>> I have changed some parameters in "dyndns-host-open.conf" file but
>>>>> when I execute "arno-iptables-firewall restart", it doesn't reload
>>>>> the changes in this file. I have to stop and start Arno's firewall
>>>>> to reload this changes.
>>>>> Regards.
>>>>> _______________________________________________
>>>>> Firewall mailing list
>>>>> Firewall at rocky.eld.leidenuniv.nl
>>>>> http://rocky.eld.leidenuniv.nl/mailman/listinfo/firewall
>>>>> Arno's (Linux IPTABLES Firewall) Homepage:
>>>>> http://rocky.eld.leidenuniv.nl
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Firewall mailing list
>>>> Firewall at rocky.eld.leidenuniv.nl
>>>> http://rocky.eld.leidenuniv.nl/mailman/listinfo/firewall
>>>> Arno's (Linux IPTABLES Firewall) Homepage:
>>>> http://rocky.eld.leidenuniv.nl
>> _______________________________________________
>> Firewall mailing list
>> Firewall at rocky.eld.leidenuniv.nl
>> http://rocky.eld.leidenuniv.nl/mailman/listinfo/firewall
>> Arno's (Linux IPTABLES Firewall) Homepage:
>> http://rocky.eld.leidenuniv.nl


More information about the Firewall mailing list