Todd C. Miller
|
83d1bee918
|
Rename sudo_parse_host_port -> iolog_parse_host_port and mv to lib/iolog
It is not used outside of the I/O log client and server and the
host:port syntax may change in the future.
|
2020-05-11 08:47:54 -06:00 |
|
Todd C. Miller
|
056173e572
|
Parse I/O JSON info file in JSON if present.
The JSON version includes more information than the original "log"
file in the I/O log dir.
|
2020-03-29 05:05:08 -06:00 |
|
Todd C. Miller
|
ea9b711a70
|
Write an extended I/O info log in JSON format.
This will be used by sudoreplay if it exists to get more information
about the command being replayed.
|
2020-03-29 05:05:08 -06:00 |
|
Todd C. Miller
|
a644c1d1d2
|
iolog_parse_loginfo() now opens the log file itself.
|
2020-03-29 05:05:08 -06:00 |
|
Todd C. Miller
|
9e57bea4e3
|
Fix coverity CID 206586.
Potential use after free calling gzstrerror() after gzclose().
|
2020-01-05 07:48:48 -07:00 |
|
Todd C. Miller
|
ee91b7360b
|
Simplify expand_iolog_path()
|
2019-10-24 20:04:33 -06:00 |
|
Todd C. Miller
|
13e3eaad5f
|
Simplify iolog_set_user and iolog_set_group
|
2019-10-24 20:04:33 -06:00 |
|
Todd C. Miller
|
56c21243d7
|
Add iolog_ prefix to exported functions in iolog_util.c
|
2019-10-24 20:04:33 -06:00 |
|
Todd C. Miller
|
aaf5d0dc6e
|
Read logsrvd.conf in two steps: first read, then apply if OK.
This fixes a problem where when logsrvd.conf was reloaded while
running (due to SIGHUP) and there was an error we could end up with
a partial config.
|
2019-10-24 20:04:33 -06:00 |
|
Todd C. Miller
|
b58ecb7e6d
|
Move read_timing_record() into libsudo_iolog
|
2019-10-24 20:04:32 -06:00 |
|
Todd C. Miller
|
3394785f6d
|
Add restart support for compresses I/O logs.
|
2019-10-24 20:04:32 -06:00 |
|
Todd C. Miller
|
534aba7a3e
|
Make the logsrvd port and list address configurable.
|
2019-10-24 20:04:32 -06:00 |
|
Todd C. Miller
|
282263c113
|
Use openat(2) when opening files in the I/O log directory.
|
2019-10-24 20:04:31 -06:00 |
|
Todd C. Miller
|
7ba7c5835e
|
Enable sudo_logsrvd.conf settings.
|
2019-10-24 20:04:31 -06:00 |
|
Todd C. Miller
|
059b55ce72
|
Refactor code in sudoers that creates I/O log files to share with logsrvd.
|
2019-10-24 20:04:31 -06:00 |
|