Freeradius Log with Rsyslog

Matt Zagrabelny mzagrabe at d.umn.edu
Wed Jul 30 16:22:15 CEST 2014


On Wed, Jul 30, 2014 at 9:10 AM, Marco Aresu <marcoaresu at gmail.com> wrote:
> Thanks Matt,
> could you please send me a short example of configuration ?

I can perform a quick google, as I don't use rsyslog:

rsyslog remote logging

yields (the first interesting one I saw):

http://www.freeklijten.nl/home/2011/08/16/A-tutorial-on-remote-logging-with-rsyslog

For syslog-ng-ers that are interested in this thread. These are
incomplete, but you get the idea:

# client - FR system
destination d_tls {
    syslog(
        "remote.syslog.server.net"
        transport("tls")
        port(6514)
        tls(
            peer-verify(required-trusted)
            ca_dir('/etc/syslog-ng/ssl/ca.d')
            key_file('/etc/syslog-ng/ssl/server.key')
            cert_file('/etc/syslog-ng/ssl/server.crt')
        )
    );
};

# syslog server
source s_tls {
    syslog(
        ip(0.0.0.0)
        port(6514)
        transport("tls")
        tls(
            peer-verify(required-trusted)
            ca_dir('/etc/syslog-ng/ssl/ca.d')
            key_file('/etc/syslog-ng/ssl/server.key')
            cert_file('/etc/syslog-ng/ssl/server.crt')
        )
        max_connections(1000)
        keep_hostname(yes)
    );
};

source s_udp {
    udp(
        keep_hostname(yes)
    );
};

-mz


More information about the Freeradius-Users mailing list