Re: [systemd-devel] SSL for gatewayd

2013-02-04 Thread Colin Guthrie
'Twas brillig, and Zbigniew Jędrzejewski-Szmek at 16/01/13 20:55 did gyre and gimble: On Wed, Jan 16, 2013 at 09:33:22PM +0100, Holger Winkelmann wrote: Can't speak from person experience, but my team has worked with the libevent and libev libraries which contain http libraries as well.

Re: [systemd-devel] SSL for gatewayd

2013-01-17 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Jan 11, 2013 at 10:08:54AM +1000, David Strauss wrote: On Thu, Jan 10, 2013 at 10:54 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: Can you say how things would work in your scheme? The scheme we use at Pantheon is that plus mapping the CN to user and OU to group. Then,

Re: [systemd-devel] SSL for gatewayd

2013-01-16 Thread Lennart Poettering
On Wed, 09.01.13 17:09, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: Hi, I'm still working on my journal-logging-over-the-network daemon (systemd-journal-remote), and in the process I've created some pathes to systemd-journal-gatewayd:

Re: [systemd-devel] SSL for gatewayd

2013-01-16 Thread Reindl Harald
Am 16.01.2013 18:12, schrieb Lennart Poettering: Sounds good! gntils is a pretty awful library, but the others aren't better, and it appears to be the right choice here. search for openvas gnutls and openvas libmicrohttpd and you become an overview of the quality of both libraries

Re: [systemd-devel] SSL for gatewayd

2013-01-16 Thread Holger Winkelmann
Er had Some relative Good Results with PolarSSL and lately the fork tropicSSL I was Not following the full discussion here, any reasons against classic openSSL apart from size of the library Holger -- Holger Winkelmann Travelping GmbH +49-171-5594745 ### Sent from a mobile device. Sorry

Re: [systemd-devel] SSL for gatewayd

2013-01-16 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Jan 16, 2013 at 07:11:31PM +0100, Holger Winkelmann wrote: Holger Winkelmann Travelping GmbH +49-171-5594745 ### Sent from a mobile device. Sorry for brevity and typos... ### On 16.01.2013, at 18:54, Reindl Harald h.rei...@thelounge.net wrote: Am 16.01.2013 18:12,

Re: [systemd-devel] SSL for gatewayd

2013-01-16 Thread David Strauss
On Wed, Jan 16, 2013 at 12:07 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: I would be happy to replace it with something different. Any recommendations? I've built a few projects with libmicrohttpd. I don't find the library intuitive, but many of the reasons behind design decisions

Re: [systemd-devel] SSL for gatewayd

2013-01-16 Thread Holger Winkelmann
Thanks for the feedback. In our design we also think about some remote journal logging but want to transport the messages via some form of message protocol. On the final receiving host we could present the logs via http(s) Holger On Jan 16, 2013, at 9:07 PM, Zbigniew Jędrzejewski-Szmek

Re: [systemd-devel] SSL for gatewayd

2013-01-16 Thread Holger Winkelmann
Can't speak from person experience, but my team has worked with the libevent and libev libraries which contain http libraries as well. libevent http library is linked to openssl. just my 2ct... On Jan 16, 2013, at 9:18 PM, David Strauss da...@davidstrauss.net wrote: On Wed, Jan 16, 2013 at

Re: [systemd-devel] SSL for gatewayd

2013-01-16 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Jan 16, 2013 at 09:33:22PM +0100, Holger Winkelmann wrote: Can't speak from person experience, but my team has worked with the libevent and libev libraries which contain http libraries as well. IIUC, libev uses libevent code for HTTP through a compatibility layer. libevent has only

Re: [systemd-devel] SSL for gatewayd

2013-01-16 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Jan 16, 2013 at 09:18:22PM +0100, Holger Winkelmann wrote: Thanks for the feedback. In our design we also think about some remote journal logging but want to transport the messages via some form of message protocol. On the final receiving host we could present the logs via http(s)

Re: [systemd-devel] SSL for gatewayd

2013-01-16 Thread Holger Winkelmann
On Jan 16, 2013, at 9:57 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Wed, Jan 16, 2013 at 09:18:22PM +0100, Holger Winkelmann wrote: Thanks for the feedback. In our design we also think about some remote journal logging but want to transport the messages via some form of

Re: [systemd-devel] SSL for gatewayd

2013-01-16 Thread Holger Winkelmann
On Jan 16, 2013, at 9:55 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Wed, Jan 16, 2013 at 09:33:22PM +0100, Holger Winkelmann wrote: Can't speak from person experience, but my team has worked with the libevent and libev libraries which contain http libraries as well. IIUC,

Re: [systemd-devel] SSL for gatewayd

2013-01-16 Thread Lennart Poettering
On Wed, 16.01.13 21:07, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: search for openvas gnutls and openvas libmicrohttpd and you become an overview of the quality of both libraries Er had Some relative Good Results with PolarSSL and lately the fork tropicSSL I was Not

Re: [systemd-devel] SSL for gatewayd

2013-01-16 Thread Lennart Poettering
On Wed, 16.01.13 21:57, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: On Wed, Jan 16, 2013 at 09:18:22PM +0100, Holger Winkelmann wrote: Thanks for the feedback. In our design we also think about some remote journal logging but want to transport the messages via some form of

Re: [systemd-devel] SSL for gatewayd

2013-01-16 Thread Mantas Mikulėnas
On Thu, Jan 17, 2013 at 12:36 AM, Lennart Poettering lenn...@poettering.net wrote: we already link against gcrypt via the FSS stuff, and indirectly via libcryptsetup. gnutls is the natural next step of that i guess. IIRC, current GnuTLS versions now use Nettle as the crypto library. The gcrypt

Re: [systemd-devel] SSL for gatewayd

2013-01-10 Thread Oleksii Shevchuk
But for the normal use case, where you just want to browse messages from one computer and another computer under your control In this situation CA shouldn't be used. SSH-like scheme (without third-party) is ok for this usecase. Or maybe SASL authentication + TLS/brokenPKI combo should be

Re: [systemd-devel] SSL for gatewayd

2013-01-10 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Jan 10, 2013 at 09:59:59AM +0200, Oleksii Shevchuk wrote: But for the normal use case, where you just want to browse messages from one computer and another computer under your control In this situation CA shouldn't be used. SSH-like scheme (without third-party) is ok for this

Re: [systemd-devel] SSL for gatewayd

2013-01-09 Thread Oleksii Shevchuk
- systemd-journal-gatewayd --trust ca.cert will cause the daemon to require clients to present a client certificate signed by this authority. Subject/CN whitelist and/or CRL/OCSP/etc should be used for this use-case. // wbr Alex ___

Re: [systemd-devel] SSL for gatewayd

2013-01-09 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Jan 09, 2013 at 09:43:54PM +0200, Oleksii Shevchuk wrote: - systemd-journal-gatewayd --trust ca.cert will cause the daemon to require clients to present a client certificate signed by this authority. Subject/CN whitelist and/or CRL/OCSP/etc should be used for this use-case.