23 Nov
2001
23 Nov
'01
4:08 p.m.
On Mon, Nov 12, 2001 at 05:34:41PM -0500, Chris Sibbitt wrote:
SUMMARY: How many connection can I have to a tcp() source? 10? Why?
I have been experiencing a problem with a syslog-ng (1.4.11) server seemingly only allowing 10 connections to a tcp() source. A quick tour of the code found the offending code at line 341 in afinet.c:
self->super.max_connections = 10;
it's limited because otherwise it'd be easy to mount a DoS attack against the logger host. you can change this limit run-time without changing the source with the max-connection option to tcp(): source src { tcp(max-connections(100)); }; -- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1