GithubHelp home page GithubHelp logo

foxpass-radius-agent's People

Contributors

aren avatar asakapab0i avatar budbach avatar danishfoxpass avatar dependabot[bot] avatar grk-it avatar kumar35959 avatar rjo100 avatar ttheune avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

foxpass-radius-agent's Issues

Python3 support broken with last commit

Upgraded to the latest version and afcb86e seems to break py3 support:

May 11 10:52:53 radius-proxy2 systemd[1]: Started Foxpass RADIUS agent.
May 11 10:52:54 radius-proxy2 python3[1681]: 2020-05-11 10:52:54,189 INFO     Listening on port 0.0.0.0:1812
May 11 11:56:54 radius-proxy2 python3[1681]: 2020-05-11 11:56:54,756 INFO     received 109 bytes from ('172.16.11.254', 39871)
May 11 11:56:54 radius-proxy2 python3[1681]: Traceback (most recent call last):
May 11 11:56:54 radius-proxy2 python3[1681]:   File "src/gevent/greenlet.py", line 854, in gevent._greenlet.Greenlet.run
May 11 11:56:54 radius-proxy2 python3[1681]:   File "/usr/local/lib/python3.7/dist-packages/gevent/baseserver.py", line 34, in _handle_and_close_when_done
May 11 11:56:54 radius-proxy2 python3[1681]:     return handle(*args_tuple)
May 11 11:56:54 radius-proxy2 python3[1681]:   File "/usr/local/bin/foxpass-radius-agent.py", line 323, in handle
May 11 11:56:54 radius-proxy2 python3[1681]:     response_data = process_request(data, address, self.secret)
May 11 11:56:54 radius-proxy2 python3[1681]:   File "/usr/local/bin/foxpass-radius-agent.py", line 272, in process_request
May 11 11:56:54 radius-proxy2 python3[1681]:     dict=Dictionary(io.BytesIO(DICTIONARY_DATA)))
May 11 11:56:54 radius-proxy2 python3[1681]: TypeError: a bytes-like object is required, not 'str'
May 11 11:56:54 radius-proxy2 python3[1681]: 2020-05-11T16:56:54Z <Greenlet at 0xb59be810: _handle_and_close_when_done(<bound method RADIUSServer.handle of <RAD

Reverted to 547f144 and things seem fine.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.