Florian octo Forster's Homepage




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.

Currently the library is in an early development status. The goal is to write a plugin for collectd based on this library. Once that's done and released, the interface of this library will be declared stable and version 1.0 will be released. Until then, this is a work in progress.

While it's hopefully easy to port the library to other operating systems, it has currently only be tested with GNU / Linux. Success stories and patches are very welcome, of course.



Development version

The development files are kept in a Git repository. You can “clone” it with the following command. Patches are welcome anytime. :)

git clone git://git.verplant.org/routeros-api.git

A web interface to browse the repository is available, too.


The only documentation right now is the manpage. You can find an online version here:

See also

License information

librouteros is distributed under the GPL, version 2. The license can also be found in the COPYING file in the source tarball.