Hello List,

we have freeradius 1.0.1 and Mysql 4.0.3.
Auth Logging works fine, but the acct Logging is broken.
In freeradius -X i found no NAS Ports:

  modcall[accounting]: module "detail" returns ok for request 1
  modcall[accounting]: module "unix" returns noop for request 1
radius_xlat:  '/var/log/freeradius/radutmp'
radius_xlat:  'panekm'
  rlm_radutmp: No NAS-Port seen.  Cannot do anything.
  rlm_radumtp: WARNING: checkrad will probably not work!
  modcall[accounting]: module "radutmp" returns noop for request 1
modcall: group accounting returns ok for request 1
Sending Accounting-Response of id 23 to 172.20.49.102:1047
Finished request 1
Going to the next request
--- Walking the entire request list ---
Cleaning up request 1 ID 23 with timestamp 41a6052b
Waking up in 3 seconds...
--- Walking the entire request list ---
Cleaning up request 0 ID 22 with timestamp 41a60528
Nothing to do.  Sleeping until we see a request.

We used it as an VPN Server , Hardware is Enterasys XSR-1805:
Config :

!
aaa method radius radius default
enable
group ecavpn
address ip-address 172.20.49.106
hash enable
key xxxxxxxxxxxx
client vpn
auth-port 1812
acct-port 1813
attempts 4
retransmit 3
timeout 10
qtimeout 0

Radiusd.conf :

#listen {
        #  IP address on which to listen.
        #  Allowed values are:
        #       dotted quad (1.2.3.4)
        #       hostname    (radius.example.com)
        #       wildcard    (*)
#       ipaddr = *

        #  Port on which to listen.
        #  Allowed values are:
        #       integer port number (1812)
        #       0 means "use /etc/services for the proper port"
#       port = 0

        #  Type of packets to listen for.
        #  Allowed values are:
        #       auth    listen for authentication packets
        #       acct    listen for accounting packets
        #
        type = acct
#}

                #  configuration entry can be set to 'no'.
                #
                check_with_nas = yes

                # Set the file permissions, as the contents of this file
                # are usually private.
                perm = 0600

                callerid = "yes"
        }

        # "Safe" radutmp - does not contain caller ID, so it can be
        # world-readable, and radwho can work for normal users, without
        # exposing any information that isn't already exposed by who(1).
        #

#  Accounting.  Log the accounting data.
#
accounting {
         #
         #  Ensure that we have a semi-unique identifier for every
         #  request, and many NAS boxes are broken.
         sql
         acct_unique

         #
         #  Create a 'detail'ed log of the packets.
         #  Note that accounting requests which are proxied
         #  are also logged in the detail file.
         detail
#       daily
         unix            # wtmp file

Any idea ??
Thx


Regards / Grüße / Danke

Marco Panek

...............................................................
Smurfit Europa Carton GmbH
Information Systems (IS)
Tilsiter Straße 144
D-22047 Hamburg

Tel:    +49 (0)40  30901 191
Fax:  +49 (0)40  30901 5191
[EMAIL PROTECTED]



-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to