summaryrefslogtreecommitdiffstats
path: root/runtime/net.h
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'c8'Rainer Gerhards2013-07-111-1/+1
|\ | | | | | | | | | | | | Conflicts: ChangeLog doc/imudp.html plugins/imudp/imudp.c
| * imudp: add ability to specify SO_RCVBUF size (rcvbufSize parameter)Rainer Gerhards2013-07-111-1/+1
| |
* | optimze: reduce memory operations during dns resolution/hostname settingRainer Gerhards2013-01-221-1/+1
| | | | | | | | | | | | | | | | | | | | previously, hostname and ip strings were shuffled to the msg object, which created a property out of them. Now the cache holds the property, and it is resused (almost) everywhere, what saves a lot of memory operations. The only exception is imtcp session setup, where different handling of the hostname is done, which we need to sort out (but that's another story).
* | optimize: have dns cache pre-create rsyslog prop_t'sRainer Gerhards2013-01-241-1/+1
| |
* | optimize: reduce nbr of strcpy() in FROMHOST processingRainer Gerhards2013-01-181-3/+4
|/
* added capability to use a local interface IP address as fromhost-ip for imuxsockRainer Gerhards2012-03-061-2/+4
| | | | new config directives: $IMUXSockLocalIPIF
* minor: moved all code to new isAllowedSender2() interfaceRainer Gerhards2009-11-171-1/+1
|
* Merge branch 'v4-devel'Rainer Gerhards2009-11-171-2/+2
|\ | | | | | | | | | | | | | | | | | | | | | | 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
| * Merge branch 'v3-stable' into v4-stableRainer Gerhards2009-11-171-2/+2
| |\ | | | | | | | | | | | | | | | Conflicts: doc/rsyslog_conf.html runtime/net.c
| | * correcting -q/-Q patch - was invalidRainer Gerhards2009-11-121-2/+2
| | | | | | | | | | | | | | | This is the correct patch. The previous one solved the segfault, but disabled the -q/Q options.
* | | moved DNS resolution code out of imudp and into the backend processingRainer Gerhards2009-11-171-2/+5
|/ / | | | | | | | | | | | | | | Most importantly, DNS resolution now never happens if the resolved name is not required. Note that this applies to imudp - for the other inputs, DNS resolution almost comes for free, so we do not do it there. However, the new method has been implemented in a generic way and as such may also be used by other modules in the future.
* | Merge branch 'v3-stable' into v4-stableRainer Gerhards2009-11-121-2/+2
|\|
| * bugfix: segfault on startup when -q or -Q option was givenRainer Gerhards2009-11-121-2/+2
| | | | | | | | | | bug tracker: http://bugzilla.adiscon.com/show_bug.cgi?id=157 Thanks to Jonas Nogueira for reporting this bug.
* | bugfix: reverse lookup reduction logic in imudp do DNS queries too oftenRainer Gerhards2009-09-031-1/+3
|/ | | | | | | | | A comparison was done between the current and the former source address. However, this was done on the full sockaddr_storage structure and not on the host address only. This has now been changed for IPv4 and IPv6. The end result of this bug could be a higher UDP message loss rate than necessary (note that UDP message loss can not totally be avoided due to the UDP spec)
* security bugfix: $AllowedSender was not honored,Rainer Gerhards2008-11-291-5/+2
| | | | ...all senders were permitted instead
* implemented wildcards inside certificate name check authenticationRainer Gerhards2008-05-271-1/+26
|
* first implementation of TLS server client authentication checkRainer Gerhards2008-05-191-1/+18
| | | | | | | The TLS server now checks the client fingerprint. This works, but is highly experimental. Needs to be refined for practice. Also: - implemented permittedPeers helper construct to store names - changed omfwd implementation to use new permittedPeers
* added fromhost-ip properties and some bugfixesRainer Gerhards2008-05-161-2/+2
| | | | | | | | | | - bugfix: TCP input modules did incorrectly set fromhost property (always blank) - bugfix: imklog did not set fromhost property - added "fromhost-ip" property - added "RSYSLOG_DebugFormat" canned template - bugfix: hostname and fromhost were swapped when a persisted message (in queued mode) was read in
* cleanup: removed no longer needed filesRainer Gerhards2008-04-161-0/+5
|
* moved net module to runtimeRainer Gerhards2008-04-161-0/+117
after careful analysis, I concluded that it is OK to place the current net.c/.h code under LGPL. Individual contributor agreement is given and no sysklogd code remains (see net.c for details).