Community discussions

MikroTik App

Search found 21 matches

by favincen
Tue May 03, 2016 2:44 pm
Forum: General
Topic: Please add HTTPS support on mikrotik.com
Replies: 39
Views: 8039

Please increase RSA key length

I have mixed feelings about developers knowledge of todays cryptography recommendations. RouterOS is using by default 1024 bit RSA key - which was (officialy) considered legacy way back in 2013: page 35 of https://www.enisa.europa.eu/activities/identity-and-trust/library/deliverables/algorithms-key...
by favincen
Fri Oct 02, 2015 11:37 am
Forum: MikroTik hardware questions
Topic: CRS 226-RM IEEE 802.3ad missing??
Replies: 31
Views: 13206

Re: CRS 226-RM IEEE 802.3ad missing??

Any word on when this feature might be implemented? been a looong time waiting .....
+1 !!!
by favincen
Fri Sep 04, 2015 4:22 pm
Forum: Scripting
Topic: [Solved] Use of externally defined global variables inside import scripts,
Replies: 5
Views: 4636

[Solved] Use of externally defined global variables inside import scripts,

Hi all (despite I feel quite alone on this topic... :-o ) I found the good answer to my issue ! :mrgreen: :lol: To make it short: to read the value of a global variable from within a .rsc script or a function, just declare it again in that local context , using ":global MyExistingGlobalVariable...
by favincen
Fri Sep 04, 2015 1:15 pm
Forum: Scripting
Topic: error raising when reading undefined variables
Replies: 1
Views: 1076

Re: error raising when reading undefined variables

Or is there a debug, trace, or step-by-step mode for running scripts ?
I answer to myself: I found the verbose=yes option of /import :
/import myScript.rsc verbose=yes
Still, IMHO that would be quite helpful to be able to toggle on error raising when reading an undeclared variable !
by favincen
Wed Sep 02, 2015 2:55 pm
Forum: Scripting
Topic: How can I tell if rsc is running from terminal, or using "Reset Config"?
Replies: 2
Views: 1217

Re: How can I tell if rsc is running from terminal, or using "Reset Config"?

A script ran by "Run After Reset" feature should find an empty configuration (no ip address, no system identity, etc.). I have myself an initialization script that will run only if it considers the box has default settings. I test for no ip address (other than eventually 192.168.88.1/24), ...
by favincen
Wed Sep 02, 2015 2:34 pm
Forum: Scripting
Topic: error raising when reading undefined variables
Replies: 1
Views: 1076

error raising when reading undefined variables

Hi, I see in the manual that undefined variables are allowed since v6.2 . By any chance, is there a toggle somewhere to enable (back) exception raising when reading undefined variables ? In other words, is there a way to get an error when running " :put $AnUndefinedVariable " ? Or is there...
by favincen
Wed Sep 02, 2015 1:22 pm
Forum: Scripting
Topic: [Solved] Use of externally defined global variables inside import scripts,
Replies: 5
Views: 4636

Re: Use of externally defined global variables inside import scripts,

Anybody to confirm they get the same behavior (or not) ?
Anybody to explain if I'm doing something wrong, or another way to do it that works ?
by favincen
Mon Aug 31, 2015 4:55 pm
Forum: Scripting
Topic: [Solved] Use of externally defined global variables inside import scripts,
Replies: 5
Views: 4636

Re: Use of externally defined global variables inside import scripts,

I'm puzzled to observe that myFunc is not able to get the variable value anymore ! :( I'd love to hear I do something wrong, with explanation on how to do it right... I answer to myself with a workaround: I need to pass variables as arguments of my functions. Not that handy, but it works. Still, wh...
by favincen
Mon Aug 31, 2015 2:29 pm
Forum: Scripting
Topic: [Solved] Use of externally defined global variables inside import scripts,
Replies: 5
Views: 4636

Re: Use of externally defined global variables inside import scripts,

Hi again, I encountered a similar issue when using a function within a import script ! Here's a test code: :global GlobalVar "VALUE_of_GlobalVar" :put "GlobalVar value is: $GlobalVar" :global myFunc do={:put "INSIDE a function, GlobalVar value is: $GlobalVar"} $myFunc :...
by favincen
Fri Aug 28, 2015 7:34 pm
Forum: MikroTik hardware questions
Topic: NEW PRODUCTS WISHLIST 2015
Replies: 49
Views: 13474

Re: NEW PRODUCTS WISHLIST 2015

all-in-one box for branch offices:
- CRS 24x1G with enough CPU to be able to do routing+firewalling+IPSec at 100+ Mbps
- PoE out on all ports (with a global PoE out budget of at least 80W)
- LACP+RSTP !
- rack mount so no wireless needed
by favincen
Fri Aug 28, 2015 5:59 pm
Forum: Announcements
Topic: Manual Improvements
Replies: 94
Views: 39152

