1
0
Fork 0
Commit graph

5 commits

Author SHA1 Message Date
745c313fd5 - cleaned up auth-codes in class statuscodes
- added passwd_request() and passwd_reply() to class comm
- updated authentication process to fit protocol
- fixed version numbers for each *.py-file
2013-06-25 14:03:28 +02:00
4259e5836b - added password checking
- added command line option --mkpasswd to class argparser to hash a password
- added a method to generate a SHA512-hash to asrc-server.py
2013-06-25 11:51:19 +02:00
25d3344104 - inserted more comm.header() and comm.encode_message()
- added loop to be able to process multiple commands within one session, send "exit" to exit
- added code 004: Exit
- added include/auth.py with init() and check_password()
- added settings variable PASSWORD (stores a SHA512-encrypted password)
- added authenticate() to class comm
2013-06-19 16:25:43 +02:00
a4f497115a - bugfix in class statuscodes: putted a 's' before all code numbers, dict is working now...
- bugfix in class comm, header(): status codes couldn't be handled
- added import for include/statuscodes.py, class statuscodes to include/__init__.py
- added encode_message() and decode_message() to class comm
- added use of encode_message() to motd() in class comm
- added more docstrings and comments in class comm
- added more comments in asrc-server.py
- moved pid file check and creation around in asrc-server.py for less oddness when starting the server with -n
2013-04-29 21:51:20 +02:00
1207c6b225 - cleaned class argparser
- commented and cleaned asrc-server.py
- renamed includes/content.py to includes/comm.py
- renamed class content to comm
- made some vars (aliases, server_version, protocol_version, verbiosity) global in class comm
- added init() to class comm for setting lobal vars
- moved motd() from asrc-server-py to class comm
- conformed comm.motd() to reference
- added comm.header() for building the headers
- added includes/statuscodes.py with class statuscodes with dict description for storing the status codes and their description
- added docstrings
2013-04-26 12:55:37 +02:00
Renamed from include/content.py (Browse further)