Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Mar 2000 14:10:03 -0800 (PST)
From:      Adrian Filipi-Martin <adrian@ubergeeks.com>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/17300: New version of radiusd-cistron port
Message-ID:  <200003202210.OAA11734@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/17300; it has been noted by GNATS.

From: Adrian Filipi-Martin <adrian@ubergeeks.com>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003202210.OAA11734>