Break Stream & disconnecting when use freeradius authentication.
Hi Friends, I find a strange issue. When I only use Mikrotik RouterOS as PPPoE server to authenticate my DSL users, all is ok. But when I add FreeRaiuds as radius server and RouterOS as pppoe server, I find some users of using p2p video on demand will break stream of lost connection. At the time, user has to disconnect the DSL link manually and re-dial to network. When user log in again, about 1-2 minutes, user will break stream of lost connection again. P.S. If user uses download software, the issue will not appear. Is it because I don’t set Freeradius correctly? Thank you. Robin Lu
Robin wrote:
When I only use Mikrotik RouterOS as PPPoE server to authenticate my DSL users, all is ok. But when I add FreeRaiuds as radius server and RouterOS as pppoe server, I find some users of using p2p video on demand will break stream of lost connection. At the time, user has to disconnect the DSL link manually and re-dial to network. When user log in again, about 1-2 minutes, user will break stream of lost connection again.
Is it because I don’t set Freeradius correctly?
No. Alan DeKok.
Dear Alan, Actually after I switch freeradius authentication to RouterOS, the issue will disappear. I just set num_sql_socks from 50 to 256 in sql.conf and set max_connections from default 100 to 500 in Mysql. It follows that part of issue users' report symptom of break stream disappearing temporarily. I think that I still need monitor these issue users consistently. But I can't understand why it has to be like this. Thanks. Robin -----Original Message----- From: freeradius-users-bounces+freeradius=itpm.net@lists.freeradius.org [mailto:freeradius-users-bounces+freeradius=itpm.net@lists.freeradius.org] On Behalf Of Alan DeKok Sent: Sunday, December 12, 2010 11:34 PM To: FreeRadius users mailing list Subject: Re: Break Stream & disconnecting when use freeradius authentication. Robin wrote:
When I only use Mikrotik RouterOS as PPPoE server to authenticate my DSL users, all is ok. But when I add FreeRaiuds as radius server and RouterOS as pppoe server, I find some users of using p2p video on demand will break stream of lost connection. At the time, user has to disconnect the DSL link manually and re-dial to network. When user log in again, about 1-2 minutes, user will break stream of lost connection again.
Is it because I don’t set Freeradius correctly?
No. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Robin wrote:
Actually after I switch freeradius authentication to RouterOS, the issue will disappear.
Well... the RADIUS server never talks to the PPPoE server after the Access-Accept. So *anything* that happens after that is the responsibility of the PPoE server.
I just set num_sql_socks from 50 to 256 in sql.conf and set max_connections from default 100 to 500 in Mysql. It follows that part of issue users' report symptom of break stream disappearing temporarily.
The only way the SQL sockets affect users is *during* the login process. If FreeRADIUS can't access the DB because all of the sockets are in use, it will reject the user. If the user gets an Access-Accept, it doesn't matter if there were 50 SQL sockets, or 50,000 SQL sockets. Alan DeKok.
Hi Alan, I set an interval of 5 minutes in pppoe server to send user's acctsessiontime etc. to Freeradius. Does it mean after login process, pppoe server and freeradius still communicate each other? Thanks. Robin -----Original Message----- From: freeradius-users-bounces+freeradius=itpm.net@lists.freeradius.org [mailto:freeradius-users-bounces+freeradius=itpm.net@lists.freeradius.org] On Behalf Of Alan DeKok Sent: Monday, December 13, 2010 1:28 AM To: FreeRadius users mailing list Subject: Re: Break Stream & disconnecting when use freeradius authentication. Robin wrote:
Actually after I switch freeradius authentication to RouterOS, the issue will disappear.
Well... the RADIUS server never talks to the PPPoE server after the Access-Accept. So *anything* that happens after that is the responsibility of the PPoE server.
I just set num_sql_socks from 50 to 256 in sql.conf and set max_connections from default 100 to 500 in Mysql. It follows that part of issue users' report symptom of break stream disappearing temporarily.
The only way the SQL sockets affect users is *during* the login process. If FreeRADIUS can't access the DB because all of the sockets are in use, it will reject the user. If the user gets an Access-Accept, it doesn't matter if there were 50 SQL sockets, or 50,000 SQL sockets. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Hi , I find issue user who use MPPE128 method all. (In my RouterOS, login user's encoding is "MPPE128 statefull") Can I set freeradius to disable MPPE128 or other encryption method? Thanks. Robin -----Original Message----- From: freeradius-users-bounces+freeradius=itpm.net@lists.freeradius.org [mailto:freeradius-users-bounces+freeradius=itpm.net@lists.freeradius.org] On Behalf Of Alan DeKok Sent: Monday, December 13, 2010 1:28 AM To: FreeRadius users mailing list Subject: Re: Break Stream & disconnecting when use freeradius authentication. Robin wrote:
Actually after I switch freeradius authentication to RouterOS, the issue will disappear.
Well... the RADIUS server never talks to the PPPoE server after the Access-Accept. So *anything* that happens after that is the responsibility of the PPoE server.
I just set num_sql_socks from 50 to 256 in sql.conf and set max_connections from default 100 to 500 in Mysql. It follows that part of issue users' report symptom of break stream disappearing temporarily.
The only way the SQL sockets affect users is *during* the login process. If FreeRADIUS can't access the DB because all of the sockets are in use, it will reject the user. If the user gets an Access-Accept, it doesn't matter if there were 50 SQL sockets, or 50,000 SQL sockets. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (2)
-
Alan DeKok -
Robin