(RADIATOR) Re: Account Update Message (DLG-24)
Hugh Irvine
hugh at open.com.au
Mon Aug 8 23:04:24 CDT 2005
Hello Ajay -
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]
[-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]...
What exactly do you mean by "Account Update"? If you mean accounting
alives, you can do something like this:
perl radpwtst -noauth -noacct -trace 4 -code Accounting-
Request Acct-Status-Type=Alive .....
hugh$ perl radpwtst -noauth -noacct -trace 4 -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: 92
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 9 Aug 2005, at 13:49, Ajay Gopinath wrote:
> Hi Hugh,
>
> We are using the radpwtst to send test messages to RADIATOR.
>
> How do we generate test "Account Update" messages?
>
>
> Cheers,
> Ajay
>
>
>
>
>
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