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
|
f7d82063dd
|
autojunk'd
|
6 years ago |
Mickey Sola
|
0d021a31d1
|
clamonacc - changing libcurl config version check for clamonacc to key from curl-config
|
6 years ago |
Mickey Sola
|
aaad010cf4
|
clamonacc - remove share/priv-fts.h path from makefile to fix
makedist; autojunk'd
|
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
|
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
|
c09e438fdf
|
clamonacc - remove long (L) denotation from clamd.cond curl timeout configure option
|
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
correctly include/exclude clamonacc
|
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
|
bf5271f117
|
clamonacc - remove old onaccess_fan.c reference from windows clamd solution
|
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 |
Micah Snyder
|
e3d269a933
|
Adds detection and heuristic alert for zips with overlapping files, preventing extraction of non-recursive zip bombs.
|
6 years ago |
Micah Snyder
|
ad6e0f70cb
|
Adds unzip parser code readability improvements; doxygen function comments.
|
6 years ago |
Micah Snyder (micasnyd)
|
5383eeae49
|
Adds 3 valgrind suppression rules to ignore the wcsrtombs false positive in UnRAR's unicode.cpp (see line 40).
|
6 years ago |
Andrew
|
1643b4a114
|
Support the ternary operators (AutoIt script extraction)
There are a few other unsupported op codes, but we'll need
to investigate more to determine what to do with them.
|
6 years ago |
Mickey Sola
|
e044303b5f
|
oss-fuzz - fixup fixes for ole2 and macho based on review
|
6 years ago |
Mickey Sola
|
7c9676f435
|
oss-fuzz - 13649 - add 64bit typecast when searching hashtable to ensure constant-val leftshift will always fit as expected, regardless of architecture
|
6 years ago |
Mickey Sola
|
622771bd58
|
oss-fuzz - 13468 - fix shift of negative value when converting from unicode
|
6 years ago |
Mickey Sola
|
2603adddbc
|
oss-fuzz - 13507 - add 32-bit section alignment size sanity check and appropriate evasion heuristic while scanning mach-o executables
|
6 years ago |