[dnsdist] LogAction() is ignored?

2019-09-22 Thread Stephane Bortzmeyer
I tried to log every query with:

addAction(AllRule(), LogAction("/tmp/dnsdist.log", false, true, false))

buffered=false is here to be sure I see the queries immediately.

dnsdist knows about the action:

> showRules()
# Matches Rule Action
0   0 IP (/32, /64) match for QPS over 100 burst 100   drop
1  68 All  log to 
/tmp/dnsdist.log

/tmp/dnsdist.log is created (world-readable!) but nothing appears in
it. topQueries() show that I do receive queries.

% dnsdist --version
dnsdist 1.4.0-rc2 (Lua 5.1.4 [LuaJIT 2.0.5])
Enabled features: dns-over-tls(gnutls openssl) dns-over-https(DOH) ebpf fstrm 
ipcipher libsodium lmdb protobuf recvmmsg/sendmmsg systemd

Is it a problem specific to RC?
___
dnsdist mailing list
dnsdist@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/dnsdist


Re: [dnsdist] LogAction() is ignored?

2019-09-22 Thread Stephane Bortzmeyer
On Sun, Sep 22, 2019 at 12:31:47PM +0200,
 bert hubert  wrote 
 a message of 23 lines which said:

> After some offlist additional checking, this looks like a bug,

Or a feature, to protect the privacy of the users :-)
___
dnsdist mailing list
dnsdist@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/dnsdist