Scripting problem on telnet v3.09

Hello.

3 weeks ago I updated my MT to this version 3.09… everything is going fine but remote telnet scripts.

I have been using remote telnet connections from web servers to BAN certain IP addresess since last year on MT v2.9 without any problem, but on 3.09 all scripts doesnt want to work.

I spend lot of days trying to figure out the problem, but I cannot fin it. I tried with the old MT and stills works… but nothing on the new one.

The script is simple PHP, it connects through telnet to MT, logs in correctly with user and pass, but I cannot get to execute the command.

/ip firewall address-list add list=WEBFLOOD address=10.10.5.25

if I open a cmd window… type telnet 10.10.5.1 it connects, then user and pass, and logs in correctly. Later I paste the command posted above, then enter, and worked…

But it doenst work anymore from PHP like it does on v2.9.

If anyone know somethig about it… or if MT has changed on version3… please tell me.

Thanks a lot

probably something to do with the new terminal emulation in 3.0… can you get a log of exactly what chars are sent / received and compare ? I am guessing its all the colors and escape codes on the new terminal.

Sam

sorry about this… but

how can I get the exact log of that characters?

on mt log doesnt says nothing specific, only user login and user logout.

maybe sniffing interface?

thanks for your help

yes, packet sniffer is your friend. capture to a file with .pcap extension, drag it from winbox to desktop, double click and view in wireshark.

Id did what you said, but I cannot find anything wrong.

Here is the file…
captured.zip (1.39 KB)

hello.

Anyone find a similar problem? or am I the only one with this problem?

3.0b9 is old, can you upgrade and try this again. There has been a lot of console / terminal emulation changes since then.

Upgrade to latest version and log in with +ct options

Thanks, I will try Soon.

See you.