Commit Graph

136 Commits (18f291634f1c9d9df37a90f668e25f038677d9e8)

Author SHA1 Message Date
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 a8bf985948 autojunk'd after libreshclam merge conflict resolution 6 years ago
Mickey Sola ab9a1b7e76 clamonacc - fix bug in case where client would not properly return an error and recover after timing out while receiving data; add new line(s) to afforementioned error hanlding case 6 years ago
Mickey Sola 4cc47621ad clamonacc - reorder startup checks, client init and curl init 6 years ago
Mickey Sola 3921323b62 autojunk'd 6 years ago
Mickey Sola 7de42c4b92 clamonacc - rework and fixup configure script to more cleanly and 6 years ago
Mickey Sola 4ca79bd7cb autojunk'd 6 years ago
Mickey Sola b576671317 clamonacc - add configure check for existence of CURLOPT_UNIX_SOCKET_PATH; add configure option to conditionally build clamonacc 6 years ago
Mickey Sola 16ce199041 clamonacc - fix bug where version was being printed after daemon forking; add startup_check function; add conditional local daemon check for either ExcludeUID or ExcludeUname to help deter continuous event loops 6 years ago
Mickey Sola 18b723e697 autojunk'd 6 years ago
Mickey Sola 1fa5facc6b clamonacc - fix help 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 91ae16e07d clamonacc - add pthread conditional waiting to scanqueue to better optimize cpu usage/performance 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 128da45d54 clamonacc - use open fd from fanotify metadata struct 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 b449411f98 autojunk'd 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 b3cf21a385 autojunk'd 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
Mickey Sola 2f45e13f9e clamonacc - make clamonacc connect with clamd 6 years ago
Mickey Sola 1b264c0bf2 clamonacc - update autotools scripts to get clamd and onacc building; autojunk'd 6 years ago
Mickey Sola d9428376c2 clamonacc - initial clamonacc refactor 6 years ago