[dnsdist] send command from command line

Remi Gacogne remi.gacogne+dnsdist at powerdns.com
Fri Mar 18 10:05:15 UTC 2016


On 03/17/2016 12:03 PM, Alejandro Adroher Mellado wrote:
> Mar 17 10:56:34 rec-01 dnsdist[27434]: Got control connection from
> Mar 17 10:56:34 rec-01 dnsdist[10290]: Fatal error: EOF while reading message
> Mar 17 10:56:34 rec-01 dnsdist[27434]: Closed control connection from

Ok, I was able to reproduce this issue with a dnsdist compiled without
libsodium. What happens is that the server is sending a 0-sized response
to your addPoolRule() command, which is expected, but the client does
not handle this 0-sized response correctly and emits "Fatal error: EOF
while reading message". It's harmless as the command has been correctly
executed, but I've submitted a PR (#3594) to get rid of the message.
It does not occur when libsodium support is enabled because the padding
prevents 0-sized messages.

Thank you for reporting this.

Remi Gacogne
PowerDNS.COM BV - https://www.powerdns.com/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.powerdns.com/pipermail/dnsdist/attachments/20160318/e1e1c6a1/attachment.sig>

More information about the dnsdist mailing list