Community discussions

MikroTik App
 
boardman
Member Candidate
Member Candidate
Topic Author
Posts: 258
Joined: Fri May 28, 2004 11:10 pm
Location: Mexico
Contact:

Two BUGS *** I Believe *** in configuration exporting engine

Wed May 21, 2008 2:07 am

I Believe there is a bug in version 3.x (tested in v 3.9), while exporting configuration in queues simple if there are any queues with unlimited settings in Burst Limit or Burst threshold or 0 in seconds this is what's gets exported:

add burst-limit=/1536000 burst-threshold=/256000 burst-time=/32s comment="" \
direction=both disabled=no dst-address=0.0.0.0/0 interface=all \
limit-at=256000/256000 max-limit=512000/512000 name="Global Forwarding @ \
ITC - 512K" parent=none priority=5 queue=default/default \
target-addresses=12.52.84.35/32 total-queue=default

As you can see:
burst-limit=/1536000
burst-threshold=/256000
burst-time=/32s

If you copy paste this exported queue simple and paste it into a routeros your gone a have three errors ... I don't know but this might be a bug in the exporting engine.

There is another bug/error in exporting engine:

If you /ip firewall layer7-protocol
then export file=l7p for example and later you copy paste that into another router you will end with a bunch of errors because Mikrotik is confusing symbol \ with the \ contained in the regular expressions of the L7 protocols.

Any comments about this? Am I wrong?

Best Regards

Jorge Boardman
 
User avatar
jwcn
Forum Guru
Forum Guru
Posts: 1495
Joined: Sun Aug 27, 2006 6:49 am
Location: Maryland, USA
Contact:

Re: Two BUGS *** I Believe *** in configuration exporting engine

Wed May 21, 2008 4:17 am

Jorge,

Do you have any idea how many "bug" topics you have started? Starting to wonder about user error, seriously!
 
boardman
Member Candidate
Member Candidate
Topic Author
Posts: 258
Joined: Fri May 28, 2004 11:10 pm
Location: Mexico
Contact:

Re: Two BUGS *** I Believe *** in configuration exporting engine

Wed May 21, 2008 8:37 pm

Jorge,

Do you have any idea how many "bug" topics you have started? Starting to wonder about user error, seriously!
Yes, three (including this one) for RouterOS and one for The Dude...

From those, one for RouterOS turned to be actually a bug (bios), and the one for The dude was and still a bug.

I really do not understand the point of your comment, but I can assure you, I do not post in this forum without a reason, I am NOT a Mikrotik expert but I have been using it probably for the last 7 - 8 years, and I have installed and keep running probably more than 200 systems with RouterOS.

But, yes you are right, it can be an user error. Since I am not such an expert, if I found something that's unusual or beyond my limited knowledge, I post that here... mainly for three reasons:

1- Feedback that may help RouterOS people.
2- Help fellow forum readers
3- Learn

But, jwcn if you really think I am waiting somebody else's time ... I am sorry .... I'm sorry for my lack of knowledge, I am an electronics and communications engineer but when I was in school the most advanced computer was an apple II with barely or no networking, from that point till today everything I have learned has been by myself, so sorry for my lack of knowledge.

I do not want to sound rude but If you do not like what I post ..... PLEASE DO NOT READ IT...

Regarding this issue, I don't know but exporting a simple queue and copy paste it causing an error it is a bug to me.

Best Regards
Ing. Jorge E. Boardman
http://www.laredonet.com
MEXICO
 
changeip
Forum Guru
Forum Guru
Posts: 3833
Joined: Fri May 28, 2004 5:22 pm

Re: Two BUGS *** I Believe *** in configuration exporting engine

Wed May 21, 2008 9:14 pm

it probably is a bug, email details with a supout to support at mikrotik.com.

Sam
 
madnet
just joined
Posts: 15
Joined: Tue Aug 22, 2006 9:30 pm
Location: Pancevo / Serbia
Contact:

Re: Two BUGS *** I Believe *** in configuration exporting engine

Thu Jun 26, 2008 12:02 pm

CONFIRMED BUG - as of v3.x beta!

I have spent many hours testing exports and scripts on MT and I can confirm 100% that it is a BUG but very easy to solve.

For those who haven't noticed since v3.x MT has strictened syntax so if you try to for example
[root@mtv3x] /queue/simple disable [find target-address=192.168.0.1]
it won't do anything, but
[root@mtv3x] /queue/simple disable [find target-address="192.168.0.1"]
will do the trick.

Same thing apllies to queues, so if you have:
add burst-limit=/400000 burst-threshold=/200000 burst-time=/2h comment="" \
    direction=both disabled=no dst-address=0.0.0.0/0 interface=all \
    limit-at=300000/300000 max-limit=300000/300000 name="someuser" \
    parent=none priority=8 queue=default-small/default-small \
    target-addresses=192.168.216.14/32 total-burst-limit=400000 \
    total-burst-threshold=200000 total-burst-time=2h total-limit-at=400000 \
    total-max-limit=400000 total-queue=default-small 
