Re: Segmetation fault: [eap] Passing reply from proxy back into the tunnel

2011-06-02 Thread Alan DeKok
Phil Mayers wrote:
> I'll try to test the Access-Reject thing tomorrow; I'm betting it'll be
> a trivial fix.

  Thanks.

> A 2.1.11 release would be good; we're been running a recent v2.1.x
> snapshot in production for a while and it's stable (once I patched the
> detail file reader segfault, which I believe is now upstream)

  Yeah, that was *weird*.

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


Re: Segmetation fault: [eap] Passing reply from proxy back into the tunnel

2011-06-01 Thread Phil Mayers

On 06/01/2011 09:00 PM, Phil Mayers wrote:


I'll try to test the Access-Reject thing tomorrow; I'm betting it'll be
a trivial fix.


Huh. It works just fine for me on v2.1.x HEAD. I'll try to dig out the 
email where someone said it was faulty (IIRC they said they'd emailed 
you also Alan). I wonder if their config was broken in some other 
fashion and/or it got fixed in a later commit.


I'll roll out the v2.1.x head to our test server tomorrow, but 2.1.11 
sounds good.

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


Re: Segmetation fault: [eap] Passing reply from proxy back into the tunnel

2011-06-01 Thread Phil Mayers

On 06/01/2011 07:32 PM, Alan DeKok wrote:

Phil Mayers wrote:

No, v2.1.x

Beware: I have since been informed that there is still a potential
segfault if the remote proxy returns an Access-Reject.

I haven't had time to test this yet.


   I'd like to release 2.1.11 soon.  Maybe next week?


Well in fairness this feature (proxying PEAP-inner as non-EAP) doesn't 
work at all in 2.1.10 so the patch in 2.1.11 is at least an improvement!


I'll try to test the Access-Reject thing tomorrow; I'm betting it'll be 
a trivial fix.


A 2.1.11 release would be good; we're been running a recent v2.1.x 
snapshot in production for a while and it's stable (once I patched the 
detail file reader segfault, which I believe is now upstream)

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


Re: Segmetation fault: [eap] Passing reply from proxy back into the tunnel

2011-06-01 Thread Alan DeKok
Phil Mayers wrote:
> No, v2.1.x
> 
> Beware: I have since been informed that there is still a potential
> segfault if the remote proxy returns an Access-Reject.
> 
> I haven't had time to test this yet.

  I'd like to release 2.1.11 soon.  Maybe next week?

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


Re: Segmetation fault: [eap] Passing reply from proxy back into the tunnel

2011-06-01 Thread Alexander Clouter
Simon L.  wrote:
> 
> I hope anyone got this before and can give a solution.
> 
> Please have a look in my debug log attached.
>
Going to need some GDB lovin' too.

http://freeradius.org/radiusd/doc/bugs

If you are compiling from source, I recommend you go with the git 
version which might already have a fix:

http://git.freeradius.org/

Cheers

-- 
Alexander Clouter
.sigmonster says: He's just like Capistrano, always ready for a few swallows.

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


Re: Segmetation fault: [eap] Passing reply from proxy back into the tunnel

2011-06-01 Thread Simon L.

Phil Mayers schrieb:
> On 01/06/11 15:45, Simon L. wrote:
>> ok now i found this:
>>
>> https://lists.freeradius.org/pipermail/freeradius-users/2011-April/msg00295.html
>>
>>
>> This means, i should download the latest freeradius from git master
>> branch?
>
> No, v2.1.x
>
> Beware: I have since been informed that there is still a potential
> segfault if the remote proxy returns an Access-Reject.
>
> I haven't had time to test this yet.
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html

i will test it on friday and will report here. thanks for the information!

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


Re: Segmetation fault: [eap] Passing reply from proxy back into the tunnel

2011-06-01 Thread Phil Mayers

On 01/06/11 15:45, Simon L. wrote:

ok now i found this:

https://lists.freeradius.org/pipermail/freeradius-users/2011-April/msg00295.html

This means, i should download the latest freeradius from git master branch?


No, v2.1.x

Beware: I have since been informed that there is still a potential 
segfault if the remote proxy returns an Access-Reject.


I haven't had time to test this yet.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Segmetation fault: [eap] Passing reply from proxy back into the tunnel

2011-06-01 Thread Simon L.
Alan DeKok schrieb:
> Simon L. wrote:
>   
>> ok now i found this:
>>
>> https://lists.freeradius.org/pipermail/freeradius-users/2011-April/msg00295.html
>>
>> This means, i should download the latest freeradius from git master branch?
>> 
>
>   Use the v2.1.x branch.  It will become 2.1.11 soon.
>
>   Alan DeKok.
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>   
ok, thank you!

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


Re: Segmetation fault: [eap] Passing reply from proxy back into the tunnel

2011-06-01 Thread Alan DeKok
Simon L. wrote:
> ok now i found this:
> 
> https://lists.freeradius.org/pipermail/freeradius-users/2011-April/msg00295.html
> 
> This means, i should download the latest freeradius from git master branch?

  Use the v2.1.x branch.  It will become 2.1.11 soon.

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


Re: Segmetation fault: [eap] Passing reply from proxy back into the tunnel

2011-06-01 Thread Simon L.
ok now i found this:

https://lists.freeradius.org/pipermail/freeradius-users/2011-April/msg00295.html

This means, i should download the latest freeradius from git master branch?

Simon

Simon L. schrieb:
> Hi,
>
> my freeradius works as a proxy, terminates eap and proxy the request
> with mschap to another freeradius.
>
> When "Passing reply from proxy back into the tunnel" the proxy quits
> with a segmentation fault.
>
> This happens, with little difference, when sending the accept or reject
> back to NAS.
>
> EAP/PEAP-MS-CHAPv2 is working when using a local user from users file so
> that the request is not proxied.
>
> My System is Ubuntu 10.4.2 LTS Server and freeradius 2.1.10 from source.
>
>
> I hope anyone got this before and can give a solution.
>
> Please have a look in my debug log attached.
>
> Thank you very much!
> Simon
>
>   
> 
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

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