$wgDBname<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.cablefree.net/support/radio/software/index.php?action=history&amp;feed=atom&amp;title=User_Manager%2FLogs</id>
	<title>User Manager/Logs - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.cablefree.net/support/radio/software/index.php?action=history&amp;feed=atom&amp;title=User_Manager%2FLogs"/>
	<link rel="alternate" type="text/html" href="https://www.cablefree.net/support/radio/software/index.php?title=User_Manager/Logs&amp;action=history"/>
	<updated>2026-04-19T00:56:12Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.3</generator>
	<entry>
		<id>https://www.cablefree.net/support/radio/software/index.php?title=User_Manager/Logs&amp;diff=461&amp;oldid=prev</id>
		<title>Administrator at 18:26, 22 April 2015</title>
		<link rel="alternate" type="text/html" href="https://www.cablefree.net/support/radio/software/index.php?title=User_Manager/Logs&amp;diff=461&amp;oldid=prev"/>
		<updated>2015-04-22T18:26:42Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:26, 22 April 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l19&quot;&gt;Line 19:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 19:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;More information on what these fields mean can be found in &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[http://www.CableFree.com/docs/ros/2.9/guide/aaa_radius &lt;/del&gt;CableFree RadioOS Radius client documentation&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]&lt;/del&gt;, Supported RADIUS Attributes.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;More information on what these fields mean can be found in CableFree RadioOS Radius client documentation, Supported RADIUS Attributes.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Sending logs to Syslog ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Sending logs to Syslog ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l58&quot;&gt;Line 58:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 58:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* username - username of the user or MAC address, when MAC-authentication used;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* username - username of the user or MAC address, when MAC-authentication used;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* log type: string describing type of the log. Takes one of the following values: &amp;quot;auth ok&amp;quot;, &amp;quot;auth fail&amp;quot;, &amp;quot;acct ok&amp;quot;, &amp;quot;acct fail&amp;quot;. Fail means - the user was not successful to authorize or the accounting log was malicious. To track user session activity, only logs having &amp;quot;auth ok&amp;quot; and &amp;quot;acct ok&amp;quot; must be taken in account.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* log type: string describing type of the log. Takes one of the following values: &amp;quot;auth ok&amp;quot;, &amp;quot;auth fail&amp;quot;, &amp;quot;acct ok&amp;quot;, &amp;quot;acct fail&amp;quot;. Fail means - the user was not successful to authorize or the accounting log was malicious. To track user session activity, only logs having &amp;quot;auth ok&amp;quot; and &amp;quot;acct ok&amp;quot; must be taken in account.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* message - contains message, describing error, in case of failure. can be empty. SysLog messages are limited in size, therefore it could &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;happend&lt;/del&gt;, that the end of the message has been cut off.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* message - contains message, describing error, in case of failure. can be empty. SysLog messages are limited in size, therefore it could &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;happened&lt;/ins&gt;, that the end of the message has been cut off.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Administrator</name></author>
	</entry>
	<entry>
		<id>https://www.cablefree.net/support/radio/software/index.php?title=User_Manager/Logs&amp;diff=459&amp;oldid=prev</id>
		<title>Administrator: Created page with &quot;Logs are written when Authorization (auth) or Accounting (acct) requests from  routers are received.  It is configurable per router which logs must b...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.cablefree.net/support/radio/software/index.php?title=User_Manager/Logs&amp;diff=459&amp;oldid=prev"/>
		<updated>2015-04-22T18:23:10Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Logs are written when Authorization (auth) or Accounting (acct) requests from &lt;a href=&quot;/support/radio/software/index.php/User_Manager/Routers&quot; title=&quot;User Manager/Routers&quot;&gt; routers&lt;/a&gt; are received.  It is configurable per router which logs must b...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Logs are written when Authorization (auth) or Accounting (acct) requests from [[User Manager/Routers | routers]] are received.&lt;br /&gt;
&lt;br /&gt;
It is configurable per router which logs must be written (See: [[User Manager/QA/How to turn off logging for specific Routers | HOWTO]]).&lt;br /&gt;
&lt;br /&gt;
Log data contains:&lt;br /&gt;
* Username. Can differ from those registered in [[User Manager/Users | user]] table;&lt;br /&gt;
* User IP;&lt;br /&gt;
* Host IP. Router&amp;#039;s IP;&lt;br /&gt;
* Status;&lt;br /&gt;
* Time;&lt;br /&gt;
* Description;&lt;br /&gt;
* NAS Port;&lt;br /&gt;
* NAS Port type;&lt;br /&gt;
* NAS Post ID;&lt;br /&gt;
* ACCT Session ID;&lt;br /&gt;
* Calling station ID.&lt;br /&gt;
&lt;br /&gt;
[[Image: UserManLogDetails.png | Log details]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
More information on what these fields mean can be found in [http://www.CableFree.com/docs/ros/2.9/guide/aaa_radius CableFree RadioOS Radius client documentation], Supported RADIUS Attributes.&lt;br /&gt;
&lt;br /&gt;
== Sending logs to Syslog ==&lt;br /&gt;
Starting from version 3.24, support for sending logs to SysLog is added. To enable it:&lt;br /&gt;
&lt;br /&gt;
1) Configure per router, which requests to log: accounting/authorization failure/success (See: [[User Manager/QA/How to turn off logging for specific Routers | HOWTO]]);&lt;br /&gt;
&lt;br /&gt;
2) On the router configure log writing:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/system logging add topics=manager,account action=remote&lt;br /&gt;
/system logging action set remote target=remote remote=1.2.3.4:514&lt;br /&gt;
&amp;lt;/pre&amp;gt;, where 1.2.3.4 and 514 is IP address and UDP port of the remote host, which will receive the logs.&lt;br /&gt;
&lt;br /&gt;
3) Configure your remote host to listen on port 514 (any other port can be used, but it MUSt be UDP port and MUST match the one entered in router&amp;#039;s system logging action);&lt;br /&gt;
&lt;br /&gt;
4) Test, if logs are successfully received at the remote host:&lt;br /&gt;
&lt;br /&gt;
4.1) Generate some logs by logging in and out using HotSpot/PPP users;&lt;br /&gt;
&lt;br /&gt;
4.2) Check the [[User_Manager/Customer_page#Logs | Log page]]. The logs must appear here. Logs are sent to syslog only if they are logged in the User Manager database;&lt;br /&gt;
&lt;br /&gt;
4.3) Check, if logs are received remotely. If you are running Linux, [http://netcat.sourceforge.net/ nc] can be used:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nc -l -u -p 514&lt;br /&gt;
&amp;lt;/pre&amp;gt; , where 514 is the UDP port used. Could be, that root permissions are required to run listening on a UDP port. Another alternative is [http://www.wireshark.org/ Wireshark] - a multi platform tool for network packet &amp;quot;sniffing&amp;quot;. Start a new session and enter&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
udp port 514&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
in the filter field. You should see incoming logs appearing.&lt;br /&gt;
&lt;br /&gt;
=== Syslog message format ===&lt;br /&gt;
The logs are in the following format:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;user-ip&amp;gt;,&amp;lt;username&amp;gt;,&amp;lt;log-type&amp;gt;,&amp;lt;message&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;, where:&lt;br /&gt;
&lt;br /&gt;
* user-ip - IP of user (NOT the routers IP!): four number in the range 0-255, separated by commas. 0.0.0.0 means &amp;quot;empty address&amp;quot;;&lt;br /&gt;
* username - username of the user or MAC address, when MAC-authentication used;&lt;br /&gt;
* log type: string describing type of the log. Takes one of the following values: &amp;quot;auth ok&amp;quot;, &amp;quot;auth fail&amp;quot;, &amp;quot;acct ok&amp;quot;, &amp;quot;acct fail&amp;quot;. Fail means - the user was not successful to authorize or the accounting log was malicious. To track user session activity, only logs having &amp;quot;auth ok&amp;quot; and &amp;quot;acct ok&amp;quot; must be taken in account.&lt;br /&gt;
* message - contains message, describing error, in case of failure. can be empty. SysLog messages are limited in size, therefore it could happend, that the end of the message has been cut off.&lt;/div&gt;</summary>
		<author><name>Administrator</name></author>
	</entry>
</feed>