1
0
mirror of https://github.com/r4sas/py-i2phosts synced 2025-01-08 22:07:55 +00:00
Commit Graph

16 Commits

Author SHA1 Message Date
Hidden Z
6e3862d7ab Convert tabs to spaces 2015-10-27 19:41:44 +00:00
Hidden Z
1fbcdeb4bd py-i2phosts-injector: fix splitting entries
Multiple split by '=' character may cause wrong hash addition because
trailing '==' were stripped from base64 hash. These trailing '==' are
used in ECDSA keys, see http://zzz.i2p/topics/1763
2014-12-22 19:05:39 +00:00
Hidden Z
ca831b2d45 py-i2phosts-checker: implement multiple lookup tries
Many hosts are not resolved with first lookup b32->b64, but if we query
2nd time, host can be resolved. Because of this, some registered hosts
may be never seen while they actually up!
2013-10-10 17:29:02 +00:00
Hidden Z
e2c2eeeaae py-i2phosts-master: chown log_file before daemonization
Master log file first opened as root, than daemonization with privilege
drop happens and master then unable to log to this logfile because of
insufficient permissions. So chown logfile to "runas" user to avoid this
situation.
2013-10-07 17:12:20 +00:00
Hidden Z
3b18825e4d py-i2phosts-maint: fix log message 2013-10-07 17:12:09 +00:00
Hidden Z
285ca6d4f9 py-i2phosts-master: unify import 2013-10-07 17:11:46 +00:00
Hidden Z
484cb5bee7 Update default DJANGO_PROJECT_PATH 2013-09-27 18:50:03 +00:00
Hidden Z
a432ef81a9 Update DJANGO_SETTINGS_MODULE in scripts 2013-09-27 18:49:41 +00:00
Hidden Z
57478a6fd0 py-i2phosts-fetcher: fix typo in comment 2013-09-27 18:29:37 +00:00
Hidden Z
c280268486 py-i2phosts-fetcher: add error handling for invoking injector
py-i2phosts-injector may not be launched correctly, so we want to catch
the errors.
2013-09-27 18:29:27 +00:00
Hidden Z
f917b819da py-i2phosts-fetcher: rewrite fething errors handling
There were some changes between python 2.6 and 2.7 in urllib2 module
affected raising exceptions, so just update our behavior.
2013-09-27 18:29:12 +00:00
Hidden Z
22ef66ac48 py-i2phosts-checker: change words order in debug message 2013-09-27 18:29:02 +00:00
Hidden Z
ce5ccb5ed8 py-i2phosts-checker: add delay to receive BOB's greeting
Without this delay we're getting BOB's greeting later when expecting
lookup results.
2013-09-27 18:28:55 +00:00
Hidden Z
37e3e4a43e Rewrite py-i2phosts-checker to use BOB instead of SAM 2013-09-27 18:28:46 +00:00
Hidden Z
0a77e60e72 py-i2phosts-master: add import workaround
In python-daemon 1.6 they renamed pidlockfile.py to pidfile.py.
2013-09-27 18:27:47 +00:00
Hidden Z
4a1d0a1f96 Move py-i2phosts-* to bin/ 2013-09-27 18:25:36 +00:00