<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
@page Section1
{size:595.3pt 841.9pt;
margin:70.85pt 69.6pt 70.85pt 69.6pt;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=FR link=blue vlink=purple>
<div class=Section1>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>> >>Set "log_destination = syslog" and</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>> >></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>> >>log {</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>> >>
syslog_facility = daemon</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>> >>}</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>> ></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>> ></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>> > I tried, but it seems not write radius logs in syslog</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>> </span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>> Just to be clear - which "radius" logs are you trying to
redirect and</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>> did you make sure that syslog is running/configured correctly ?</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt'>I would like to redirect all radius logs (even
accounting).<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt'>And so in my etc/syslog.conf I have:<o:p></o:p></span></font></p>
<p class=MsoPlainText style='margin-left:35.4pt;text-align:justify'><i><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-style:
italic'>*.err;kern.notice;auth.notice
/dev/sysmsg<o:p></o:p></span></font></i></p>
<p class=MsoPlainText style='margin-left:35.4pt;text-align:justify'><i><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-style:
italic'>*.err;kern.debug;daemon.notice;mail.crit
/var/adm/messages<o:p></o:p></span></font></i></p>
<p class=MsoPlainText style='margin-left:35.4pt;text-align:justify'><i><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-style:
italic'><o:p> </o:p></span></font></i></p>
<p class=MsoPlainText style='margin-left:35.4pt;text-align:justify'><i><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-style:
italic'>*.alert;kern.err;daemon.err
operator<o:p></o:p></span></font></i></p>
<p class=MsoPlainText style='margin-left:35.4pt;text-align:justify'><i><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-style:
italic'>*.alert
root<o:p></o:p></span></font></i></p>
<p class=MsoPlainText style='margin-left:35.4pt;text-align:justify'><i><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-style:
italic'><o:p> </o:p></span></font></i></p>
<p class=MsoPlainText style='margin-left:35.4pt;text-align:justify'><i><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-style:
italic'>*.emerg *<o:p></o:p></span></font></i></p>
<p class=MsoPlainText style='margin-left:35.4pt;text-align:justify'><i><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-style:
italic'>*.*
/var/log/allmsg<o:p></o:p></span></font></i></p>
<p class=MsoPlainText style='margin-left:35.4pt;text-align:justify'><i><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-style:
italic'><o:p> </o:p></span></font></i></p>
<p class=MsoPlainText style='margin-left:35.4pt;text-align:justify'><i><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-style:
italic'># if a non-loghost machine chooses to have authentication messages<o:p></o:p></span></font></i></p>
<p class=MsoPlainText style='margin-left:35.4pt;text-align:justify'><i><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-style:
italic'># sent to the loghost machine, un-comment out the following line:<o:p></o:p></span></font></i></p>
<p class=MsoPlainText style='margin-left:35.4pt;text-align:justify'><i><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-style:
italic'>#auth.notice
ifdef(`LOGHOST', /var/log/authlog,
@loghost)<o:p></o:p></span></font></i></p>
<p class=MsoPlainText style='margin-left:35.4pt;text-align:justify'><i><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-style:
italic'><o:p> </o:p></span></font></i></p>
<p class=MsoPlainText style='margin-left:35.4pt;text-align:justify'><i><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-style:
italic'>mail.debug
ifdef(`LOGHOST', /var/log/syslog, @loghost)<o:p></o:p></span></font></i></p>
<p class=MsoPlainText style='margin-left:35.4pt;text-align:justify'><i><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-style:
italic'><o:p> </o:p></span></font></i></p>
<p class=MsoPlainText style='margin-left:35.4pt;text-align:justify'><i><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-style:
italic'>#<o:p></o:p></span></font></i></p>
<p class=MsoPlainText style='margin-left:35.4pt;text-align:justify'><i><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-style:
italic'># non-loghost machines will use the following lines to cause
"user"<o:p></o:p></span></font></i></p>
<p class=MsoPlainText style='margin-left:35.4pt;text-align:justify'><i><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-style:
italic'># log messages to be logged locally.<o:p></o:p></span></font></i></p>
<p class=MsoPlainText style='margin-left:35.4pt;text-align:justify'><i><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-style:
italic'>#<o:p></o:p></span></font></i></p>
<p class=MsoPlainText style='margin-left:35.4pt;text-align:justify'><i><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-style:
italic'>ifdef(`LOGHOST', ,<o:p></o:p></span></font></i></p>
<p class=MsoPlainText style='margin-left:35.4pt;text-align:justify'><i><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-style:
italic'>user.err
/dev/sysmsg<o:p></o:p></span></font></i></p>
<p class=MsoPlainText style='margin-left:35.4pt;text-align:justify'><i><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-style:
italic'>user.err
/var/adm/messages<o:p></o:p></span></font></i></p>
<p class=MsoPlainText style='margin-left:35.4pt;text-align:justify'><i><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-style:
italic'>user.alert
`root, operator'<o:p></o:p></span></font></i></p>
<p class=MsoPlainText style='margin-left:35.4pt;text-align:justify'><i><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-style:
italic'>user.emerg
*<o:p></o:p></span></font></i></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt'>I believe the line *.* /var/log/allmsg
should perform the correct behaviour. I can see some system logs as user login,
but no freeradius daemon logs.<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt'>> <o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt'>> ><o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt'>> ><o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt'>> >>in your radiusd.conf. That will get
your authentication/authorization<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt'>> >>logs going to syslog under the "daemo</span>n"
facility. This is all in the</font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>> >>documentation, BTW.</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>> ></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>> ></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>> > There is nothing in my documentation (freeradius 1.0.2</span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>> ></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>> ></span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>> </span></font></p>
<p class=MsoPlainText><font size=2 face="Courier New"><span style='font-size:
10.0pt'>> Straight from the distributed radiusd.conf:<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;color:black'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 color=black face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;color:black'>Thank you for the extract of the
radiusd.conf but in mine this section is not present. Even in the 1.0.3 conf
files. So I added the section but I don’t know if it is supported by my
server.<o:p></o:p></span></font></p>
</div>
</body>
</html>