From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: Testing Core Update 118 Date: Thu, 01 Feb 2018 15:16:13 +0000 Message-ID: <1517498173.2319.5.camel@ipfire.org> In-Reply-To: <8E147F50-C1BB-4152-8098-107F1FF8E8BD@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1674152168586900282==" List-Id: --===============1674152168586900282== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi, On Thu, 2018-02-01 at 15:43 +0100, ummeegge wrote: > Hello, >=20 > Am 01.02.2018 um 12:37 schrieb Michael Tremer: >=20 > > Hi, > >=20 > > nothing of that sounds too bad - except that it sounds a bit extortionate= for > > just some syslogging. > >=20 > > Maybe it is worth trying it if can be built without json at least. >=20 > Have tried yesterday for fast checkout if it builds but the compilation qui= ts causing a non existing libfastjson. Also the Rsyslog documentation points = json-c as a requirement --> http://www.rsyslog.com/doc/master/installation/in= stall_from_source.html#build-requirements out, not sure if can get around it = . Some of the other listed libs at the bottom might not be a requirement but = possibly a nice one to have even the logs should be send to a remote log serv= er. > Rsyslog do provides really a lot of extensions which might be worth for a l= ook over... I am not sure if we need any of the extensions since we are basically using the bare minimum at the moment - sysklogd cannot do much more. And so far nobody has really complained about this. json-c is fine. Some other packages need this too and I am sure that I have built this before somewhere. The rest: I think the rsyslogd people are doing this a bit wrong. It is quite an excessive amount of libraries and I do not get why some basic functionality like a syslog daemon needs that. But I guess we don't have any other choice here than packaging all of them. > > However, since we are on the topic of logging reliably, it might be inter= esting > > to have support for SSL in there. >=20 > This should be no problem i think. Rsyslog can be linked against libgcrypt,= GnuTLS and OpenSSL. A build is currently running on a openssl-11 basis where= by i think OpenSSL should be preferred ? OpenSSL should be preferred. > >=20 > > Have you tried if the old configuration file works or does it come with a= new > > configuration file format? >=20 > The new version 8.32 is in building process will check this if it is ready.= On my first tries with Rsyslog which is no also 1+ year ago, i needed to mak= e two changes on syslog.conf --> https://forum.ipfire.org/viewtopic.php?t=3D1= 6669#p98481 and after that i renamed it to rsyslog.conf and everything worked= just fine. That sounds good. They have their own configuration file format for some modules stuff but since we don't intend to use any of that, we should be fine here. Would you update those packages and rebase the branch on next since you have already been working on this? Please send this over to Peter for review then and let him test the TCP logging capabilities since he was the one who required this in the first place. But let's only start working on this when the current OpenVPN stuff is done. Best, -Michael >=20 > >=20 > > Best, > > -Michael > >=20 > > On Thu, 2018-02-01 at 09:41 +0100, ummeegge wrote: > > > Hi all, > > >=20 > > > Am 31.01.2018 um 17:35 schrieb Michael Tremer: > > >=20 > > > > I wouldn't mind changing to rsyslog, but would this be just a drop-in > > > > replacement or cause some serious work? > > >=20 > > > longer time ago i have integrated Rsyslog into IPFire --> https://forum= .ipfire > > > .org/viewtopic.php?t=3D16669 which was not that difficult but there was= the need > > > for some new packages. As far as i remember i worked there with > > >=20 > > > libtasn1 > > > libestr > > > json-c > > > liblogging > > > libfastjson > > > librelp > > >=20 > > > as a beneath info. > > >=20 > > > >=20 > > > > -Michael > > >=20 > > >=20 > > > Greetings, > > >=20 > > > Erik >=20 >=20 --===============1674152168586900282== Content-Type: application/pgp-signature Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="signature.asc" MIME-Version: 1.0 LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0KCmlRSXpCQUFCQ2dBZEZpRUU1L3JXNWwzR0dl Mnlwa3R4Z0hudy8yK1FDUWNGQWxwekx6MEFDZ2tRZ0hudy8yK1EKQ1FjaUd3LytPd3h1R2xwRFA0 TTJyN0I2TktRMk8vS3loU0NhaHRTdTdBaitjSkVnS0hTUmJ3WDdQSnFtS2tEcwp6U1FvQ1R5NVlh NVhTenNnN3VjYmpNdm00dU9VZDNCOVlTdFVnaE9VWHY4bHUvS3p5T0srOHNZdmV6SDY0ZVY5Clpk VmVKMGliM0dVQ2VRMWl1T1htb3J3L1RPV2JzaktNSDlSUXJuQWM3d3ZVTWdtUTZZZEJlRDVlSWkv UWN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