summaryrefslogtreecommitdiffstats
path: root/plugins/imfile/imfile.c
Commit message (Collapse)AuthorAgeFilesLines
* imfile: remove redundant error mesageRainer Gerhards2013-06-251-2/+0
|
* typo fix ("listner" vs. "listener")Michael Biebl2013-06-251-1/+1
|
* imfile: errors persisting state file are now reportedRainer Gerhards2013-03-201-0/+8
| | | | closes: http://bugzilla.adiscon.com/show_bug.cgi?id=292
* imfile: now detects file change when rsyslog was inactiveRainer Gerhards2013-03-201-0/+1
| | | | | | | | Previosly, this case could not be detected, so if a file was overwritten or rotated away while rsyslog was stopped, some data was missing. This is now detected and the new file being forwarded right from the beginning. closes: http://bugzilla.adiscon.com/show_bug.cgi?id=228
* bugfix: very minimal bugfix in imfileRainer Gerhards2012-12-141-0/+2
| | | | | not really relevant for production, a few KB were lost during initialization phase if no state file was present
* cosmetic: remove compiler warningRainer Gerhards2012-10-151-1/+1
|
* ratelimit: added linux-like ratelimiter typeRainer Gerhards2012-10-151-1/+1
|
* imfile: converted to new ratelimit interfaceRainer Gerhards2012-10-151-15/+7
|
* ratelimiter: enable thread-safe mode & (related) API changesRainer Gerhards2012-10-151-1/+1
|
* interface cleanup (probably not final)Rainer Gerhards2012-10-151-1/+1
|
* new ratelimit: interface plumbing addedRainer Gerhards2012-10-091-2/+2
| | | | no actual implementation yet done
* fix whitespace issueRainer Gerhards2012-09-271-1/+0
|
* bugfix: config errors did not always cause statement to failRainer Gerhards2012-09-271-7/+2
| | | | This could lead to startup with invalid parameters.
* imfile: implement support for module parameters via module() stmtRainer Gerhards2012-09-271-9/+77
|
* imfile: implement support for input()Rainer Gerhards2012-09-271-3/+78
|
* milestone: port imfile to v6 config systemRainer Gerhards2012-09-261-135/+273
|
* Merge branch 'v6-stable-noscoping' into masterRainer Gerhards2012-01-191-12/+12
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html plugins/imfile/imfile.c plugins/imklog/imklog.c plugins/immark/immark.c plugins/imptcp/imptcp.c plugins/imrelp/imrelp.c plugins/imtcp/imtcp.c plugins/imtemplate/imtemplate.c plugins/imudp/imudp.c plugins/imuxsock/imuxsock.c plugins/mmsnmptrapd/mmsnmptrapd.c plugins/omtemplate/omtemplate.c runtime/glbl.c runtime/parser.c tools/omfile.c tools/syslogd.c
| * undoing v6.1 config scoping interface, part IRainer Gerhards2012-01-181-11/+11
| | | | | | | | The most common files are now changed, more needs to be done.
| * Merge branch 'v5-stable' into v6-stableRainer Gerhards2012-01-141-15/+14
| |\ | | | | | | | | | | | | Conflicts: plugins/imtcp/imtcp.c
* | \ Merge branch 'v5-stable' into masterRainer Gerhards2012-01-181-15/+14
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog action.h configure.ac doc/manual.html plugins/immark/immark.c plugins/impstats/impstats.c plugins/imptcp/imptcp.c plugins/imtcp/imtcp.c runtime/cfsysline.c runtime/cfsysline.h runtime/conf.c runtime/ctok.c runtime/ctok.h runtime/ctok_token.c runtime/ctok_token.h runtime/dnscache.h runtime/expr.c runtime/expr.h runtime/rule.c runtime/rule.h runtime/ruleset.h runtime/sysvar.c runtime/vm.h runtime/vmop.c runtime/vmop.h runtime/vmprg.c runtime/vmprg.h runtime/vmstk.c runtime/vmstk.h tools/omusrmsg.c
| * | Merge branch 'v4-stable' into v5-stableRainer Gerhards2012-01-141-15/+14
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: plugins/imfile/imfile.c plugins/omtesting/omtesting.c tcpsrv.c threads.c
| | * | more files moved to ASL 2.0Rainer Gerhards2012-01-121-15/+14
| | | |
* | | | Merge branch 'beta'Rainer Gerhards2011-10-171-2/+2
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| * | | Merge branch 'v5-stable' into betaRainer Gerhards2011-10-131-2/+2
| |\| | | | | | | | | | | | | | | | | | Conflicts: ChangeLog
| | * | bugfix: imfile did invalid system call under some circumstancesRainer Gerhards2011-10-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | when a file that was to be monitored did not exist BUT the state file actually existed. Mostly a cosmetic issue. Root cause was incomplete error checking in stream.c; so patch may affect other code areas.
* | | | milestone: added module config namesRainer Gerhards2011-07-201-0/+1
| | | |
* | | | Merge branch 'v5-devel'Rainer Gerhards2011-06-271-1/+22
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html plugins/imfile/imfile.c plugins/imklog/imklog.c plugins/imptcp/imptcp.c plugins/imtcp/imtcp.c plugins/imuxsock/imuxsock.c plugins/mmsnmptrapd/mmsnmptrapd.c tools/omfile.c
| * | | | imfile: added $InputFileMaxLinesAtOnce directiveRainer Gerhards2011-05-241-1/+10
| | | | |
| * | | | enhanced imfile to support input batchingRainer Gerhards2011-05-241-1/+13
| | |/ / | |/| |
| * | | backporting patch for clean make distcheckRainer Gerhards2011-03-161-0/+8
| | | |
* | | | imfile is being totally refactored -- add new conf system when doneRainer Gerhards2011-05-201-24/+0
| | | | | | | | | | | | | | | | otherwise we may waste a lot of effort...
* | | | step: imtcp moved to new config interfaceRainer Gerhards2011-05-051-2/+2
| | | | | | | | | | | | | | | | as far as we know that new interface right now ;)
* | | | step: put plumbing in place for new input module config systemRainer Gerhards2011-05-031-0/+29
| | | |
* | | | milestone: ruleset now supports rsconf_tRainer Gerhards2011-04-191-1/+1
| |/ / |/| |
* | | fixed double-free regerssion, probably caused by last mergeRainer Gerhards2011-03-141-5/+0
| | |
* | | Merge branch 'v5-devel'Rainer Gerhards2011-03-141-0/+8
|\ \ \ | | | | | | | | | | | | | | | | Conflicts: tests/diag.sh
| * | | fixing cosmetic memory leak in imdiag, imfileRainer Gerhards2011-03-141-0/+8
| |/ / | | | | | | | | | | | | | | | This had no real consequences, as it happend exactly once during the runtime, so the OS cleaned up. However, it broke the valgrind testbench.
* | | bugfix: very minor memory leak in imfileRainer Gerhards2011-03-111-0/+5
| | | | | | | | | | | | | | | almost cosmetic: leaks a few bytes once during a run -- more a problem for valgrind testing -- not for practical use
* | | Merge branch 'v5-beta'Rainer Gerhards2011-03-111-0/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html plugins/omlibdbi/omlibdbi.c tests/Makefile.am tests/diag.sh
| * | added work-around for bug in gtls, which causes fd leak when using TLSBojan Smojver2011-02-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | The capability has been added for module to specify that they do not like being unloaded. related bug tracker: http://bugzilla.adiscon.com/show_bug.cgi?id=222 Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | | Merge branch 'v5-beta'Rainer Gerhards2011-02-181-0/+34
|\| | | | | | | | | | | | | | Conflicts: plugins/imfile/imfile.c
| * | enhance: imfile did not yet support multiple rulesets, now addedRainer Gerhards2011-02-181-0/+34
| | | | | | | | | | | | | | | | | | we do this directly in the beta because a) it does not affect existing functionality and b) one may argue that this missing functionality is close to a bug.
* | | Merge branch 'v5-beta'Rainer Gerhards2011-02-181-3/+3
|\| | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html runtime/glbl.c tools/omdiscard.c
| * | bugfix: very long running actions could prevent shutdown under some ↵Rainer Gerhards2011-02-111-3/+3
| | | | | | | | | | | | | | | | | | circumstances This has now been solved, at least for common situations.
* | | Merge branch 'v5-beta'Rainer Gerhards2011-02-111-6/+16
|\| | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| * | enhanced imfile to support non-cancel input terminationRainer Gerhards2011-02-101-6/+16
| | |
* | | Merge branch 'v5-devel'Rainer Gerhards2011-02-011-1/+7
|\| | | | | | | | | | | | | | | | | | | | Conflicts: plugins/imfile/imfile.c plugins/imudp/imudp.c plugins/ommysql/ommysql.c
| * | enhanced imfile to support multi-line messagesDavid Lang2011-01-251-1/+7
| | | | | | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | | Merge branch 'v5-devel'Rainer Gerhards2010-11-251-0/+1
|\| | | | | | | | | | | | | | Conflicts: runtime/rsyslog.h
| * | Merge branch 'v5-beta' into v5-develRainer Gerhards2010-11-251-0/+1
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/imfile.html plugins/imfile/imfile.c runtime/rsyslog.h