Lease Query is not working in latest master branch

classic Classic list List threaded Threaded
4 messages Options
| Threaded
Open this post in threaded view
|

Lease Query is not working in latest master branch

Chinnapaiyan, Nagamani
Hi,



Lease Query is not working in latest master(#feb57bfef488dbb8a850b47b6a72eb1db0285fbe),

Other messages are working fine. And same LQ was working fine previously.



Debug output:

Info  : FreeRADIUS Version 4.0.0

Info  : Copyright 1999-2020 The FreeRADIUS server project and contributors

Info  : There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A

Info  : PARTICULAR PURPOSE

Info  : You may redistribute copies of FreeRADIUS under the terms of the

Info  : GNU General Public License

Info  : For more information about these matters, see the file named COPYRIGHT

Info  : Starting - reading configuration files ...

Debug : Including dictionary file "/etc/raddb/dictionary"

...

...

proto_dhcpv4_udp - Received DHCP-Request XID 13df720c length 332 dhcpv4_udp server 127.0.0.1 port 6767 on interface lo

(11)  Running request

(11)  Received DHCP-Request XID 13df720c from 127.0.0.1:6768 to 127.0.0.1:6767 via lo

(11)    DHCP-Opcode = Client-Message

(11)    DHCP-Hardware-Type = Ethernet

(11)    DHCP-Hardware-Address-Length = 6

(11)    DHCP-Hop-Count = 0

(11)    DHCP-Transaction-Id = 333410828

(11)    DHCP-Number-of-Seconds = 0

(11)    DHCP-Flags = 0

(11)    DHCP-Client-IP-Address = 0.0.0.0

(11)    DHCP-Your-IP-Address = 0.0.0.0

(11)    DHCP-Server-IP-Address = 0.0.0.0

(11)    DHCP-Gateway-IP-Address = 0.0.0.0

(11)    DHCP-Client-Hardware-Address = 04:11:22:33:44:55

(11)    DHCP-Message-Type = DHCP-Request

(11)    DHCP-Client-Identifier = 0x041122334455

(11)    DHCP-Parameter-Request-List = DHCP-Subnet-Mask

(11)    DHCP-Parameter-Request-List = DHCP-Router-Address

(11)    DHCP-Parameter-Request-List = DHCP-Domain-Name-Server

(11)    DHCP-Vendor-Class-Identifier = 0x766961736174312e30

(11)    DHCP-Subscriber-Id = "[hidden email]"

(11)    DHCP-Relay-Remote-Id = 0x04a0bc112233

(11)    DHCP-Relay-Circuit-Id = 0x00a0bc223344

(11)    DHCP-Requested-IP-Address = 169.254.1.191

(11)    DHCP-DHCP-Server-Identifier = 10.43.18.31

(11)  Running 'recv DHCP-Request' from file /etc/raddb/sites-enabled/dhcp

(11)  recv DHCP-Request {

...

...

TIMER - proto_dhcpv4_udp - cleanup delay

proto_dhcpv4_udp - Received DHCP-Lease-Query XID 103fd54a length 321 dhcpv4_udp server 127.0.0.1 port 6767 on interface lo

Failed tracking packet from client default - discarding it


Regards,
Nagamani Chinnapaiyan

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
| Threaded
Open this post in threaded view
|

Re: Lease Query is not working in latest master branch

Alan DeKok-2
On Jul 28, 2020, at 11:10 AM, Chinnapaiyan, Nagamani <[hidden email]> wrote:
> Lease Query is not working in latest master(#feb57bfef488dbb8a850b47b6a72eb1db0285fbe),
>
> Other messages are working fine. And same LQ was working fine previously.

  I've pushed a fix, thanks.

  Alan DeKok.


-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
| Threaded
Open this post in threaded view
|

RE: Lease Query is not working in latest master branch

Chinnapaiyan, Nagamani
In reply to this post by Chinnapaiyan, Nagamani
Thanks for the fix.

I re-compiled latest master(#f82f1fe1af2853e5d152afb950a3421b61410250).
Seeing this issue,

Info  : FreeRADIUS Version 4.0.0
Info  : Copyright 1999-2020 The FreeRADIUS server project and contributors
Info  : There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
Info  : PARTICULAR PURPOSE
Info  : You may redistribute copies of FreeRADIUS under the terms of the
Info  : GNU General Public License
Info  : For more information about these matters, see the file named COPYRIGHT
Info  : Starting - reading configuration files ...
Debug : Including dictionary file "/etc/raddb/dictionary"
including configuration file /etc/raddb/radiusd.conf
Including files in directory "/etc/raddb/template.d/"
including configuration file /etc/raddb/template.d/default
including configuration file /etc/raddb/clients.conf
Including files in directory "/etc/raddb/mods-enabled/"
including configuration file /etc/raddb/mods-enabled/always
including configuration file /etc/raddb/mods-enabled/dhcpv4
including configuration file /etc/raddb/mods-enabled/expr
...
...
CAUGHT SIGNAL: Segmentation fault
Backtrace of last 17 frames:
/usr/lib64/freeradius/libfreeradius-util.so(fr_fault+0x1ba)[0x7f013ec601ba]
/lib64/libpthread.so.0(+0xf630)[0x7f013d4ad630]
/usr/lib64/freeradius/rlm_perl.so(+0x3f67)[0x7f0136242f67]
/usr/lib64/freeradius/rlm_perl.so(+0x4158)[0x7f0136243158]
/usr/lib64/freeradius/libfreeradius-server.so(+0x32ed7)[0x7f013f384ed7]
/lib64/libtalloc.so.2(talloc_free_children+0x5ce)[0x7f013e36ef4e]
/usr/lib64/freeradius/libfreeradius-server.so(+0x32b39)[0x7f013f384b39]
/lib64/libtalloc.so.2(talloc_free_children+0x5ce)[0x7f013e36ef4e]
/usr/lib64/freeradius/libfreeradius-server.so(+0x43b4c)[0x7f013f395b4c]
/lib64/libtalloc.so.2(+0x383b)[0x7f013e36883b]
/usr/lib64/freeradius/libfreeradius-server.so(+0x436b4)[0x7f013f3956b4]
/usr/lib64/freeradius/libfreeradius-util.so(rbtree_walk+0x8a)[0x7f013ec82b6a]
/usr/lib64/freeradius/libfreeradius-server.so(modules_free+0x23)[0x7f013f3973e3]
/usr/lib64/freeradius/libfreeradius-server.so(server_free+0x13)[0x7f013f3684b3]
/usr/sbin/radiusd(main+0x739)[0x404529]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x7f013cc7b555]
/usr/sbin/radiusd[0x40514f]
No panic action set
_EXIT(139) CALLED src/lib/util/debug.c[996].  Last error was: Unknown attribute 'DHCP-IP-Address-Lease-Time'
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
| Threaded
Open this post in threaded view
|

Re: Lease Query is not working in latest master branch

Alan DeKok-2
On Jul 29, 2020, at 4:31 AM, Chinnapaiyan, Nagamani <[hidden email]> wrote:

> I re-compiled latest master(#f82f1fe1af2853e5d152afb950a3421b61410250).
> Seeing this issue,
>
> Info  : FreeRADIUS Version 4.0.0
> Info  : Copyright 1999-2020 The FreeRADIUS server project and contributors
> Info  : There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
> Info  : PARTICULAR PURPOSE
> Info  : You may redistribute copies of FreeRADIUS under the terms of the
> Info  : GNU General Public License
> Info  : For more information about these matters, see the file named COPYRIGHT
> Info  : Starting - reading configuration files ...
> Debug : Including dictionary file "/etc/raddb/dictionary"
> including configuration file /etc/raddb/radiusd.conf
> Including files in directory "/etc/raddb/template.d/"
> including configuration file /etc/raddb/template.d/default
> including configuration file /etc/raddb/clients.conf
> Including files in directory "/etc/raddb/mods-enabled/"
> including configuration file /etc/raddb/mods-enabled/always
> including configuration file /etc/raddb/mods-enabled/dhcpv4
> including configuration file /etc/raddb/mods-enabled/expr
> ...
> ...
> CAUGHT SIGNAL: Segmentation fault
> Backtrace of last 17 frames:
> /usr/lib64/freeradius/libfreeradius-util.so(fr_fault+0x1ba)[0x7f013ec601ba]
> /lib64/libpthread.so.0(+0xf630)[0x7f013d4ad630]
> /usr/lib64/freeradius/rlm_perl.so(+0x3f67)[0x7f0136242f67]

  That isn't overly helpful.  We will need debugging symbols in order to know more.

  Alan DeKok.


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