Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix retry handling + Add support for CoA and Disconnect Packets + VSA Reply Parsing Support #7

Merged
merged 26 commits into from
Feb 2, 2012

Conversation

darkskiez
Copy link
Contributor

Sorry about the large amount of changes here, but I had based off a different fork

This fixes some other bugs too such as Packet Truncation

dguerri and others added 26 commits December 4, 2010 20:17
Keyword collision for value.id fixed with attr_accessor ...
… accounting response authenticator generation
…dation, and aliased gen_auth_response_authenticator to gen_acct_response_authenticator.
… name is 'Vendor/Attribute' ie 'Cisco/Cisco/Cisco-AVPair'.
Some attributes were getting missed if the packet was over 64 bytes
Upped max packet size to 4096 as per rfc
Added in exception if read packet size != declared size
When a packet is retranmitted it should use the same ID so the server
can detect it as a retransmission, if it was the reply that was lost.

Also, dont decrement the configured retries for the request channel
so the same socket and connection can be used for multiple requests.
They should be sent to the CoA port 3799
@pjdavis pjdavis merged commit 0a52e41 into pjdavis:master Feb 2, 2012
@pjdavis
Copy link
Owner

pjdavis commented Feb 2, 2012

Thanks everyone for the contributions! I pushed a new version of the gem with these changes just now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants