[Firewall] Warnings and errors of plugin dyndns?

J1 Simón simon at j1s.es
Mon Mar 26 11:13:51 CEST 2012


I think the correct is redirect all errors/warnings to LOG file. What is 
the point of having distributed the error/warning messages for several 
files?
I've modified the helper script to redirect all messages to LOG file.

El 26/03/12 07:12, Arno van Amersfoort escribió:
> This is by design. The helper script is normally executed by cron and 
> not the main firewall script. Because of this, the choice was made to 
> output any errors to stderr and let cron handle them. In this way one 
> can directly detect any eg. network issues, since logging them to 
> syslog will only reveal problems when one inspects the logs files...
>
> a.
>
> On 23-Mar-12 12:29, J1 Simón wrote:
>> I don't understand why it doesn't send this warnings/errors to log file?
>> I think that it would be the correct behaviour, don't you think?
>> The only info that I see in the log file is:
>> "Mar 07 09:40:36 ** Restarting Arno's Iptables Firewall v2.0.1a **
>> Mar 07 09:40:46 ** All firewall rules applied **
>> Mar 07 09:49:04 ** Restarting Arno's Iptables Firewall v2.0.1a **
>> Mar 07 09:49:05 ** All firewall rules applied **
>> Mar 17 22:38:14 ** Restarting Arno's Iptables Firewall v2.0.1b **
>> Mar 17 22:38:24 ** All firewall rules applied **
>> Mar 22 04:32:22 ** Starting Arno's Iptables Firewall v2.0.1b **
>> Mar 22 04:32:44 ** All firewall rules applied **
>> ...."
>>
>> El 23/03/12 11:53, Arno van Amersfoort escribió:
>>> /usr/local/share/arno-iptables-firewall/plugins/dyndns-host-open-helper
>>>
>>> On 23-Mar-12 11:47, J1 Simón wrote:
>>>> No, I haven't installed a mail server. Where is the cron-helper 
>>>> script?
>>>>
>>>> El vie 23 mar 2012 11:28:43 CET, Arno van Amersfoort escribió:
>>>>> Apparently cron is unable to deliver any stderr output to eg. the 
>>>>> root
>>>>> user and that's why it's ending up in deadletter (no MTA installed?).
>>>>> These errors/warnings happen occasionaly due to glitches in your
>>>>> network and/or dns servers. You can safely ignore them. I think you
>>>>> can only disable them when hacking the cron-helper script, but I'd
>>>>> simply ignore it if I were you.
>>>>>
>>>>> a.
>>>>>
>>>>> On 20-Mar-12 18:12, Simón wrote:
>>>>>> Hi,
>>>>>> I have installed the last stable version of Arno's Firewall and I 
>>>>>> have
>>>>>> activated the dyndns plugin. I have detected that periodically it
>>>>>> appears one file with name "dead.letter" in the root's home folder
>>>>>> with
>>>>>> the next content:
>>>>>>
>>>>>> ** ERROR(9): DNS server connection failed! Assuming server dead for
>>>>>> this session. **
>>>>>> ** WARNING(9): Unresolvable host "xxx2.dyndns.org". Re-using old IP
>>>>>> (99.99.999.999)! **
>>>>>> ** WARNING: Not quering DNS server since it is considered dead for
>>>>>> this session! **
>>>>>> ** WARNING(9): Unresolvable host "xxx3.dyndns.org". Re-using old IP
>>>>>> (99.99.999.999)! **
>>>>>> ** WARNING: Not quering DNS server since it is considered dead for
>>>>>> this session! **
>>>>>> ** WARNING(9): Unresolvable host "xxx1.dyndns.org". Re-using old IP
>>>>>> (99.99.999.999)! **
>>>>>>
>>>>>>
>>>>>> Are these messages sent by Arno's Firewall? Can I disable it?
>>>>>> 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
>>> _______________________________________________
>>> 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