hi to all. im using FR 2.0.0 with default config. in debug mode i get *rlm_acct_unique*: *WARNING*: *Attribute* *Client*-*IP*-*Address* was not found in request, unique ID MAY be inconsistent in 1.1.7 was ok. My nas is the same ( mikrotik routerboard ) with the same config that was with 1.1.7
here the debug rad_recv: Accounting-Request packet from host 192.168.2.225 port 1025, id=89, length=137 Service-Type = Framed-User Framed-Protocol = PPP NAS-Port = 44 NAS-Port-Type = Ethernet User-Name = "user" Calling-Station-Id = "00:D0:59:D9:13:61" Called-Station-Id = "service1" NAS-Port-Id = "ether3" Acct-Session-Id = "81d00001" Framed-IP-Address = 10.254.254.254 Acct-Authentic = RADIUS Acct-Status-Type = Start NAS-Identifier = "MikroTik" NAS-IP-Address = 192.168.2.225 Acct-Delay-Time = 0 +- entering group preacct ++[preprocess] returns ok rlm_acct_unique: WARNING: Attribute Client-IP-Address was not found in request, unique ID MAY be inconsistent rlm_acct_unique: Hashing 'NAS-Port = 44,,NAS-IP-Address = 192.168.2.225,Acct-Session-Id = "81d00001",User-Name = "user"' rlm_acct_unique: Acct-Unique-Session-ID = "8efabb6c466d821d". On 11/01/2008, orion <meshkruaj@gmail.com> wrote:
hi to all. im using FR 2.0.0 with default config. in debug mode i get
*rlm_acct_unique*: *WARNING*: *Attribute* *Client *-*IP*-*Address* was not found in request, unique ID MAY be inconsistent
in 1.1.7 was ok.
My nas is the same ( mikrotik routerboard ) with the same config that was with 1.1.7
Hi, FR 2.0.0 is more fussy - there is no Client-IP-Address in the accounting request. therefore it cannot use it in the hash (you will see the blank entry on the line following 44 (,,) simply change the rlm_acct_uniq has to use something that IS being sent...eg Framed-IP-Address alan
so your saying me to put anything that is being sent on that empty slot ? On 11/01/2008, A.L.M.Buxey@lboro.ac.uk <A.L.M.Buxey@lboro.ac.uk> wrote:
Hi,
FR 2.0.0 is more fussy - there is no Client-IP-Address in the accounting request. therefore it cannot use it in the hash (you will see the blank entry on the line following 44 (,,)
simply change the rlm_acct_uniq has to use something that IS being sent...eg Framed-IP-Address
alan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
orion wrote:
hi to all. im using FR 2.0.0 with default config. in debug mode i get
*rlm_acct_unique*: *WARNING*: *Attribute* *Client *-*IP*-*Address* was not found in request, unique ID MAY be inconsistent
Good point. The way that attribute is handled was changed in 2.0. I've committed a fix that should enable your existing configuration to work in 2.0. You can grab CVS head, and replace the rlm_acct_unique.c file in 2.0.0 with the version from CVS. Re-build, re-install, and it should now work. Alan DeKok.
after replacing the rlm_acct_unique.c my debug tells : rad_recv: Accounting-Request packet from host 192.168.2.225 port 1025, id=94, length=137 Service-Type = Framed-User Framed-Protocol = PPP NAS-Port = 48 NAS-Port-Type = Ethernet User-Name = "user" Calling-Station-Id = "00:D0:59:D9:13:61" Called-Station-Id = "service1" NAS-Port-Id = "ether3" Acct-Session-Id = "81000000" Framed-IP-Address = 10.254.254.254 Acct-Authentic = RADIUS Acct-Status-Type = Start NAS-Identifier = "MikroTik" NAS-IP-Address = 192.168.2.225 Acct-Delay-Time = 0 +- entering group preacct ++[preprocess] returns ok rlm_acct_unique: Hashing 'NAS-Port = 48,Client-IP-Address <INVALID-TOKEN> 192.168.2.225,NAS-IP-Address = 192.168.2.225,Acct-Session-Id = "81000000",User-Name = "user"' now it says "INVALID-TOKEN". should i replace only that file or are other files ( maybe entire package ) to be replaced ?! thanx On 12/01/2008, Alan DeKok <aland@deployingradius.com> wrote:
orion wrote:
hi to all. im using FR 2.0.0 with default config. in debug mode i get
*rlm_acct_unique*: *WARNING*: *Attribute* *Client *-*IP*-*Address* was not found in request, unique ID MAY be inconsistent
Good point. The way that attribute is handled was changed in 2.0.
I've committed a fix that should enable your existing configuration to work in 2.0. You can grab CVS head, and replace the rlm_acct_unique.c file in 2.0.0 with the version from CVS. Re-build, re-install, and it should now work.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
grabed the latest and installed. now it says rlm_acct_unique: Hashing 'NAS-Port = 9,Client-IP-Address = 192.168.2.225,NAS-IP-Address = 192.168.2.225,Acct-Session-Id = "81600000",User-Name = "orioni"' rlm_acct_unique: Acct-Unique-Session-ID = "59cf7442060b83a6". the Client-IP-Address is the same as NAS-IP-Address. in my clients.conf i have client 192.168.2.0/24 { secret = sekret shortname = private } it this a bug or it should be like that ( Client-IP-Address same as NAS-IP-Address. ) ? On 12/01/2008, Alan DeKok <aland@deployingradius.com> wrote:
orion wrote:
after replacing the rlm_acct_unique.c my debug tells :
rad_recv: Accounting-Request packet from host 192.168.2.225 ...Client-IP-Address <INVALID-TOKEN> now it says "INVALID-TOKEN".
OK. Grab the latest version from CVS. I've fixed a typo.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (3)
-
A.L.M.Buxey@lboro.ac.uk -
Alan DeKok -
orion