Hidden Z
803bbef6c6
injector: output errors to stderr
2010-10-17 18:45:16 +00:00
Hidden Z
5e8b354f9f
injector: ignore comments and empty lines
2010-10-17 18:41:46 +00:00
Hidden Z
2858ba6084
injector: strip trailing '\n' from lines
...
We don't need a corrupted hashes in db :)
2010-10-17 18:07:02 +00:00
Hidden Z
798d5cb2a7
injector: ignore lines without '=' separator
2010-10-16 19:44:00 +00:00
Hidden Z
f6f2d25426
injector: add hostname/key validation using previously created library
2010-10-16 18:34:47 +00:00
Hidden Z
95f38f5ac0
injector: add new hosts with external=True
2010-10-14 18:32:03 +00:00
Hidden Z
e3ec6c34bc
Redefine DJANGO_PROJECT_PATH in scripts
...
Assume that wep-part are located in <scriptdir>/web. Later we should use
a config variable for it. In production environment scripts will be
located in /usr/bin/
2010-10-14 17:44:50 +00:00
Hidden Z
fd210c6fe3
injector: add command-line arguments parsing
...
And first option is: path to hosts.txt for parse
2010-10-13 17:32:34 +00:00
Hidden Z
40a708bb60
injector: permit adding hostnames with non-unique b64 hashes
2010-10-13 17:30:51 +00:00
Hidden Z
b71f2fc511
injector: use more efficient exists() method
2010-10-09 19:31:32 +00:00
Hidden Z
bc33f75238
Add injector program
...
This is an initial implementation of injector service needed for parse
external hosts.txt and adds hosts from them into our database.
2010-10-09 19:10:11 +00:00