From owner-freebsd-isp Sun Jun 4 10:38: 2 2000 Delivered-To: freebsd-isp@freebsd.org Received: from bilmax.cho.cstone.net (bilmax.cho.cstone.net [209.145.79.244]) by hub.freebsd.org (Postfix) with ESMTP id 0C22337B678 for ; Sun, 4 Jun 2000 10:37:56 -0700 (PDT) (envelope-from wer@cstone.net) Received: from cstone.net (localhost.cstone.net [127.0.0.1]) by bilmax.cho.cstone.net (8.9.3/8.9.3) with ESMTP id NAA05980; Sun, 4 Jun 2000 13:32:51 -0400 (EDT) (envelope-from wer@cstone.net) Message-ID: <393A92C3.518C530C@cstone.net> Date: Sun, 04 Jun 2000 13:32:51 -0400 From: "William E. Reid" X-Mailer: Mozilla 4.72 [en] (X11; I; FreeBSD 4.0-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Leif Neland Cc: freebsd-isp@FreeBSD.ORG Subject: Re: cistron-radiusd: no acct References: <004101bfcd23$cadd1860$0e00a8c0@neland.dk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org You could try running it with a radiusd -y A directory gets created for each device that is logging to radius. It should have start and stop records. -=Bill Leif Neland wrote: > I want to use cistron-radius from the ports, because of its ability to limit > simultaneous use of an account. > > So I installed it from ports. > > It authenticates nicely, but I get no accounting information, and > radwtmp/radutmp is empty. > > I have verified by netstat that something is listening on udp 1645/1646 and > the portmaster is using these ports. > > This also could account for the difference in the detail of the detail-file: > No start-stop info. > > The "old radius": > Merit AAA server Version 3.6B , licensed software > COPYRIGHT 1992, 1993, 1994, 1995, 1996, 1997, 1998 > THE REGENTS OF THE UNIVERSITY OF MICHIGAN > ALL RIGHTS RESERVED > > Use -h for help > Version 3.6B NDBM NOSHADOW linux > ASCEND BINARY_FILTERS > directory = /usr/local/etc/raddb > Produces this: > Tue May 30 23:55:22 2000 > Acct-Session-Id = "1A09EFB1" > User-Name = "idk43807" > NAS-IP-Address = 194.19.140.23 > NAS-Port = 0 > NAS-Port-Type = ISDN-Sync > Acct-Status-Type = Stop > Acct-Session-Time = 93 > Acct-Authentic = RADIUS > Acct-Input-Octets = 1025 > Acct-Output-Octets = 1515 > Called-Station-Id = "33361515" > Calling-Station-Id = "44831791" > Acct-Terminate-Cause = User-Request > LE-Terminate-Detail = "User Request - Call Circuit Closed" > Service-Type = Framed > Framed-Protocol = PPP > Framed-IP-Address = 194.255.12.212 > Acct-Delay-Time = 0 > > The cistron is: > radiusd: RADIUS version cistron-1.6.3 02-Apr-2000 > Compilation flags: NOSHADOW ATTRIB_NMC COMPAT_1543 > Cistron produces only this: > Fri Jun 2 01:09:27 2000 > User-Name = "idk70678" > NAS-IP-Address = 194.19.140.23 > NAS-Port-Id = 0 > NAS-Port-Type = ISDN > Service-Type = Framed-User > Framed-Protocol = PPP > Called-Station-Id = "33361515" > Calling-Station-Id = "43427036" > Timestamp = 959900967 > > There is no accounting information here. > Coherent with it is only logging auth, not acct. > > Any clues where I should start looking? > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message