From owner-freebsd-ports Mon Mar 20 14:10: 5 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id E8EF437B9B9 for ; Mon, 20 Mar 2000 14:10:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id OAA11734; Mon, 20 Mar 2000 14:10:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Mon, 20 Mar 2000 14:10:03 -0800 (PST) Message-Id: <200003202210.OAA11734@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: Adrian Filipi-Martin Subject: Re: ports/17300: New version of radiusd-cistron port Reply-To: Adrian Filipi-Martin Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR ports/17300; it has been noted by GNATS. From: Adrian Filipi-Martin To: freebsd-gnats-submit@FreeBSD.org, john@nlc.net.au Cc: Subject: Re: ports/17300: New version of radiusd-cistron port Date: Mon, 20 Mar 2000 17:01:44 -0500 (EST) Hi, I was about to submitt a similar patch for the 1.6.2 update and saw this PR first. This PR checks out for me. I would also like to add the following patch for radtest. I submitted the patch to the radisu-cistron author as well, but development effort is behind FreeRadius these days, so it may or may not be incorperated officially. I just drop the patch in as patches/patch-ae and run 'make'. That's it. Adrian -- [ adrian@ubergeeks.com -- Ubergeeks Consulting -- http://www.ubergeeks.com/ ] --- src/radtest.c.orig Tue Jun 15 18:23:50 1999 +++ src/radtest.c Tue Jun 15 18:23:37 1999 @@ -325,11 +325,15 @@ /* * Open a connection to the server. */ +#if 0 svp = getservbyname ("radius", "udp"); if (svp == (struct servent *) 0) svc_port = PW_AUTH_UDP_PORT; else svc_port = ntohs((u_short) svp->s_port); +#else + svc_port = portno; +#endif /* Get the IP address of the authentication server */ if((auth_ipaddr = get_ipaddr(server)) == 0) { --- src/radius.h.orig Tue Jun 15 18:00:44 1999 +++ src/radius.h Tue Jun 15 18:01:16 1999 @@ -45,8 +45,8 @@ #define AUTH_HDR_LEN 20 #define CHAP_VALUE_LENGTH 16 -#define PW_AUTH_UDP_PORT 1645 -#define PW_ACCT_UDP_PORT 1646 +#define PW_AUTH_UDP_PORT 1812 +#define PW_ACCT_UDP_PORT 1813 #define VENDORPEC_USR 429 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message