Re: Asterisk and GNUGK

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

 



> > Cesar:
> > Estoy utilizando radius (RadAuth Method)
> > 
> > Gracias!
> > gus
> 
> Ok, proba con esto :
> Ok, try this:
> 
> Mi configuracion de GK
> My gk config.
> 
> [Gatekeeper::Auth]
> RadAuth=optional;RRQ,ARQ
> RadAliasAuth=required;RRQ,ARQ
> default=allow
> #default=reject
> 
> [Gatekeeper::Acct]
> #RadAcct=required;start
> RadAcct=required;start,stop,update,on,off
> FileAcct=required;stop
> 
> [RadAuth]
> Servers=XXX.XX.XXX.181:1812
> LocalInterface=XXX.XX.XXX.180
> RadiusPortRange=10000-11000
> DefaultAuthPort=1812
> SharedSecret=your_secret           
> RequestTimeout=2000
> IdCacheTimeout=9000
> SocketDeleteTimeout=60000                
> RequestRetransmissions=5
> RoundRobinServers=1       
> AppendCiscoAttributes=1          
> IncludeEndpointIP=1        
> 
> [RadAliasAuth]
> Servers=XXX.XX.XXX.181:1812
> LocalInterface=XXX.XX.XXX.180
> RadiusPortRange=10000-11000
> DefaultAuthPort=1812    
> SharedSecret=your_secret
> RequestTimeout=2000
> IdCacheTimeout=9000
> SocketDeleteTimeout=60000
> RequestRetransmissions=5
> RoundRobinServers=1
> AppendCiscoAttributes=1
> IncludeEndpointIP=1
> FixedUsername= 
> FixedPassword=    
> 
> XXX.XX.XXX.180 = ip of GK.
> XXX.XX.XXX.181 = ip of radius.
> 
> Lo que hago es que los GW y * ( asterisk ) se registren con el RadAliasAuth y pongo en la base de datos el pass = que el nombre :D
> 
> With this you can register a *, with pass, put in the database the name,alias or whatever but the pass is the same ...
> 
> ejemplo:
> sample:
> 
> 
> radcheck
> UserName  Attribute     op  Value  
> asterisk  User-Password :=  asterisk 
> 
> 
> radreply
> UserName  Attribute    op  Value  
> asterisk  Service-Type =   Login-User
> 
> Probalo y decime ;)
> Test and shoot me :D
> 
> Sorry for the "bilingue" post ;)
> 
> Saludos
> Cheers.
> 
> 

En ves de usar asterisk como nombre de usuario y pass, podes usar algo mas complejo como :

ghost3 root # head -c 15 /dev/urandom | uuencode -m - | head -n 2 | tail -n 1
5yU2ovY/LLD4jSQHfQ3K
ghost3 root # for ((n=0;n<10;n++)); do dd if=/dev/urandom count=1 2> /dev/null | uuencode -m -| head -n 2   | tail -n 1 | cut -c-8; done
Nd2S6DkG
n7bOjVeq
2EN5mwRd
AQug688G
YPfPZdkW
S5cpWOvZ
kcjWF4Lc
R4lA/i64
z2+Ykh3Y
fhscSLr5

para obtener algo random.



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl

_______________________________________________________

List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
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