RRQAuth working fine when alone - suggestion

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

 



Suggestion below at the end.
In the latest CVS of v2.08, we find that the RRQAuth (AliasAuth) is working
fine as below:-

When we put a # in the gatekeeper.ini file like:-

[Gatekeeper::Auth]
#SQLPasswordAuth=optional;RRQ
#SQLAliasAuth=required;RRQ,ARQ

In the log file we get:-

2004/04/11 14:12:24.922	1	      gkauth.cxx(2323)	GkAuth	Unknown auth
#SQLAliasAuth, ignore!
2004/04/11 14:12:24.922	1	      gkauth.cxx(2323)	GkAuth	Unknown auth
#SQLPasswordAuth, ignore!

As # is a comment character, the said lines should not have been considered at
all!
Hope changes in the code reflecting this point will lead to faster
processing.


In gatekeeper.ini if we have:-

[Gatekeeper::Auth]
AliasAuth=required;RRQ,ARQ
default=allow

[RasSrv::RRQAuth]
MYEP1=allow
default=deny

and we set ROMEO as the alias of a NetMeeting client, we get the required
denial in the log as below:-
  terminalAlias = 1 entries {
    [0]=h323_ID  5 characters {
      0052 004f 004d 0045 004f        ROMEO } }

RasSrv.cxx(984)	GK	RRQ Received
gkauth.cxx(1835)	Gk	RRQAuth condition 'deny' rejected endpoint default
gkauth.cxx(469)	GkAuth	AliasAuth check failed
RasSrv.cxx(1277)	RRJ|192.168.0.51|ROMEO:h323_ID|terminal|securityDenial;



if we set the allowed alias (MYEP1) as the alias in the Netmeeting Client, we
get the required admission in the log as below:-

  terminalAlias = 1 entries {
    [0]=h323_ID  5 characters {
      004d 0059 0045 0050 0031        MYEP1 } }

RasSrv.cxx(984)	GK	RRQ Received
gkauth.cxx(1884)	Gk	RRQAuth condition 'allow' applied successfully for
endpoint 192.168.17.51:1720
gkauth.cxx(465)	GkAuth	AliasAuth check ok
gkauth.cxx(465)	GkAuth	default check ok
RasTbl.cxx(59)	New EP|192.168.17.011:1720|MYEP1:h323_ID|terminal|4510_isogk1
RasSrv.cxx(1239)	RCF|192.168.17.1:1720|MYEP1:h323_ID|terminal|4510_isogk1;


Hence in the current instance we see that AliasAuth is working well in the
current release.

It would be nice if:-
In Toolkit.cxx why not [RasSrv::RRQAuth] be appended to, from the SQLConfig
section as another Query and make a bit of code for it as:-

	query = m_Config->GetString("SQLConfig", "SimplePasswordAuthQuery", "");
	query = m_Config->GetString("SQLConfig", "AliasAuthQuery", "");

Regards,
Ap.Muthu




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&opÌk
_______________________________________________
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