| Home | Trees | Index | Help |
|---|
| Package pyrad :: Module host :: Class Host |
|
Client,
Server,
RADIUS| Method Summary | |
|---|---|
Constructor | |
| pyrad.packet.Packet |
Create a new RADIUS packet. |
| pyrad.packet.Packet |
Create a new RADIUS packet. |
Send a packet. | |
Send a packet. | |
| Instance Variable Summary | |
|---|---|
| integer | acctport: port to listen on for accounting packets |
| integer | authport: port to listen on for authentication packets |
| pyrad.dictionary.Dictionary | dict: RADIUS dictionary |
| Method Details |
|---|
__init__(self,
authport=1812,
acctport=1813,
dict=None)
Constructor
|
CreateAcctPacket(self, **args)Create a new RADIUS packet. This utility function creates a new RADIUS packet which can be used to communicate with the RADIUS server this client talks to. This is initializing the new packet with the dictionary and secret used for the client.
|
CreateAuthPacket(self, **args)Create a new RADIUS packet. This utility function creates a new RADIUS packet which can be used to communicate with the RADIUS server this client talks to. This is initializing the new packet with the dictionary and secret used for the client.
|
SendPacket(self, fd, pkt)Send a packet.
|
SendReplyPacket(self, fd, pkt)Send a packet.
|
| Instance Variable Details |
|---|
acctportport to listen on for accounting packets
|
authportport to listen on for authentication packets
|
dictRADIUS dictionary
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Wed Jun 2 14:19:56 2004 | http://epydoc.sf.net |