foxpass / foxpass-radius-agent Goto Github PK
View Code? Open in Web Editor NEWLocal RADIUS agent. More configurable than the RADIUS proxy.
Local RADIUS agent. More configurable than the RADIUS proxy.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.