Timestamp missing from accounting start

Barry Botha barry at digitalpro.co.za
Thu Oct 20 16:29:09 CEST 2011


Hi List

I've recently upgraded to Freeradius 2.1 from 1.9.
I launch an exec script with:
Exec bdns {

        wait = no
        program = " /dns-update.php %{User-Name} %{Acct-Status-Type}
%{Framed-IP-Address} %{Timestamp}"
        input_pairs = request
        packet_type = Accounting-Request

}

Since the upgrade I've been getting this error:

[bbar-dns] WARNING: Unknown module "Timestamp" in string expansion "%"

When I inspect the Accounting-Request it has no Timestamp:

rad_recv: Accounting-Request packet from host 196.1.1.1 port 1820, id=84,
length=189
        Acct-Session-Id = "7/0/0/1.188_08B45A01"
        Framed-Protocol = PPP
        Framed-IP-Address = 41.243.123.198
        User-Name = "user at realm"
        X-Ascend-Connect-Progress = LAN-Session-Up
        Acct-Authentic = RADIUS
        Acct-Status-Type = Start
        NAS-Port-Type = Virtual
        NAS-Port = 1879113916
        NAS-Port-Id = "7/0/0/1.188"
        Connect-Info = "AutoShapedVC"
        Calling-Station-Id = "0215522395"
        Class = 0x4e5331
        Service-Type = Framed-User
        NAS-IP-Address = 196.1.2.1
        X-Ascend-Session-Svr-Key = "7A2DA0BA"
        Acct-Delay-Time = 0
        Vendor-1431-Attr-1 = 0x44534c
        Proxy-State = 0x323437

The NAS has not changed.

Any ideas why I'm getting no {Timestamp}

Thanks
Barry




More information about the Freeradius-Users mailing list