summaryrefslogtreecommitdiffstats
path: root/plugins/imgssapi/imgssapi.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'v5-stable-newstats'Rainer Gerhards2012-04-071-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: action.c configure.ac doc/imuxsock.html plugins/imklog/imklog.c plugins/imptcp/imptcp.c plugins/imtcp/imtcp.c plugins/imudp/imudp.c plugins/imuxsock/imuxsock.c runtime/glbl.c runtime/glbl.h runtime/net.c runtime/ruleset.c tcpsrv.h tools/syslogd.c
| * added configuration directive to disable octet-counted framingRainer Gerhards2012-03-191-1/+1
| | | | | | | | ... for imtcp, directive is $InputTCPServerSupportOctetCountedFraming
* | Merge branch 'v6-stable-noscoping' into masterRainer Gerhards2012-01-191-5/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 II (now finished)Rainer Gerhards2012-01-191-5/+5
| | | | | | | | | | | | | | | | | | This concludes the removal of the new scoping interface, at least as far as pre v6-plugins are affected. Full code cleanup will happen in the v6.3 branch.
* | | milestone: added module config namesRainer Gerhards2011-07-201-0/+1
| | |
* | | step: generalized new config interface for all module typesRainer Gerhards2011-05-061-0/+2
| | |
* | | 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
|/ /
* | 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>
* | moving towards scoping inside rsyslog.confRainer Gerhards2010-07-211-5/+5
|/ | | | first step: adding object-type specifier to config statement table
* Merge branch 'beta'Rainer Gerhards2009-11-251-0/+2
|\ | | | | | | | | Conflicts: ChangeLog
| * Merge branch 'v5-stable' into betaRainer Gerhards2009-11-251-0/+2
| |\ | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html tests/Makefile.am
| | * bugfix: enabling GSSServer crashes rsyslog startupTomas Kubina2009-11-251-0/+2
| | |
* | | minor: moved all code to new isAllowedSender2() interfaceRainer Gerhards2009-11-171-2/+2
| | |
* | | Merge branch 'v4-devel'Rainer Gerhards2009-11-171-4/+12
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: doc/rsyslog_conf_modules.html gss-misc.c plugins/imgssapi/imgssapi.c plugins/imudp/imudp.c plugins/imuxsock/imuxsock.c runtime/glbl.c runtime/glbl.h runtime/net.c
| * | added option to use unlimited-size select() callsvarmojfekoj2009-11-171-4/+12
| | | | | | | | | | | | | | | | | | Thanks to varmjofekoj for the patch Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | | enhanced test environment (including testbench)Rainer Gerhards2009-10-221-1/+2
| |/ |/| | | | | | | | | | | | | support for enhancing probability of memory addressing failure by using non-NULL default value for malloced memory (optional, only if requested by configure option). This helps to track down some otherwise undetected issues within the testbench and is expected to be very useful in the future.
* | internal: added ability to terminate input modules not via pthread_cancel...Rainer Gerhards2009-07-201-0/+8
|/ | | | | | | | ... but an alternate approach via pthread_kill. This is somewhat safer as we do not need to think about the cancel-safeness of all libraries we use. However, not all inputs can easily supported, so this now is a feature that can be requested by the input module (the most important ones request it).
* added capability to run multiple tcp listeners (on different ports)Rainer Gerhards2009-05-221-2/+2
| | | | | | | | | | | Well, actually this and a lot of related things. I improved the testbench so that the new capabilities are automatically tested and also did some general cleanup. The current multiple tcp listener solution will probably receive some further cleanup, too, but looks quite OK so far. I also reviewed the way tcpsrv et all work, in preparation of using this code for imdiag. I need to document the findings, especially as the code is rather complicated "thanks" to the combination of plain tcp and gssapi transport modes.
* some cleanupRainer Gerhards2009-04-171-1/+0
| | | | | ... mostly removal of compile-time warnings (thanks to Michael Biebl for suggesting to look after that)
* Merge branch 'v3-stable' into betaRainer Gerhards2009-03-111-1/+7
|\ | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| * fixed a potential segfault problem in gssapi codevarmojfekoj2009-03-021-1/+7
| | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | Merge branch 'v3-stable' into betaRainer Gerhards2008-11-291-10/+5
|\| | | | | | | | | Conflicts: runtime/rsyslog.h
| * minor cleanupRainer Gerhards2008-11-291-0/+1
| |
| * security bugfix: $AllowedSender was not honored,Rainer Gerhards2008-11-291-10/+4
| | | | | | | | ...all senders were permitted instead
* | removed compile time fixed message size limit (was 2K)Rainer Gerhards2008-09-021-2/+10
|/ | | | | The limit can now be set via $MaxMessageSize global config directive (finally gotten rid of MAXLINE ;))
* added (internal) error codes to error messagesRainer Gerhards2008-06-271-7/+7
| | | | | Also added redirector to web description of error codes closes bug http://bugzilla.adiscon.com/show_bug.cgi?id=20
* changed Rcv-Interface in tcpsrv subsystemRainer Gerhards2008-06-231-19/+24
| | | | | | It is now iRet based. This enables us to communicate more in-depth information to the upper peers. This is needed to handle the EGAIN case on rcv (not yet implemented)
* made imgssapi work with new netstrm driver modelRainer Gerhards2008-05-051-10/+17
| | | | | | | | | there were a couple of things where imgssapi was not compatible with the new encapsulation. I did a somewhat dirty fix. The real solution would be to turn gssapi functionality into a netstream driver, which is too much for now (after all, we want to release some time AND we need to have the code mature in practice before we go for the next target...).
* some more cleanupRainer Gerhards2008-04-161-1/+1
| | | | | reduced dependencies, moved non-runtime files to its own directory except for some whom's status is unclear
* bugfix: TCP (and GSSAPI) octet-counted frame did not work correctly in allRainer Gerhards2008-03-141-1/+1
| | | | | situations. If the header was split across two packet reads, it was invalidly processed, causing loss or modification of messages.
* bugfix: imgssapi segfaulted under some conditions; this fix is actually notRainer Gerhards2008-03-131-27/+10
| | | | | | just a fix but a change in the object model. Thanks to varmojfekoj for providing the bug report, an initial fix and lots of good discussion that lead to where we finally ended up.
* implemented module unload handling (required a number of interface changes)Rainer Gerhards2008-03-111-2/+9
|
* renamed library module file names to lm*, so that they match the overallRainer Gerhards2008-03-071-4/+4
| | | | scheme (like im* and om*)
* - added RSYSLOGD_MODDIR environment variableRainer Gerhards2008-03-071-10/+12
| | | | | - added -M rsyslogd option (allows to specify module directory location) - converted net.c into a loadable library plugin
* applied some bugfixes to new code supplied by varmojfekoj - thanks!v3-12-1Rainer Gerhards2008-03-061-3/+5
|
* changed module loader to automatically add ".so" suffix if not specifiedRainer Gerhards2008-03-051-1/+1
| | | | (over time, this shall also ease portability of config files)
* some more cleanupRainer Gerhards2008-03-051-4/+4
|
* cleanupRainer Gerhards2008-03-051-15/+0
|
* fixed sleep callRainer Gerhards2008-03-051-1/+1
|
* - extracted logerror*() family of functions from syslogd, made them theirRainer Gerhards2008-03-051-20/+24
| | | | | | own class and converted to new object calling conventions (interface-based) - converted gss-misc into a loadable library module
* - changed modules.c calling conventions to be interface-basedRainer Gerhards2008-03-051-16/+1
| | | | | | | | | | | - moved module loader from conf.c to module.c, where it belongs - made the necessary plumbing to auto-load library modules - upgraded debug system to include iRet in function exit message - changed module interface so that instances need only to be supported by output plugins (if we actually need them for input plugins, we can always add it again...) - milestone: first implementation of library modules (but do not get unloaded on exit/hup so far)
* - changed module interface to support querying obj interface (stage work)Rainer Gerhards2008-03-041-4/+1
| | | | - changed module interface version, as the interface change is quite large
* fixed newly introduced bugs in imgssapi and imtcp and their helpers nowRainer Gerhards2008-03-031-27/+42
| | | | plain tcp works again
* made imgssapi compileRainer Gerhards2008-03-031-137/+330
|
* - added class tcpsRainer Gerhards2008-03-021-12/+159
| | | | | | - added class tcps_sess - changed imtcp to use new classes; seems to work; imgssapi currently broken
* - fixed wrong pointer in imgssapi config codingRainer Gerhards2008-02-261-0/+2
| | | | - added $InputGSSServerMaxSessions config directive
* fixed wrong pointer in imgssapi config codingRainer Gerhards2008-02-261-1/+1
|
* shuffled some more code, added comments varmojfekoj sent me a while ago toRainer Gerhards2008-02-261-2/+40
| | | | imgssapi