syslogd and ssl


Active Member

Reaction score: 14
Messages: 172

Does syslogd support ssl or the only way to secure it is using stunnel or a private network?


Son of Beastie

Reaction score: 1,694
Messages: 3,512

No, syslogd doesn't support any encryption so if you want to secure that data you'd need to set up a VPN of some sort. You might be able to pull this off using sysutils/syslog-ng but I really can't say for sure.

Checking the package description of sysutils/syslog-ng310 tells me:

Key features:                                                                  
  * receive and send RFC3164 and RFC5424 style syslog messages                 
  * work with any kind of unstructured data                                    
  * receive and send JSON formatted messages                                   
  * classify and structure logs with builtin parsers (csv-parser(),            
    db-parser(), ...)                                                          
  * normalize, crunch and process logs as they flow through the system         
  * hand on messages for further processing using message queues (like         
    AMQP), files or databases (like PostgreSQL or MongoDB).
Which doesn't mention a secure connection. However... Most database servers do support this option, so it might be even more efficient to start logging to a remote database.

Hope this can help.