I'm still doing something wrong, or there's a bug. :(
Gatekeeper(GNU) Version(3.8.0)
Ext(pthreads=1,radius=1,mysql=1,pgsql=0,firebird=0,odbc=0,sqlite=0,large_fdset=0,crypto/ssl=1,h46018=1,h46023=1,ldap=0,ssh=1,ipv6=0,h235media=0,lua=0,h46017=1,snmp=1,h46026=0)
H323Plus(1.26.6) PTLib(2.10.9) Build(Oct 29 2014, 14:37:48) Sys(Linux
x86_64 3.13.0-36-generic)
[Gatekeeper::Auth]
FileIPAuth=alternative
SQLAuth=alternative
[SQLAuth]
Driver=MySQL
Database=db
Username=user
Password=pass
MinPoolSize=5
CallQuery=SELECT allowCall FROM banTable WHERE ipAddress = '%callerip'
[FileIPAuth]
10/8=allow
However, gnugk isn't starting and has the following in the trace:
2014/10/30 10:06:20.334 1 gkauth.cxx(635) GKAUTH
FileIPAuth rule added to check RAS: ARQ BRQ DRQ GRQ IRQ LRQ RRQ URQ,
OTHER: SETUP SETUPUNREG
2014/10/30 10:06:20.334 5 ipauth.cxx(231) FileIPAuth
1 entries loaded
Also, shouldn't the below IP be 10.0.0.0/8 and not 0.0.0.0/8 given the
FileIPAuth above? Or should it be 10.0.0.0/8 above?
2014/10/30 10:06:20.334 6 ipauth.cxx(234) FileIPAuth entries:
0.0.0.0/8 = allow to called .,
2014/10/30 10:06:20.334 1 gkauth.cxx(635) GKAUTH
SQLAuth rule added to check RAS: ARQ BRQ DRQ GRQ IRQ LRQ RRQ URQ,
OTHER: SETUP SETUPUNREG
2014/10/30 10:06:20.334 1 sqlauth.cxx(500) SQLAUTH
SQLAuth module creation failed: no RRQ query configured
2014/10/30 10:06:20.334 0 sqlauth.cxx(502) SQLAUTH FATAL:
Shutting down
2014/10/30 10:06:20.334 1 RasSrv.cxx(787) GK
Stopping RasServer...
2014/10/30 10:06:20.334 1 gkacct.cxx(71) GKACCT
Created module FileAcct with event mask FFFFFFFFFFFFFFFF
2014/10/30 10:06:20.334 4 osutil.cxx(189) PWLib File
handle high water mark set: 32 PTextFile
2014/10/30 10:06:20.334 2 gkacct.cxx(548) GKACCT
FileAcct CDR file: /home/user1/cdr.log
2014/10/30 10:06:20.334 5 gkacct.cxx(589) GKACCT
FileAcct daily rotation enabled (first rotation scheduled at Fri, 31
Oct 2014 00:00:00 -05:00
2014/10/30 10:06:20.334 2 singleton.cxx(24) Create
instance: Routing::Analyzer(7)
So in FileIPAuth I'm not specifying any ras options and it's working,
but the same is failing for SQLAuth?
------------------------------------------------------------------------------
_______________________________________________________
Posting: mailto:[email protected]
Archive:
http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/