freeeradius 3.0.0 issue

BALSIANOK, Peter Peter.Balsianok at orange.sk
Thu May 2 13:08:32 CEST 2013


Hi,

Could you please fix following problems:

Main configuration:
#  (1) Define two productioni/test home server(s).
#  Production home servers
#  Test home server.
home_server wapgtw.test.system {
        type = acct
        ipaddr = x.x.x.x
        port = 1813
        secret = ...

        status_check = none
        zombie_period = 40
        revive_interval = 120
}

#  Put all of the servers into a pool.
home_server_pool wapgtw.test.system {
                type = fail-over
                home_server = wapgtw.test.system
}

#  (2) Define a realm for these home servers.
#  It should NOT be used as part of normal proxying decisions!
realm wapgtw.test.system {
        acct_pool = wapgtw.test.system
}

#  (3) Proxy configuration needs to be outside virtual server configuration
listen {
                ipaddr = *
                port = 0
                type = proxy
}
#  (4) Global configuration for accounting
listen {
                ipaddr = *
                port = 2813
                type = acct

                virtual_server = wapgtw.test.system
}

#  (5) Define accepted client(s)
client 10.8.251.153 {
                secret          = xxx
        shortname       = xxx
}

#  (6) Define a virtual server to handle production pre/post-proxy re-writing
server wapgtw.test.system {
        preacct {
                #  Insert preacct rules here
                preprocess
                linelog

                update control {
                        Proxy-To-Realm := wapgtw.production.system
                }
                update reply {
                        Fall-Through := No
                }
                update request {
                        Called-Station-Id := "%{Called-Station-Id}.%{3GPP-SGSN-Address}"
                }
        }
}

radiusd: FreeRADIUS Version 3.0.0, for host x86_64-unknown-linux-gnu, built on May  2 2013 at 09:34:02
Copyright (C) 1999-2013 The FreeRADIUS server project and contributors.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
You may redistribute copies of FreeRADIUS under the terms of the
GNU General Public License.
For more information about these matters, see the file named COPYRIGHT.
Starting - reading configuration files ...
...
Ready to process requests.
rad_recv: Accounting-Request packet from host 10.8.251.153 port 58427, id=31, length=381
                Acct-Status-Type = Start
                Event-Timestamp = "May  2 2013 12:00:39 CEST"
                Framed-IP-Address = 10.40.255.253
                Called-Station-Id = "orangewap-ng"
                Calling-Station-Id = "421905xxxxxx"
                NAS-IP-Address = 10.8.251.153
                NAS-Identifier = "10.8.251.153"
                Framed-Protocol = GPRS-PDP-Context
                Service-Type = Framed-User
                NAS-Port-Type = Virtual
                Acct-Session-Id = "D597D928a30003ad"
                3GPP-IMSI = "231014450961399"
                3GPP-IMSI-MCC-MNC = "23101"
                3GPP-SGSN-Address = 213.151.252.35
                3GPP-SGSN-MCC-MNC = "23101"
                3GPP-NSAPI = "5"
                3GPP-GGSN-Address = 213.151.217.40
                3GPP-GGSN-MCC-MNC = "23101"
                3GPP-Charging-Characteristics = "0800"
                3GPP-IMEISV = "3529440557604301"
                3GPP-RAT-Type = 1
                3GPP-Location-Info = 0x0132f1100bfe659e
                3GPP-Charging-ID = 2734687149
                3GPP-PDP-Type = 0
                3GPP-Charging-Gateway-Address = 0.0.0.0
                3GPP-Selection-Mode = "1"
                Attr-26.10415.23 = 0x0801
                3GPP-Negotiated-DSCP = 0
                3GPP-GPRS-Negotiated-QoS-profile = "05-23921F9396D1FE74800000006400"
(3) # Executing section preacct from file ./sites-enabled/robust-proxy-accounting
(3)   group preacct {
(3)  - entering group preacct {...}
(3)   [preprocess] = ok
(3) linelog :         expand: 'Accounting-Request.%{%{Acct-Status-Type}:-unknown}' -> 'Accounting-Request.1'
WARNING: No such configuration item .Accounting-Request.1
(3) linelog : No such entry ".Accounting-Request.1"
(3)   [linelog] = noop
(3)   update control {
(3)                          Proxy-To-Realm := "wapgtw.production.system"
(3)   } # update control = noop
(3)   update reply {
(3)                          Fall-Through := No
(3)   } # update reply = noop
(3)   update request {
(3) ERROR: %{Called-Station-Id}.%{3GPP-SGSN-Address}
(3) ERROR:                        ^ Invalid regex reference

Thank you very much.

Peter Balšianok
Data Service Operation Coordinator,
Voice & Data Services Operations
Orange Slovensko, a. s.
Metodova 8, 821 08 Bratislava
tel: +421 908 00 2405
mobil: +421 905 012 405
e-mail: peter.balsianok at orange.sk<mailto:peter.balsianok at orange.sk>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20130502/1f284332/attachment-0001.html>


More information about the Freeradius-Users mailing list