Discussion:
TLS support for syslog in busybox
Girish Kumar
2015-12-03 11:25:39 UTC
Permalink
Hi All,

Please let me know whether TLS support for Syslogd is present in busybox.
I have checked the latest version of busybox-1.24.1, but have not found any TLS support there for syslog.
If busybox doesn't support TLS for syslog, please let me know the alternative. I have found rsyslog which supports TLS, but it is not part of busybox

Regard,
Girish
walter harms
2015-12-03 14:12:18 UTC
Permalink
So far i am aware of there is no support for TLS.
If you really need it you may consider tunneling via ssh/busybox.

re,
wh

note: i never needed that
Post by Girish Kumar
Hi All,
Please let me know whether TLS support for Syslogd is present in busybox.
I have checked the latest version of busybox-1.24.1, but have not found any TLS support there for syslog.
If busybox doesn't support TLS for syslog, please let me know the alternative. I have found rsyslog which supports TLS, but it is not part of busybox
Regard,
Girish
_______________________________________________
busybox mailing list
http://lists.busybox.net/mailman/listinfo/busybox
Christoph Gysin
2015-12-03 14:25:29 UTC
Permalink
Post by walter harms
If you really need it you may consider tunneling via ssh/busybox.
Or for TLS, use stunnel:
https://www.stunnel.org

Chris
Girish Kumar
2015-12-03 15:46:44 UTC
Permalink
Thanks all for the information.

Stunnel expects TCP-based syslog. Please let me know whether syslogd of busybox supports TCP communication.

Regards,
Girish

-----Original Message-----
From: busybox [mailto:busybox-***@busybox.net] On Behalf Of Christoph Gysin
Sent: Thursday, December 03, 2015 7:55 PM
To: ***@bfs.de
Cc: ***@busybox.net
Subject: Re: TLS support for syslog in busybox
Post by walter harms
If you really need it you may consider tunneling via ssh/busybox.
Or for TLS, use stunnel:
https://www.stunnel.org

Chris
Christoph Gysin
2015-12-03 19:19:17 UTC
Permalink
Yes, it does:

$ busybox syslogd --help
BusyBox v1.24.1 (2015-10-24 21:37:54 MSK) multi-call binary.

Usage: syslogd [OPTIONS]
...
-R HOST[:PORT] Log to HOST:PORT (default PORT:514)

On Thu, Dec 3, 2015 at 5:46 PM, Girish Kumar
Post by Girish Kumar
Thanks all for the information.
Stunnel expects TCP-based syslog. Please let me know whether syslogd of busybox supports TCP communication.
Regards,
Girish
-----Original Message-----
Sent: Thursday, December 03, 2015 7:55 PM
Subject: Re: TLS support for syslog in busybox
Post by walter harms
If you really need it you may consider tunneling via ssh/busybox.
https://www.stunnel.org
Chris
_______________________________________________
busybox mailing list
http://lists.busybox.net/mailman/listinfo/busybox
--
echo mailto: NOSPAM !#$.'<*>'|sed 's. ..'|tr "<*> !#:2" ***@fr33z3
Girish Kumar
2015-12-04 04:05:31 UTC
Permalink
6514 is the well know TCP port for syslog over TLS. Hope the following should support TCP.
syslogd -R 1.1.1.1:6514

I browsed the code busybox/syslogd.c. I found that in create_socket() they are using UDP protocol " xsocket(AF_UNIX, SOCK_DGRAM, 0);"
Please let me know whether the syslogd should be upgraded to support TCP or existing will work.

Regards,
Girish

-----Original Message-----
From: Christoph Gysin [mailto:***@gmail.com]
Sent: Friday, December 04, 2015 12:49 AM
To: Girish Kumar
Cc: ***@bfs.de; ***@busybox.net
Subject: Re: TLS support for syslog in busybox

Yes, it does:

$ busybox syslogd --help
BusyBox v1.24.1 (2015-10-24 21:37:54 MSK) multi-call binary.

Usage: syslogd [OPTIONS]
...
-R HOST[:PORT] Log to HOST:PORT (default PORT:514)
Post by Girish Kumar
Thanks all for the information.
Stunnel expects TCP-based syslog. Please let me know whether syslogd of busybox supports TCP communication.
Regards,
Girish
-----Original Message-----
Sent: Thursday, December 03, 2015 7:55 PM
Subject: Re: TLS support for syslog in busybox
Post by walter harms
If you really need it you may consider tunneling via ssh/busybox.
https://www.stunnel.org
Chris
_______________________________________________
busybox mailing list
http://lists.busybox.net/mailman/listinfo/busybox
--
echo mailto: NOSPAM !#$.'<*>'|sed 's. ..'|tr "<*> !#:2" ***@fr33z3
Girish Kumar
2015-12-06 13:26:08 UTC
Permalink
I browsed the code busybox/syslogd.c. I found that in create_socket() they are using UDP protocol " xsocket(AF_UNIX, SOCK_DGRAM, 0);"
Please let me know whether the syslogd should be upgraded to support TCP or existing will work.

Regards,
Girish

-----Original Message-----
From: Christoph Gysin [mailto:***@gmail.com]
Sent: Friday, December 04, 2015 12:49 AM
To: Girish Kumar
Cc: ***@bfs.de; ***@busybox.net
Subject: Re: TLS support for syslog in busybox

Yes, it does:

$ busybox syslogd --help
BusyBox v1.24.1 (2015-10-24 21:37:54 MSK) multi-call binary.

Usage: syslogd [OPTIONS]
...
-R HOST[:PORT] Log to HOST:PORT (default PORT:514)
Post by Girish Kumar
Thanks all for the information.
Stunnel expects TCP-based syslog. Please let me know whether syslogd of busybox supports TCP communication.
Regards,
Girish
-----Original Message-----
Sent: Thursday, December 03, 2015 7:55 PM
Subject: Re: TLS support for syslog in busybox
Post by walter harms
If you really need it you may consider tunneling via ssh/busybox.
https://www.stunnel.org
Chris
_______________________________________________
busybox mailing list
http://lists.busybox.net/mailman/listinfo/busybox
Loading...