Hidden Z
06468a3c7c
Properly setup django in standalone scripts
...
https://docs.djangoproject.com/en/dev/releases/1.7/#standalone-scripts
9 years ago
Hidden Z
6e3862d7ab
Convert tabs to spaces
9 years ago
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!
11 years ago
Hidden Z
484cb5bee7
Update default DJANGO_PROJECT_PATH
11 years ago
Hidden Z
a432ef81a9
Update DJANGO_SETTINGS_MODULE in scripts
11 years ago
Hidden Z
22ef66ac48
py-i2phosts-checker: change words order in debug message
11 years ago
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.
11 years ago
Hidden Z
37e3e4a43e
Rewrite py-i2phosts-checker to use BOB instead of SAM
11 years ago
Hidden Z
4a1d0a1f96
Move py-i2phosts-* to bin/
11 years ago
Hidden Z
036cddad48
py-i2phosts-checker: probe activated hosts firstly
14 years ago
Hidden Z
29129ab2f2
py-i2phosts-checker: improve log message
14 years ago
Hidden Z
11453810e0
Use datetime.utcnow() instead of datetime.now()
14 years ago
Hidden Z
adc7a787f5
py-i2phosts-checker: use get_b32()
14 years ago
Hidden Z
0819e15db8
py-i2phosts-*: do imports from system-wide pyi2phosts
14 years ago
Hidden Z
7550b01e05
py-i2phosts-checker: stop using check_logger_options()
14 years ago
Hidden Z
00f066fd2d
py-i2phosts-checker: remove daemonization
...
We will use separate master process.
14 years ago
Hidden Z
26a87c4bb1
py-i2phosts-checker: optionally run fetcher/maint/builder
14 years ago
Hidden Z
be103aeb7a
py-i2phosts-checker: add run_prog()
...
Needed for run other tools in common way.
14 years ago
Hidden Z
4c99772834
py-i2phosts-checker: use check_logger_options()
14 years ago
Hidden Z
8f932a3e8b
py-i2phosts-checker: add daemonisation using python-daemon module
14 years ago
Hidden Z
d398eca9ab
py-i2phosts-checker: update help text for --debug
14 years ago
Hidden Z
0e2f3c12aa
py-i2phosts-checker: add -v/--verbose option
...
Act as --debug, bug use 'info' loglevel
14 years ago
Hidden Z
1574c1d13f
py-i2phosts-checker: bugfix: quote sam_addr
14 years ago
Hidden Z
c505b2ce68
py-i2phosts-checker: bugfix: pass log_file when creating a logger
14 years ago
Hidden Z
610245adcf
py-i2phosts-checker: add config option for SAM address
14 years ago
Hidden Z
6c325725b0
py-i2phosts-checker: properly check DJANGO_PROJECT_PATH variable in config
14 years ago
Hidden Z
fd380a2d4a
py-i2phosts-checker: include another config only if "include" is present
14 years ago
Hidden Z
d3cc2e6b83
py-i2phosts-checker: remove unneded import
14 years ago
Hidden Z
0833ff0adc
py-i2phosts-checker: add log message
14 years ago
Hidden Z
59254857ad
py-i2phosts-checker: configure logger using get_logger()
14 years ago
Hidden Z
a461c3cbe9
py-i2phosts-checker: take DJANGO_PROJECT_PATH from config
14 years ago
Hidden Z
cf5e82c65f
py-i2phosts-checker: read config with configobj module
14 years ago
Hidden Z
76e6685a15
py-i2phosts-checker: add --config option
14 years ago
Hidden Z
fafa992507
py-i2phosts-checker: simple availability checker for i2p
...
It uses b32->b64 lookup test through SAM interface for determining hosts
availability. For communicating with SAM it uses python i2p library from
SAM contrib (i2p-0.8/apps/sam/python/src/i2p).
14 years ago