Rainer Gerhards
56d2289ee9
Merge pull request #2301 from rgerhards/imfile-refactor1
...
imfile: some basic refactoring plus some TODO items added
2017-12-27 15:31:47 +01:00
Janmejay Singh
c205dcba26
Fix lookup-table unsigned underflow in array-table lookup and empty-table handling across array and sparse-array tables (first one was identified in #2295 after first set of identified issues were fixed) + single-line cosmetic changes that kill trailing spaces/tabs
2017-12-27 19:01:23 +05:30
Rainer Gerhards
ff2bddd232
imfile: some basic refactoring and simplification
...
simplify and streamline code, remove (kind of) duplicate code,
add TODO items for things that are not OK
2017-12-27 13:18:27 +01:00
Rainer Gerhards
572da2b23c
maintain ChangeLog
2017-12-27 12:13:53 +01:00
Rainer Gerhards
23b85f654d
Merge pull request #2298 from rgerhards/i872
...
build system: require libczmq 4.x
2017-12-27 12:11:26 +01:00
Rainer Gerhards
29533f53dd
Merge pull request #2300 from jgerhards/errmsg-lookup
...
lookup: use new errmsg interface
2017-12-27 12:11:09 +01:00
Rainer Gerhards
71b0c175c0
Merge pull request #2302 from janmejay/master
...
Fix lookup-table unsigned underflow lookup-table comparators
2017-12-27 12:08:43 +01:00
Janmejay Singh
66bdb31377
Fix lookup-table unsigned underflow in quick-sort and binary-search comparators (identified in #2295 )
2017-12-27 13:20:29 +05:30
Jan Gerhards
0134348e15
lookup: use new errmsg interface
...
see also https://github.com/rsyslog/rsyslog/issues/1684
2017-12-26 17:15:39 +01:00
Rainer Gerhards
18947fae14
Merge pull request #2299 from rgerhards/imfile-improve
...
imfile: some improvements
2017-12-26 17:14:04 +01:00
Rainer Gerhards
d71ab8a5cc
Merge pull request #2296 from rgerhards/i2295
...
lookup tables: fix undefined behaviour
2017-12-26 15:37:44 +01:00
Rainer Gerhards
accf1fcf17
imfile: add a bit compile-time hardening
...
helps generating better code, protects against coding glitches (as it
enables compiler to alert against unintensional interface violations)
and helps doing better in the testbench (especially via UBSan)
2017-12-26 13:04:59 +01:00
Rainer Gerhards
6ea7254903
imfile: cosmetic fixes (code style and very long lines)
2017-12-26 12:36:18 +01:00
Rainer Gerhards
ad8bdb06f0
build system: require libczmq 4.x
...
as omczmq does require v4 features
closes https://github.com/rsyslog/rsyslog/issues/872
2017-12-25 19:22:44 +01:00
Rainer Gerhards
1dd8fd65cc
maintain ChangeLog
2017-12-25 18:45:11 +01:00
Rainer Gerhards
6400879df4
Merge pull request #2242 from jgerhards/i2224
...
rscript: add int2Hex
2017-12-25 18:39:20 +01:00
Rainer Gerhards
a9f44bfe35
Merge pull request #2297 from rgerhards/i2099
...
testbench: document problems with libfaketime 0.99.7
2017-12-25 18:39:07 +01:00
Rainer Gerhards
78b0e5658d
testbench: document problems with libfaketime 0.99.7
...
closes https://github.com/rsyslog/rsyslog/issues/2099
2017-12-25 17:22:42 +01:00
Rainer Gerhards
b633eb1bd4
Merge pull request #2294 from jgerhards/errmsg-rsconf
...
rsconf: use new errmsg interface
2017-12-25 16:39:26 +01:00
Rainer Gerhards
4f13c27d5a
lookup tables: fix undefined behaviour
...
bsearch is not permitted to be called with NULL ptr for array.
Detectedb by LLVM UBSan.
see also https://github.com/rsyslog/rsyslog/issues/2295
2017-12-25 16:20:32 +01:00
Rainer Gerhards
cd7718c82c
Merge pull request #2291 from jgerhards/errmsg-imfile
...
imfile: use new errmsg interface
2017-12-25 16:06:56 +01:00
Jan Gerhards
1987cabbbf
rsconf: use new errmsg interface
...
see also https://github.com/rsyslog/rsyslog/issues/1684
2017-12-25 15:46:03 +01:00
Rainer Gerhards
2d1aa30367
Merge pull request #2292 from jgerhards/i2243
...
mmanon: fix undefined behavior
2017-12-25 10:10:40 +01:00
Jan Gerhards
5388e6c9fd
mmanon: fix undefined behavior
...
closes https://github.com/rsyslog/rsyslog/issues/2243
2017-12-24 11:56:43 +01:00
Jan Gerhards
e5baa34bfb
imfile: use new errmsg interface
...
see also https://github.com/rsyslog/rsyslog/issues/1684
2017-12-24 11:53:09 +01:00
Jan Gerhards
f5eef34361
rscript: add int2Hex
...
closes https://github.com/rsyslog/rsyslog/issues/2224
2017-12-24 11:46:57 +01:00
Rainer Gerhards
fb64e4ffcd
maintain ChangeLog
2017-12-24 10:49:40 +01:00
Rainer Gerhards
27f3cc4e04
Merge pull request #2286 from rgerhards/imkafka-msg
...
Imkafka: some smaller improvements
2017-12-24 10:47:19 +01:00
Rainer Gerhards
e51b03464d
Merge pull request #2290 from rgerhards/linelength-120
...
re-enable codes style checking
2017-12-24 10:41:30 +01:00
Rainer Gerhards
8cb0a95a38
code style: fix too-long lines
2017-12-23 18:25:37 +01:00
Rainer Gerhards
44eacd7261
Travis: line length check was not run, re-enabling
...
This was a side-effect of disabling static analyzer, which we were forced to
due to missing LLVM packages.
2017-12-23 14:06:48 +01:00
Rainer Gerhards
413e85d299
Merge pull request #2283 from rgerhards/issue-template
...
github: add issue template to project
2017-12-23 11:18:49 +01:00
deoren
e9d08e484e
Propose addition to the documentation footer
...
Instead of linking to only the master branch version of the docs, perhaps provide a link to both versions since there is not an index page that lists both?
refs rsyslog/rsyslog#2283
2017-12-23 01:36:19 -06:00
Rainer Gerhards
3215d06c48
Merge pull request #2287 from jgerhards/errmsg-mmrfcaddhmac
...
mmrfc5424addhmac: use new errmsg interface
2017-12-22 16:40:50 +01:00
Rainer Gerhards
be462bade7
code style: enforce line length maxium 120 chars
2017-12-22 12:54:28 +01:00
Rainer Gerhards
b4567a56f3
maintain ChangeLog
2017-12-22 12:50:34 +01:00
Rainer Gerhards
49f9b26601
Merge pull request #2246 from mrworkman/rscript-is-timestamp
...
Add is_time() RainerScript function.
2017-12-22 12:49:02 +01:00
Rainer Gerhards
a5f51eb366
testbench: make kafka tests not spam the test log
...
closes https://github.com/rsyslog/rsyslog/issues/2086
2017-12-22 12:46:34 +01:00
Rainer Gerhards
fbbfbdcba2
imkafka bugfix: do not emit error message on regular state
...
This was misunderstood as an error state and could spam the system
log considerably.
It is a recent regression.
2017-12-22 12:46:34 +01:00
Rainer Gerhards
e14d41cee9
Merge pull request #2288 from rgerhards/i2148
...
omkafka bugfix: potential misadressing
2017-12-22 12:46:06 +01:00
Rainer Gerhards
ff2bad87d0
omkafka bugfix: potential misadressing
...
The failed message list is improperly cleaned. This is a regression
from recent commit 4eae19e089b5a83da679fe29398c6b2c10003793, which
was introduced in 8.31.0.
This problem is more likely to happen under heavy load or bad
connectivity, when the local librdkafka queue overruns or message
delivery times out.
closes https://github.com/rsyslog/rsyslog/issues/2184
closes https://github.com/rsyslog/rsyslog/issues/2067
2017-12-21 19:19:10 +01:00
Jan Gerhards
ab08647f08
mmrfc5424addhmac: use new errmsg interface
...
see also: https://github.com/rsyslog/rsyslog/issues/1684
2017-12-21 19:10:24 +01:00
Rainer Gerhards
2af5c24d2d
Merge pull request #2285 from PascalWithopf/line_length_correction
...
codestyle: partially reduce line length to 120
2017-12-21 18:54:10 +01:00
Rainer Gerhards
404c0bfb29
maintain ChangeLog
2017-12-21 17:15:02 +01:00
Rainer Gerhards
603bd2e9b2
Merge pull request #2282 from rgerhards/i2280
...
core/glbl: remove long-unused option $optimizeforuniprocessor
2017-12-21 17:13:18 +01:00
Rainer Gerhards
fdb71684a0
Merge pull request #2281 from rgerhards/i2276
...
imklog: local host IP was hardcoded to 127.0.0.1
2017-12-21 17:12:05 +01:00
PascalWithopf
29c9fb1f9a
codestyle: reduce line length to 120
...
lines are still checked for a length of 125 because
these are just some of the lines
2017-12-21 17:09:32 +01:00
Rainer Gerhards
f08ce99e81
github: add issue template to project
2017-12-21 15:10:08 +01:00
Rainer Gerhards
e05b3ff0fd
core/glbl: remove long-unused option $optimizeforuniprocessor
...
This was still available, but had no effect (for ~10 years or so). The
plumbing is now removed. If someone tries to use the option, an
error message is generated.
closes https://github.com/rsyslog/rsyslog/issues/2280
2017-12-21 14:50:35 +01:00
Rainer Gerhards
19282d4810
Merge pull request #2267 from rgerhards/i2249
...
imfile: let user know if file was not found during FEN event notifica…
2017-12-21 14:35:28 +01:00