Navigation


Changeset 533:4cdf146f11d5 in freeDiameter for doc


Ignore:
Timestamp:
Sep 7, 2010, 4:57:48 PM (14 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Added a set of example PHP scripts to parse the app_acct.fdx data.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/app_acct.conf.sample

    r529 r533  
    4747# searched. This behavior can be changed quite easily if needed.
    4848
    49 # The following list is informative only.
    50 # You may also consult RFC4005 sections 10.2.1 and 10.2.2 for other examples
    51 # "Origin-Host";
    52 # "Origin-Realm";
    53 # "Destination-Realm";
    54 # "Destination-Host";
    55 # "Session-Id";
    56 # "Origin-State-Id";
    57 # "Accounting-Record-Type";
    58 # "Accounting-Record-Number";
    59 # "User-Name";
    60 # "Event-Timestamp";
    61 # "Acct-Application-Id";
    62 # "Accounting-Sub-Session-Id";
    63 # "Acct-Session-Id";
    64 # "Acct-Multi-Session-Id";
    65 # "Origin-AAA-Protocol";
    66 # "Acct-Delay-Time";
    67 # "NAS-Identifier";
    68 # "NAS-IP-Address";
    69 # "NAS-IPv6-Address";
    70 # "NAS-Port";
    71 # "NAS-Port-Id";
    72 # "NAS-Port-Type";
    73 # "Service-Type";
    74 # "Termination-Cause";
    75 # "Accounting-Input-Octets";
    76 # "Accounting-Input-Packets";
    77 # "Accounting-Output-Octets";
    78 # "Accounting-Output-Packets";
    79 # "Acct-Authentic";
    80 # "Acct-Link-Count";
    81 # "Acct-Session-Time";
    82 # "Acct-Tunnel-Connection";
    83 # "Acct-Tunnel-Packets-Lost";
    84 # "Callback-Id";
    85 # "Callback-Number";
    86 # "Called-Station-Id";
    87 # "Calling-Station-Id";
    88 # "Connect-Info";
    89 # "Originating-Line-Info";
    90 # "Authorization-Lifetime";
    91 # "Session-Timeout";
    92 # "Idle-Timeout";
    93 # "Port-Limit";
    94 # "Accounting-Realtime-Required";
    95 # "Acct-Interim-Interval";
    96 # "Filter-Id";
    97 # "NAS-Filter-Rule";
    98 # "QoS-Filter-Rule";
    99 # "Login-IP-Host";
    100 # "Login-IPv6-Host";
    101 # "Login-LAT-Group";
    102 # "Login-LAT-Node";
    103 # "Login-LAT-Port";
    104 # "Login-LAT-Service";
    105 # "Login-Service";
    106 # "Login-TCP-Port";
    107 # "Route-Record" = { multi=5; }; # Record the last 5 hops of the message
    108 
    109 # This is the database table corresponding to this list:
    110 # CREATE TABLE incoming (
    111 #     "recorded_on" timestamp with time zone NOT NULL,
    112 #     "recorded_serv" bytea,
    113 #     "Origin-Host" bytea NOT NULL,
    114 #     "Origin-Realm" bytea NOT NULL,
    115 #     "Destination-Realm" bytea,
    116 #     "Destination-Host" bytea,
    117 #     "Session-Id" bytea NOT NULL,
    118 #     "Origin-State-Id" integer,
    119 #     "Accounting-Record-Type" integer NOT NULL,
    120 #     "Accounting-Record-Number" integer NOT NULL,
    121 #     "User-Name" bytea,
    122 #     "Event-Timestamp" bytea,
    123 #     "Acct-Application-Id" integer,
    124 #     "Accounting-Sub-Session-Id" bigint,
    125 #     "Acct-Session-Id" bytea,
    126 #     "Acct-Multi-Session-Id" bytea,
    127 #     "Origin-AAA-Protocol" integer,
    128 #     "Acct-Delay-Time" integer,
    129 #     "NAS-Identifier" bytea,
    130 #     "NAS-IP-Address" bytea,
    131 #     "NAS-IPv6-Address" bytea,
    132 #     "NAS-Port" integer,
    133 #     "NAS-Port-Id" bytea,
    134 #     "NAS-Port-Type" integer,
    135 #     "Service-Type" integer,
    136 #     "Termination-Cause" integer,
    137 #     "Accounting-Input-Octets" bigint,
    138 #     "Accounting-Input-Packets" bigint,
    139 #     "Accounting-Output-Octets" bigint,
    140 #     "Accounting-Output-Packets" bigint,
    141 #     "Acct-Authentic" integer,
    142 #     "Acct-Link-Count" integer,
    143 #     "Acct-Session-Time" integer,
    144 #     "Acct-Tunnel-Connection" bytea,
    145 #     "Acct-Tunnel-Packets-Lost" integer,
    146 #     "Callback-Id" bytea,
    147 #     "Callback-Number" bytea,
    148 #     "Called-Station-Id" bytea,
    149 #     "Calling-Station-Id" bytea,
    150 #     "Connect-Info" bytea,
    151 #     "Originating-Line-Info" bytea,
    152 #     "Authorization-Lifetime" integer,
    153 #     "Session-Timeout" integer,
    154 #     "Idle-Timeout" integer,
    155 #     "Port-Limit" integer,
    156 #     "Accounting-Realtime-Required" integer,
    157 #     "Acct-Interim-Interval" integer,
    158 #     "Filter-Id" bytea,
    159 #     "NAS-Filter-Rule" bytea,
    160 #     "QoS-Filter-Rule" bytea,
    161 #     "Login-IP-Host" bytea,
    162 #     "Login-IPv6-Host" bytea,
    163 #     "Login-LAT-Group" bytea,
    164 #     "Login-LAT-Node" bytea,
    165 #     "Login-LAT-Port" bytea,
    166 #     "Login-LAT-Service" bytea,
    167 #     "Login-Service" integer,
    168 #     "Login-TCP-Port" integer,
    169 #     "Route-Record1" bytea,
    170 #     "Route-Record2" bytea,
    171 #     "Route-Record3" bytea,
    172 #     "Route-Record4" bytea,
    173 #     "Route-Record5" bytea
    174 # );
    175 
    176 
     49# You may look at contrib/app_acct_tools/app_acct.conf and database.sql files
     50# for an example of setup.
    17751
    17852
Note: See TracChangeset for help on using the changeset viewer.