Commit Graph

33 Commits (3161aec3da8f763fe14461fa50c4a82b58717145)

Author SHA1 Message Date
Gabriele Gristina 3161aec3da fix the comments :)
5 years ago
Gabriele Gristina 5679ca3344 Rewrite hc_fopen to better handling file descriptor locking/unlocking functions, saving kernels binary from plain to gzip format
5 years ago
Gabriele Gristina 398c89c75c switch almost all FILE ops, potfile is the only missing
5 years ago
Gabriele Gristina b2529af172 remove original commented code
5 years ago
Gabriele Gristina 6cb4abd526 Add zlib support v2
5 years ago
jsteube 9d43111730 Fix broken hex notation
6 years ago
jsteube b88c956d97 Rule Engine: Add JtR compatible support for hex notations in rule engine
6 years ago
jsteube 05a01d3843 fix some datatypes
6 years ago
Rosen Penev 0555613305 Remove else statement after return
7 years ago
jsteube f5ee3db5a6 Update cpu rule engine to support passwords up to length 256
7 years ago
mhasbini 5734741392 Add support for rule: eX
7 years ago
Royce Williams 067372f5ce more event_log_* standardization
7 years ago
philsmd fe33957303
rule engine: prevent integer underflow and dead code
7 years ago
philsmd 1b41e6aba3
rule engine: 2 more possibly memory leaks (see previous commits)
7 years ago
philsmd b285c04a21
added additional memory leak checks within the rule engine
7 years ago
Rosen Penev 2a2bd0e2b1
Restore strerror as %m is unsupported by the BSDs
7 years ago
jsteube ae5b75d65c Remove unused variable in rp.c
7 years ago
Jens Steube 0cbf19e162 Fixed automatic rule generator: Do not create 'X', '4' or '6' rules as they are not support in kernel rules
7 years ago
Rosen Penev 5c0bd0a15f
Remove strerror in favor of thread safe %m
8 years ago
jsteube ea4fd1de50 Remove complicated checks after memory allocation and in case of error print to stderr instead. This makes the memory allocation functions more natural to use.
8 years ago
jsteube fbcd899a34 Fix some code in rp.c to make cppcheck happy
8 years ago
jsteube 45ffc764ed Fixed a bug in rule generator code when using the memory copy function
8 years ago
jsteube 93adde9d2f * Wrap everything related to *stat() into own functions
8 years ago
jsteube 8598a79732 Removed exit() from memory.c, resulting in all exit() calls removed from all code in the repository
8 years ago
jsteube af9de0a7b7 Fix some error string formats
8 years ago
jsteube 8fc4da795b Replace fprintf(stderr, ...) on malloc.c with log_event_error()
8 years ago
jsteube 27bec8be13 Get rid of logging.c and most exit() calls replaced with return() for true library usage
8 years ago
jsteube 29942f5fb3 Update rp.c function parameters
8 years ago
coolbry95 a78fd4e915 changed uint to u32
8 years ago
jsteube 67dd2e9b67 Separate rules and straight mode from each other, remove rules_ctx_t
8 years ago
jsteube 92e263a761 Add noop-check to rules_ctx.c
8 years ago
jsteube 62b97a6fe6 Move loading rules into outer loop
8 years ago
jsteube ebe9f1c07f Prepare for rules_ctx_t
8 years ago