(RADIATOR) interim accouting with radpwtst

Hugh Irvine hugh at open.com.au
Tue Aug 23 17:10:28 CDT 2005


Hello Tariq -

You can do something like this:

         radpwtst -noauth -noacct -code Accounting-Request Acct- 
Status-Type=Alive ......


here is the help for radpwtst:

hugh$ perl radpwtst -h
usage: radpwtst [-h] [-time] [-iterations n]
           [-trace [level]] [-s server] [-secret secret]
           [-noauth] [-noacct][-nostart] [-nostop] [-status]
           [-chap] [-mschap] [-mschapv2] [-eapmd5] [-eapotp] [-eapgtc]
           [-eaphex xxxxxxxxxxxxx]
           [-accton] [-acctoff] [-framed_ip_address address]
           [-auth_port port] [-acct_port port] [-identifier n]
           [-user username] [-password password]
           [-nas_ip_address address] [-nas_identifier string]
           [-nas_port port] [-nas_port_type type] [-service_type  
service]
           [-calling_station_id string] [-called_station_id string]
           [-session_id string] [-interactive]
           [-delay_time n] [-session_time n] [-input_octets n]
           [-output_octets n] [-timeout n] [-dictionary file,file]
           [-gui] [-class string] [-useoldascendpasswords]
           [-code requestcode] [-raw data] [-rawfile filename]
           [-rawfileseq filename]
           [-outport port] [-bind_address dotted-ip-address]
           [attribute=value]...


here is an example:

hugh$ perl radpwtst -trace 4 -noauth -noacct -code Accounting-Request  
Acct-Status-Type=Alive
Reading dictionary file './dictionary'
sending Accounting-Request...
Packet dump:
*** Sending to 127.0.0.1 port 1645 ....
Code:       Accounting-Request
Identifier: 117
Authentic:  <0><0><0><0><0><0><0><0><0><0><0><0><0><0><0><0>
Attributes:
         Acct-Status-Type = Alive


regards

Hugh


On 24 Aug 2005, at 01:09, Tariq Rashid wrote:

>
> hi - i often use the radpwtst tool for generating authentication  
> requests,
> and also accoutning start and stop requests.
>
> however, can it be used to generate interim accouting requests -  
> also known
> as Accounting Status packets?
>
> tariq
>
> --
> Archive at http://www.open.com.au/archives/radiator/
> Announcements on radiator-announce at open.com.au
> To unsubscribe, email 'majordomo at open.com.au' with
> 'unsubscribe radiator' in the body of the message.
>


NB:

Have you read the reference manual ("doc/ref.html")?
Have you searched the mailing list archive (www.open.com.au/archives/ 
radiator)?
Have you had a quick look on Google (www.google.com)?
Have you included a copy of your configuration file (no secrets),
together with a trace 4 debug showing what is happening?

-- 
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
-
CATool: Private Certificate Authority for Unix and Unix-like systems.


--
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list