Community discussions

MikroTik App
 
rueny01
just joined
Topic Author
Posts: 10
Joined: Tue Jul 14, 2009 11:25 am

How winbox search for Mikrotik

Tue Jul 28, 2009 10:41 am

Hi,

I just want to ask how winbox or neighbor search or scan mikrotik routers?
I have read some of the post here but I find it not that complete..


Thanks
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26822
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: How winbox search for Mikrotik

Tue Jul 28, 2009 10:42 am

 
rueny01
just joined
Topic Author
Posts: 10
Joined: Tue Jul 14, 2009 11:25 am

Re: How winbox search for Mikrotik

Tue Jul 28, 2009 12:07 pm

Hi

Thanks for the reply, that is not what I'm looking for. What I wanted to do is to create my custom winbox application,
The problem is how to replicate the functionality of the browse button of the winbox the one with ("...")
how does that button scan for routers or look for routers, does the browse button send commands to the router? ,according to what i have read the router use UDP 5678, what command should I use for me to get those values send by the router. I'm currently using C# as my programming language.

Thanks
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26822
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: How winbox search for Mikrotik

Tue Jul 28, 2009 12:13 pm

I already gave you the link to the protocol that is used. It's not open, it's proprietary, so more details will not be available.
 
rueny01
just joined
Topic Author
Posts: 10
Joined: Tue Jul 14, 2009 11:25 am

Re: How winbox search for Mikrotik

Wed Jul 29, 2009 4:33 pm

Thanks for replying.. :) My custom winbox is now working accordingly on what I needed..
 
he1ium
newbie
Posts: 36
Joined: Fri Aug 07, 2009 7:30 am

Re: How winbox search for Mikrotik

Fri Aug 07, 2009 7:40 am

We want to program a Mikrotik without using Winbox and the Mikrotik has no IP (ie - you would see 0.0.0.0 if you used Winbox MAC-Telnet). Are you saying it is not possible for us to do this with the APIs provided? We understand you are using a broadcast to send/receive with MAC-Telnet. We would really like to mimic this if it is possible because we want to send our locations unconfigured Mikrotiks directly from the distributor. The problem is, the staff receiving them does not have enough technical knowledge to program them with Winbox. We are writing a small C# based program to do this but it requires the Mikrotik have an IP and the distributor cannot guarantee this. Any help or suggestions would be appreciated.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26822
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: How winbox search for Mikrotik

Fri Aug 07, 2009 9:15 am

the MAC protocol that's used for MAC connection is not open and you can't make your own program
 
hgmamaci
just joined
Posts: 6
Joined: Wed Jul 15, 2009 9:14 pm

Re: How winbox search for Mikrotik

Fri Aug 14, 2009 12:05 pm

Thanks for replying.. :) My custom winbox is now working accordingly on what I needed..
Can you share your custom program?
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: How winbox search for Mikrotik

Thu Aug 20, 2009 4:10 pm

 
pakillo
just joined
Posts: 8
Joined: Sun Sep 13, 2009 12:14 am

Re: How winbox search for Mikrotik

Sun Sep 13, 2009 4:09 am

Thanks for replying.. :) My custom winbox is now working accordingly on what I needed..
Hi,

I'm making a VB program to configurate RouterOS, via MAC telnet.

I've seen that RouterOS listen on UDP/5678, and that it sends some information to 255.255.255.255/5678/UDP, every minute, or when it receives some string (the string that winbox sends by pressing [...] button).

Now, I have two questions:
1.- What is that string? What I have to send to 255.255.255.255/5678/UDP to make RouterOS respond me?
2.- What's the format of the RouterOS answer? In my VB winsock I receive this:
" B“& INDESAT_Jaen.Mikrotati 3.27 MikroTik
õßA LEUB-8AJL RB333"


Thanks in advance
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: How winbox search for Mikrotik

Sun Sep 13, 2009 6:22 pm

actually, it's a binary data, not simple text
 
he1ium
newbie
Posts: 36
Joined: Fri Aug 07, 2009 7:30 am

Re: How winbox search for Mikrotik

Tue Oct 20, 2009 8:13 am

I'm guessing that Mikrotik will never make this available to the public? I can understand the reasons to keep it closed. It sure would be nice to at least have some kind of API that would not undermine your intellectual property and/or security. Is this a pipe dream I will never see? It sure would make my life easier :D
 
dmolley
just joined
Posts: 14
Joined: Fri Feb 17, 2012 10:21 pm

Re: How winbox search for Mikrotik

Fri Jul 06, 2012 10:53 pm

I don't really understand the reason for the secrecy on the MNDP.
Except for reasons of "we dont want to spend the time to support it" (which is a reasonable excuse), I would think that publishing this protocol could only be helpful to promoting Mikrotik adoption.
Who else but those of us trying to use Mikrotik products would want to discover Mikrotik routers on our network anyway?
And if I were a hacker, and determined to figure it out, I would just wireshark it anyway. So why not help us to get our products linked into Mikrotik routers?
Here is my situation; I am trying to implement a factory-wide network of automation equipment. The TCP enabled automation controllers and other equipment I use are all discoverable by my custom software on my equipment network. If someone adds a device, the software is immediatly aware of it and reconfigures appropriately. Unfortunatly, the software cannot directly discover the routers, and wireless devices that are connected to the system. It would be great to add the routines to my custom software, to allow me to detect when a new router is added to the system. If I could do this with only Mikrotik routers and wireless devices, guess who's routers we will purchase and install from now on??
How about you just give us the source code for the neighborviewer.exe as an example and save us the trouble of wiresharking?

Who is online

Users browsing this forum: No registered users and 7 guests