Commit Graph

41 Commits (88e546be78382200581a1e57e1878b68f163b5e9)

Author SHA1 Message Date
Val Snyder 7ff29b8c37
Bump copyright dates for 2025 3 months ago
Micah Snyder 405829ee88 Refine max-allocation and safer-allocation function and macro names 1 year ago
Micah Snyder 6d6e04ddf8 Optimization: replace limited allocation calls 1 year ago
Micah Snyder 9cb28e51e6 Bump copyright dates for 2024 1 year ago
Micah Snyder 6eebecc303 Bump copyright for 2023 2 years ago
mko-x a21cc6dcd7
Add explicit log level parameter to application logging API 3 years ago
micasnyd 140c88aa4e Bump copyright for 2022 3 years ago
Micah Snyder c025afd683 Rename "shared" library to "common" 4 years ago
Andrew f8627725c1 Address feedback from review on PR#485 4 years ago
Andrew 81367e0829 Fixed several coverity warnings (error handling++) 4 years ago
Micah Snyder (micasnyd) b9ca6ea103 Update copyright dates for 2021 4 years ago
Micah Snyder 1b42ef1180 clamonacc: Don't watch clamd TemporaryDirectory 4 years ago
Micah Snyder 854d38de54 Fix clamdscan, clamonacc --ping & --wait bugs 5 years ago
Micah Snyder (micasnyd) 9e20cdf6ea Add CMake build tooling 5 years ago
Micah Snyder e2f59af30a Clang-format touchup 5 years ago
Mickey Sola 88ede3063f onas - fix warnings and remove unused variable 5 years ago
Micah Snyder 206dbaefe8 Update copyright dates for 2020 5 years ago
Mickey Sola 4fee702fc3 clamonacc - conform to clang-format 6 years ago
Mickey Sola 72c10bd1a5 clamonacc - fix distcheck, patch by Micah 6 years ago
Mickey Sola 78b1b1b4c6 clamonacc - rename/cleanup filenames, variables, and some logging to be more unified and explicit 6 years ago
Mickey Sola 95bfaf7e24 clamonacc - refactor signal handling and cleanup to clamonacc top level to ensure context is cleanup up on exit 6 years ago
Mickey Sola 4360a9915a clamonacc - move fanotify init to startup check function to ensure elevated permission checking is done before daemonization; fix potential segfault when pswd struct does not get allocated during exclusion check 6 years ago
Mickey Sola 7aa7646741 clamonacc - cleanup event loop exiting; use pthread cancel push and pop macros for exiting to avoid signal collision issues with thread pool; whitespace 6 years ago
Mickey Sola 7bc021ffa6 clamonacc - cleanup whitespace; normalize local includes for clamonacc; ensure FANOTIFY wrappings are done properly 6 years ago
Mickey Sola 52dc3149e2 clamonacc - add pthread conditional wait to event consumer queue; add uname exclusion; add error handling for selinux permission denied case when reading fanotify kernel event queue; remove deprecated clamuko references; update clamd.conf.sample; remove unsused options in help output; add daemonization/foreground command-line option; add retry and deny on error functionality 6 years ago
Mickey Sola 7d83fa292d clamonacc - fix fd leak when excluding file after self-check; cleanup signal handling and application exiting; fixup path for using unix fd passing with curl; normalize some log output; add suppression of noisy error cases when clamd lacks sufficient permissions to stat certain files" 6 years ago
Mickey Sola 7ad7211e1a clamonacc - cleanup; add additional logging; fix issue where consumer queue would fall behind and burn through allowed open fds; update copyrights; cleanup error handling; re-enable extra scanning 6 years ago
Mickey Sola 3941428bbb clamonacc - fix issue where pooled scanning threads were getting bad fds; add event loop level recovery when dealing with fds that aren't valid or have been closed previously 6 years ago
Mickey Sola 13447fcf9f clamonacc - fix issue where fanotify allow wasn't being written on exlcude 6 years ago
Mickey Sola 132dd49bf9 clamonacc - add maxthreads config option; fix issue where mutex wasn't being unlocked on empty case; fix issue where pathname wasn't being passed in; added some noisy logging 6 years ago
Mickey Sola b365aa5884 clamonacc - add consumer queue; add thread pool library; add thread pool support in consumer queue; flesh out consumer queue code; refactor scan functions into thread pool worker functions; refactor scan functions to work off slimmed down params and event metadata instead of a single, giant context; sundry fixups 6 years ago
Mickey Sola 0d78af13f1 clamonacc - add curl support for send receive and connecting to clam daemon; add new option for timeout when using curl; refactor all scanning into self-contained scanning thread; add non-blocking wait (via select) for receiving and sending data to and from clam daemon 6 years ago
Mickey Sola 3e5b1b8bbf clamonacc - add curl support 6 years ago
Mickey Sola 3733a8795e clamonacc - move and configure fts fix 6 years ago
Mickey Sola cf281f52df clamonacc - improve protocol error visibility; remove unneeded cruft in proto; consolidate use of globals; set fan_mask appropriately in context during fanotify setup; improve/fixup logging; rework proto for readability/maintability 6 years ago
Mickey Sola e5ae2ad9fa clamonacc - clean/fix up command line option arg passing; use only logg for printing 6 years ago
Mickey Sola 497b72eae8 clamonacc - cleanup/improve logging; pare down uneeded proto functions; add initialfunctionality for watch and exclude list command line options; use reentrant safe onas_scan function 6 years ago
Mickey Sola 20b9d67932 clamonacc - add more logging; handle errors better; use clamdopts where appropriate; fix event loop scan failures introduced with clam-client integration 6 years ago
Mickey Sola 7534d83ee0 clamonacc - make symbol passing via c/cpp flags explicit; fix include pathing for libclamav include headers; autojunk'd 6 years ago
Mickey Sola 953a43f33f clamonacc - fill out client scan hooks; proliferate onas context struct; refactor client, inotif, and fanotif code flow; delete unneeded functons; various other fixups 6 years ago
Mickey Sola b4a29cc7ff clamonacc - reorganize/restructure onaccess layout into component pieces for easier maintenance, future design reworks, and general conceptualization of code flow 6 years ago