Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Added support for SNMPv2, which is also default. Removed some debug code | Andre Lorbach | 2008-02-08 | 2 | -77/+100 | |
| | | | | | | and compiler warnings. Added support to define the transport type where udp is the default. This also enables ipv6 support if you have compiled net-snmp with it. | |||||
* | very quickly hacked a rought outline of the file monitor (without any | Rainer Gerhards | 2008-02-01 | 2 | -0/+639 | |
| | | | | guarantees) | |||||
* | fixed issue left over from debuging :( | Rainer Gerhards | 2008-02-01 | 1 | -2/+1 | |
| | ||||||
* | Initially implemented snmp into this output module. The code contains a lot | Andre Lorbach | 2008-02-01 | 2 | -15/+437 | |
| | | | | | | | | | | | of debug informations and additional stuff which is commented out. I will do some cleanup very soon. What is implemented yet: - SNMPv1 is supported (SNMPv2 will follow) - SNMP Target, Port, Community, EnterpriseOID, TrapType and SpecificType can be configured. Sample will follow soon. A SyslogMessageOID can be configured as well, this OID will be used for a variable which will then contain the original syslogmessage. | |||||
* | added some more comments on how to create messages and submit them to the | Rainer Gerhards | 2008-02-01 | 1 | -2/+52 | |
| | | | | main message queue | |||||
* | added input-plugin interface specification in form of a (copy) template | Rainer Gerhards | 2008-02-01 | 2 | -0/+446 | |
| | | | | input module | |||||
* | - fixed a bug that could cause invalid string handling via strerror_r | Rainer Gerhards | 2008-01-30 | 2 | -2/+4 | |
| | | | | | varmojfekoj provided the patch - many thanks! - adopted varmojfekoj's patch to v3, some more sterror_r's ;) | |||||
* | - changed the ommysql output plugin so that the (lengthy) connection | Rainer Gerhards | 2008-01-30 | 1 | -9/+14 | |
| | | | | | | | initialization now takes place in message processing. This works much better with the new queued action mode (fast startup) - fixed a newly introduced bug that caused output module's doAction entry point to be called on more than one thread under some circumstances | |||||
* | - renamed Msg object to usual all-lowercase object name (else we ran into | Rainer Gerhards | 2008-01-30 | 1 | -1/+1 | |
| | | | | | | troubles with the framework, also it was somewhat ugly...) - fixed a memory leak in object destruction (was recently introduced by object naming, not present in any released version) | |||||
* | - improved debug support a bit (assertions) | Rainer Gerhards | 2008-01-29 | 2 | -4/+4 | |
| | | | | | - restructured code, moved some part out of syslogd.c to action.c, where they belong (still some more to do in that regard ;)) | |||||
* | provided sample for integer config variable | Rainer Gerhards | 2008-01-28 | 1 | -0/+6 | |
| | ||||||
* | add Michael Biebl's autoconf patch for netsnmp - thks! | Rainer Gerhards | 2008-01-28 | 1 | -1/+1 | |
| | ||||||
* | created a work-around for plugin interface issue | Rainer Gerhards | 2008-01-25 | 1 | -8/+8 | |
| | ||||||
* | redesigned queue to utilize helper classes for threading support. This is | Rainer Gerhards | 2008-01-24 | 1 | -5/+4 | |
| | | | | | | finally in a running state for regular (non disk-assisted) queues, with a minor nit at shutdown. So I can finally commit the work again to CVS... | |||||
* | Module OMSNMP intially added, not completed yet. | Andre Lorbach | 2008-01-22 | 3 | -0/+188 | |
| | ||||||
* | - begun to permit queue to terminate without being drained | Rainer Gerhards | 2008-01-11 | 1 | -0/+1 | |
| | | | | | | - fixed a starvation condition in queueWorker (pthread_yield() was needed) could not be seen with any previously released code, came up during new development | |||||
* | - some cleanup | Rainer Gerhards | 2008-01-10 | 1 | -1/+0 | |
| | | | | | - implemented management function for worker thread 0 in order to change queue workers dynamically -- stage work | |||||
* | - fixed a bug that caused a segfault on startup when no $WorkDir directivev3-10-1a | Rainer Gerhards | 2008-01-10 | 5 | -5/+0 | |
| | | | | | | was specified in rsyslog.conf - fixed a bug that caused a segfault on queues with types other than "disk" - removed the now longer needed thread TermSyncTool | |||||
* | added --enable-mudflap ./configure option | Rainer Gerhards | 2008-01-08 | 9 | -17/+17 | |
| | ||||||
* | fixed some memory leaks in new code -- thanks to varmojfekoj for the patch | Rainer Gerhards | 2008-01-08 | 1 | -4/+6 | |
| | ||||||
* | - MsgSetProperty() implemented | Rainer Gerhards | 2008-01-07 | 1 | -8/+2 | |
| | | | | | - defined a property class - implemented deserializer (needs some more work) | |||||
* | fixed old references to rklogd - thanks to Michael Biebl for spotting them. | Rainer Gerhards | 2008-01-03 | 1 | -2/+2 | |
| | ||||||
* | cleanup | Rainer Gerhards | 2008-01-03 | 1 | -5/+5 | |
| | ||||||
* | applied Michael Biebl's patch to clean up the makefiles | Rainer Gerhards | 2008-01-03 | 9 | -29/+19 | |
| | ||||||
* | created omtesting, a debug and development aid output module. This is stage | Rainer Gerhards | 2007-12-31 | 4 | -4/+200 | |
| | | | | | work for the new queueing engine - we need a way to delay rule execution and that's what the module currently does ;) | |||||
* | omgssapi created | Rainer Gerhards | 2007-12-28 | 3 | -0/+697 | |
| | ||||||
* | internal restructuring in omfwd.c - stage work for further modularization I | Rainer Gerhards | 2007-12-27 | 1 | -10/+0 | |
| | | | | | think I also fixed a bug as a side-effect - but not looked to much at it | |||||
* | some cleanup | Rainer Gerhards | 2007-12-27 | 2 | -5/+13 | |
| | ||||||
* | added capability to have multiple UDP listeners running concurrently | Rainer Gerhards | 2007-12-27 | 1 | -24/+72 | |
| | ||||||
* | added $UDPServerAddress <ip> config directive | Rainer Gerhards | 2007-12-27 | 1 | -42/+22 | |
| | ||||||
* | removed no longer needed reference to "AcceptRemote" | Rainer Gerhards | 2007-12-26 | 1 | -2/+3 | |
| | ||||||
* | removed global variable LogPort | Rainer Gerhards | 2007-12-26 | 1 | -4/+51 | |
| | ||||||
* | removed active INET code from syslogd.c - still some auxiliary things | Rainer Gerhards | 2007-12-26 | 2 | -0/+17 | |
| | | | | remain | |||||
* | removed imudp code dependency on "finet" | Rainer Gerhards | 2007-12-26 | 1 | -13/+18 | |
| | ||||||
* | moved some of the udp input code to its right place | Rainer Gerhards | 2007-12-25 | 1 | -1/+5 | |
| | ||||||
* | - created an initial version of imudp.c. The majority of UDP reception code | Rainer Gerhards | 2007-12-21 | 1 | -1/+61 | |
| | | | | | | | | | | is now in that module and it is dynamically loadable. HOWEVER, that doesn't mean it is a proper module. There are still many, many dependencies on global variables, cross-module calls and such. However, havin the code base separated allows me to carry out some other cleanup before I return to create a really clean implementation of these modules. So it is kind of a stage work. Just don't mistake it with "the real thing"... | |||||
* | prepared for imudp | Rainer Gerhards | 2007-12-21 | 3 | -0/+156 | |
| | ||||||
* | cleaned up code (resulting in some shuffeling from syslogd.c to the "right" | Rainer Gerhards | 2007-12-21 | 1 | -1/+14 | |
| | | | | module) | |||||
* | created first version of imtcp (still very much depending on syslogd.c for | Rainer Gerhards | 2007-12-21 | 1 | -7/+133 | |
| | | | | configuration and a lot of other things) | |||||
* | begun work on imtcp | Rainer Gerhards | 2007-12-21 | 3 | -0/+162 | |
| | ||||||
* | removed single-threading support for sending TCP messages; caused | Rainer Gerhards | 2007-12-20 | 2 | -20/+0 | |
| | | | | | simplyfication of output module interface as well as core syslog processing. | |||||
* | implemented $AddUnixListenSocket config directive | Rainer Gerhards | 2007-12-20 | 1 | -13/+83 | |
| | ||||||
* | changed termination sync type | Rainer Gerhards | 2007-12-20 | 1 | -1/+1 | |
| | ||||||
* | implemented $SystemLogSocketName config directive | Rainer Gerhards | 2007-12-20 | 1 | -6/+25 | |
| | ||||||
* | implemented $OmitLocalLogging config directive | Rainer Gerhards | 2007-12-20 | 1 | -11/+13 | |
| | ||||||
* | moved unix socket code to its own module (imuxsock) | Rainer Gerhards | 2007-12-20 | 1 | -14/+130 | |
| | ||||||
* | begun moving unix socket code to its own module | Rainer Gerhards | 2007-12-20 | 3 | -0/+142 | |
| | ||||||
* | - implemented $klogUseSyscallInterface config directive | Rainer Gerhards | 2007-12-20 | 1 | -10/+19 | |
| | | | | - implemented $klogSymbolLookup config directive | |||||
* | - working on a potential race condition on the new input module interface. | Rainer Gerhards | 2007-12-20 | 2 | -3/+6 | |
| | | | | | | | | | | See newsgroup posting for details on the issue: http://groups.google.com/group/comp.programming.threads/msg/330b9675f17 a1ad6 I tried some mutex operations but came to the conclusion that this does not really help. So I have now switched to plain thread cancellation, which so far seems to be OK. Need more practical experience with other input modules to make a final decision. Thus I leave all code in and have just disabled the problematic code. | |||||
* | applied some more cleanup provided by Michael Biebl | Rainer Gerhards | 2007-12-19 | 1 | -2/+2 | |
| |