Re: Manual Improvements

What would you like to see more or what changes in the RouterOS Manual. Detailed criticism is welcome. There are quite a lot of things that could be clarified or updated in the wiki/manual. It's hard to list just from the top of my head. I would be much easier to insert comments or review request r...
by favincen
Fri Aug 28, 2015 4:38 pm
Forum: Scripting
Topic: [Solved] Use of externally defined global variables inside import scripts,
Replies: 5
Views: 4636

[Solved] Use of externally defined global variables inside import scripts,

Hi all, When I import a rsc file, the code executed can't access global variables defined in the rOS main /env . And the script can neither access variables defined in a subscript (loaded by a /import within the import script). Here's my test code: [admin@MikroTik] > /file print detail where name~&q...
by favincen
Fri Aug 28, 2015 2:32 pm
Forum: Announcements
Topic: v6.30.4 bugfix release
Replies: 103
Views: 48368

Re: v6.30.4 bugfix release

The important question is, should we replace 6.30.4 with 6.31.1 when we have important issues in v6.31, or ... if you wish v6.30.4 to be maintained for a while, how should we release important fixes for 6.31 ? Hi Normis and all, What you call bugfix stream seems to me like "Log Term Support&qu...
by favincen
Fri Aug 28, 2015 2:00 pm
Forum: Scripting
Topic: Useful scripts
Replies: 116
Views: 335200

Re: Useful scripts

all RouterOS have this.
in CLI - /system script edit <script-name> source
Beware that this won't work if your script is above 4Kb ! (See this post ).
So it only works for small script... :evil:
by favincen
Fri Aug 28, 2015 11:26 am
Forum: Scripting
Topic: [SOLVED] Using Dynamic Variable Names
Replies: 40
Views: 41531

Re: Using Dynamic Variable Names

I used $VALUE instead of \$VALUE, but it worked perfectly. Hi Tal, Without "\" it works for most values. But If VALUE contains, for example, a string with spaces or special characters, "$VALUE" won't work while "\$VALUE" will... :wink: BTW, a warning: I may have missed...
by favincen
Thu Aug 27, 2015 6:38 pm
Forum: General
Topic: Any plans on multiple packet marks per packet?
Replies: 2
Views: 971

Re: Any plans on multiple packet marks per packet?

I think this could indeed be very useful.
These could be named tags instead of marks, to emphasis the fact there can be more than one on any given packet.
by favincen
Thu Aug 27, 2015 4:53 pm
Forum: Scripting
Topic: [SOLVED] Using Dynamic Variable Names
Replies: 40
Views: 41531

Re: Using Dynamic Variable Names

Using ":execute" instead of ":parse", it works 8) :
:foreach varname in={"VAR1" ; "VAR2" ; "VAR3"  } do={:execute ":global $varname \$VALUE" }
by favincen
Thu Aug 27, 2015 3:59 pm
Forum: Scripting
Topic: [SOLVED] Using Dynamic Variable Names
Replies: 40
Views: 41531

Re: Using Dynamic Variable Names

This code doesn't work. But it may give a hint toward a solution :
 :foreach varname in={"VAR1" ; "VAR2" ; "VAR3"  } do={:parse ":global $varname \$VALUE" }
Hope it can help.
by favincen
Mon Jul 06, 2015 1:31 pm
Forum: Beginner Basics
Topic: /file edit content shows empty content
Replies: 3
Views: 4050

Re: /file edit content shows empty content

Edit from console is limited to 4KB.
Thanks for the answer, even though I would have prefer a solution... :shock:
I suggest this information to be added in http://wiki.mikrotik.com/wiki/Manual:System/File .
by favincen
Fri Jul 03, 2015 7:42 pm
Forum: Beginner Basics
Topic: MikroTik Traffic Shaping for VoIP
Replies: 1
Views: 1182

Re: MikroTik Traffic Shaping for VoIP

Hi, From my understanding, traffic shaping is only relevant for ougoing trafic. For inbound stream, trafic shaping must be done at the other end, the sending one. Additionally, it must be done also in transit router when the next pipe is smaller or when many pipe converge into one. That's especially...
by favincen
Fri Jul 03, 2015 7:11 pm
Forum: Beginner Basics
Topic: /file edit content shows empty content
Replies: 3
Views: 4050

/file edit content shows empty content

Hello all, This is my first post, as I'm digging into rOS for a pilot deployment. I fail to edit content of big .rsc files in the CLI: a '/file edit filename.rsc content' provides me with an empty content, even-though the file in not empty. If I transfer the file to my laptop I can see and edit norm...