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
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
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
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:
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
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
, 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
PPTP+PPP+FreeRadius+MySQL
It seems it doesn't work.
--
Spacelee
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
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
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-
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
|0 |
| 7 | 128KB | Cisco-Avpair| = | lcp:interface-config#1=rate-limit
output 128000 1 1 conform-action continue exceed-action dr
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
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
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
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
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
-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
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
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
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
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
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
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
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
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
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
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???
> >
> >
>
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
"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
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
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
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
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
>
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
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
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
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
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
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
40 matches
Mail list logo