Hello,
Does PEAR2 RouterOS already support the new login method?
Also when the old login method will be removed from RouterOS?
Will PEAR2 RouterOS will support API-SSL ?
I didn’t find in forum this information and would like to use the PEAR2 RouterOS code in my project.
Also thanks boen_robot for this great contribution.
Does PEAR2 RouterOS already support the new login method?
If you install with composer and using “dev-develop” as the version, yes.
There is no PHAR release that includes this support yet. I haven’t had time to prepare one.
Also when the old login method will be removed from RouterOS?
From the API client - it won’t be. Or at least, I currently have no plans of ever removing it.
If MikroTik ever change the protocol in a backwards incompatible way, I might remove it then, or - more likely - invent a way to swap out the login method between this one and whatever new one they come up with, and default to the new one.
From RouterOS itself… I thought it already is removed, though honestly, I haven’t tested.
Will PEAR2 RouterOS will support API-SSL ?
It already supports it, but such connections are unstable due to problems with PHP. The most recent version of PHP as of right now - 7.3.3 - solved an SSL issue that will likely make SSL connections more stable, but again, I haven’t had time to run my set of PHPUnit tests, and check if they can all pass with no issues. With earlier versions certainly, tests would fail at semi-random points (“semi” because certain tests would fail 10% of the time or less, others would fail 90% of the time, and others still would fail 50% of the time).
Tested 1.0.0b6 version with RouterOS 6.44.1 and it worked.
It would be nice if Mikrotik tell us when they plan to remove the old login method.