Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Branch: master
Commits on Jul 9, 2015
  1. @muirrn

    Bump version for new release.

    muirrn authored
  2. @psanford
  3. @psanford

    Update node versions tested by travis.

    psanford authored
    Remove node 0.8 b/c the deep-equal package doesn't support it.
Commits on Jun 17, 2015
  1. @muirrn

    Fix encoding after using decode_without_secret.

    muirrn authored
    The way the library passes args down is really stupid. It sticks
    various args on "this" (the "radius" package object) so it doesn't
    have to pass the args around as function parameters. This was causing
    and issue because the encode_without_secret method was setting
    this.no_secret = true (which indicates to _crypt_field that it shouldn't
    try to decrypt anything), but encode wasn't unsetting that, it was
    skipping the password encrypt and crashing later because of it.
    Double fix it by having encode unset no_password, and by making
    decrypt_field consume no_secret rather than _crypt_field (so it
    can't affect encrypt_field anymore).
Commits on Aug 29, 2014
  1. Merge pull request #13 from chrisdew/master

    muirmanders authored
    added decode_without_secret functionality
  2. @chrisdew

    responded to suggestions in #12 - preferred nulls to omitting encrypt…

    chrisdew authored
    …ed fields, as it may be useful to know whether a request has a particular field before bothering to find its secret
Commits on Aug 8, 2014
  1. @chrisdew
Commits on Jul 7, 2014
  1. Bump version for a new release.

    Muir Manders authored
  2. Have this test calculate Message-Authenticator.

    Muir Manders authored
    Rather than hard-coding it in the test.
  3. @dorianlu

    Use byte length of User-Password when encrypting.

    dorianlu authored Muir Manders committed
Commits on Jun 17, 2014
  1. Bump version for new release.

    Muir Manders authored
  2. Add test for non multiple of 1000 ms time for date type.

    Alexander Cho authored Muir Manders committed
  3. Fix non-integer division bug encoding date objects.

    Alexander Cho authored Muir Manders committed
    Fix bug where Event-Timestamp cannot write to buffer because
    date.getTime()/1000 is not an integer.
Commits on Mar 31, 2014
  1. Bump version for new release.

    Muir Manders authored
  2. Be sure to quote the nvm versions in travis YAML.

    Muir Manders authored
    It happened to work anyway though (nvm use 0.1 chooses 0.10).
  3. Change node dependency to >= 0.8

    Muir Manders authored
    Had to upgrade nodeunit to fix tests on node 0.11.
Commits on Mar 10, 2014
  1. Major version bump for new release.

    Muir Manders authored
    Getting rid of the asynchronous interface was a compatibility
    breaking change.
Commits on Feb 24, 2014
  1. Get rid of asynchronous interface.

    Muir Manders authored
    Made things way more complex, and I don't think it was buying you
Commits on Feb 22, 2014
  1. Update README regarding Message-Authenticator

    Muir Manders authored
  2. Add suppose for Message-Authenticator attribute.

    Muir Manders authored
    Message-Authenticator is an HMAC, improving security over
    the normal authenticator. node-radius will now add it to
    messages while encoding when appropriate, and verify it
    in messages when decoding. I will update README with more
Commits on Feb 20, 2014
  1. Fix attribute names that start with numbers.

    Muir Manders authored
    When parsing the dictionary, it was misinterpreting the beginning
    of the attribute name as the vendor id in a VENDORATTR style attribute
Commits on Feb 19, 2014
  1. Fix authenticator for "Status-Server" packets.

    Muir Manders authored
    Per RFC 5997, like Access-Request this type of packet uses
    a random authenticator. There might be other types that also
    use a random authenticator, but I don't know of a good way
    to determine that list.
Commits on Jan 13, 2014
  1. Fix travis links.

    Muir Manders authored
Commits on Mar 15, 2013
  1. Couple more updates for README.

    Muir Manders authored
  2. Expand examples/auth_client.js a little.

    Muir Manders authored
    Now it uses the new verify_response method to make sure it can
    trust the response it gets from the server.
Commits on Mar 13, 2013
  1. Update README to include verify_response.

    Muir Manders authored
  2. Bump version for new release.

    Muir Manders authored
  3. More fixes for async error handling.

    Muir Manders authored
  4. Fix async error callbacks.

    Muir Manders authored
    Some places weren't returning after issuing an error which caused
    unexpected behavior in the async callback case.
Commits on Mar 12, 2013
  1. Add radius.verify_response method.

    Muir Manders authored
    You can use this to verify a response packet. For example, if you
    send an Accounting-Request, after receiving the Accounting-Response
    you should use verify_response to make sure the response's
    authenticator is correct (i.e. the other side knows the shared secret).
  2. Improve handling of authenticators.

    Muir Manders authored
    Now the special case is for Access-Request, and everything else behaves
    as Accounting did previously. Access-Request's authenticator is random,
    and to the best of my knowledge all other Request types just use
    the normal checksum authenticator (since there is no password), so when
    decoded "Request" types (other than "Access-Request") validate the
    authenticator accordingly. Similarly, when encoding packets, only use
    the create the random authenticator for "Access-Requests", and for
    everything else calculate the regular checksum (if you use prepare_response,
    the checksum will properly be over the request packet's authenticator).
Commits on Mar 11, 2013
  1. Some meaningless syntax changes.

    Muir Manders authored
    Use curlies for one-line "if" blocks.
Commits on Feb 4, 2013
  1. @psanford

    Update version to 0.2.0.

    psanford authored
  2. @psanford

    Accept attributes as hash.

    psanford authored
    For simple packets you can pass the attributes as an array or
    as a hash. This will only work if you do not have vendor specific attributes
    and the order of the attributes does not matter for your packet.
    If you have nested attributes this will throw an exception.
    It is still recommended that you use the array style as that will work in
    all cases.
  3. @psanford

    Fix async mode for bad acct packets.

    psanford authored
    The code assumed it was running in non-async mode.
Something went wrong with that request. Please try again.