Net_RouterOS icon indicating copy to clipboard operation
Net_RouterOS copied to clipboard

This package allows you to read and write information from a RouterOS host using the MikroTik RouterOS API protocol.

Results 33 Net_RouterOS issues
Sort by recently updated
recently updated
newest added
trafficstars

Util->get() with Query should return empty array if Query has no result instead of throwing exception 'Error getting property'. Or at least exception should be more specific (eg new exception...

Hi, When I print all the leases: `$array = $util->setMenu('/ip dhcp-server lease')->getAll();` I get an object like this, how can I read this: ``` object(PEAR2\Net\RouterOS\ResponseCollection)#276 (8) { ["responses":protected]=> array(263) {...

Question

Commands that should work such as: ``` $util->setMenu('/ip firewall filter'); $util->disable(); ``` don't work when the special dummy rule to show fasttrack counters is present. PHP throws this error: ```...

Not a bug

As discussed in [this topic at the MikroTik forum](http://forum.mikrotik.com/viewtopic.php?f=9&t=82151), right now, streaming of response values is "all or nothing", but there's no reason it can't be done when a word...

Improvement

We are using this script that we found in the Wiki page: ``` $client = new RouterOS\Client($ip, 'name', 'name'); $printRequest = new RouterOS\Request('/ip arp print .proplist=mac-address'); $printRequest->setQuery( RouterOS\Query::where('address', $_SERVER['REMOTE_ADDR']) );...

Question

Hi, Looking for some help please, when I run the test php script (below) from the CLI I get some errors (below) which I can't seem to find any reports...

Bug
External

Currently, Client::loop() only loops over a single connection - the one of the client object itself. This method should be made static, and loop over all opened connections, which would...

Improvement
Research

After executing a `/system reboot` command, the client hangs and does not return. Example: ``` $client = new RouterOS\Client($ip, 'admin', 'password', null, false, 10); $request = new RouterOS\Request('/system reboot'); $client->sendSync($request);...

Bug
Research

I'm getting the following error well isntalling with pyrus using php7.0 under ubuntu 16.04 well install just the Net_RouterOS package: Error: package pear2.php.net/PEAR2_Net_RouterOS could not be installed in registry: The...

Bug
External

Hi, First of all, I'd like to thank you for your project. Seems you have put a lot of work into it. I am not sure if this is the...

Research