Re: Mikrotik-Rate-Limit issue

2011-05-02 Thread speedlnx
Thank you. It works now! -- View this message in context: http://freeradius.1045715.n5.nabble.com/Mikrotik-Rate-Limit-issue-tp4363178p4365873.html Sent from the FreeRadius - User mailing list archive at Nabble.com. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Mikrotik-Rate-Limit issue

2011-05-02 Thread Alan DeKok
speedlnx wrote: > Hello, i'm migrating from freeradius 1.x to freeradius 2.1.10 on debian. > I've replicated all the configuration i have on the old radius to the new > and I import a dump of the mysql database on the new mysql server but i've > an issue when i try to authenticate my users: Edit

Re: Mikrotik-Rate-Limit issue

2011-05-02 Thread speedlnx
The value for my test user is the follow: 512k/2048k 512k/2048k 192k/960k 8/8 1 128k/128k The mikrotik documentation say: "Mikrotik-Rate-Limit - Datarate limitation for clients. Format is: rx-rate[/tx-rate] [rx-burst-rate[/tx-burst-rate] [rx-burst-threshold[/tx-burst-threshold] [rx-burst

Re: Mikrotik-Rate-Limit issue

2011-05-01 Thread Tanjil Ahmed
t; there's a record in the database with the rate limit for the user in > radreply table. > > Any idea? > > > Exactly what does this record look like? > > What works for me on Freeradius 2.1.8 is using the rate limits expressed as > bits per second, something like this:

Re: Mikrotik-Rate-Limit issue

2011-05-01 Thread Gideon le Grange
On 01 May 2011, at 7:47 PM, speedlnx wrote: > > > I've of course the mikrotik dictionary with the correct attribute and > there's a record in the database with the rate limit for the user in > radreply table. > > Any idea? > Exactly what does this recor

Mikrotik-Rate-Limit issue

2011-05-01 Thread speedlnx
xx.xx' ORDER BY id Sun May 1 13:24:29 2011 : Error: rlm_sql: Failed to create the pair: Invalid octet string "512k/2048k 512k/2048k 192k/960k 8/8 1 128k/128k" for attribute name "Mikrotik-Rate-Limit" Sun May 1 13:24:29 2011 : Error: rlm_sql (sql): Error getting data

RE: Is Mikrotik-Rate-Limit used to limit users speed

2010-08-12 Thread Ben Wiechman
, 2010 3:30 AM To: FreeRadius users mailing list Subject: Is Mikrotik-Rate-Limit used to limit users speed PPTP+PPP+FreeRadius+MySQL It seems it doesn't work. -- Spacelee - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Is Mikrotik-Rate-Limit used to limit users speed

2010-08-12 Thread Spacelee
PPTP+PPP+FreeRadius+MySQL It seems it doesn't work. -- Spacelee - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

RE: Rate-Limit

2009-12-23 Thread Andrew Paternoster
ers-bounces+andrew=gpk.net...@lists.freeradius.org] On Behalf Of Ilir Nako Sent: Wednesday, 23 December 2009 8:21 PM To: FreeRadius users mailing list Subject: Re: Rate-Limit On 12/23/2009 9:57 AM, javkhlanbaa...@nimon.mn<mailto:javkhlanbaa...@nimon.mn> wrote: Hi, I have freeRadius s

Re: Rate-Limit

2009-12-23 Thread Ilir Nako
On 12/23/2009 9:57 AM, javkhlanbaa...@nimon.mn wrote: Hi, I have freeRadius server connected to Cisco Router as PPPoE Server (Remote Access Server). I can limit customers' bandwidth limit by using Rate-limit function. But I want to give unlimited bandwidth to some specified IPs. Also time-

Rate-Limit

2009-12-23 Thread javkhlanbaatar
Hi, I have freeRadius server connected to Cisco Router as PPPoE Server (Remote Access Server). I can limit customers' bandwidth limit by using Rate-limit function. But I want to give unlimited bandwidth to some specified IPs. Also time-based (I mean at the midnight I can give no band

freeradius + Cisco-AVpair rate-limit attributes + mysql

2007-01-22 Thread satish patel
|0 | | 7 | 128KB | Cisco-Avpair| = | lcp:interface-config#1=rate-limit output 128000 1 1 conform-action continue exceed-action dr

rate-limit entry in mysql

2007-01-20 Thread satish patel
dear all I have tested rate-limit with user file but whn i was try it with mysql but i didnt get respond it is not working with mysql is any op code for it or any special configuartion for this URGENT my mysql entry is mysql> select * from radgroupch

Re: Cisco-AVpair rate-limit attributes

