---------- Forwarded Message ----------
Subject: BOUNCE [EMAIL PROTECTED]: Non-member submission from [Jason Gaddis <[EMAIL PROTECTED]>] Date: Thu, 14 Nov 2002 18:51:10 -0600 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] >From [EMAIL PROTECTED] Thu Nov 14 18:51:09 2002 Received: from hercules.pngusa.net (hercules.pngusa.net [204.157.3.90]) by server1.open.com.au (8.11.0/8.11.0) with ESMTP id gAF0p9C08405 for <[EMAIL PROTECTED]>; Thu, 14 Nov 2002 18:51:09 -0600 Received: from localhost (jasong@localhost) by hercules.pngusa.net (8.11.6/8.11.6) with ESMTP id gAF5gg710395; Fri, 15 Nov 2002 00:42:43 -0500 Date: Fri, 15 Nov 2002 00:42:42 -0500 (EST) From: Jason Gaddis <[EMAIL PROTECTED]> To: Eric Hunter <[EMAIL PROTECTED]> cc: <[EMAIL PROTECTED]> Subject: Re: (RADIATOR) Removing a second Proxy State attribute. In-Reply-To: <08e801c28c50$92aeb270$0300a8c0@smokelaptop> Message-ID: <[EMAIL PROTECTED]> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Try this, In your config add something close to the following line: ReplyHook file:"/usr/local/etc/testhook" and the file it pointing to being: ------------------- sub { my $p = ${$_[0]}; # proxy reply packet my $rp = ${$_[1]}; # reply packet to NAS my $op = ${$_[2]}; # original request packet my $sp = ${$_[3]}; # packet sent to proxy my $proxystate = $op->get_attr('Proxy-State'); if ($proxystate) { $rp->delete_attr('Proxy-State'); $rp->add_attr('Proxy-State',$proxystate); } } ------------ -Jason On Thu, 14 Nov 2002, Eric Hunter wrote: > Yeah, I tried that... and it strips out both of them :) > > I'll take a look at the hooks tomorrow, thanks for the tip :) > > > Eric > > ----- Original Message ----- > From: "Hugh Irvine" <[EMAIL PROTECTED]> > To: "Eric Hunter" <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Thursday, November 14, 2002 5:25 PM > Subject: Re: (RADIATOR) Removing a second Proxy State attribute. > > > Hello Eric - > > > > You could try a StripFromRequest, but check a trace 4 debug to make > > sure this doesn't break things. > > > > Otherwise, you will have to write a Hook (there are some examples in > > "goodies/hooks.txt"). > > > > regards > > > > Hugh > > > > On Thursday, Nov 14, 2002, at 17:06 Canada/Eastern, Eric Hunter wrote: > > > Is there an easy way to remove a second duplicate Proxy State > > > attribute from > > > a packet? (Its going through two proxies, and getting it in there > > > twice is > > > screwing things up on the final destination). > > > > > > Eric > > > > > > > > > === > > > Archive at http://www.open.com.au/archives/radiator/ > > > Announcements on [EMAIL PROTECTED] > > > To unsubscribe, email '[EMAIL PROTECTED]' with > > > 'unsubscribe radiator' in the body of the message. > > > > -- > > Radiator: the most portable, flexible and configurable RADIUS server > > anywhere. Available on *NIX, *BSD, Windows 95/98/2000, NT, MacOS X. > > - > > Nets: internetwork inventory and management - graphical, extensible, > > flexible with hardware, software, platform and database independence. > > === > Archive at http://www.open.com.au/archives/radiator/ > Announcements on [EMAIL PROTECTED] > To unsubscribe, email '[EMAIL PROTECTED]' with > 'unsubscribe radiator' in the body of the message. ------------------------------------------------------- -- Mike McCauley [EMAIL PROTECTED] Open System Consultants Pty. Ltd Unix, Perl, Motif, C++, WWW 24 Bateman St Hampton, VIC 3188 Australia http://www.open.com.au Phone +61 3 9598-0985 Fax +61 3 9598-0955 Radiator: the most portable, flexible and configurable RADIUS server anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS, TTLS etc on Unix, Windows, MacOS etc. === Archive at http://www.open.com.au/archives/radiator/ Announcements on [EMAIL PROTECTED] To unsubscribe, email '[EMAIL PROTECTED]' with 'unsubscribe radiator' in the body of the message.