Date: Thu, 19 Feb 2004 23:14:03 +0200 From: Anton Blajev <valqk@lozenetz.net> To: freebsd-net@freebsd.org Subject: PPP Problem and question. Message-ID: <1077225243.5249.5.camel@valqk.upper.lan>
index | next in thread | raw e-mail
Hello there to everyone.
I'm using freebsd for pptp server and I'm trying to setup a reeradius
ippoll feature working with fbsd.
I'm expiriencing problems with that, it dues to a problem that
(according to me) comes from a ppp userland tool.
I have setupped working freeradius+mysql and a pptp+ppp server, the
problem comes whe I try to get a dynamic ip from the freeradius(beacuse
ppp userland can't be used[or I'm mistaking? can ppp assign a dynamic ip
addres by itself?)
so this is the problem:
when I try to test if it's working with radtest it goes something like
this:
radtest bla bla 192.168.0.100 1812 blabla
I got:
rad_recv: Access-Request packet from host 192.168.0.100:3137, id=255,
length=55
User-Name = "bla"
User-Password = "bla"
NAS-IP-Address = 255.255.255.255
NAS-Port = 1812
modcall: entering group authorize for request 38
.... and I get an ip address assinged fomr the dynamic range:
rad_recv: Access-Accept packet from host 192.168.0.100:1812, id=99,
length=44
Framed-Protocol = PPP
Service-Type = Framed-User
Framed-IP-Address = 192.168.12.192
Framed-IP-Netmask = 255.255.254.0
BUT!!! when I try to connect trough the pptp (ppp implementation under
freebsd 4.9 using "set radius" in the ppp.conf I get this:
rad_recv: Access-Request packet from host 192.168.0.1:1421, id=109,
length=142
User-Name = "bla"
Service-Type = Framed-User
Framed-Protocol = PPP
MS-CHAP-Challenge = 0x35303437363836363834343734393632
MS-CHAP2-Response =
0x010085a16d8c4d564e0b754f61fff6680efa0000000000000000032b2a37754168ca3fd20909891b617982a445a7e6670623
NAS-Identifier = "valqk.upper.lan"
NAS-Port-Type = Virtual
and after that:
rlm_ippool: Could not find nas port information. Return NOOP.
modcall[post-auth]: module "access_pool" returns noop for request 35
As we obviously see, ppp is NOT seding the NAS-Port var when sending a
request to freeradius trought ppp...
Is this some kind of bug and can anyone tell me why is this happenig???
I'd greatly appriciate any help!!
10x in advance!!!
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1077225243.5249.5.camel>
