13
|
|
|
Björn Påhlsson |
16 years ago
|
|
|
12
|
|
* mandos-clients.conf ([foo]/dn, [foo]/password, [braxen_client]/dn, [braxen_client]/password): Removed. ([foo]/fingerprint, [braxen_client]/fingerprint): New. ([foo]/checker): New. ([foo]/secfile): New. ([braxen_client]/secret): New.
* server.py: New "--debug" option to set debug flag. Removed "cert", "key", "ca", "crl", and "cred" variables. Added default value for "checker" config file setting. Do not pass credentials to IPv6_TCPServer constructor. (debug): New global debug flag. Used by most debugging output code. (Client.__init__): Keyword argument "dn" replaced by "fingerprint", "password" renamed to "secret", and "passfile" renamed to "secfile". New keyword argument "checker". All callers changed. (Client.dn): Removed. (Client.fingerprint): New. (Client.password): Renamed to "secret"; all users changed. (Client.passfile): Renamed to "secfile"; all users changed. (Client.timeout, Client.interval): Changed to be properties; now automatically updates the "_timeout_milliseconds" and "_interval_milliseconds" values. (Client.timeout_milliseconds): Renamed to "_timeout_milliseconds". (Client.interval_milliseconds): Renamed to "_interval_milliseconds". (Client.check_command): New. (Client.start_checker): Use the new "check_command" attribute. (peer_certificate, fingerprint): New functions.
(tcp_handler.handle): Use ClientSession with empty credentials object instead of ServerSession. Set gnutls priority string. Do not verify peer. Use fingerprint instead of DN when searching for clients. Bug fix: Loop sending data so even large secret data strings are sent. (IPv6_TCPServer.credentials): Removed. (if_nametoindex): Do not import ctypes since that is now imported globally.
|
Teddy Hogeborn |
16 years ago
|
|
|
11
|
|
|
Teddy Hogeborn |
16 years ago
|
|
|
10
|
|
|
Teddy Hogeborn |
16 years ago
|
|
|
9
|
|
|
Teddy Hogeborn |
16 years ago
|
|
|
8
|
|
|
Teddy Hogeborn |
16 years ago
|
|
|
7
|
|
|
Teddy Hogeborn |
16 years ago
|
|
|
6
|
|
|
Teddy Hogeborn |
16 years ago
|
|
|
5
|
|
|
Teddy Hogeborn |
16 years ago
|
|
|
4
|
|
|
Teddy Hogeborn |
16 years ago
|
|
|
3
|
|
|
Björn Påhlsson |
17 years ago
|
|
|
2
|
|
|
Björn Påhlsson |
17 years ago
|
|
|
1
|
|
|
Björn Påhlsson |
17 years ago
|
|
|