← centrs docs

routeros/mac-telnet-protocol

centrs received a MAC-Telnet datagram for this session that it could not decode, and closed the session. If the session was already running a command, that command may or may not have run.

Emitted by

execute --via mac-telnet and terminal.

Typical triggers

Not every bad datagram ends the session. One shorter than the 22-byte MAC-Telnet header, or one for another session, is dropped, and the session goes on (code).

Fix

If this looks wrong

If the device is a normal RouterOS router, this is a centrs decoder bug. Open an issue with the command, the --json envelope, the RouterOS version and centrs --version. Remove passwords (--password, --cdb-password) and other secrets from both first. A packet capture of UDP 20561 helps; strip anything sensitive from it first.