From owner-freebsd-net@FreeBSD.ORG Thu Feb 19 13:14:21 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B7E5B16A4CE for ; Thu, 19 Feb 2004 13:14:21 -0800 (PST) Received: from access.lozenetz.net (access.lozenetz.net [80.72.64.115]) by mx1.FreeBSD.org (Postfix) with SMTP id B25C343D1F for ; Thu, 19 Feb 2004 13:14:15 -0800 (PST) (envelope-from valqk@lozenetz.net) Received: (qmail 38927 invoked from network); 19 Feb 2004 21:14:13 -0000 Received: from unknown (HELO ?192.168.0.1?) (192.168.0.1) by upper.lan with SMTP; 19 Feb 2004 21:14:13 -0000 From: Anton Blajev To: freebsd-net@freebsd.org Content-Type: text/plain Message-Id: <1077225243.5249.5.camel@valqk.upper.lan> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Thu, 19 Feb 2004 23:14:03 +0200 Content-Transfer-Encoding: 7bit Subject: PPP Problem and question. X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: valqk@lozenetz.net List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Feb 2004 21:14:21 -0000 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!!!