node.xml: exclude private network from fail2ban
pylib: automatically re-connect if DB connection was dropped

after some hours mysql automatically drops connection if they are
idle, this was causing problem with long running daemons, that
where getting the exception "OperationalError MySQL has gone away"
on queries after being idle overnight