librouteros (or libRouterOS) is a C library to communicate with network devices by MikroTik running their Linux-based operating system RouterOS. It currently is a very low-level library in that is only abstracts the records based network protocol, not the commands, arguments and filters provided via this interface.

While it’s hopefully easy to port the library to other operating systems, it has currently only be tested on Linux. Success stories and patches are very welcome.



Development version

The development files are hosted on Github. You can “clone” it with the following command. Pull Requests are welcome anytime. :)

git clone git://


The only documentation right now are the librouteros(3) and ros(1) manpages.

See also

License information

librouteros is distributed under the ISC License. The license can also be found in the COPYING file in the repository.