summaryrefslogtreecommitdiffstats
path: root/runtime/net.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'v3-stable' into v4-stableRainer Gerhards2009-11-171-0/+3
|\ | | | | | | | | | | Conflicts: doc/rsyslog_conf.html runtime/net.c
| * correcting -q/-Q patch - was invalidRainer Gerhards2009-11-121-0/+3
| | | | | | | | | | This is the correct patch. The previous one solved the segfault, but disabled the -q/Q options.
* | bugfix: reverse lookup reduction logic in imudp do DNS queries too oftenRainer Gerhards2009-09-031-0/+44
| | | | | | | | | | | | | | | | | | 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)
* | integrated various patches for solarisRainer Gerhards2009-03-051-0/+5
| | | | | | | | | | | | | | | | | | Unfortunatley, I do not have the full list of contributors available. The patch set was compiled by Ben Taylor, and I made some further changes to adopt it to the news rsyslog branch. Others provided much of the base work, but I can not find the names of the original authors. If you happen to be one of them, please let me know so that I can give proper credits.
* | Merge branch 'beta'Rainer Gerhards2009-01-271-0/+29
|\| | | | | | | | | Conflicts: tools/omfile.c
| * Merge branch 'v3-stable' into betaRainer Gerhards2009-01-271-0/+29
| |\ | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| | * Merge branch 'debian_lenny' into v3-stableRainer Gerhards2009-01-121-0/+29
| | | | | | | | | | | | | | | Conflicts: ChangeLog
* | | resolved compile problem, e.g. on FreeBSDRainer Gerhards2008-12-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | I commented out some debug code that is only useful in some testing scenarios and re-enabled the old code. This solved a FreeBSD compile issue. Also, I fixed some other syntax error, which somehow went into the tree (I am still puzzled about that, especially as some have already and successfully build from that tree... anyhow ;)).
* | | added $PreserveFQDN config file directiveRainer Gerhards2008-12-081-1/+3
|/ / | | | | | | Enables to use FQDNs in sender names where the legacy default
* | Merge branch 'v3-stable' into betaRainer Gerhards2008-12-041-0/+2
|\| | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| * minor: net.c did not compile if GSSAPI support was disabledRainer Gerhards2008-12-031-0/+2
| |
* | Merge branch 'v3-stable' into betaRainer Gerhards2008-11-291-18/+51
|\| | | | | | | | | Conflicts: runtime/rsyslog.h
| * security bugfix: $AllowedSender was not honored,Rainer Gerhards2008-11-291-18/+51
| | | | | | | | ...all senders were permitted instead
* | fixed git merge bug (duplicate code could not be detected)Rainer Gerhards2008-10-021-19/+0
| |
* | Merge branch 'master' into helgrindRainer Gerhards2008-10-021-0/+21
|\|
| * Merge branch 'v3-stable' into betaRainer Gerhards2008-10-021-3/+24
| | | | | | | | | | | | Conflicts: runtime/net.c
* | removed no longer needed mutex callsRainer Gerhards2008-10-021-3/+0
| | | | | | | | | | | | problem source is that getnameinfo() is not cancel-safe, not that it is not thread-safe. It is now guarded against cancellation.
* | prevent getnameinfo() from being cancelledRainer Gerhards2008-09-301-2/+5
| | | | | | | | | | ... but removed the mutex, as the problem seems to be in cancel processing, so the mutex is no longer necessary
* | improved threadingRainer Gerhards2008-09-301-4/+22
|/ | | | | | | | - changed sequence when awakening thread - removed no longer needed condition variable - EXPERIMENTALLY added mutex guarding to hostname lookups this is to be removed if it does not have any verifyable useful effect
* added (internal) error codes to error messagesRainer Gerhards2008-06-271-29/+28
| | | | | Also added redirector to web description of error codes closes bug http://bugzilla.adiscon.com/show_bug.cgi?id=20
* bugfix: off-by-one bug during certificate checkRainer Gerhards2008-06-041-2/+4
|
* bugfix: part of permittedPeer structure was not correctly initializedRainer Gerhards2008-06-031-2/+1
| | | | thanks to varmojfekoj for spotting this
* Merge branch 'ietf-tls'Rainer Gerhards2008-05-271-0/+274
|\
| * implemented wildcards inside certificate name check authenticationRainer Gerhards2008-05-271-0/+274
| |
* | bugfix: sender information (fromhost et al) was missing in imudpRainer Gerhards2008-05-211-1/+1
|/ | | | thanks to sandiso for reporting this bug
* first implementation of TLS server client authentication checkRainer Gerhards2008-05-191-0/+64
| | | | | | | 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-6/+9
| | | | | | | | | | - 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
* added new "netstrm" class (not yet implemented)Rainer Gerhards2008-04-171-1/+0
|
* changelog added plus typo fixRainer Gerhards2008-04-171-1/+1
|
* moved host/domain-name related variables to global data poolRainer Gerhards2008-04-171-8/+7
|
* moved "DisableDNS" variable to global data poolRainer Gerhards2008-04-171-3/+3
|
* moved "bDropMalPTRMsgs" variable to global data poolRainer Gerhards2008-04-171-1/+1
|
* moved "family" variable to global data poolRainer Gerhards2008-04-171-1/+4
|
* removed no longer needed thingsRainer Gerhards2008-04-161-4/+0
| | | | | ... and some more cleanup. Also moved a file that I forgot (thanks to Michael Biebl for pointing that out).
* 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
* moved net module to runtimeRainer Gerhards2008-04-161-0/+1149
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).