Hello. We've been using Dnsmasq version 2.78 for quite a while but upgraded to 
2.81 because of CVE-2019-14834. Upon inspecting the output of lsof we realized 
that Dnsmasq is using almost 200 file descriptors upon boot and after an hour 
later the number remains unchanged. Since I knew this did not happen with 2.78 
I also tried Dnsmasq versions 2.79 and 2.80 and this does not happen. It looks 
like it started with 2.81 and also happens with 2.82. My operating environment 
is armv7l GNU/Linux.

Here's an example of (clipped) output of lsof:

version 2.81 (195 file descriptors open)
dnsmasq    1222 nobody  187u     inet       2847                UDP 
10.10.12.1:53
dnsmasq    1222 nobody  188u     sock        0,7               2849 can't 
identify protocol
dnsmasq    1222 nobody  189u     inet       2853                UDP 
10.10.15.1:53
dnsmasq    1222 nobody  190u     inet       2855                UDP 
10.10.12.1:53
dnsmasq    1222 nobody  191u     sock        0,7               2857 can't 
identify protocol
dnsmasq    1222 nobody  192u     inet       2886                UDP 
10.10.15.1:53
dnsmasq    1222 nobody  193u     inet       2888                UDP 
10.10.12.1:53
dnsmasq    1222 nobody  194u     sock        0,7               2890 can't 
identify protocol
dnsmasq    1222 nobody  195u     sock        0,7               2893 can't 
identify protocol
[root@U115 ~]# dnsmasq -v
Dnsmasq version 2.81  Copyright (c) 2000-2020 Simon Kelley

version 2.80
dnsmasq   4893 nobody   10r     0000        0,9       0          6 anon_inode
dnsmasq   4893 nobody   11r     FIFO        0,8               6848 pipe
dnsmasq   4893 nobody   12w     FIFO        0,8               6848 pipe
dnsmasq   4893 nobody   13u     unix 0xf7791905               6850 socket
[root@U115 ~]# dnsmasq -v
Dnsmasq version 2.80  Copyright (c) 2000-2018 Simon Kelley

version 2.79
dnsmasq    466 nobody    7u     inet       1760                TCP 127.0.0.1:53 
(LISTEN)
dnsmasq    466 nobody    8u     inet       1761                UDP 127.0.0.1:53
dnsmasq    466 nobody    9u     inet       1762                TCP 127.0.0.1:53 
(LISTEN)
dnsmasq    466 nobody   10r     0000        0,9       0          6 anon_inode
dnsmasq    466 nobody   11r     FIFO        0,8               1763 pipe
dnsmasq    466 nobody   12w     FIFO        0,8               1763 pipe
dnsmasq    466 nobody   13u     unix 0xea856025               1765 socket
[root@U115 ~]# dnsmasq -v
Dnsmasq version 2.79  Copyright (c) 2000-2018 Simon Kelley

version 2.78
dnsmasq    430 nobody   10r     0000        0,9       0          6 anon_inode
dnsmasq    430 nobody   11r     FIFO        0,8                460 pipe
dnsmasq    430 nobody   12w     FIFO        0,8                460 pipe
dnsmasq    430 nobody   13u     unix 0xcc699e5c                462 socket
[root@U115 ~]# dnsmasq -v
Dnsmasq version 2.78  Copyright (c) 2000-2017 Simon Kelley

.
_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Reply via email to