2007-01-20 Thread satish patel
not? > 64000 then my bandwidth meter give me 500 kbps u r passing is it any > issue regarding rate-limit ??? I'm not aware about any rate-limit issues. It may depend on platform and IOS version. You should accurately check which attributes you're giving by the radius running it

Re: Cisco-AVpair rate-limit attributes

2007-01-19 Thread Alexander Serkin
satish patel wrote: Thanks dear now my cisco-AVPair working with users file but tell me is it work with mysql tables ? but i have notice when i set why not? 64000 then my bandwidth meter give me 500 kbps u r passing is it any issue regarding rate-limit ??? I&#

Re: Cisco-AVpair rate-limit attributes

2007-01-19 Thread satish patel
Thanks dear now my cisco-AVPair working with users file but tell me is it work with mysql tables ? but i have notice when i set 64000 then my bandwidth meter give me 500 kbps u r passing is it any issue regarding rate-limit ??? Satish Patel Alexander Serkin

Re: Cisco-AVpair rate-limit attributes

2007-01-19 Thread Alexander Serkin
look at this command output: sh interface Virtual-Access X rate-limit -- Sincerely Yours, Alexander - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Cisco-AVpair rate-limit attributes

2007-01-18 Thread satish patel
-Protocol = PPP, Cisco-Avpair = "lcp:interface-config#1=rate-limit output 512000 1 1 conform-action continue exceed-action drop" This rate-limt use for output what about input what rate-limit direction i use for it and how to verifying is it ok or not Sa

Re: Rate limit radius requests

2004-06-24 Thread Guy Fraser
Good points. Alan DeKok wrote: Guy Fraser <[EMAIL PROTECTED]> wrote: I have been quietly watching this thread, and the idea of setting up a FIFO {First In First Out} buffer to handle inserts sounds like a good idea, but may have some adverse consequences. Like losing requests if the server

Re: Rate limit radius requests

2004-06-18 Thread Alan DeKok
Guy Fraser <[EMAIL PROTECTED]> wrote: > I have been quietly watching this thread, and the idea of setting up > a FIFO {First In First Out} buffer to handle inserts sounds like a > good idea, but may have some adverse consequences. Like losing requests if the server goes down. If the requests ar

Re: Rate limit radius requests

2004-06-17 Thread Guy Fraser
Matthew Schumacher wrote: Alan DeKok wrote: "Gary McKinney" <[EMAIL PROTECTED]> wrote: From following this thread I am wondering how many transactions a second can a DB handle successfully perform before the system starts to lose information??? That depends on the DB. Oracle is fast, PostGreSQL

Re: Rate limit radius requests

2004-06-16 Thread Alan DeKok
Matthew Schumacher <[EMAIL PROTECTED]> wrote: > Kostas Kalevras wrote: > > > > radrelay will send packets as fast as possible but will slow down > > if it does not get responses. ... > Are you sure? My understanding is that radius replys but finds that it > doesn't have a DB connection handle an

Re: Rate limit radius requests

2004-06-16 Thread Matthew Schumacher
Alan DeKok wrote: Kostas Kalevras <[EMAIL PROTECTED]> wrote: You don't need to do code changes. Just use configurable failover with the sql and detail modules. In 1.0.0, very true. The only problem then comes in having an external program read the "detail" file, and add the information to the d

Re: Rate limit radius requests

2004-06-16 Thread Matthew Schumacher
Kostas Kalevras wrote: radrelay will send packets as fast as possible but will slow down if it does not get responses. The algorithm: if (r->retrans_num > 20) r->retrans = now + 70; else r->retrans = now + 3 + (3 * r->retrans_num); so if your db is no

Re: Rate limit radius requests

2004-06-16 Thread Alan DeKok
Kostas Kalevras <[EMAIL PROTECTED]> wrote: > You don't need to do code changes. Just use configurable failover > with the sql and detail modules. In 1.0.0, very true. The only problem then comes in having an external program read the "detail" file, and add the information to the database. This

Re: Rate limit radius requests

2004-06-16 Thread Mark Coccimiglio
Assuming you are running Linux. You would do rate limiting in the OS. Check this out: http://lartc.org/howto/lartc.qdisc.html Matthew Schumacher wrote: List, Is there a way to rate limit radius requests in the freeradius server? Whenever the router guy kicks a router full of DSL connections

Re: Rate limit radius requests

