Remote w/ TCP Telnet

We are planning to built a simple webinterface for our some of our users to control select functions of one MairList instance.

In order to explore the basic functionality of the built-in TCP/IP server first, we opened a Telnet connection to the server. It’s connecting, displaying the connecting client’s IP on the status line.

But no command is working. We tried some simple examples like the one suggested in the Wiki at

https://wiki.mairlist.com/config:remotecontrol:tcp

PLAYOUT1 PLAYER 1-1 START
or PLAYER 1-1 START

There is no password set. What is it we don’t do right?

Would it be better to use the REST API? Technically this should all be the same more or less. Unfortunately there is little documentation available.

With the TCP Server remote control, you just open a TCP connection to the configured port, and send the commands followed by a carriage return (ASCII 13).

It just tried it with Netcat, and it works fine.

You should also see the commands being echoed in the Remote Control Console in the About menu.

If you want to use the REST server instead, just make a POST or GET request to /execute, with the command passed as the command parameter (query parameter for GET, x-www-url-form-encoded for POST).

GET /execute?command=PLAYER%201-1%20START

The Remote Control Console is showing my connecting Telnet Client (MobaXTerm, since Netcat seems to be to complicated for me to understand). But commands don’t show up, even when I am sending them with ALT-13 (ASCII 13). Same with PUTTY. It’s working at Thorben’s lab. So something is probably wrong with our setup. We will keep on testing. MairList is running anyway, but it would be a nice thing to have.

Firewall issues?  

All firewalls are off on our internal network, otherwise the Telnet client couldn’t connect at all.

Do you happen to know how to create Wireshark dumps?