vshn / tikapy

A python client for the MikroTik RouterOS API
BSD 3-Clause "New" or "Revised" License
26 stars 14 forks source link

Nonchap auth and others #14

Closed mlbsa closed 4 years ago

mlbsa commented 4 years ago

Overview

What is the feature / changes?

Changes to how Mikrotik's save passwords on the device has caused that the method of authentication has changed. This is since RouterOS version 6.43rc19 and newer. I have also added a timeOut parameter for the login to set the timeout time for the connection to the device. Also added a specific cipher for the login attempt using TikapySslClient due to issues with SSLv3 experienced.

Almost all of the authentication changes were taken from the update added by @grawity.

What areas of the application does it impact?

The login and authentication section of the package has been changed.

Testing

What's required testing?

A device with a with the RouterOS version lower than 6.43rc19 and one at 6.43rc19 or higher. Then attempt to login onto the device.