Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | moved doBinaryOption() and doGetGUID() to cfsysline.c | Rainer Gerhards | 2007-07-30 | 5 | -116/+152 |
| | |||||
* | - fixed a memory leak in syslogd/init() that happend when the config file | Rainer Gerhards | 2007-07-30 | 2 | -2/+4 |
| | | | | could not be read - thanks to varmojfekoj for the patch | ||||
* | fixed a mem leak in OMSRdestruct - freeing the object itself was forgotten | Rainer Gerhards | 2007-07-30 | 2 | -0/+3 |
| | | | | - thanks to varmojfekoj for the patch | ||||
* | fixed a bug that caused ommysql to always complain about missing templates | Rainer Gerhards | 2007-07-30 | 2 | -0/+7 |
| | |||||
* | - added cfsysline objects - initial set of functions | Rainer Gerhards | 2007-07-30 | 5 | -4/+212 |
| | | | | - fixed bug in OMSRcreate() - always returned SR_RET_OK | ||||
* | bumping up version number | Rainer Gerhards | 2007-07-30 | 1 | -2/+2 |
| | |||||
* | preparing for 1.17.5v1-17-5 | Rainer Gerhards | 2007-07-30 | 4 | -6/+15 |
| | |||||
* | fixed a problem with shutting down the worker thread and freeing the | Rainer Gerhards | 2007-07-29 | 2 | -5/+18 |
| | | | | | selector_t list - this caused messages to be lost, because the message queue was not properly drained before the selectors got destroyed. | ||||
* | added a bit more information about modules | Rainer Gerhards | 2007-07-28 | 1 | -0/+43 |
| | |||||
* | fixed a missing file bug - thanks to Andrea Montanari for reporting this | Rainer Gerhards | 2007-07-28 | 2 | -1/+4 |
| | | | | problem | ||||
* | removed selector_t f references from output modules | Rainer Gerhards | 2007-07-27 | 8 | -40/+37 |
| | |||||
* | removed left-over debug printf | Rainer Gerhards | 2007-07-27 | 1 | -1/+0 |
| | |||||
* | - added omsr object (objomsr.c, objomsr.h) - template request for output | Rainer Gerhards | 2007-07-27 | 14 | -225/+276 |
| | | | | | | modules - changed doAction() interface - templates and output string generation for doActon() is now fully | ||||
* | - added omsr object (objomsr.c, objomsr.h) - template request for output | Rainer Gerhards | 2007-07-27 | 6 | -4/+190 |
| | | | | modules | ||||
* | prepared doc for 1.17.4v1-17-4 | Rainer Gerhards | 2007-07-27 | 3 | -4/+44 |
| | |||||
* | preparing for 1.17.4 release | Rainer Gerhards | 2007-07-27 | 1 | -1/+1 |
| | |||||
* | forgot to undo some changes - now done | Rainer Gerhards | 2007-07-27 | 1 | -5/+0 |
| | |||||
* | removed debug code | Rainer Gerhards | 2007-07-27 | 1 | -2/+0 |
| | |||||
* | undone last change - was not a good idea. Designed a smarter interface. | Rainer Gerhards | 2007-07-27 | 2 | -28/+0 |
| | |||||
* | added IDs to selector_t | Rainer Gerhards | 2007-07-26 | 2 | -1/+33 |
| | |||||
* | - changed doAction() interface to contain the full message string | Rainer Gerhards | 2007-07-26 | 9 | -213/+28 |
| | | | | - f_iov and its handling has been removed | ||||
* | - implemented needUDPSocket() interface | Rainer Gerhards | 2007-07-26 | 12 | -97/+153 |
| | | | | | | | | - replaced (mis) use of f_prevcount in omfwd.c -> now data element in instance data is used for retry counting - removed f->f_type from syslogd.c, omfwd.c - removed f->f_file from omfwd.c, omfile.c - f->f_flags is gone away | ||||
* | - removed f_type from omshell.c, omdiscard.c, omusrmsg.c, ommysql.c | Rainer Gerhards | 2007-07-26 | 7 | -44/+32 |
| | | | | | | | - removed f_type from syslogd.c/cflineParseFileName() - fixed bug in omfile.c which could lead to invalid addressing if "-" was given to not sync file - removed f_type from omfile.c | ||||
* | - removed references to f_un from omfile.c | Rainer Gerhards | 2007-07-26 | 2 | -131/+130 |
| | | | | - milestone reached: f->f_un has gone away! | ||||
* | removed references to f_un from omshell.c | Rainer Gerhards | 2007-07-26 | 1 | -5/+6 |
| | |||||
* | removed references to f_un from omfwd.c | Rainer Gerhards | 2007-07-26 | 2 | -102/+99 |
| | |||||
* | - removed references to f_un from ommysql.c | Rainer Gerhards | 2007-07-26 | 3 | -75/+66 |
| | |||||
* | - changed doAction() interface to include module data pointer | Rainer Gerhards | 2007-07-26 | 9 | -54/+29 |
| | | | | | | - removed references to f_un from omusrmsg.c - changed module template for parseSelectorAct() [code reduction, consitency] | ||||
* | - shuffled code from tcpsyslog.c to omfwd.c. It looks like it belongs more | Rainer Gerhards | 2007-07-26 | 3 | -372/+370 |
| | | | | | | | to that file. But we need to look at it some time later. The move was absolutely necessary so that no access to f->f_un happened in tcpsyslog.c (which was evil) - milestone reache: no more access to f->f_un from non-output modules | ||||
* | - implemented onSelectReadyWrite() interface | Rainer Gerhards | 2007-07-26 | 10 | -19/+102 |
| | | | | - milestone reached: no more access to f->f_un in syslogd.c | ||||
* | applied patch from Michel Samia to fix compilation when NOT compiled for | Rainer Gerhards | 2007-07-26 | 2 | -1/+9 |
| | | | | pthreads | ||||
* | fixed a situation where rsyslogd could create zombie processes thanks to | Rainer Gerhards | 2007-07-26 | 1 | -1/+1 |
| | | | | mildew for the patch | ||||
* | introduced getWriteFDForSelect() module API | Rainer Gerhards | 2007-07-25 | 11 | -6/+70 |
| | |||||
* | brought emergency logging to a somewhat cleaner state | Rainer Gerhards | 2007-07-25 | 1 | -47/+15 |
| | |||||
* | moved some references to module data from syslogd.c to modules | Rainer Gerhards | 2007-07-25 | 5 | -38/+23 |
| | |||||
* | moved code to output module | Rainer Gerhards | 2007-07-25 | 3 | -15/+14 |
| | |||||
* | use new dbgPrintInstInfo() interface | Rainer Gerhards | 2007-07-25 | 1 | -41/+1 |
| | |||||
* | added new function dbgPrintInstInfo() to omod interface | Rainer Gerhards | 2007-07-25 | 9 | -0/+85 |
| | |||||
* | changed calling interface for freeInstance() - need to work with dual | Rainer Gerhards | 2007-07-25 | 3 | -7/+13 |
| | | | | buffers in order to change output modules one by one | ||||
* | changed output modules to use a template-based code generation system for | Rainer Gerhards | 2007-07-25 | 13 | -492/+478 |
| | | | | standard entry points (implemented via preprocessor) | ||||
* | bumping version number | Rainer Gerhards | 2007-07-25 | 2 | -2/+4 |
| | |||||
* | preparing for 1.17.3v1-17-3 | Rainer Gerhards | 2007-07-25 | 2 | -5/+5 |
| | |||||
* | added fix for startup permission checks - thanks to Michel Samia | Rainer Gerhards | 2007-07-25 | 1 | -0/+2 |
| | |||||
* | fixed a bug that caused rsyslogd to segfault on exit (and probably also on | Rainer Gerhards | 2007-07-25 | 2 | -1/+13 |
| | | | | | | | HUP), when there was an unsent message in a selector that required forwarding and the dns lookup failed for that selector (yes, it was pretty unlikely to happen;)) thanks to varmojfekoj <varmojfekoj@gmail.com> for the patch | ||||
* | hardned syslogd for a very unusual low memory condition | Rainer Gerhards | 2007-07-24 | 1 | -2/+7 |
| | |||||
* | removed previous emergency logging system on startup, because it is not | Rainer Gerhards | 2007-07-24 | 1 | -21/+1 |
| | | | | | compatible with the new modules; need to re-implement the full functionality, currently stderr is used | ||||
* | applied patch from Michel Samia which solved problems when compiling | Rainer Gerhards | 2007-07-24 | 1 | -3/+7 |
| | | | | without Internet support | ||||
* | TypeName is now pulled from the module itself | Rainer Gerhards | 2007-07-24 | 3 | -11/+16 |
| | |||||
* | removed no-longer-used TESTING conditional compilation | Rainer Gerhards | 2007-07-24 | 1 | -51/+3 |
| | |||||
* | added freeInstance() call to output module interface; re-structured | Rainer Gerhards | 2007-07-24 | 8 | -129/+146 |
| | | | | ressource release code in syslogd.c |