Open nvx opened 8 years ago
Not sure if I'm experiencing the same issue, but after configuring the proxy CoovaChilli correctly proxies the request but does not send the reply back.
@sevan @pinkra any thoughts on this?
@heruan That sounds like the issue I was having which my patch fixes.
@nvx Did you open a PR with your patch?
The breaking change seemed a little weird and I didn't quite understand it so I wanted some feedback on the patch first go figure.
That said, I've been using the patch in the issue in production for quite a while without issues.
bfe0e4b0 introduces a regression breaking the radius proxy. Replies from the radius proxy are incorrectly sent from this->fd instead of this->proxyfd in radius_resp() which results in the incorrect source port being seen by the AP, which rightly ignores the packet.
I'm not overly familiar with the codebase, so I'm not sure if this is the cleanest solution by far, but a quick hack that appears to have fixed the issue is as follows: