radiusplugin-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Radiusplugin-users] the plugin can not transfer Acct Interim Interval t


From: Mu Yang
Subject: [Radiusplugin-users] the plugin can not transfer Acct Interim Interval to freeRADIUS?
Date: Tue, 8 Sep 2015 21:04:55 +0400

Hello guys. I  am a newbie to freeRADIUS. Try to setup an openVPN and use freeRADIUS to manage it .
Here comes an issue.When I connect from client side. The server will send message like below:


Tue Sep  8 12:48:31 2015 OpenVPN 2.2.2 i686-pc-linux-gnu [SSL] [LZO2] [EPOLL] [P                                                                                        KCS11] [eurephia] built on Apr  5 2012
Tue Sep  8 12:48:31 2015 NOTE: the current --script-security setting may allow t                                                                                        his configuration to call user-defined scripts
Tue Sep  8 12:48:31 2015 RADIUS-PLUGIN: Configfile name: /etc/openvpn/radiusplug                                                                                        in.cnf.
Tue Sep  8 12:48:31 2015 WARNING: POTENTIALLY DANGEROUS OPTION --client-cert-not                                                                                        -required may accept clients which do not present a certificate
Tue Sep  8 12:48:31 2015 TUN/TAP device tun0 opened
Tue Sep  8 12:48:31 2015 /sbin/ip link set dev tun0 up mtu 1500
Tue Sep  8 12:48:31 2015 /sbin/ip addr add dev tun0 local 10.10.10.1 peer 10.10.                                                                                        10.2
Tue Sep  8 12:48:32 2015 GID set to nobody
Tue Sep  8 12:48:32 2015 UDPv4 link local (bound): [undef]:1194
Tue Sep  8 12:48:32 2015 UDPv4 link remote: [undef]
Tue Sep  8 12:48:32 2015 Initialization Sequence Completed
Tue Sep  8 12:48:47 2015 5.31.189.139:27363 Re-using SSL/TLS context
Tue Sep  8 12:48:47 2015 5.31.189.139:27363 LZO compression initialized
Tue Sep  8 12:48:48 2015 read UDPv4 [ECONNREFUSED]: Connection refused (code=111                                                                                        )
Tue Sep  8 12:48:49 2015 RADIUS-PLUGIN: FOREGROUND THREAD: Auth_user_pass_verify                                                                                         thread started.
Tue Sep  8 12:48:49 2015 RADIUS-PLUGIN: FOREGROUND THREAD: New user.
Tue Sep  8 12:48:49 2015 RADIUS-PLUGIN: No attributes Acct Interim Interval or b                                                                                        ad length.
Tue Sep  8 12:48:49 2015 RADIUS-PLUGIN: Client config file was not written, over                                                                                        writeccfiles is false
.Tue Sep  8 12:48:49 2015 RADIUS-PLUGIN: FOREGROUND THREAD: Add user to map.
Tue Sep  8 12:48:50 2015 5.31.189.139:27363 [yang] Peer Connection Initiated wit                                                                                        h 5.31.189.139:27363

And it is working. But without any "attributes Acct Interim Interval " besides the time stamp.
The DaloRADIUS displays download and upload 0 Byte.The NAS log proves it :

Tue Sep  8 10:28:15 2015
        User-Name = "yang"
        NAS-IP-Address = X.X.X.X
        NAS-Port = 1
        Service-Type = Outbound-User
        Framed-Protocol = PPP
        Framed-IP-Address = 10.10.10.6
        Calling-Station-Id = "5.31.189.139"
        NAS-Identifier = "OpenVpn"
        Acct-Status-Type = Start
        Acct-Session-Id = "1C0467C0E66666223BB0A00EE8B1B43E"
        NAS-Port-Type = Virtual
        Acct-Unique-Session-Id = "078d08fc460ec3ed"
        Timestamp = 1441722495

Tue Sep  8 10:35:54 2015
        User-Name = "yang"
        NAS-IP-Address =  X.X.X.X
        NAS-Port = 1
        Service-Type = Outbound-User
        Framed-Protocol = PPP
        Framed-IP-Address = 10.10.10.6
        Calling-Station-Id = "xxx.xxx.xxx.xxx"
        NAS-Identifier = "OpenVpn"
        Acct-Status-Type = Stop
        Acct-Input-Octets = 0
        Acct-Output-Octets = 0
        Acct-Session-Id = "1C0467C0E66666223BB0A00EE8B1B43E"
        Acct-Session-Time = 459
        Acct-Input-Gigawords = 0
        Acct-Output-Gigawords = 0
        NAS-Port-Type = Virtual
        Acct-Unique-Session-Id = "078d08fc460ec3ed"
        Timestamp = 1441722954

        Acct-Input-Octets = 0
        Acct-Output-Octets = 0
Any suggestion? Thanks.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]