pyrad 0.9
Sponsored Links
pyrad 0.9 Ranking & Summary
File size:
0.017 MB
Platform:
Any Platform
License:
BSD License
Price:
Downloads:
1331
Date added:
2006-03-06
Publisher:
Wichert Akkerman
pyrad 0.9 description
pyrad is a Python RADIUS client.
pyrad contains several modules:
pyrad.client
RADIUS client class.
pyrad.dictionary
RADIUS dictionary support. Supports standard radiusd dictionaries and has preliminary support for the freeradius octets and abinary extensions.
pyrad.packet
A packet with a RADIUS request or reply. A packet object takes care of all the necessary data conversion allowing the programmer to only use standard python data types and RADIUS attribute names.
pyrad.server
Basic RADIUS server and proxy classes.
pyrad.tools
Utility functions, mostly used internally for data conversion
Simple example
Below is a simple example of how to use pyrad; it shows how to do an authentication request.
import pyrad.packet
from pyrad.client import Client
from pyrad.dictionary import Dictionary
srv=Client(server="radius.my.domain", secret="s3cr3t",
dict=Dictionary("dicts/dictionary", "dictionary.acc"))
req=srv.CreateAuthPacket(code=pyrad.packet.AccessRequest,
User_Name="wichert", NAS_Identifier="localhost")
req["User-Password"]=req.PwCrypt("password")
reply=srv.SendPacket(req)
if reply.code==pyrad.packet.AccessAccept:
print "access accepted"
else:
print "access denied"
print "Attributes returned by server:"
for i in reply.keys():
print "%s: %s" % (i, reply[i])
pyrad contains several modules:
pyrad.client
RADIUS client class.
pyrad.dictionary
RADIUS dictionary support. Supports standard radiusd dictionaries and has preliminary support for the freeradius octets and abinary extensions.
pyrad.packet
A packet with a RADIUS request or reply. A packet object takes care of all the necessary data conversion allowing the programmer to only use standard python data types and RADIUS attribute names.
pyrad.server
Basic RADIUS server and proxy classes.
pyrad.tools
Utility functions, mostly used internally for data conversion
Simple example
Below is a simple example of how to use pyrad; it shows how to do an authentication request.
import pyrad.packet
from pyrad.client import Client
from pyrad.dictionary import Dictionary
srv=Client(server="radius.my.domain", secret="s3cr3t",
dict=Dictionary("dicts/dictionary", "dictionary.acc"))
req=srv.CreateAuthPacket(code=pyrad.packet.AccessRequest,
User_Name="wichert", NAS_Identifier="localhost")
req["User-Password"]=req.PwCrypt("password")
reply=srv.SendPacket(req)
if reply.code==pyrad.packet.AccessAccept:
print "access accepted"
else:
print "access denied"
print "Attributes returned by server:"
for i in reply.keys():
print "%s: %s" % (i, reply[i])
pyrad 0.9 Screenshot
pyrad 0.9 Keywords
RADIUS
Python RADIUS
python radius client
RADIUS client
pyrad
client
python
print
0.9
pyrad 0.9
Networking
System
Bookmark pyrad 0.9
pyrad 0.9 Copyright
WareSeeker periodically updates pricing and software information of pyrad 0.9 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of pyrad 0.9 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
Related Software
Spyrit is a MUSH/MUCK/MOO client written in Python using the Qt toolkit. Free Download
PKAudio library is a high performance audio/signal processing library. Free Download
Python PNG encoder/decoder Free Download
PyJSW project consists of Python bindings for the libjsw joystick wrapper library. Free Download
raddump interprets captured RADIUS packets to print a timestamp. Free Download
uRadiusLib is a full, small, and easy to use C RADIUS client library. Free Download
yaccc provides yet another cyan chat client. Free Download
Pygmy is a GNOME mail client written in the Python programming language. Free Download
Latest Software
Popular Software
Favourite Software