diff --git a/pupy/network/lib/picocmd/server.py b/pupy/network/lib/picocmd/server.py index 6c2da14d..5155e077 100644 --- a/pupy/network/lib/picocmd/server.py +++ b/pupy/network/lib/picocmd/server.py @@ -293,7 +293,7 @@ class DnsCommandServerHandler(BaseResolver): elif isinstance(command, Ack) and (session is not None): self.on_keep_alive(session.system_info) if command.amount > len(session.commands): - logging.error('ACK: invalid amount of commands: {} > {}'.format( + logging.info('ACK: invalid amount of commands: {} > {}'.format( command.amount, len(session.commands))) session.commands = session.commands[command.amount:] return [Ack()] @@ -353,12 +353,12 @@ class DnsCommandServerHandler(BaseResolver): request, session, nonce = self._q_page_decoder(qname) if session and session.last_nonce: if nonce < session.last_nonce: - logging.error('Ignore nonce from past: {} < {}'.format( + logging.info('Ignore nonce from past: {} < {}'.format( nonce, session.last_nonce)) reply.header.rcode = RCODE.NXDOMAIN return reply elif session.last_nonce == nonce and session.last_qname != qname: - logging.error('Last nonce but different qname: {} != {}'.format( + logging.info('Last nonce but different qname: {} != {}'.format( session.last_qname, qname)) reply.header.rcode = RCODE.NXDOMAIN return reply