pyrad:Python RADIUS实施

时间:2021-05-13 21:47:49
【文件属性】:
文件名称:pyrad:Python RADIUS实施
文件大小:75KB
文件格式:ZIP
更新时间:2021-05-13 21:47:49
python radius Python 介绍 pyrad是RFC2865中描述的RADIUS客户端/服务器的实现。 它负责所有细节,例如构建RADIUS数据包,发送它们以及解码响应。 这是执行身份验证请求的示例: from __future__ import print_function from pyrad.client import Client from pyrad.dictionary import Dictionary import pyrad.packet srv = Client(server="localhost", secret=b"Kah3choteereethiejeimaeziecumi", dict=Dictionary("dictionary")) # create request req = srv.CreateAuthPacket(code=pyrad.packet.
【文件预览】:
pyrad-master
----setup.py(1KB)
----.gitignore(78B)
----index.txt(415B)
----requirements.txt(11B)
----pyproject.toml(1KB)
----CHANGES.rst(7KB)
----.travis.yml(279B)
----pyrad()
--------bidict.py(870B)
--------__init__.py(1KB)
--------client_async.py(14KB)
--------host.py(4KB)
--------server_async.py(12KB)
--------client.py(8KB)
--------server.py(12KB)
--------curved.py(2KB)
--------dictfile.py(3KB)
--------packet.py(33KB)
--------tools.py(7KB)
--------dictionary.py(14KB)
--------proxy.py(2KB)
----setup.cfg(47B)
----TODO.rst(10B)
----LICENSE.txt(2KB)
----.github()
--------workflows()
----README.rst(3KB)
----tests()
--------data()
--------testProxy.py(3KB)
--------__init__.py(104B)
--------testServer.py(11KB)
--------testHost.py(3KB)
--------testTools.py(4KB)
--------testPacket.py(24KB)
--------testClient.py(7KB)
--------testBidict.py(2KB)
--------testDictionary.py(13KB)
--------mock.py(3KB)
----example()
--------pyrad.log(0B)
--------client-coa.py(2KB)
--------coa.py(992B)
--------server_async.py(3KB)
--------dictionary.freeradius(1KB)
--------auth_async.py(5KB)
--------server.py(2KB)
--------dictionary(13KB)
--------status.py(762B)
--------acct.py(1KB)
--------auth.py(1KB)
----docs()
--------Makefile(606B)
--------make.bat(813B)
--------source()

网友评论