Re: Ascend-Data-Filters problem with 0.7

2002-08-28 Thread Chris A. Kalin

- Original Message -
From: "Chris Parker" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 28, 2002 12:00 PM
Subject: Re: Ascend-Data-Filters problem with 0.7


"Chris Parker" <[EMAIL PROTECTED]> wrote:
> At 12:56 PM 8/28/2002 -0400, Alan DeKok wrote:
> >"David C. Troy" <[EMAIL PROTECTED]> wrote:
> >
> > > With 0.7 I am getting a single line of binary data that appears to be
the
> > > same number of bytes as each of the lines in the 4 separate lines of
> > > binary data from 0.5.
> >
> >   So you have 4 Ascend attributes configured, but 0.7 is only sending
> >one.  'radclient' will tell you WHICH one is being sent.
>
> Most likely, they simply need to use += in setting the attributes instead
> of =.  I suspect that using 'radclient' it will become apparent that that
> is the case.

Yes, I got bit by this on a 0.5 to 0.7 upgrade as well. "+=" solved the
problem.

And NTRadPing has its uses.  :)

Chris Kalin



- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



Re: Ascend-Data-Filters problem with 0.7

2002-08-28 Thread Alan DeKok

"David C. Troy" <[EMAIL PROTECTED]> wrote:
> Following up on this, testing with NTRadPing with 0.5 I am getting my
> filters returned as 4 separate lines of binary data.

  I've never understood everyone's fascination with NTRadPing.  Try
using 'radclient', which comes with the server.  It will print out the
Ascend attributes in humanly readable form.

> With 0.7 I am getting a single line of binary data that appears to be the 
> same number of bytes as each of the lines in the 4 separate lines of 
> binary data from 0.5.

  So you have 4 Ascend attributes configured, but 0.7 is only sending
one.  'radclient' will tell you WHICH one is being sent.

  Alan DeKok.


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



Re: Ascend-Data-Filters problem with 0.7

2002-08-28 Thread David C. Troy


> "David C. Troy" <[EMAIL PROTECTED]> wrote:
> > Following up on this, testing with NTRadPing with 0.5 I am getting my
> > filters returned as 4 separate lines of binary data.
> 
>   I've never understood everyone's fascination with NTRadPing.  Try
> using 'radclient', which comes with the server.  It will print out the
> Ascend attributes in humanly readable form.

I agree it's a bit odd.  I was using it, though, because my personal 
workstation is an XP box and I wanted to get on a box away from the server 
itself... seemed the easiest way.

> 
> > With 0.7 I am getting a single line of binary data that appears to be the 
> > same number of bytes as each of the lines in the 4 separate lines of 
> > binary data from 0.5.
> 
>   So you have 4 Ascend attributes configured, but 0.7 is only sending
> one.  'radclient' will tell you WHICH one is being sent.

Yeah, actually it's 4 lines of Ascend-Data-Filter entries, and I figured 
out the problem.  I had them defined using '=' but apparently needed to 
use '+=' so that the attribute didn't stomp itself on each line.  This 
appears to be new behavior to 0.7.

Regards,
Dave

=
David C. Troy   [[EMAIL PROTECTED]]   410-544-6193 Sales
ToadNet - Want to go fast?410-544-1329 FAX
570 Ritchie Highway, Severna Park, MD 21146-2925  www.toad.net


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



Re: Ascend-Data-Filters problem with 0.7

2002-08-28 Thread Chris Parker

At 12:56 PM 8/28/2002 -0400, Alan DeKok wrote:
>"David C. Troy" <[EMAIL PROTECTED]> wrote:
>
> > With 0.7 I am getting a single line of binary data that appears to be the
> > same number of bytes as each of the lines in the 4 separate lines of
> > binary data from 0.5.
>
>   So you have 4 Ascend attributes configured, but 0.7 is only sending
>one.  'radclient' will tell you WHICH one is being sent.

Most likely, they simply need to use += in setting the attributes instead
of =.  I suspect that using 'radclient' it will become apparent that that
is the case.

-Chris
--
\\\|||///  \  StarNet Inc.  \ Chris Parker
\ ~   ~ /   \   WX *is* Wireless!\   Director, Engineering
| @   @ |\   http://www.starnetwx.net \  (847) 963-0116
oOo---(_)---oOo--\--
   \ Wholesale Internet Services - http://www.megapop.net



- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



Re: Ascend-Data-Filters problem with 0.7

2002-08-28 Thread David C. Troy


Following up on this, testing with NTRadPing with 0.5 I am getting my
filters returned as 4 separate lines of binary data.

With 0.7 I am getting a single line of binary data that appears to be the 
same number of bytes as each of the lines in the 4 separate lines of 
binary data from 0.5.

The users file is identical on both machines and I've tried various 
experiments.  Anybody have Ascend-Data-Filters working on 0.7, and if so 
can you share any config info?

Dave

=
David C. Troy   [[EMAIL PROTECTED]]   410-544-6193 Sales
ToadNet - Want to go fast?410-544-1329 FAX
570 Ritchie Highway, Severna Park, MD 21146-2925  www.toad.net


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



Ascend-Data Filters problem with 0.7

2002-08-28 Thread David C. Troy


All -

I have been using the "X-Ascend-Data-Filter" attribute with Freeradius 0.5
for several months without incident.

I just upgraded to 0.7 and now it seems all data is blocked on all ports.  
If I remove the filter attributes entirely everything is OK.

I read on the Vircom Radius page that there are 2-byte and 4-byte padding 
options for these attributes and that a mismatch can cause failure.

Does anybody know anything about this?

Regards,
Dave

=
David C. Troy   [[EMAIL PROTECTED]]   410-544-6193 Sales
ToadNet - Want to go fast?410-544-1329 FAX
570 Ritchie Highway, Severna Park, MD 21146-2925  www.toad.net


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html