Mikrotik Netcat

Hey
I’m wondering is there something similiar to netcat in router OS i’m trying to write an update script for a service.
Cheers

Not as such. What exactly are you trying to do? What would the packet flow be?

Hi Fewi,
It’s to do dynamic updates on a system that doesn’t have a restful api.
There is a linux script which i’ve been looking at and what they do is generate the correct string and use netcat to send the update.
The netcat is performed as follows
echo -n $string|cut -d ’ ’ -f 1`"|netcat -c -w 1 -u “server.fqdn” portnumber
if i could get some way of recreating this it could be a script that could be useful to the community intersted in IPv6 for using SixXS. I’ve also emailed the SixXS team to find out if they have any plans for a restful API as this would be very useful.

Unfortunately you cannot send arbitrary data to arbitrary ports from the router, no.

You could install a metarouter or KVM (virtual machines) on the router and install linux in that VM, and then use netcat.

Thanks for the tip.
It really is a crying shame the mikrotik haven’t put in a SixXS update client in RouterOS.
Looks like a lost cause.
Thank you for your help

you can use fetch command maybe?