21
|
|
* Makefile (CFLAGS): Changed to use $(WARN), $(DEBUG), $(COVERAGE) and $(LANGUAGE). (WARN, DEBUG, COVERAGE, LANGUAGE): New. (LDFLAGS): New; use $(COVERAGE)
* plugbasedclient.c: Added copyright header. (process.buffer_size, process.buffer_length): Changed to "size_t". (main): Cast arguments to malloc and realloc. Detect read errors from processes.
* mandosclient.c: Added copyright header. (interface): Moved to inside "main". (gpg_packet_decrypt): Renamed to "pgp_packet_decrypt"; all callers changed. Changed "new_packet_capacity" and "new_packet_length" to be ssize_t. Cast arguments to realloc. (debuggnutls): Attribute "level" argument as unused. (empty_log): Attribute "level" and "txt" arguments as unused. (start_mandos_communication): New argument "if_index". Bug fix: check ret, no tcp_sd, for errors from setsockopt. Use "if_index" directly instead of looking up the index. Loop around fwrite until all data is written. (resolve_callback): Attribute "txt", and "flags" as usused. Added default case to switch. Also show server host name. Call start_mandos_communication with "interface". (browse_callback): Added default case to switch. (main): Variable "interface" moved here. Cast "srand" argument. Bug fix: Call avahi_s_service_browser_new with index of "interface", not "eth0".
* passprompt.c: Added copyright header. (termination_handler): Attribute "signum" argument as unused.
|
Teddy Hogeborn |
16 years ago
|
|
|
20
|
|
|
Teddy Hogeborn |
16 years ago
|
|
|
19
|
|
|
Teddy Hogeborn |
16 years ago
|
|
|
18
|
|
|
Teddy Hogeborn |
16 years ago
|
|
|
17
|
|
|
Teddy Hogeborn |
16 years ago
|
|
|
16
|
|
|
Teddy Hogeborn |
16 years ago
|
|
|
15
|
|
|
Teddy Hogeborn |
16 years ago
|
|
|
14
|
|
|
Björn Påhlsson |
16 years ago
|
|
|
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
|
|
|