2004-06-16 Thread Kostas Kalevras
On Tue, 15 Jun 2004, Matthew Schumacher wrote: > Alan DeKok wrote: > > Matthew Schumacher <[EMAIL PROTECTED]> wrote: > > ... > > > > http://lists.freeradius.org/pipermail/freeradius-users/2004-June/032678.html > > > > Alan DeKok. > > > > I never saw that and assumed my message never made it... A

Re: Rate limit radius requests

2004-06-16 Thread Kostas Kalevras
On Tue, 15 Jun 2004, Matthew Schumacher wrote: > Alan DeKok wrote: > > "Gary McKinney" <[EMAIL PROTECTED]> wrote: > > > >>From following this thread I am wondering how many transactions a > >>second can a DB handle successfully perform before the system starts > >>to lose information??? > > > > >

Re: Rate limit radius requests

2004-06-15 Thread Matthew Schumacher
Alan DeKok wrote: "Gary McKinney" <[EMAIL PROTECTED]> wrote: From following this thread I am wondering how many transactions a second can a DB handle successfully perform before the system starts to lose information??? That depends on the DB. Oracle is fast, PostGreSQL is fast, MySQL is less fa

Re: Rate limit radius requests

2004-06-15 Thread Alan DeKok
"Gary McKinney" <[EMAIL PROTECTED]> wrote: > From following this thread I am wondering how many transactions a > second can a DB handle successfully perform before the system starts > to lose information??? That depends on the DB. Oracle is fast, PostGreSQL is fast, MySQL is less fast. > I am

Re: Rate limit radius requests

2004-06-15 Thread Alan DeKok
Matthew Schumacher <[EMAIL PROTECTED]> wrote: > > Log to the DB, unless the rate is too high. If it's too high, log > > to a "detail" file, and rely on an external program to feed the > > requests back in, when the rate drops. > > Where in the config would I put this logic? How could I tell ra

Re: Rate limit radius requests

2004-06-15 Thread Gary McKinney
Now I am curious... >From following this thread I am wondering how many transactions a second can a DB >handle successfully perform before the system starts to lose information??? I am wondering for a given platform and OS (such as linux or FreeBSD running on a 2.0Ghz based system with 1-Gig of

Re: Rate limit radius requests

2004-06-15 Thread Matthew Schumacher
Alan DeKok wrote: I know how to feed the detail file back to the server with the radrelay util, but wouldn't that require me to run two radius servers? I don't see why. You should be able to do both. Log to the DB, unless the rate is too high. If it's too high, log to a "detail" file, and r

Re: Rate limit radius requests

2004-06-15 Thread Alan DeKok
Matthew Schumacher <[EMAIL PROTECTED]> wrote: > > Or, if the rate gets too high, *stop* logging to the database, and > > use a "detail" file. Then, when the rate drops, feed the detail file > > back into the server. > > I know how to feed the detail file back to the server with the radrelay >

Re: Rate limit radius requests

2004-06-15 Thread Matthew Schumacher
Alan DeKok wrote: Matthew Schumacher <[EMAIL PROTECTED]> wrote: ... http://lists.freeradius.org/pipermail/freeradius-users/2004-June/032678.html Alan DeKok. I never saw that and assumed my message never made it... After fighting with the list trying to make it work I subscribed with another acco

Rate limit radius requests

2004-06-15 Thread Matthew Schumacher
List, Is there a way to rate limit radius requests in the freeradius server? Whenever the router guy kicks a router full of DSL connections we get a flood of radius accounting messages which overloads the database server causing "There are no DB handles to use!" error messages. Wh

Re: Rate limit radius requests

2004-06-15 Thread Alan DeKok
Matthew Schumacher <[EMAIL PROTECTED]> wrote: ... http://lists.freeradius.org/pipermail/freeradius-users/2004-June/032678.html Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Rate limit radius requests

2004-06-13 Thread Martin Jessa
Your NAS should be able to handle it. Set one connection per user and you should be fine. On Sat, 12 Jun 2004 09:18:11 -0800 Matthew Schumacher <[EMAIL PROTECTED]> wrote: > List, > > Is there a way to rate limit radius requests? Whenever the router guy > kicks a

Re: Rate limit radius requests

2004-06-12 Thread Alan DeKok
Matthew Schumacher <[EMAIL PROTECTED]> wrote: > Is there a way to rate limit radius requests? Not really. > Whenever the router guy kicks a router full of DSL connections we > get a flood of radius accounting messages which overloads the > database server causing "The

Rate limit radius requests

2004-06-12 Thread Matthew Schumacher
List, Is there a way to rate limit radius requests? Whenever the router guy kicks a router full of DSL connections we get a flood of radius accounting messages which overloads the database server causing "There are no DB handles to use!" error messages. While the DB can handle th