will FAIL and this is ACTUAL EXPORT from v3.7 on RB333, but
add burst-limit="/400000" burst-threshold="/200000" burst-time="/2h" comment="" \
    direction=both disabled=no dst-address="0.0.0.0/0" interface=all \
    limit-at="300000/300000" max-limit="300000/300000" name="someuser" \
    parent=none priority=8 queue=default-small/default-small \
    target-addresses="192.168.216.14/32" total-burst-limit="400000" \
    total-burst-threshold="200000" total-burst-time="2h" total-limit-at="400000" \
    total-max-limit="400000" total-queue=default-small 
will WORK every time.

So, guys from MT please make command syntax even more strict so that users must enter [variable_name]="[parameter]" for EVERY variable and implement that in EXPORT command.
 
Tanker
Member Candidate
Member Candidate
Posts: 131
Joined: Fri Nov 24, 2006 10:46 am

Re: Two BUGS *** I Believe *** in configuration exporting engine

Fri Jun 27, 2008 4:55 pm

The only bugs I find are on my dog.... maybe I'm just too stupid...

I just do a backup off the old stuff and restore on the new stuff (ie: RB600 from RB500) and haven't had ONE issue...

Like I said - maybe a little dim.... but thing I can tell you is I DO NOT go LOOKING for the tinyest weeenyest little bug in ROS everytime a version hits the scene... btw - those fancy xxCO boxes you can buy come with a MANUAL on how to circumvent the KNOWN bugs... sheeesh!!!!
Give me ROS on a RB anyday... OK back to the dog....

T
 
boardman
Member Candidate
Member Candidate
Topic Author
Posts: 258
Joined: Fri May 28, 2004 11:10 pm
Location: Mexico
Contact:

Re: Two BUGS *** I Believe *** in configuration exporting engine

Sat Jun 28, 2008 8:10 pm

The only bugs I find are on my dog.... maybe I'm just too stupid...

I just do a backup off the old stuff and restore on the new stuff (ie: RB600 from RB500) and haven't had ONE issue...

Like I said - maybe a little dim.... but thing I can tell you is I DO NOT go LOOKING for the tinyest weeenyest little bug in ROS everytime a version hits the scene... btw - those fancy xxCO boxes you can buy come with a MANUAL on how to circumvent the KNOWN bugs... sheeesh!!!!
Give me ROS on a RB anyday... OK back to the dog....

T
Yes please go back to your dog...
 
User avatar
jwcn
Forum Guru
Forum Guru
Posts: 1495
Joined: Sun Aug 27, 2006 6:49 am
Location: Maryland, USA
Contact:

Re: Two BUGS *** I Believe *** in configuration exporting engine

Sun Jun 29, 2008 7:00 am

He made a valid point...
 
boardman
Member Candidate
Member Candidate
Topic Author
Posts: 258
Joined: Fri May 28, 2004 11:10 pm
Location: Mexico
Contact:

Re: Two BUGS *** I Believe *** in configuration exporting engine

Sun Jun 29, 2008 6:22 pm

He made a valid point...

What's new in 3.10:

*) added Multilink PPP to PPPoE client - just specify multiple interfaces
to enable it;
*) added ability to add dynamicly PPTP, L2TP & PPPoE client addresses
to firewall address-list, specified in ppp profile,
or via RADIUS in Mikrotik:19;
*) added address-list attribute support in user-manager;
*) added fan control for RB433;
*) console:
fixed 'interface wireless print detail', now shows the same output as
'interface wireless print basic';
fixed print to file, now writes complete contents, fixed resource leak;
show name of running scripts in '/system script job', update
'last-started' value;
could not use item names for '/interface ovpn-server' and
'/interface ovpn-client', fixed;
fixed problems with export:
some settings were not included in full export, such as
'/interface wireless nstreme');
some settings had duplicate entries with an error, such as
'/system ntp client' when ntp package was enabled;
long parameter values were incorrectly split across multiple lines;
export now quotes all values that are split across multiple lines, it
also adds line split before all newline characters, which improves
readability of exported script sources;



Thanks
 
Tanker
Member Candidate
Member Candidate
Posts: 131
Joined: Fri Nov 24, 2006 10:46 am

Re: Two BUGS *** I Believe *** in configuration exporting engine

Mon Jun 30, 2008 3:29 pm

He made a valid point...

What's new in 3.10:

*) added Multilink PPP to PPPoE client - just specify multiple interfaces
to enable it;
*) added ability to add dynamicly PPTP, L2TP & PPPoE client addresses
to firewall address-list, specified in ppp profile,
or via RADIUS in Mikrotik:19;
*) added address-list attribute support in user-manager;
*) added fan control for RB433;
*) console:
fixed 'interface wireless print detail', now shows the same output as
'interface wireless print basic';
fixed print to file, now writes complete contents, fixed resource leak;
show name of running scripts in '/system script job', update
'last-started' value;
could not use item names for '/interface ovpn-server' and
'/interface ovpn-client', fixed;
fixed problems with export:
some settings were not included in full export, such as
'/interface wireless nstreme');
some settings had duplicate entries with an error, such as
'/system ntp client' when ntp package was enabled;
long parameter values were incorrectly split across multiple lines;
export now quotes all values that are split across multiple lines, it
also adds line split before all newline characters, which improves
readability of exported script sources;



Thanks

Like I said.... give me RB anyday...

You could of course revert to 10x price xxxCO product - where you require a PhD to operate the stuff..!!! Nah.. ROS rocks..

T

Who is online

Users browsing this forum: cyrq, jaclaz, K0NCTANT1N, rextended and 37 guests