File: huawei-me60-acctreq-01.p

package info (click to toggle)
libnet-radius-perl 2.103%2Bdfsg-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, trixie
  • size: 1,276 kB
  • sloc: perl: 4,561; tcl: 33; makefile: 2
file content (313 lines) | stat: -rw-r--r-- 21,509 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
#!/usr/bin/perl

no utf8;

# Net::Radius test input
# Made with $Id: bin2packet 67 2007-01-14 18:51:42Z lem $

$VAR1 = {
          'packet' => '$l<T٢ݩWA5CNT-BRAS-02-172.16.74.2 eth 0/2/2/2:260.11@dinamico  J	aba_512 CNT-BRAS-02-172.16.74.2(),#CNT-BRA02202026000011336432002618-7J=00:17:08:2f:2c:c9W,CNT-BRAS-02-172.16.74.2 eth 0/2/2/2:260.11M256000[<"200.11.174.235 00:17:08:2f:2c:c9
:
dinamico256',
          'secret' => 'br@5hu',
          'description' => 'Huawei Quidway® ME60 - Accounting-Request #1',
          'authenticator' => '<T٢ݩWA',
          'identifier' => 36,
          'dictionary' => bless( {
                                   'packet' => undef,
                                   'vsattr' => {
                                                 '2011' => {
                                                             'Output-Average-Rate' => [
                                                                                        '5',
                                                                                        'integer'
                                                                                      ],
                                                             'Qos-Profile' => [
                                                                                '31',
                                                                                'string'
                                                                              ],
                                                             'Product-ID' => [
                                                                               '255',
                                                                               'string'
                                                                             ],
                                                             'Connect-ID' => [
                                                                               '26',
                                                                               'integer'
                                                                             ],
                                                             'Input-Average-Rate' => [
                                                                                       '2',
                                                                                       'integer'
                                                                                     ],
                                                             'Domain-Name' => [
                                                                                '138',
                                                                                'string'
                                                                              ],
                                                             'Startup-Stamp' => [
                                                                                  '59',
                                                                                  'integer'
                                                                                ],
                                                             'Ip-Host-Addr' => [
                                                                                 '60',
                                                                                 'string'
                                                                               ],
                                                             'Output-Peak-Rate' => [
                                                                                     '6',
                                                                                     'integer'
                                                                                   ],
                                                             'Version' => [
                                                                            '254',
                                                                            'string'
                                                                          ],
                                                             'Priority' => [
                                                                             '22',
                                                                             'integer'
                                                                           ],
                                                             'Input-Peak-Rate' => [
                                                                                    '3',
                                                                                    'integer'
                                                                                  ]
                                                           }
                                               },
                                   'rattr' => {
                                                '32' => [
                                                          'NAS-Identifier',
                                                          'string'
                                                        ],
                                                '11' => [
                                                          'Filter-Id',
                                                          'string'
                                                        ],
                                                '7' => [
                                                         'Framed-Protocol',
                                                         'integer'
                                                       ],
                                                '2' => [
                                                         'User-Password',
                                                         'string'
                                                       ],
                                                '87' => [
                                                          'NAS-Port-Id',
                                                          'string'
                                                        ],
                                                '1' => [
                                                         'User-Name',
                                                         'string'
                                                       ],
                                                '77' => [
                                                          'Connect-Info',
                                                          'string'
                                                        ],
                                                '44' => [
                                                          'Acct-Session-Id',
                                                          'string'
                                                        ],
                                                '55' => [
                                                          'Event-Timestamp',
                                                          'date'
                                                        ],
                                                '6' => [
                                                         'Service-Type',
                                                         'integer'
                                                       ],
                                                '40' => [
                                                          'Acct-Status-Type',
                                                          'integer'
                                                        ],
                                                '61' => [
                                                          'NAS-Port-Type',
                                                          'integer'
                                                        ],
                                                '41' => [
                                                          'Acct-Delay-Time',
                                                          'integer'
                                                        ],
                                                '8' => [
                                                         'Framed-IP-Address',
                                                         'ipaddr'
                                                       ],
                                                '4' => [
                                                         'NAS-IP-Address',
                                                         'ipaddr'
                                                       ],
                                                '45' => [
                                                          'Acct-Authentic',
                                                          'integer'
                                                        ],
                                                '31' => [
                                                          'Calling-Station-Id',
                                                          'string'
                                                        ],
                                                '5' => [
                                                         'NAS-Port',
                                                         'integer'
                                                       ]
                                              },
                                   'vendors' => {
                                                  'Huawei' => '2011'
                                                },
                                   'rpacket' => undef,
                                   'val' => {
                                              '6' => {
                                                       'Framed-User' => '2'
                                                     },
                                              '61' => {
                                                        'Ethernet' => '15'
                                                      },
                                              '7' => {
                                                       'PPP' => '1'
                                                     }
                                            },
                                   'rvsaval' => {
                                                  '2011' => {}
                                                },
                                   'attr' => {
                                               'NAS-Port-Type' => [
                                                                    '61',
                                                                    'integer'
                                                                  ],
                                               'Acct-Session-Id' => [
                                                                      '44',
                                                                      'string'
                                                                    ],
                                               'Service-Type' => [
                                                                   '6',
                                                                   'integer'
                                                                 ],
                                               'Acct-Authentic' => [
                                                                     '45',
                                                                     'integer'
                                                                   ],
                                               'Acct-Status-Type' => [
                                                                       '40',
                                                                       'integer'
                                                                     ],
                                               'Connect-Info' => [
                                                                   '77',
                                                                   'string'
                                                                 ],
                                               'NAS-IP-Address' => [
                                                                     '4',
                                                                     'ipaddr'
                                                                   ],
                                               'NAS-Port-Id' => [
                                                                  '87',
                                                                  'string'
                                                                ],
                                               'Filter-Id' => [
                                                                '11',
                                                                'string'
                                                              ],
                                               'Calling-Station-Id' => [
                                                                         '31',
                                                                         'string'
                                                                       ],
                                               'Framed-Protocol' => [
                                                                      '7',
                                                                      'integer'
                                                                    ],
                                               'User-Name' => [
                                                                '1',
                                                                'string'
                                                              ],
                                               'User-Password' => [
                                                                    '2',
                                                                    'string'
                                                                  ],
                                               'NAS-Identifier' => [
                                                                     '32',
                                                                     'string'
                                                                   ],
                                               'Event-Timestamp' => [
                                                                      '55',
                                                                      'date'
                                                                    ],
                                               'Framed-IP-Address' => [
                                                                        '8',
                                                                        'ipaddr'
                                                                      ],
                                               'NAS-Port' => [
                                                               '5',
                                                               'integer'
                                                             ],
                                               'Acct-Delay-Time' => [
                                                                      '41',
                                                                      'integer'
                                                                    ]
                                             },
                                   'rvsattr' => {
                                                  '2011' => {
                                                              '6' => [
                                                                       'Output-Peak-Rate',
                                                                       'integer'
                                                                     ],
                                                              '3' => [
                                                                       'Input-Peak-Rate',
                                                                       'integer'
                                                                     ],
                                                              '138' => [
                                                                         'Domain-Name',
                                                                         'string'
                                                                       ],
                                                              '26' => [
                                                                        'Connect-ID',
                                                                        'integer'
                                                                      ],
                                                              '2' => [
                                                                       'Input-Average-Rate',
                                                                       'integer'
                                                                     ],
                                                              '22' => [
                                                                        'Priority',
                                                                        'integer'
                                                                      ],
                                                              '59' => [
                                                                        'Startup-Stamp',
                                                                        'integer'
                                                                      ],
                                                              '254' => [
                                                                         'Version',
                                                                         'string'
                                                                       ],
                                                              '60' => [
                                                                        'Ip-Host-Addr',
                                                                        'string'
                                                                      ],
                                                              '255' => [
                                                                         'Product-ID',
                                                                         'string'
                                                                       ],
                                                              '31' => [
                                                                        'Qos-Profile',
                                                                        'string'
                                                                      ],
                                                              '5' => [
                                                                       'Output-Average-Rate',
                                                                       'integer'
                                                                     ]
                                                            }
                                                },
                                   'rval' => {
                                               '6' => {
                                                        '2' => 'Framed-User'
                                                      },
                                               '61' => {
                                                         '15' => 'Ethernet'
                                                       },
                                               '7' => {
                                                        '1' => 'PPP'
                                                      }
                                             },
                                   'vsaval' => {}
                                 }, 'Net::Radius::Dictionary' ),
          'opts' => {
                      'identifier' => 36,
                      'authenticator' => '<T٢ݩWA',
                      'dictionary' => [
                                        'minidict'
                                      ],
                      'secret' => 'br@5hu',
                      'slots' => 17,
                      'output' => 'huawei-me60-acctreq-01',
                      'description' => 'Huawei Quidway® ME60 - Accounting-Request #1'
                    },
          'slots' => 17
        };