- Feb 15, 2016
-
-
Adam Harvey authored
-
Adam Harvey authored
-
Adam Harvey authored
-
Adam Harvey authored
-
Adam Harvey authored
-
Adam Harvey authored
-
Adam Harvey authored
-
Adam Harvey authored
-
Adam Harvey authored
-
Adam Harvey authored
Fixes bug #65378 (radius.c:706: error: too many arguments to function ‘rad_salt_value’).
-
Adam Harvey authored
- Sep 05, 2013
-
-
Adam Harvey authored
Fixes bug #65599 (Fix compiling for VC11 x64).
-
- Jul 05, 2013
-
- Jul 04, 2013
-
-
Adam Harvey authored
-
Adam Harvey authored
The parsing code assumed that all Attribute objects had their entire raw value in the value property, which was no longer true of VSAs. This hadn't previously been spotted because there weren't attributes after the VSA in the request. Additionally, the comparison code didn't handle salted VSAs at all.
-
Adam Harvey authored
-
Adam Harvey authored
-
- Jul 03, 2013
-
-
Adam Harvey authored
This handles everything except for testing salt-encryption of vendor specific attributes, which is coming shortly.
-
Adam Harvey authored
-
- Jul 02, 2013
-
-
Adam Harvey authored
My main motivation for putting it in radius.c was to avoid TSRMLS_FETCH(), which is kind of ugly and slow, but realistically it belongs here. I was also concerned about the dependency on PHP code, but the MPPE demangling code already depended on PHP's internal MD5 implementation, so we're no worse off there.
-
Adam Harvey authored
When I implemented tagging, I should really have taken a step back and figured out the best way to do it rather than just hacking it in. There wasn't really a need to implement parallel radlib functions for this: it kind of works if tags are the only attribute option, but with salting coming in as well, it just didn't make sense. On the bright side, this actually results in a net loss of code with the test suite still passing just fine. That's the sign of a good commit. I hope.
-
Adam Harvey authored
-
- Jun 28, 2013
-
-
Adam Harvey authored
This is based on the original code from Gabriel Blanchard, but with significant changes to make it more robust. I've also moved the implemention into the PHP layer, rather than the radlib layer, since it depends on PHP functionality to run and hence needs access to TSRM. The following commit will actually wire this up to the various attribute setters. I've also added a radius_salt_encrypt_attr() function that basically exposes the internal function to user space. I'm not sure it's overly useful in practice, but it does make testing a tonne easier.
-
Adam Harvey authored
-
Adam Harvey authored
-
- Jun 27, 2013
-
-
Adam Harvey authored
-
Adam Harvey authored
-
Adam Harvey authored
-
Adam Harvey authored
-
Adam Harvey authored
-
Adam Harvey authored
-
Adam Harvey authored
-
Adam Harvey authored
This adds basic support for CoA and disconnect messages, along with the required constants for the new message and attribute types.
-
Adam Harvey authored
-
Adam Harvey authored
-
Adam Harvey authored
-