OS: FreeBSD-7.3
denyhosts-2.6_3 from the FreeBSD ports system
Python 2.6.4 from the FreeBSD ports system
The follow error message is continually being entered into the denyhosts log file:
<snippet>
2010-04-07 09:45:26,986 - sync : ERROR <Fault 1: "exceptions.KeyError:'timestamp'">
Traceback (most recent call last):
File "/usr/local/lib/python2.6/site-packages/DenyHosts/sync.py", line 117, in receive_new_hosts
self.__prefs.get("SYNC_DOWNLOAD_RESILIENCY"))
File "/usr/local/lib/python2.6/xmlrpclib.py", line 1199, in __call__
return self.__send(self.__name, args)
File "/usr/local/lib/python2.6/xmlrpclib.py", line 1489, in __request
verbose=self.__verbose
File "/usr/local/lib/python2.6/xmlrpclib.py", line 1253, in request
return self._parse_response(h.getfile(), sock)
File "/usr/local/lib/python2.6/xmlrpclib.py", line 1392, in _parse_response
return u.close()
File "/usr/local/lib/python2.6/xmlrpclib.py", line 838, in close
raise Fault(**self._stack[0])
Fault: <Fault 1: "exceptions.KeyError:'timestamp'">
</snippet>
Denyhosts appears to be working correctly except for that log entry. I can supply my config file if required
OS: CentOS
Denyhosts 2.6
Python 2.4.3
I have the same problem on CentOS. It only errors while having sync mode enabled.
Same error for me as well:
Ubuntu
Python 2.6.4
Denyhosts 2.6-5
Me too
OpenSUSE 11.0
Denyhosts 2.6-5.1
Python 2.6.0-2.12
Ubuntu 10.04
Python 2.6.5
Denyhosts 2.6 with fixes a la issue 2898723.
The error message is intermittent for me so I wonder if this is not due to a network problem rather than a bug.