| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
This could lead to startup with invalid parameters.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\ |
|
| |\
| | |
| | |
| | |
| | | |
Conflicts:
plugins/imrelp/imrelp.c
|
| | | |
|
|\| |
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
ChangeLog
configure.ac
doc/manual.html
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
This does not have any practical problems associated with it, EXCECPT
that it caused almost all valgrind testbench tests to fail.
|
|\| |
| | |
| | |
| | |
| | | |
Conflicts:
ChangeLog
|
| |\|
| | |
| | |
| | |
| | | |
Conflicts:
ChangeLog
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
SCM_CREDENTIALS is not a socket option; its value is usually
0x2 which on most archs corresponds to socket option
SO_REUSEADDR, but on mips-arch there is no socket option
with value 0x2 and SO_REUSEADDR = 0x4, so the call will fail
with ENOPROTOOPT 'Protocol not available'; skip it.
There does not seem any other special setsockopt call is
needed anyway, besides the above.
In addition Jonny Törnbom commented:
SCM_CREDENTIALS is a control message type, not a socket option, so using
setsockopt(...SCM_CREDENTIALS...) is potentially dangerous and wrong and
should be deleted from the code. (SCM_CREDENTIALS is used in conjuction
with SO_PASSCRED which is the socket option to use.)
|
| |\| |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
It does nothing, at is just confusing.
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
now the complete code (JSON passing & ommongodb) could be tested
and passed the module tests made during development
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Uses a json-c library (http://oss.metaparadigm.com/json-c/).
With this, a template
> $template MongoTemplate,"{%hostname:::jsonf:sys%, %$!all-json:2:$:%"
and action
> & action(type="ommongodb" db="ceelog" collection="local" template="MongoTemplate")
will store a record created by
> logger -d -u p/dev/log -p mail.info -t mymailer '@cee: {"false": false, "null": null, "true": true, "object": {"a":"a", "b":"b"}, "array": [1, 2, 3], "number1": 3, "number2": 3.14, "string": "String"}'
as
> { "_id" : ObjectId("5037bbfc97dd811374ce5a00"), "sys" : "kulicka", "false" : "false", "null" : "-", "true" : "true", "object.a" : "a", "object.b" : "b", "array.*" : "3", "number1" : "3", "number2" : "3.140000", "string" : "String" }
which is not great, but fair enough given the current design of
libee (the information loss manifests by the time of template processing,
ommongodb can't fix it).
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
This will allow us to add template processing more cleanly.
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
It does nothing, at is just confusing.
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
|
|\| |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
ChangeLog
configure.ac
runtime/ruleset.c
tools/syslogd.c
|
| |\|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
ChangeLog
action.c
configure.ac
doc/manual.html
runtime/ruleset.c
template.h
threads.c
tools/syslogd.c
|
| | |
| | |
| | |
| | | |
This is done to prevent name claches with libraries.
|
| | |\ |
|
| | | |
| | | |
| | | |
| | | | |
modified: plugins/imuxsock/imuxsock.c
|
| | | |
| | | |
| | | |
| | | |
| | | | |
* add support for parsing trusted properties into libee event structure
* add $SystemLogParseTrusted config file option to enable it (default off)
|
|\ \ \ \ |
|
| |\| | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
modified: plugins/imuxsock/imuxsock.c
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Copy bAnnotateSysSock value from old config data into the new structure
* Set bUseCreds on the system log socket if bAnnotateSysSock is set
* Process all CMSG records, not only the first one
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Just to be sure that nothing unfortunate would happen, possible
that housekeeping would not get done without this.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
For some reason I forgot to free() the buffer that comes back from
zstr_recv(). Doh!
|
|\| | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Conflicts:
ChangeLog
configure.ac
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
this was not present in any released version
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Incremented pthread stack size to 4MB for imtcp, imptcp and imttcp
closes: http://bugzilla.adiscon.com/show_bug.cgi?id=342
|
| | | | |
|