summaryrefslogtreecommitdiff
path: root/logsrvd/logsrvd.c
Commit message (Expand)AuthorAgeFilesLines
* Convert config file paths to colon-separated path list.Todd C. Miller2023-05-021-2/+3
* Check for sudo_pow2_roundup() overflow.Todd C. Miller2023-03-011-10/+18
* Protect use of AF_INET6 with HAVE_STRUCT_IN6_ADDR guards.Todd C. Miller2023-01-311-1/+3
* Add missing NULL checks for mandatory fields in protobuf messages.Todd C. Miller2022-09-281-1/+32
* Convert remaining uses of sudo_mkdir_parents() to sudo_open_parent_dir().Todd C. Miller2022-09-211-5/+6
* Quiet some harmless PVS Studio warnings.Todd C. Miller2022-06-291-5/+5
* Add missing PVS Studio Open Source comments.Todd C. Miller2022-06-291-0/+5
* Use #include <config.h> not #include "config.h" for consistency.Todd C. Miller2022-06-291-1/+1
* Make sudo pass -Wmissing-prototypesTodd C. Miller2022-06-271-1/+1
* Treat EINTR in a callback like we do EAGAIN.Todd C. Miller2022-06-071-4/+5
* If write(2) returns EAGAIN just re-enter the event loop.Todd C. Miller2022-06-061-0/+2
* Quiet two clang analyzer false positives.Todd C. Miller2022-06-031-0/+1
* union sockaddr_union: pass in sockaddr_union * instead of sockaddr *.Todd C. Miller2022-06-031-12/+10
* Standardize protobuf "unable to unpack" warning messages.Todd C. Miller2022-05-261-1/+1
* If ERR_reason_error_string() returns NULL, fall back on strerror(errno).Todd C. Miller2022-05-171-7/+12
* Avoid TOCTOU in sudo_mkdir_parents() using openat(2) and mkdirat(2).Todd C. Miller2021-12-111-2/+1
* Add support for WolfSSL's OpenSSL compatibility layer.Todd C. Miller2021-10-251-6/+1
* Move include of log_server.pb-c.h into logsrvd.h and sendlog.hTodd C. Miller2021-10-251-1/+0
* Fix potential use-after-free when calling iolog_flush_all().Todd C. Miller2021-10-191-4/+4
* No need to flush logs before commit point if we flush after each write.Todd C. Miller2021-10-161-1/+4
* Flush I/O logs before we send a commit point.Todd C. Miller2021-10-151-0/+1
* sudo_debug_register: add minfd argument to specify lowest fd numberTodd C. Miller2021-08-261-2/+2
* Set umask to be less restrictive before creating parent directories.Todd C. Miller2021-08-141-0/+6
* Call shutdown() on sockets before closing() if they are connected.Todd C. Miller2021-08-111-1/+3
* If SSL_shutdown() returns 0 it needs to be called one more time.Todd C. Miller2021-08-111-1/+2
* Allow multiple accept/reject messages during a logsrv conversation.Todd C. Miller2021-08-091-4/+8
* Fix dead store found by clang analyzer.Todd C. Miller2021-06-191-3/+4
* Replace logsrvd_is_early() with logsrvd_warn_stderr().Todd C. Miller2021-06-161-9/+3
* Reduce scope of errstr variable so it is only declared for OpenSSL.Todd C. Miller2021-06-151-3/+4
* Use sudo_warnx?() instead of sudo_debug_printf for errors.Todd C. Miller2021-06-151-121/+79
* Add support for logging server warning/error messages.Todd C. Miller2021-06-131-9/+30
* Remove logsrvd closure ERROR state and use a boolean flag instead.Todd C. Miller2021-06-081-5/+8
* Update closure->elapsed_time in journal_seek().Todd C. Miller2021-05-041-1/+1
* Disable reading from client or relay when sending error to client.Todd C. Miller2021-05-031-10/+15
* Fix I/O log restart of locally-store logs.Todd C. Miller2021-05-031-3/+5
* Send outgoing messages to the relay server on startup.Todd C. Miller2021-05-011-1/+17
* Write client and server information to debug file on SIGUSR1Todd C. Miller2021-04-291-0/+81
* Create journal files in an incoming directory, move to outgoing when complete.Todd C. Miller2021-04-291-0/+4
* Move local iolog log functions to logsrvd_local.cTodd C. Miller2021-04-271-274/+1
* Update debug pid string when sudo_logsrvd becomes a daemon.Todd C. Miller2021-04-271-1/+1
* Must call SSL_shutdown() before closing the underlying socket.Todd C. Miller2021-04-261-6/+9
* Recover if the client or relay server closes the TLS connection uncleanly.Todd C. Miller2021-04-261-3/+12
* Set a restrictive umask so new files are only read/write by owner.Todd C. Miller2021-04-231-0/+3
* In connection_closure_free() only close sock if it is not -1.Todd C. Miller2021-04-231-1/+2
* Avoid potential NULL dereference in get_free_buf().Todd C. Miller2021-04-231-1/+1
* Remove some now-dead code in the error path.Todd C. Miller2021-04-231-5/+0
* Use function pointers for each client message type instead of conditionals.Todd C. Miller2021-04-231-263/+333
* Add enqueue_error_message() helper function.Todd C. Miller2021-04-231-22/+35
* Forward the journaled entry after it has been stored locally.Todd C. Miller2021-04-231-74/+134
* Stash the value of the store_first config setting in connection_closure.Todd C. Miller2021-04-231-10/+11