Deny certain phone numbers [WAS] Some Radius questions.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi list,

Try as it said Michal, I work, but when registry the GW occurred security
denial :(

Somebody knows as to deny certain phone number, without that happens?
it is possible ? is done by db/radius? how?
Anyone have one example?

> Configuring such things through the users file is not so simple.
> As far as I remember any checks have to be added to "check rules"
> - thats the first line. So maybe it should look like:
>
> "1234"          Auth-Type := Local, User-Password == "1234",
> Called-Station-Id =~ "^005491115[0-9]{8}$"
>                 Reply-Message = "Hello, %u"
>
> Anyway I would recommend to switch to some scripting language
> or a database backend - it will give you much more flexibility.
>
> ----- Original Message -----
> From: "Cesar Bermudez" <jah@fmlibertador.com.uy>
> Sent: Monday, January 12, 2004 5:13 PM
>
>
> I' have my gateway registered in my GK ( using freeradius with Mysql )
> I'need block some phone numbers is my procedure correct?
> The Gw is in the /etc/raddb/user
> as is :
>
> "1234"          Auth-Type := Local, User-Password == "1234"
>                 Reply-Message = "Hello, %u"
>
> I'added this:
>
> "1234"          Auth-Type := Local, User-Password == "1234"
>                 Auth-Type := Reject, Called-Station-Id =~
> "^005491115[0-9]{8}$", Fall-Through = No,
>                 Reply-Message = "Hello, %u"
>
> This is correct? not work for my :( i'want to deny for example this
> number:
> 005491115+8 digits number.
>
> Is correct setup the gateways in the archive /etc/raddb/users ? or anyone
> set the gateways in the DB? is it's true, how setup GW in the DB.
>
> Cheers.
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Perforce Software.
> Perforce is the Fast Software Configuration Management System offering
> advanced branching capabilities and atomic changes on 50+ platforms.
> Free Eval! http://www.perforce.com/perforce/loadprog.html
> _______________________________________________
> List: Openh323gk-users@lists.sourceforge.net
> Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
> Homepage: http://www.gnugk.org/
>


-- 
Cesar Bermudez.


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
List: Openh323gk-users@lists.sourceforge.net
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id?49
Homepage: http://www.gnugk.org/


[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux