It seems there is a bug in radius
modules..
Using radius authentification & accounting ,
and running radiusd in debug mode , I've notice that:
rad_recv: Access-Request packet from host
127.0.0.1:33606, id=59, length=219
User-Name = "alex" User-Password = "alex" NAS-IP-Address = 192.168.0.25 NAS-Identifier = "stgk02" NAS-Port-Type = Virtual Service-Type = Call-Check Framed-IP-Address = 192.168.0.136 Called-Station-Id = "961" h323-conf-id = "h323-conf-id=2134F4D 74BC2FBC 56343434 34EF0000" h323-call-origin = "h323-call-origin=answer" h323-call-type = "h323-call-type=VoIP" h323-gw-id = "h323-gw-id=stgk02" Well , it seems like a normal request..
But... terminal "alex" is not at 192.168.0.136.. That's
the IP of callingstation..
So , I have a auth req with user,password
from calledstation and ip from callingstation..
Is this normal ?
Here is a telnet to gk:
printallregistrations
AllRegistrations RCF|192.168.0.135:1720|alex:h323_ID=961:dialedDigits|terminal|5815_endp RCF|192.168.0.136:1720|gigel:h323_ID=00502d002834:h323_ID|terminal|5816_endp Number of Endpoints: 2 That happend when I have dialed from
gigel (192.168.0.136) the number 961 (which is the number of
alex(192.168.0.135).
Latest Gk 2.05 from CVS , latest OpenH323 and Pwlib
, Mandrake Linux - kernel 2.4.19-16mdk , freeradius
0.8.1
|