Community discussions

MikroTik App

Search found 12557 matches

  • 1
  • 2
  • 3
  • 4
  • 5
  • 42
by rextended
Sat Sep 23, 2023 10:51 am
Forum: Wireless Networking
Topic: Hi how 40mhz turbo enable in 2.4ghz
Replies: 6
Views: 1601

Re: Hi how 40mhz turbo enable in 2.4ghz

Another underestimated and never considered question:

Can your device reach 300Mbps?


And if the technology is called "40MHz turbo" it's time you took some refresher courses...
by rextended
Sat Sep 23, 2023 10:49 am
Forum: Scripting
Topic: Script Ipsec mikrotik doesn't work
Replies: 1
Views: 1223

Re: Script Ipsec mikrotik doesn't work

68 do not exist in script.

You must use "find".

The forum is full of examples.
by rextended
Sat Sep 23, 2023 2:04 am
Forum: Forwarding Protocols
Topic: Help migrating BGP from v6.43.7 to v7.11
Replies: 8
Views: 1987

Re: Help migrating BGP from v6.43.7 to v7.11

I can't believe it... Still use 6.43.7...

Hire a consultant and get the job done professionally.

I've been using BGP on a HA device with RouterOS 7 for months and it hasn't given me any problems so far.
by rextended
Sat Sep 23, 2023 2:01 am
Forum: Beginner Basics
Topic: Is there anyway to enable BBR on Mikrotik CHR?
Replies: 3
Views: 891

Re: Is there anyway to enable BBR on Mikrotik CHR?

But don't you have enough wit to understand that if you google bbr mikrotik chr and the only result is your already opened (bumped) topic,
maybe there is a very specific reason?

Please stop spam.
by rextended
Sat Sep 23, 2023 1:53 am
Forum: Beginner Basics
Topic: Using ChatGPT to make a QOS script for PS5, Opinions?
Replies: 9
Views: 2975

Re: Using ChatGPT to make a QOS script for PS5, Opinions?

I have been using Chat GPT to learn how to configure Mikrotik routers. In fact, you can see the effect... all other queue tree rules are showing traffic on it except Gaming down, it only ever shows 0 I wonder if there is some mangle rule that is missing for this Queue? Using ChatGPT to make a QOS s...
by rextended
Fri Sep 22, 2023 7:27 pm
Forum: Scripting
Topic: Regex search in String Issue [SOLVED]
Replies: 26
Views: 3896

Re: Regex search in String Issue [SOLVED]

What I didn't see, I would have liked,
What I saw, I didn't like.
by rextended
Fri Sep 22, 2023 1:15 am
Forum: General
Topic: Should moderators redact sensitive info, and how much?
Replies: 49
Views: 3974

Re: Should moderators redact sensitive info, and how much?

Perhaps a sanitize option to the export command would be helpful.
The problem is that someone are trying to use a tool, that was not created for that thing,
as a tool to receive assistance from complete strangers, releasing completely confidential information at the mercy of the whole world...
by rextended
Fri Sep 22, 2023 1:05 am
Forum: Beginner Basics
Topic: Howto assign individual (different) addresses to individual ports?
Replies: 4
Views: 1209

Re: Howto assign individual (different) addresses to individual ports?

Most of the people on the forum, not being paid by you to do things (that's not the point),
don't help if they don't find logical sense in what you write.
Either you explain in detail, or you are satisfied with what is answered...
by rextended
Fri Sep 22, 2023 1:00 am
Forum: General
Topic: Should moderators redact sensitive info, and how much?
Replies: 49
Views: 3974

Re: Should moderators redact sensitive info, and how much?

Software ID is completely random, and can't have any value.
A "stolen" license is useless on any other machine...
by rextended
Fri Sep 22, 2023 12:54 am
Forum: General
Topic: Should moderators redact sensitive info, and how much?
Replies: 49
Views: 3974

Re: Should moderators redact sensitive info, and how much?

I agree with everything you wrote, it's correct. But.. Following the same principle, it should be forbidden on the forum to use fake IP addresses and DNS names , outside of those specified by the appropriate RFCs, otherwise putting random IP addresses and DNS names risks generating random DDoS just ...
by rextended
Fri Sep 22, 2023 12:23 am
Forum: Scripting
Topic: Regex search in String Issue [SOLVED]
Replies: 26
Views: 3896

Re: Regex search in String Issue [SOLVED]

I can't help on the remote part because I can not debug the interaction.
by rextended
Fri Sep 22, 2023 12:21 am
Forum: Scripting
Topic: Regex search in String Issue [SOLVED]
Replies: 26
Views: 3896

Re: Regex search in String Issue [SOLVED]

Edit:
Oh thank you, you were faster :D
because I often reread my posts and add questions that others might ask... ;)
by rextended
Fri Sep 22, 2023 12:19 am
Forum: Scripting
Topic: Regex search in String Issue [SOLVED]
Replies: 26
Views: 3896

Re: Regex search in String Issue [SOLVED]

(no matter if is set to 0 or is set to "")
After the run, you can use $findedID everywhere, also on another script.
by rextended
Fri Sep 22, 2023 12:15 am
Forum: Scripting
Topic: Regex search in String Issue [SOLVED]
Replies: 26
Views: 3896

Re: Regex search in String Issue [SOLVED]

you can't define a global variable inside a function without declare first the variable (no matter if is set to 0 or is set to "") :global findedID 0 { :global dnsrecords "data={\"serverrequestid\":\"k1x=nTjeHeSzdVh\",\"clientrequestid\":\"\",\&...
by rextended
Thu Sep 21, 2023 3:27 pm
Forum: Scripting
Topic: Regex search in String Issue [SOLVED]
Replies: 26
Views: 3896

Re: Regex search in String Issue [SOLVED]

Why complicate things unnecessarily, "two lines" of code are enough... Ignoring if start or not with "data"... (the " are escaped as \" for simulating the read of the data) { :global dnsrecords "data={\"serverrequestid\":\"k1x=nTjeHeSzdVh\",\&qu...
by rextended
Sun Sep 17, 2023 7:10 pm
Forum: Beginner Basics
Topic: Devices cannot see each other
Replies: 1
Views: 684

Re: Devices cannot see each other

Are you ask Yamaha first?
by rextended
Sun Sep 17, 2023 7:08 pm
Forum: General
Topic: Mikrotik SUCKS
Replies: 82
Views: 13008

Re: Mikrotik SUCKS

@bpwl

Image
by rextended
Fri Sep 15, 2023 10:13 am
Forum: Announcements
Topic: v7.11.2 [stable] is released!
Replies: 348
Views: 165838

Re: v7.11.2 [stable] is released!

That's a model that exists just for you...

However, if it were the RB941-2nd-TC, as written everywhere, and as common sense dictates, RouterOS 7, even if they compiled it, is not for SMIPS.
by rextended
Thu Sep 14, 2023 11:19 pm
Forum: General
Topic: serviced.tdi in my Winbox folder
Replies: 12
Views: 1409

Re: serviced.tdi in my Winbox folder

(a "hacker" with a moral compass???)
No, is only a method for try to stay undetected...
by rextended
Wed Sep 13, 2023 11:14 pm
Forum: Scripting
Topic: [HELP] Decimal value in tool netwatch script [SOLVED]
Replies: 4
Views: 2282

Re: [HELP] Decimal value in tool netwatch script [SOLVED]

on routeros 23456 / 1000 = 23 so...
by rextended
Wed Sep 13, 2023 8:13 pm
Forum: Scripting
Topic: Wilcard in Scripts?
Replies: 7
Views: 2176

Re: Wilcard in Scripts?

Compared to never updating the device, a scheduled auto update would not be the worst option? What is it? A competition to see who does the worst thing? It is actually better to have an out of order peripheral than a poorly managed one which will then cause mass attacks on others. I agree with this...
by rextended
Wed Sep 13, 2023 8:03 pm
Forum: Scripting
Topic: Ethernet status UP or DOWN script
Replies: 2
Views: 1900

Re: Ethernet status UP or DOWN script

{ /interface ethernet :local run1 [get ether1 running] :local run2 [get ether2 running] /interface wireless :if (($run1=true) and ($run2=true)) do={ enable wlan1 disable wlan2 } else={ disable wlan1 enable wlan2 } } { /interface ethernet :local run1 [get ether1 running] :local run2 [get ether2 runn...
by rextended
Wed Sep 13, 2023 7:49 pm
Forum: Scripting
Topic: Help with script to send message
Replies: 3
Views: 1652

Re: Help with script to send message

What is written makes no sense... SpamGPT: ###RCHCK### Ask where you got that sh–ty script, probably from ChatGPT. Just an idiot would invent the not-actually-existent "send" command from mac-telnet. ChatGPT (and similar) is just s–t in your face, don't use it. He made it up just to please...
by rextended
Wed Sep 13, 2023 7:46 pm
Forum: Scripting
Topic: Wilcard in Scripts?
Replies: 7
Views: 2176

Re: Wilcard in Scripts?

I thought the stupidest thing someone could do is automatically update the device as soon as a new version comes out,
but I hadn't considered the act of sharing a script that does it, just usable with copy & paste...
by rextended
Wed Sep 13, 2023 11:04 am
Forum: General
Topic: serviced.tdi in my Winbox folder
Replies: 12
Views: 1409

Re: serviced.tdi in my Winbox folder

For possible virus infections I prefer to CLEAN FORMAT using other OS. And only THEN I will pass again with install of target OS. If I only had one PC (because otherwise I would remove the disk and format it elsewhere) and I had previously prepared a stick with the Windows installation CD, that alo...
by rextended
Wed Sep 13, 2023 10:59 am
Forum: General
Topic: serviced.tdi in my Winbox folder
Replies: 12
Views: 1409

Re: serviced.tdi in my Winbox folder

I have only one year on 1980, and of course I know those methods... ;)
by rextended
Wed Sep 13, 2023 10:54 am
Forum: General
Topic: winbox feature
Replies: 1
Views: 733

Re: winbox feature

Cute unofficial versions, huh?
Check if you too have a nice surprise on your computer...
viewtopic.php?t=199525
by rextended
Wed Sep 13, 2023 10:52 am
Forum: Scripting
Topic: /ip ipsec policy on ROS 6.44.5
Replies: 7
Views: 1923

Re: /ip ipsec policy on ROS 6.44.5

rextended, you have always the option to refrain from commenting if you don't understand the question AND don't have anything useful to post...
The first part you could have avoided writing, the second you could be right.
by rextended
Wed Sep 13, 2023 10:47 am
Forum: General
Topic: serviced.tdi in my Winbox folder
Replies: 12
Views: 1409

Re: serviced.tdi in my Winbox folder

First part shows your age. Obviously I used a figure of speech rather than fully describing the procedure, which gives the same effects... Your answer instead shows that you don't know that simply with a USB drive made with, for example, Rufus, you can easily create a medium to format the computer ...
by rextended
Tue Sep 12, 2023 9:19 pm
Forum: General
Topic: serviced.tdi in my Winbox folder
Replies: 12
Views: 1409

Re: serviced.tdi in my Winbox folder

Format your PC, change all your passwords... ALL...
by rextended
Tue Sep 12, 2023 9:13 pm
Forum: Scripting
Topic: /ip ipsec policy on ROS 6.44.5
Replies: 7
Views: 1923

Re: /ip ipsec policy on ROS 6.44.5

Thank goodness you're here to explain to me how it works, you know, I've never written scripts, I'm not capable of it...
by rextended
Tue Sep 12, 2023 4:57 am
Forum: Scripting
Topic: /ip ipsec policy on ROS 6.44.5
Replies: 7
Views: 1923

Re: /ip ipsec policy on ROS 6.44.5

Where is your error?

Here:
from what I know, the below command should work
by rextended
Tue Sep 12, 2023 3:24 am
Forum: Scripting
Topic: How do I list items in the CLI entry?
Replies: 6
Views: 2371

Re: How do I list items in the CLI entry?

[---] /ipv6/firewall/address-list> add disable enable find remove set comment edit export print reset [---] /ipv6/firewall/address-list> remove numbers=0-12 expected end of command (line 1 column 17) [---] /ipv6/firewall/address-list> remove numbers=0:12 expected end of command (line 1 column 17) [...
by rextended
Mon Sep 11, 2023 9:52 am
Forum: Scripting
Topic: Changing the MMM/DD/YYYY date format.
Replies: 16
Views: 21617

Re: Changing the MMM/DD/YYYY date format.

you have to stop copying and pasting, instead you have to think about what you do...
:local hostname [/system identity get name]
:local date [/system clock get date]
:local localfilename "$hostname-Backup-Daily";
:local remotefilename "$hostname-$date";
by rextended
Mon Sep 11, 2023 9:43 am
Forum: Scripting
Topic: Wilcard in Scripts?
Replies: 7
Views: 2176

Re: Wilcard in Scripts?

Is there a wildcard function for Mikrotik scripts?
:global UpdateURL "sftp://mikrotik.com/routeros-*-arm.npk"
NO.
by rextended
Fri Sep 08, 2023 4:20 pm
Forum: Scripting
Topic: New command in RouterOs 7
Replies: 34
Views: 6726

Re: New command in RouterOs 7

Thanks ;)
by rextended
Fri Sep 08, 2023 12:51 am
Forum: General
Topic: Download the latest version of Mikrotik?
Replies: 1
Views: 1033

Re: Download the latest version of Mikrotik?

https://download.mikrotik.com/routeros/7.11.2/latest-x86.npk If it exist, is everytime the last 7.11.2.. if containing 7.11.2 in the path... No, it doesn't exist, and it's bullshit to always update to the latest version as soon as it comes out. At most, make a script that reads this: https://upgrade...
by rextended
Fri Sep 08, 2023 12:46 am
Forum: General
Topic: 🚨🚨🚨 Severe Security Issue: DHCP server scripts and PPP profile scripts, rights escalation.
Replies: 8
Views: 1555

Re: 🚨🚨🚨 Severe Security Issue: DHCP server scripts and PPP profile scripts, rights escalation.

FWIW, I'm a believe in responsible disclosure... so reporting to Mikrotik directly and letting them respond first is better practice – but that's just my opinion... Too late for that, accidentally, without meaning to, it has already been published and archived by Google, better to warn everyone (th...
by rextended
Fri Sep 08, 2023 12:40 am
Forum: Scripting
Topic: DHCP-Client script not working [SOLVED]
Replies: 7
Views: 3577

Re: DHCP-Client script not working [SOLVED]

how did you create the user *sys ? it would be like the linux "root" user, right ? Is a predefined user in RouterOS, I do not create the user. so if you have the highest rights, why don't you connect to another Mikrotik (on the same LAN) and run a remote command with /system-exec, you sho...
by rextended
Thu Sep 07, 2023 8:21 pm
Forum: General
Topic: 🚨🚨🚨 Severe Security Issue: DHCP server scripts and PPP profile scripts, rights escalation.
Replies: 8
Views: 1555

Re: 🚨🚨🚨 Severe Security Issue: DHCP server scripts and PPP profile scripts, rights escalation.

Didn't test, but would seem like act same with netwatch scripts too.
It seems like you didn't even read what I wrote.
by rextended
Thu Sep 07, 2023 7:54 pm
Forum: General
Topic: 🚨🚨🚨 Severe Security Issue: DHCP server scripts and PPP profile scripts, rights escalation.
Replies: 8
Views: 1555

Re: 🚨🚨🚨 Severe Security Issue: DHCP server scripts and PPP profile scripts, rights escalation.

Indeed.
I'm just warning all those who think that creating an account with less privileges to let someone manage something, are actually giving them the keys to the house...

As well as: using skins thinking that if the sections are hidden they cannot be used... ;)
by rextended
Thu Sep 07, 2023 7:29 pm
Forum: General
Topic: 🚨🚨🚨 Severe Security Issue: DHCP server scripts and PPP profile scripts, rights escalation.
Replies: 8
Views: 1555

Re: 🚨🚨🚨 Severe Security Issue: DHCP server scripts and PPP profile scripts, rights escalation.

Tested: The same also on DHCP Client, both IPv4 and IPv6 versions

Do not happen on System Script or Scheduler section (unless the script or scheduler already has those permissions on its own)
by rextended
Thu Sep 07, 2023 3:41 pm
Forum: General
Topic: proxy.pac
Replies: 2
Views: 947

Re: proxy.pac

If you are rich, require one quotation to support@mikrotik.com
by rextended
Thu Sep 07, 2023 3:40 pm
Forum: Scripting
Topic: "foreach loop" behavior change in version 7
Replies: 9
Views: 2865

Re: "foreach loop" behavior change in version 7

Still, Rex, could you add... What exactly has been fixed in the work on arrays in ROS7 relative to ROS6 ? On v6 when you assigned a value to an array variable, coming from another subvaluo on one array, instead of copying the contents of the subpart of the array, it overwrote the index where the da...
by rextended
Thu Sep 07, 2023 3:16 pm
Forum: Scripting
Topic: "foreach loop" behavior change in version 7
Replies: 9
Views: 2865

Re: "foreach loop" behavior change in version 7

Easy: MikroTik has no pointers, RouterOS is not a programming language like the others. (Another example: It doesn't even have decimal division...) At most it has Operational Pointers (OP, like one array link shortcut) which are another thing. What it did before in v6 was wrong, and they fixed it in...
by rextended
Thu Sep 07, 2023 3:09 pm
Forum: Beginner Basics
Topic: Restoring access to winbox
Replies: 16
Views: 2070

Re: Restoring access to winbox

Didn't notice any serial port there, could give it a try if I would. This is probably some kind of budget models of RB2011, which doesn't have neither usb or sfp ports.
Is why must be writed everytime the full model and RouterOS version... Probably your is RB2011L(-RM)
by rextended
Thu Sep 07, 2023 2:49 pm
Forum: General
Topic: 🚨🚨🚨 Severe Security Issue: DHCP server scripts and PPP profile scripts, rights escalation.
Replies: 8
Views: 1555

🚨🚨🚨 Severe Security Issue: DHCP server scripts and PPP profile scripts, rights escalation.

DHCP server scripts and PPP profile scripts, rights escalation (not tested other points): One user that have at least the write right, can add or modify the script inside the DHCP Server or PPP profile for execute any RouterOS command for rights escalation. /user group add name=test policy=read,writ...
by rextended
Thu Sep 07, 2023 2:27 pm
Forum: Scripting
Topic: DHCP-Client script not working [SOLVED]
Replies: 7
Views: 3577

Re: DHCP-Client script not working [SOLVED]

Under DHCP Server scripts is used the user *sys , not the user admin Is the same user and rigths that ppp profile scripts have: [RexTended@MATRIX] /system script job> pri detail 0 owner="*sys" policy=*0,local,telnet,ssh,ftp,reboot,read,write,policy,test,winbox,password,web,sniff,sensitive,...
by rextended
Thu Sep 07, 2023 2:16 pm
Forum: Beginner Basics
Topic: Restoring access to winbox
Replies: 16
Views: 2070

Re: Restoring access to winbox

Sorry for stepping in too late...
All you had to do was plug the serial cable into the serial port behind the router and access the CLI again...

Strange that none of the others thought about it...
by rextended
Wed Sep 06, 2023 10:30 am
Forum: Scripting
Topic: get current-endpoint-address from peer of wireguard
Replies: 6
Views: 2001

Re: get current-endpoint-address from peer of wireguard

and this one is also effective and standardized # /interface/wireguard/peers/get [find interface=wireguard1] current-endpoint-address; If the interface name is already known, simply… /interface wireguard peers get wireguard1 current-endpoint-address If the name is from a variable, just... /interfac...
by rextended
Tue Sep 05, 2023 5:46 pm
Forum: Scripting
Topic: get current-endpoint-address from peer of wireguard
Replies: 6
Views: 2001

Re: get current-endpoint-address from peer of wireguard

(
[xyz@RB5009_KT] /interface/wireguard/peers> get value-name=current-endpoint-address number=0
this command, if do not do any error, do not print anything if you do not use :put.....
and at least bust be :put [get 0 current-endpoint-address]
)
by rextended
Tue Sep 05, 2023 5:44 pm
Forum: Announcements
Topic: SwOS Lite version 2.17 released!
Replies: 20
Views: 102958

Re: SwOS Lite version 2.17 released!

But this is SwOS (lite), and not RouterOS...
by rextended
Tue Sep 05, 2023 5:42 pm
Forum: Wireless Networking
Topic: ac clients do not see ax network
Replies: 11
Views: 2935

Re: ac clients do not see ax network

Set 5180 20MHz only... (channel 36)
by rextended
Tue Sep 05, 2023 10:29 am
Forum: Announcements
Topic: SwOS Lite version 2.17 released!
Replies: 20
Views: 102958

Re: SwOS Lite version 2.17 released!

Probably you should mention that POE devices will all get a powercut during the update.
They also have to write that to update the software you need to turn on the device?
by rextended
Mon Sep 04, 2023 7:21 pm
Forum: Wireless Networking
Topic: ac clients do not see ax network
Replies: 11
Views: 2935

Re: ac clients do not see ax network

And your ax devices see the network, after 10 minutes of the DFS scan?
by rextended
Mon Sep 04, 2023 7:11 pm
Forum: Scripting
Topic: Route down log indication [SOLVED]
Replies: 3
Views: 2569

Re: Route down log indication [SOLVED]

This currently outputs an endless barrage of error log "Down" without end.
Is exactly what you want/write:
while $Status is down, write to error log "Down"...

If you had written instead:
if $tatus is down, write to error log "Down"...
by rextended
Sun Sep 03, 2023 11:37 pm
Forum: Scripting
Topic: Uploading data larget than 4KB using /tool/fetch HTTP put
Replies: 9
Views: 2662

Re: Uploading data larget than 4KB using /tool/fetch HTTP put

I know, I know, I've seen it... lacks quality control even on the new guide...

However the solution is much simpler: if @zetdotpi send them via ftp or via email and solve there...

PS: why change content type???
The export is not json....
by rextended
Sun Sep 03, 2023 11:33 pm
Forum: Scripting
Topic: Uploading data larget than 4KB using /tool/fetch HTTP put
Replies: 9
Views: 2662

Re: Uploading data larget than 4KB using /tool/fetch HTTP put

Fair enough, there may be multiple problems.

The http-content-type= is in docs, but not valid syntax in /tool/fetch... That's what caught my eye here.
On the wiki is
http-header-field="Content-Type: application/json"
by rextended
Sun Sep 03, 2023 11:14 pm
Forum: Scripting
Topic: Uploading data larget than 4KB using /tool/fetch HTTP put
Replies: 9
Views: 2662

Re: Uploading data larget than 4KB using /tool/fetch HTTP put

In V7, variables should be 64KB, so I don't think that's the problem.
NO, if is used "/file content" is still 4k...

viewtopic.php?p=1010865#p1008826

viewtopic.php?p=1012746#p1012747
by rextended
Sun Sep 03, 2023 1:17 am
Forum: General
Topic: Forum moderation volunteers
Replies: 238
Views: 37559

Re: Forum moderation volunteers

Can you answer in a less vague way?
by rextended
Sat Sep 02, 2023 11:27 pm
Forum: General
Topic: Forum moderation volunteers
Replies: 238
Views: 37559

Re: Forum moderation volunteers

@BartoszP , so was it you? Why don't you read in the logs who did it? And then, instead of grouping it together, it deleted everything... To @Paternot Or were you trolling someone else, @rextended? I didn't understand what you meant. @gabacho4 he saw those posts, so I'm not trolling at all... To @a...
by rextended
Sat Sep 02, 2023 6:28 pm
Forum: Scripting
Topic: DHCP-Client script not working [SOLVED]
Replies: 7
Views: 3577

Re: DHCP-Client script not working [SOLVED]

avoid <TAB> on script... Apparently nothing wrong... Probably dhcp script have less right than "normal script"... :if ($leaseBound = 1) do={ :local interFace "" /interface bridge host :set interFace [get [find where mac-address=$leaseActMAC] on-interface] :if ($interFace~"et...
by rextended
Sat Sep 02, 2023 6:13 pm
Forum: Scripting
Topic: How to add color to output
Replies: 17
Views: 9574

Re: How to add color to output

Ehm...
by rextended
Sat Sep 02, 2023 6:08 pm
Forum: General
Topic: Forum moderation volunteers
Replies: 238
Views: 37559

Re: Forum moderation volunteers

Last News: Now the moderators on MikroTik forum make their own rules, and without giving warnings, they suspend your account for spoilers, on different products. Who was it that suspended my account? An admin or moderator who without even warning suspended my account? If that moderator can tell me w...
by rextended
Thu Aug 31, 2023 10:38 pm
Forum: Scripting
Topic: New command in RouterOs 7
Replies: 34
Views: 6726

Re: New command in RouterOs 7

Oh..... finally.............................................................
by rextended
Thu Aug 31, 2023 9:59 pm
Forum: Announcements
Topic: v7.11.2 [stable] is released!
Replies: 348
Views: 165838

Re: v7.11 and 7.11.1 [stable] are released!

"error while running customized default configuration script no such item" = /interface wireless do not exist on wifiwave2 Do not worry, is the same error on defconf I report a year ago the 2022-05-04 17:10:00.... Some spam lines inside the file get-custom-defconf , never removed. Too man...
by rextended
Thu Aug 31, 2023 5:52 pm
Forum: Announcements
Topic: v7.11.2 [stable] is released!
Replies: 348
Views: 165838

Re: v7.11 and 7.11.1 [stable] are released!

usually my router is updating automatically It's one of the dumbest things people can do on devices, and it applies to any software (to specify it, it was not understood) not only MikroTik ... Luckily you belong to that club, so at least the first ones who try it, end up in the bag, while the smart...
by rextended
Thu Aug 31, 2023 4:30 pm
Forum: Scripting
Topic: Run a script on Wireguard login
Replies: 2
Views: 2095

Re: Run a script on Wireguard login

But how, the shitty answer that ChatGPT gave you, just for chat, isn't enough?
by rextended
Thu Aug 31, 2023 3:38 pm
Forum: Scripting
Topic: New command in RouterOs 7
Replies: 34
Views: 6726

Re: New command in RouterOs 7

By now you should know how MikroTik staff works...
by rextended
Thu Aug 31, 2023 3:33 pm
Forum: Scripting
Topic: New command in RouterOs 7
Replies: 34
Views: 6726

Re: New command in RouterOs 7

"<TAB>" is your friend, and some deduction...
by rextended
Thu Aug 31, 2023 3:02 pm
Forum: Scripting
Topic: All data types on RouterOS
Replies: 2
Views: 1858

Re: All data types on RouterOS

Someone ( 😸 ) has already discovered them, otherwise how could I make the list???

When you find out how to use them, let me know ;)

Once I had found a way to generate "exclamation", but for my stupidity I didn't write it down and now I don't remember...
by rextended
Thu Aug 31, 2023 2:57 pm
Forum: Announcements
Topic: v7.11.2 [stable] is released!
Replies: 348
Views: 165838

Re: v7.11 and 7.11.1 [stable] are released!

If the rules of the State change, it is not MikroTik's job to inform customers, it is assumed that they already know the law, which does not admit ignorance.
If you use a peripheral outside of how it was meant to be used, that's your business.
by rextended
Thu Aug 31, 2023 2:54 pm
Forum: Announcements
Topic: v7.11.2 [stable] is released!
Replies: 348
Views: 165838

Re: v7.11 and 7.11.1 [stable] are released!

Yeah, except that I'm now using the device here in South Africa... So the other question is why did you buy a device for the American market, and then you didn't resell it when you moved to South Africa... Unfortunately they are forced by the FCC that, if they want to sell in America, they must be ...
by rextended
Thu Aug 31, 2023 2:47 pm
Forum: Announcements
Topic: v7.11.2 [stable] is released!
Replies: 348
Views: 165838

Re: v7.11 and 7.11.1 [stable] are released!

Since MikroTik do not have TPC, now all frequences that must have TPC are forbidden on US market...
Those are FCC rules, not MikroTik choices.
If the rules of the State change, it is not MikroTik's job to inform customers, it is assumed that they already know the law, which does not admit ignorance.
by rextended
Thu Aug 31, 2023 2:37 pm
Forum: Announcements
Topic: v7.11.2 [stable] is released!
Replies: 348
Views: 165838

Re: v7.11 and 7.11.1 [stable] are released!

Band: 5GHz AC Channel Width: 20/40/80MHz Frequency: 5320 (Under Radios, I see that 5320 is removed from the whole "Current channels" table when country "United States" or "Canada" is selected) Before it was working as a DFS channel that was subject to radar scanning, w...
by rextended
Thu Aug 31, 2023 2:25 pm
Forum: Scripting
Topic: "foreach loop" behavior change in version 7
Replies: 9
Views: 2865

Re: "foreach loop" behavior change in version 7

"foreach loop" behavior change in version 7
Wrong title.


It is clear that you have confused ideas.
What does the foreach loop have to do with it?
by rextended
Thu Aug 31, 2023 2:19 pm
Forum: Scripting
Topic: End User enable disable NAT Rule
Replies: 1
Views: 1766

Re: End User enable disable NAT Rule

Use script that detect port knocking.
The sequence determine what rule disable or enable, or create your own API on php or similar on a separate program or webserver.
by rextended
Thu Aug 31, 2023 2:17 pm
Forum: Scripting
Topic: [ASK] DHCP Server Script for Queue [SOLVED]
Replies: 5
Views: 5380

Re: [ASK] DHCP Server Script for Queue [SOLVED]

Can you shar the script
Do not necropost, the unser is not longer online and the last post is on 2018....
by rextended
Thu Aug 31, 2023 2:14 pm
Forum: Announcements
Topic: MikroTik Devices Controller
Replies: 332
Views: 239898

Re: MikroTik Devices Controller

Many admins run Linux.
And many admin drink "vine" and run wine...
by rextended
Wed Aug 30, 2023 3:58 pm
Forum: Scripting
Topic: Saving array to file
Replies: 13
Views: 3029

Re: Saving array to file

Good to know Mikrotik isn't going to put you out of business with new [:convert] anytime soon. The timing with which they came up with :convert , and the similarity of what :convert does compared to the scripts I've made, is staggering... ;) For sure if they had copied my scripts, they would have m...
by rextended
Wed Aug 30, 2023 3:12 pm
Forum: Scripting
Topic: Saving array to file
Replies: 13
Views: 3029

Re: Saving array to file

Only some condition on this preliminary version: The array must be global!!! For this array: https://forum.mikrotik.com/viewtopic.php?t=191832#p973295 the result is: :global ArrayIN [:toarray ""] :set ($ArrayIN->"alertList") [:toarray ""] :set ($ArrayIN->"alertList...
by rextended
Wed Aug 30, 2023 3:06 pm
Forum: Scripting
Topic: Saving array to file
Replies: 13
Views: 3029

Re: Saving array to file

If the output is put inside one .rsc, can be imported later for recreate the array on another machine... :global exportarray do={ :global exportarray :local path "$2" :local ret "" /system script environment :foreach j in=[find] do={ :if ([get $j value] = $1) do={:set path "...
by rextended
Wed Aug 30, 2023 10:45 am
Forum: Scripting
Topic: Saving array to file
Replies: 13
Views: 3029

Re: Saving array to file

The arrays must be exported as a set of instructions, and imported back executing / parsing the instruction set... example of file content can be: :set ($arrayname->"column-name") "value";:set ($arrayname->"column-name2") "value2";:set ($arrayname->"colum...
by rextended
Wed Aug 30, 2023 10:37 am
Forum: Scripting
Topic: Persistent Environment Variables [SOLVED]
Replies: 50
Views: 37250

Re: Persistent Environment Variables [SOLVED]

Only simple arrays are exported, do not work for array of array and more complex data structure.
by rextended
Tue Aug 29, 2023 9:48 pm
Forum: Scripting
Topic: Saving array to file
Replies: 13
Views: 3029

Re: Saving array to file

where are the quotes between the month name?

example code

:global x {month=Aug;test=0}
:put ($x->"month")
:global x {month="Aug";test=0}
:put ($x->"month")
by rextended
Tue Aug 29, 2023 12:18 pm
Forum: Scripting
Topic: Persistent Environment Variables [SOLVED]
Replies: 50
Views: 37250

Re: Persistent Environment Variables [SOLVED]

Hi Rex. The code seams to break in ROS 7.11 stable. for the store script :if ($vvalue~"^(\(code\)|;\\(eva\?l )") do={:set $vvalue "(code)"}; The break is mainly in the regex part. could you please double check? Thanks This is not the original line, for example, someone added $ i...
by rextended
Tue Aug 29, 2023 12:15 pm
Forum: Scripting
Topic: Scripts for automatic additions and deletions
Replies: 7
Views: 2279

Re: Scripts for automatic additions and deletions

I don't see the end purpose or any use, you're probably still misunderstanding or not specifying what you want to achieve in the end. As yet I don't see the usefulness of activating the ND on the pppoe connection, as many ISPs do, only creating problems for the clients... RouterOS already distribute...
by rextended
Tue Aug 29, 2023 12:03 pm
Forum: Scripting
Topic: Automatic Config Backup --> Not working in December
Replies: 7
Views: 3069

Re: Automatic Config Backup --> Not working in December

Anyone got any thoughts? Yep, you clearly don't read the release notes at all and update the system without even a clue what you're doing. From RouterOS 7.10 the dates are FINALLY reported in the right and more logical ISO:8601 yyyy-MM-dd format instead of the <censored> Mmm/dd/yyyy Now, if the scr...
by rextended
Mon Aug 28, 2023 7:34 pm
Forum: Scripting
Topic: Scripts for automatic additions and deletions
Replies: 7
Views: 2279

Re: Scripts for automatic additions and deletions

The description is bad, it is not known if you are talking about the server or the client,
whatever happens, it's all automatic and what you're doing seems ridiculous to me...
by rextended
Mon Aug 28, 2023 4:25 pm
Forum: Wireless Networking
Topic: Variable TX/RX rate
Replies: 3
Views: 1681

Re: Variable TX/RX rate

If an oven doesn't consume the same amount of electricity when it reaches the desired temperature, is it broken?

The comparison has the same precision as the question...
by rextended
Mon Aug 28, 2023 10:23 am
Forum: General
Topic: Forum moderation volunteers
Replies: 238
Views: 37559

Re: Forum moderation volunteers

that's why the quotes ;)
by rextended
Mon Aug 28, 2023 10:17 am
Forum: Scripting
Topic: "/system package get system version" does not work anymore
Replies: 5
Views: 2303

Re: "/system package get system version" does not work anymore

Is there any way on how to change date format reported by "/system clock get date" in script, […] No. Use my scripts as example on how to parse date on both format on same script. https://forum.mikrotik.com/viewtopic.php?t=177551 More specifically https://forum.mikrotik.com/viewtopic.php?...
by rextended
Sun Aug 27, 2023 7:59 pm
Forum: Scripting
Topic: "/system package get system version" does not work anymore
Replies: 5
Views: 2303

Re: "/system package get system version" does not work anymore

Seems like it had stopped working after update to 7.11, but not sure for 100%. This is the classic problem of copying and pasting or not knowing at all what the scripts you use do... Since version 7.0alpha0 "system" no longer exists, but only "routeros" (which incorporates syste...
by rextended
Sun Aug 27, 2023 7:54 pm
Forum: Announcements
Topic: v6.49.10 [long-term] is released!
Replies: 33
Views: 85695

Re: v6.49.10 [stable] is released!

They can't write it clearly that if <censored> and then it happens <censored>. Otherwise they would automatically reveal how to hack this still unknown bug... However, the stupidity of opening the www or www-ssl ports to the world remains. The default firewall rules prevent any such hack outside the...
by rextended
Sun Aug 27, 2023 7:50 pm
Forum: General
Topic: Forum moderation volunteers
Replies: 238
Views: 37559

Re: Forum moderation volunteers

i dont see any recent moderation logs on that topic, nor activity at all I don't find anything wrong with it either, indeed he did well to point out that when he registered on the forum he agreed not to talk about other "competing" products... But maybe he doesn't remember... When people ...
by rextended
Sat Aug 26, 2023 1:10 pm
Forum: Scripting
Topic: cant get cpu temperature in script [SOLVED]
Replies: 5
Views: 3261

Re: cant get cpu temperature in script [SOLVED]

Use the "code display" button [ ] ...........

or manually...
[code]script[/code]
by rextended
Sat Aug 26, 2023 9:41 am
Forum: Scripting
Topic: cant get cpu temperature in script [SOLVED]
Replies: 5
Views: 3261

Re: cant get cpu temperature in script [SOLVED]

The correct syntax would have been /system/health get "cpu-temperature" value if the RouterOS programmers had made one thing uniform with everything else. But since "cpu-temperature" is not already solved like other sections, [find where name=cpu-temperature] is needed. So, the n...
by rextended
Sat Aug 26, 2023 9:30 am
Forum: Scripting
Topic: Script input from console ... works!
Replies: 9
Views: 6541

Re: Script input from console ... works!

I want the script to run using scheduler too.
When the scheduler runs the script, it should not ask for the user input but rather take in the default value.
Create a separate non-interactive version...
by rextended
Fri Aug 25, 2023 7:32 pm
Forum: Scripting
Topic: Voltage Monitoring in ROS v.7 and send message to TELEGRAM [SOLVED]
Replies: 13
Views: 4480

Re: Voltage Monitoring in ROS v.7 and send message to TELEGRAM [SOLVED]

You are able to use Google? For me is the 1st result...
https://www.google.com/search?q=script+telegram+bold+font
by rextended
Fri Aug 25, 2023 4:00 pm
Forum: Scripting
Topic: Find Mikrotik on the Switch
Replies: 1
Views: 1876

Re: Find Mikrotik on the Switch

where is the ^ ??? "00:0C:42" match also xx:00:0C:42:xx:xx, xx:xx:00:0C:42:xx and xx:xx:xx:00:0C:42 !($port ~ "bridge" || $port ~ "sfp") => !($port ~ "(bridge|sfp)") :if ($mac~"^(\ 00:0C:42|\ 08:55:31|\ 18:FD:74|\ 2C:C8:1B|\ 48:8F:5A|\ 48:A9:8A|\ 4C:5E:0C...
by rextended
Fri Aug 25, 2023 10:46 am
Forum: Wireless Networking
Topic: JUMBO Frame support for P2P Bridge Request
Replies: 5
Views: 2084

Re: JUMBO Frame support for P2P Bridge Request

I hardly found all this crap written in one post.
by rextended
Thu Aug 24, 2023 2:08 pm
Forum: Scripting
Topic: count-only in rest api
Replies: 10
Views: 3108

Re: count-only in rest api

try to remove the space on SSID name... or add quotes on query :lol:
by rextended
Wed Aug 23, 2023 2:27 pm
Forum: Scripting
Topic: How to check if special character is present in the message?
Replies: 4
Views: 2130

Re: How to check if special character is present in the message?

A little function... just add your unwanted characters after \FF. If is "-" unwanted, must be put at the end. For default \01-\19\7F-\FF check for any characters that RouterOS do not support. Simply return true if is present at least one invalid charactes present on passed string, or false...
by rextended
Wed Aug 23, 2023 2:09 pm
Forum: Scripting
Topic: Deleting expired hotspot user V6 V7
Replies: 4
Views: 2533

Re: Deleting expired hotspot user V6 V7

   
by rextended
Wed Aug 23, 2023 1:49 pm
Forum: Scripting
Topic: Deleting expired hotspot user V6 V7
Replies: 4
Views: 2533

Re: Deleting expired hotspot user V6 V7

you should look better in my resources.... https://forum.mikrotik.com/viewtopic.php?t=177551#p977175 Just some hint: :foreach i in=[ip hotspot user find where name!="admin" and name!="default-trial" and disabled=no] do={ :global datetime2epoch do={ […] } […] } do not define every...
by rextended
Wed Aug 23, 2023 3:35 am
Forum: Scripting
Topic: Hotspot cookie/active problem
Replies: 17
Views: 3683

Re: Hotspot cookie/active problem

is it normal? Does it seem normal to you to hijack topics and unnecessarily resurrect old topics? Can anybody explain how to put epoch in comments? Don't hijack the topic. If you're using RouterOS v6 there's no that command. For v6 there are my scripts, for example. If you use v7 :timestamp do not ...
by rextended
Tue Aug 22, 2023 3:22 pm
Forum: Scripting
Topic: "/log get" issue/bug ?
Replies: 9
Views: 2449

Re: "/log get" issue/bug ?

(avoid quoting all previous post unnecessarily) Because I guess he doesn't want to print it either, he wants to send it to some processing routine. It is no coincidence that I mentioned sending the message on telegram... Pretending I don't exist, you're an expert and the OP isn't , with your answer ...
by rextended
Tue Aug 22, 2023 3:01 pm
Forum: Scripting
Topic: "/log get" issue/bug ?
Replies: 9
Views: 2449

Re: "/log get" issue/bug ?

Since when does it have to be answered via riddles? However you did NOT answer him correctly, for what he asked: it's not a bug. Simply "topics" is an array, not a string, and when printed it reprints the full message, on same line, one for each value within the array. So just convert &quo...
by rextended
Tue Aug 22, 2023 2:44 pm
Forum: Scripting
Topic: "/log get" issue/bug ?
Replies: 9
Views: 2449

Re: "/log get" issue/bug ?

You just need to use a different operator: replace "." with ",".

What are you writing??? He never used "." ...
If you don't know what to write and why it's doing that, it's better not to answer at all than to write at random...
by rextended
Tue Aug 22, 2023 2:43 pm
Forum: Scripting
Topic: "/log get" issue/bug ?
Replies: 9
Views: 2449

Re: "/log get" issue/bug ?

I've always hated people who write topic titles that blame bugs instead of admitting their ignorance. If I don't know something I admit it, instead of boasting about any bugs... I hope you appreciate the frankness. Here is the solution, I prefer NOT to write why so that you study for a moment to und...
by rextended
Sat Aug 19, 2023 2:53 pm
Forum: RouterBOARD hardware
Topic: CCR2004 packet loss
Replies: 135
Views: 59400

Re: CCR2004 packet loss

Unfortunatelly,
SPAM
by rextended
Sat Aug 19, 2023 2:53 pm
Forum: RouterBOARD hardware
Topic: RX drops
Replies: 35
Views: 41761

Re: RX drops

Unfortunatelly,
SPAM
by rextended
Sat Aug 19, 2023 2:52 pm
Forum: General
Topic: CCR2004-16S-2S+ SFP+ Interface RX-Drops
Replies: 5
Views: 1903

Re: CCR2004-16S-2S+ SFP+ Interface RX-Drops

Unfortunatelly,
SPAM
by rextended
Sat Aug 19, 2023 2:52 pm
Forum: General
Topic: CCR2004 poor bridge performance
Replies: 24
Views: 5905

Re: CCR2004 poor bridge performance

Unfortunatelly,
SPAM
by rextended
Sat Aug 19, 2023 2:50 pm
Forum: RouterBOARD hardware
Topic: CCR2004 packet loss over 10G Interfaces
Replies: 16
Views: 7995

Re: CCR2004 packet loss over 10G Interfaces

Unfortunatelly,
SPAM
by rextended
Fri Aug 18, 2023 10:59 am
Forum: Scripting
Topic: Share how to use the move command
Replies: 3
Views: 2490

Re: Share how to use the move command

First, then, learn to write simply and clearly (I'm not referring to English). Better a clear script example than a mess inside the script, no matter if is well explained. Example: https://forum.mikrotik.com/viewtopic.php?t=197314#p1009493 Anyway, there are errors in what you wrote. An example above...
by rextended
Thu Aug 17, 2023 4:39 pm
Forum: General
Topic: ipv6 disabled but I see traffic in torch
Replies: 2
Views: 840

Re: ipv6 disabled but I see traffic in torch

I don't think it should be there
When you disable management via http, do you also disable http on all your devices?

how to completely disable ipv6 on mikrotik?
SOLUTION: Turn off the device.
by rextended
Thu Aug 17, 2023 4:38 pm
Forum: General
Topic: Option to duplicate rule....
Replies: 16
Views: 8052

Re: Option to duplicate rule....

possibly winbox can be dropped
Image
by rextended
Thu Aug 17, 2023 3:05 pm
Forum: Beginner Basics
Topic: Using RB5009 as capsman controller
Replies: 7
Views: 1928

Re: RB5009

So for now it would be one AX2 but I have a campus that I would like to place these units throughout.
It is never advisable to ask one thing at a time, especially if you are inexperienced.
Clearly state what you start with and what you want to achieve in the end.
by rextended
Thu Aug 17, 2023 2:43 pm
Forum: Scripting
Topic: Share how to use the move command
Replies: 3
Views: 2490

Re: Share how to use the move command

I hope that others don't have confused ideas like yours,
and congratulations, write even more abbreviated so that those who have to learn can understand much more easily the bulls–t you write...
by rextended
Thu Aug 17, 2023 2:32 pm
Forum: Scripting
Topic: variable reference not working in v7
Replies: 3
Views: 1934

Re: variable reference not working in v7

no release note...
you have to trust what I write...
by rextended
Thu Aug 17, 2023 10:11 am
Forum: Scripting
Topic: variable reference not working in v7
Replies: 3
Views: 1934

Re: variable reference not working in v7

Just read the already existing posts, even mine. In v6 it happened by mistake, in v7 this error has been fixed. What happens in v7 is the right behavior. There are no "pointers" in RouterOS as understood in some programming languages. Is present "op", one operational pointer that...
by rextended
Wed Aug 16, 2023 6:04 pm
Forum: General
Topic: Stuck at MikroTik loading screen issue?
Replies: 1
Views: 569

Re: Stuck at MikroTik loading screen issue?

Ask that ISP?
TAG: ###RCHCK###
by rextended
Wed Aug 16, 2023 5:55 pm
Forum: General
Topic: Forum moderation volunteers
Replies: 238
Views: 37559

Re: Forum moderation volunteers

thanks for reporting spam eliminated
very thanks!!!
by rextended
Wed Aug 16, 2023 5:52 pm
Forum: Announcements
Topic: SwOS Lite version 2.17 released!
Replies: 20
Views: 102958

Re: SwOS Lite version 2.17 released!

SwOS Lite version 2.17 released
Image
by rextended
Wed Aug 16, 2023 5:51 pm
Forum: Virtualization
Topic: CHR 7.10.1 on KVM and OpenVSwitch, performance issues
Replies: 5
Views: 2885

Re: CHR 7.10.1 on KVM and OpenVSwitch, performance issues

@Theodore2, please don’t post chatgpt answers in this forum.
must be banned, it is only for this that is here.
by rextended
Wed Aug 16, 2023 5:44 pm
Forum: General
Topic: Forum moderation volunteers
Replies: 238
Views: 37559

Re: Forum moderation volunteers

As far as I can see there are some moderators who still don't understand what spam is...

viewtopic.php?p=1016624#p1016624
viewtopic.php?p=1019312#p1019312
viewtopic.php?p=1019315#p1019315
by rextended
Wed Aug 16, 2023 2:27 pm
Forum: General
Topic: A very simple redirect (to an http page) after join WiFi
Replies: 38
Views: 6500

Re: A very simple redirect (to an http page) after join WiFi

I understood that the server doesn't set the option parameters in the options set,
not that visually it didn't appear written in the lease line...
by rextended
Wed Aug 16, 2023 2:09 pm
Forum: General
Topic: A very simple redirect (to an http page) after join WiFi
Replies: 38
Views: 6500

Re: A very simple redirect (to an http page) after join WiFi

Why would the DHCP option or set not be assigned to the leases.
Set directly the option, not the set.
by rextended
Wed Aug 16, 2023 1:33 am
Forum: General
Topic: Winbox2 and Winbox3 Differences pertinent to Windows10
Replies: 14
Views: 3379

Re: Winbox2 and Winbox3 Differences pertinent to Windows10

I spend up to 3 hours a day in WinBox as a WISP
I spend more hours there than you, always as a WISP, and all the problems you have, I don't have.
I don't miss WinBox 2 at all...
by rextended
Tue Aug 15, 2023 12:07 pm
Forum: General
Topic: Winbox2 and Winbox3 Differences pertinent to Windows10
Replies: 14
Views: 3379

Re: Winbox2 and Winbox3 Differences pertinent to Windows10

You could have waited a few more years before asking...
I no longer use WinBox2 2.2.18.
3.39 is better and have all previous problem fixed.
by rextended
Mon Aug 14, 2023 12:38 pm
Forum: Beginner Basics
Topic: system,error, critical login failure after Firewall Setup
Replies: 1
Views: 944

Re: system,error, critical login failure after Firewall Setup

Simply restore the backup you have done before make the dumb change.
by rextended
Mon Aug 14, 2023 10:35 am
Forum: General
Topic: Ability to see HW offloaded traffic
Replies: 1
Views: 710

Re: Ability to see HW offloaded traffic

if it goes offload then you still have to waste time to monitor the machine...
by rextended
Fri Aug 11, 2023 11:20 pm
Forum: Scripting
Topic: Update automation for RouterOS version
Replies: 2
Views: 1808

Re: Update automation for RouterOS version

Still not quite clear that auto-updating a newly released version is bulls–t?
by rextended
Fri Aug 11, 2023 10:24 am
Forum: Announcements
Topic: v7.11rc is released!
Replies: 195
Views: 49472

Re: v7.11rc is released!

.... Even the discourse of quotations, hundreds of useless posts are produced in the search, because the search also searches in the quoted text, making a mess that disorients. Good point ... It's a ROS 7.11rc2 topic ... please do not flood it with moderation complains. Should I delete or moderate ...
by rextended
Wed Aug 09, 2023 7:24 pm
Forum: General
Topic: Downgrade To LongTerm
Replies: 24
Views: 3346

Re: Downgrade To LongTerm

4011 not work with 6.x?? you are trolling me ?? There's nothing you can do about it, give up. All new produced peripherals are v7 non-downgradable whether you like it or not. They even had the kindness to leave the same name, without implying that you would be forced to use v7 whether you like it o...
by rextended
Wed Aug 09, 2023 6:49 pm
Forum: General
Topic: Closing of the Beta forum
Replies: 6
Views: 1124

Re: Closing of the Beta forum

there aren't missing features in V7 anymore... Oh is there anything missing? It's as if you've never used RouterOS v6. A trivial example: there is no more user-manager. Now what is called "user-manager" that doesn't do at all what the real user-manager used to do. Which cost them to leave...
by rextended
Wed Aug 09, 2023 6:45 pm
Forum: Announcements
Topic: v7.11rc is released!
Replies: 195
Views: 49472

Re: v7.11rc is released!

Have you open the support ticket sending the supout.rif after and before (or better before, and after)? If you limit yourself to writing it here on the forum and that's it, without opening a separate topic where you give an explanation worthy of that name, and an export of your configuration, what y...
by rextended
Wed Aug 09, 2023 5:26 pm
Forum: Announcements
Topic: v7.11rc is released!
Replies: 195
Views: 49472

Re: v7.11rc is released!

The real rule in this forum is that there should be no rules. More moderators to moderate what? They keep allowing topics like "no internet", "help me", "question". Seriously? Most of the posts are garbage and spam, and by spam I mean opening other topics to post the sa...
by rextended
Wed Aug 09, 2023 5:18 pm
Forum: Announcements
Topic: v7.11rc is released!
Replies: 195
Views: 49472

Re: v7.11rc is released!

What I have suggest? https://forum.mikrotik.com/viewtopic.php?t=198228#p1017613 That topic is from 2019 when v7 was in beta. It is not beta anymore,. 4 years have passed. It is stable @Normis... Is time to change the section name, is ridiculous: RouterOS beta and rc versions Please report all issues...
by rextended
Wed Aug 09, 2023 1:50 pm
Forum: Useful user articles
Topic: How to: Edge router and BNG optimization for ISPs Topic is solved
Replies: 68
Views: 90765

Re: How to: Edge router and BNG optimization for ISPs Topic is solved

we should all just move to native IPv6 and get it over with.
Yes, these are wise words.
by rextended
Wed Aug 09, 2023 12:55 pm
Forum: Scripting
Topic: Send Public IP to telegram
Replies: 12
Views: 5237

Re: Send Public IP to telegram

Yes, mine is that you like to self-quote unnecessarily and, to me, this mess disgusts me and doesn't make me want to help.
by rextended
Wed Aug 09, 2023 12:51 pm
Forum: RouterBOARD hardware
Topic: Control the fan from a script in RouterOS 7.1(*) on RB493G
Replies: 4
Views: 4305

Re: Control the fan from a script in RouterOS 7.1(*) on RB493G

Yes, open your own topic, this is about 7.1 and 7.10 act differently.
by rextended
Tue Aug 08, 2023 9:01 pm
Forum: General
Topic: How to split dynamic IPv6 pool into subnets [SOLVED]
Replies: 5
Views: 1547

Re: How to split dynamic IPv6 pool into subnets [SOLVED]

Problem: my provider is delivering prefixes that are not static.
But then why are you creating all these problems for yourself?

How many times a day do you restart your router, continuously?

If you don't have static IPv6, what does it matter what IPv6 that particular VLAN will have?
by rextended
Tue Aug 08, 2023 11:52 am
Forum: Scripting
Topic: Using [find] with the API [SOLVED]
Replies: 10
Views: 2981

Re: Using [find] with the API [SOLVED]

this /interface/ethernet/monitor =numbers=[find where name="ether1"] .tag=3 is equivalent to /interface/ethernet/monitor =numbers=[/interface/ethernet/monitor/find where name="ether1"] .tag=3 and /interface/ethernet/monitor/find etc. do not exist "probably" must be /int...
by rextended
Tue Aug 08, 2023 11:38 am
Forum: Announcements
Topic: v7.11rc is released!
Replies: 195
Views: 49472

Re: v7.11rc is released!

@Normis...
Is time to change the section name, is ridiculous:

Thanks @Normis
viewtopic.php?t=198462
by rextended
Tue Aug 08, 2023 11:35 am
Forum: Announcements
Topic: v7.11rc is released!
Replies: 195
Views: 49472

Re: v7.11rc is released!

this is silly to argue over. Edit: Because I thought 'maybe I *am* crazy', I had a look on the wayback machine, and it did specifically say 'don't report v7 bugs to support, report them here' https://web.archive.org/web/20220506060456/https://forum.mikrotik.com/viewtopic.php?t=152006&sid=5f7c69...
by rextended
Mon Aug 07, 2023 11:25 pm
Forum: General
Topic: RouterOS 7.11rc Bridge possible MTU bug [SOLVED]
Replies: 3
Views: 1283

Re: Critical RouterOS 7.11rc Bridge MTU bug [SOLVED]

From: https://forum.mikrotik.com/viewtopic.php?p=1009160#p1006215 The usual clickbait headline with the usual footwritten explanation : Zero credibility , just bullshit . Is there anything true? Easy to take screenshots when it works... What's the use of taking a screenshot of when "it works&qu...
by rextended
Mon Aug 07, 2023 11:10 pm
Forum: Announcements
Topic: v7.11rc is released!
Replies: 195
Views: 49472

Re: v7.11rc is released!

That was only just added, when it was unpinned. Don't get upset because people were doing what they were told! It's not unpinned at all (now at 2023-08-07 22:11 CEST, tomorrow if is unpinned, is another thing), and if you haven't noticed it's not my fault. https://forum.mikrotik.com/viewforum.php?f=1
by rextended
Mon Aug 07, 2023 11:09 pm
Forum: Announcements
Topic: v7.11rc is released!
Replies: 195
Views: 49472

Re: v7.11rc is released!

That topic is from 2019 when v7 was in beta. It is not beta anymore,. 4 years have passed. It is stable @Normis... Is time to change the section name, is ridiculous: RouterOS beta and rc versions Please report all issues with RouterOS beta / rc pre-release versions. IS time to create a section abou...
by rextended
Mon Aug 07, 2023 11:06 pm
Forum: Announcements
Topic: v7.11rc is released!
Replies: 195
Views: 49472

Re: v7.11rc is released!

That topic is from 2019 when v7 was in beta. It is not beta anymore,. 4 years have passed. It is stable Maybe delete or unpin that post then? It's still the first one that people see. But this is also the first line on this topic. UPDATE: v7 is no longer in beta. Report bugs to support @ mikrotik ....
by rextended
Mon Aug 07, 2023 4:17 pm
Forum: General
Topic: Unstable clock on RB5009UPr+; critical,info ntp change time
Replies: 38
Views: 8090

Re: Unstable clock on RB5009UPr+; critical,info ntp change time

Yes, it is a really nasty problem. I think RouterOS should post a big warning when restoring a backup from a different device. When same hardware -> warning and pointing to some info page on how to reset MAC addresses etc When different hardware model -> plainly refuse to restore. And then offer a ...
by rextended
Mon Aug 07, 2023 3:08 pm
Forum: General
Topic: ⚠️Security Issue: Changing rights / disable / delete the users has no effect on already logged in users.
Replies: 35
Views: 5741

Re: ⚠️Security Issue: Changing rights / disable / delete the users has no effect on already logged in users.

Bravo! Thank you.
Removing the connection in connection tracking does not work. The removed user can reconnect even while the connection is gone.
...ah, actually that too, I hadn't considered it...
by rextended
Mon Aug 07, 2023 12:48 pm
Forum: Beginner Basics
Topic: WinBox Password [SOLVED]
Replies: 7
Views: 1906

Re: WinBox Password [SOLVED]

No difference ... there is no build-in rule for passwords limits
IIt is not true. The password can be up to ~65K characters long... :lol:
by rextended
Mon Aug 07, 2023 10:16 am
Forum: Scripting
Topic: How do I list items in the CLI entry?
Replies: 6
Views: 2371

Re: How do I list items in the CLI entry?

I tried: Instead of randomly trying things that don't exist, first set via winbox as you would like it to be... If you see that it won't let you put more than one, guess why... Then when you're satisfied, you make a nice export of that section to see how it's configured and then what the syntax is ...
by rextended
Mon Aug 07, 2023 10:10 am
Forum: Announcements
Topic: NEW FEATURE: Back to Home VPN
Replies: 299
Views: 244119

Re: NEW FEATURE: Back to Home VPN

Sorry, update about France. It looks like France is banning encryption apps, so this is why we could not release it there. They require special approval from the government to release app that encrypts data. https://www.ssi.gouv.fr/en/regulation/cryptology/how-to-submit-an-application Are we kiddin...
by rextended
Mon Aug 07, 2023 10:08 am
Forum: Scripting
Topic: add minutes in time variable
Replies: 6
Views: 3580

Re: add minutes in time variable

I was just about to compile a very complex script for doing time operations. This has saved me so much. Thanks alot There is the usual fallacy that nobody considers: Adding 110s to 23:59:00 becomes 1d00:00:50, and for example subtracting 110s from 00:01:00 becomes -00:00:50 so both cases have to be...
by rextended
Mon Aug 07, 2023 2:29 am
Forum: Scripting
Topic: How to clear a parameter in Mangle
Replies: 2
Views: 1767

Re: How to clear a parameter in Mangle

/ip firewall mangle set [find where comment="rule1"] !per-connection-classifier
or
/ip firewall mangle unset [find where comment="rule1"] per-connection-classifier
by rextended
Sun Aug 06, 2023 6:12 am
Forum: Scripting
Topic: whoami (current user)
Replies: 4
Views: 2927

Re: whoami (current user)

with that function then you can use:
:put [$whoami]

Can not work if user has not sufficient rights...
by rextended
Sun Aug 06, 2023 6:08 am
Forum: Announcements
Topic: v6.49.8 [long-term] is released!
Replies: 49
Views: 69580

Re: v6.49.8 [long-term] is released!

Not tested on 6.49.8 but probably applies to this version as well:
⚠️Security Issue: Changing rights / disable / delete the users has no effect on already logged in users. [Tested on 6.48.7 and 7.10.2]
viewtopic.php?t=198410
by rextended
Sun Aug 06, 2023 6:05 am
Forum: Announcements
Topic: v7.10, 7.10.1 and more [stable] are released!
Replies: 366
Views: 130788

Re: v7.10, 7.10.1 and more [stable] are released!

⚠️Security Issue: Changing rights / disable / delete the users has no effect on already logged in users. [Tested on 6.48.7 and 7.10.2]
viewtopic.php?t=198410
by rextended
Sun Aug 06, 2023 6:04 am
Forum: Announcements
Topic: v7.11rc is released!
Replies: 195
Views: 49472

Re: v7.11rc is released!

Not tested on 7.11rc2 but probably applies to this version as well:
⚠️Security Issue: Changing rights / disable / delete the users has no effect on already logged in users. [Tested on 6.48.7 and 7.10.2]
viewtopic.php?t=198410
by rextended
Sun Aug 06, 2023 6:03 am
Forum: General
Topic: ⚠️Security Issue: Changing rights / disable / delete the users has no effect on already logged in users.
Replies: 35
Views: 5741

⚠️Security Issue: Changing rights / disable / delete the users has no effect on already logged in users.

As per title: Changing rights / disable / delete the users has no effect on already logged in users. For example: If you open a terminal, or even winbox, with a user and this user's permissions are changed, or even the user is disabled or deleted , this user will still be logged into the terminal or...
by rextended
Sun Aug 06, 2023 5:25 am
Forum: Beginner Basics
Topic: Ping not going outside of my vlans [SOLVED]
Replies: 15
Views: 2205

Re: Ping not going outside of my vlans [SOLVED]

I never* write anything at random...
Live a little, with 9 lives you can take some risks! ;-)
Are the "*" :lol:
by rextended
Sun Aug 06, 2023 5:23 am
Forum: Announcements
Topic: v7.11rc is released!
Replies: 195
Views: 49472

Re: v7.11rc is released!

Because 90% of problems are due to user ignorance, and often with the help of forum users they are fixed. Then there's the 2% that users persist in reporting on the forum, instead of to support@mikrotik.com. The remaining 8% are not problems related to any of the previous aspects. My question was r...
by rextended
Sat Aug 05, 2023 7:26 pm
Forum: Beginner Basics
Topic: Ping not going outside of my vlans [SOLVED]
Replies: 15
Views: 2205

Re: Ping not going outside of my vlans [SOLVED]

Okay I just did that add masquerade and it works thanks man :D
Read also the other points carefully...
I never* write anything at random...
by rextended
Sat Aug 05, 2023 7:20 pm
Forum: Beginner Basics
Topic: Ping not going outside of my vlans [SOLVED]
Replies: 15
Views: 2205

Re: Ping not going outside of my vlans [SOLVED]

8) Where is the […] NAT […]?
by rextended
Sat Aug 05, 2023 7:08 pm
Forum: General
Topic: Change stable to long term
Replies: 3
Views: 983

Re: Change stable to long term

The solution is simple, reload the binary disk backup you made before upgrading the device. Why did you do it, didn't you? how does the problem described relate to the topic header "Change stable to long term" ?? Those who can't describe their problem accurately, so that others also unders...
by rextended
Sat Aug 05, 2023 6:29 pm
Forum: Beginner Basics
Topic: Ping not going outside of my vlans [SOLVED]
Replies: 15
Views: 2205

Re: Ping not going outside of my vlans [SOLVED]

There are some additional challenges, yes, but mostly solvable. Especially from someone posting an initial configuration like the OP's. Especially with a more than gigabit Switch, the ideal is to change all the passing packets, by reNATting them twice. (The declared speed, as router with 25 filter ...
by rextended
Sat Aug 05, 2023 6:26 pm
Forum: Beginner Basics
Topic: Ping not going outside of my vlans [SOLVED]
Replies: 15
Views: 2205

Re: Ping not going outside of my vlans [SOLVED]

7) Why specify pools on both?
8) Where is the (double) NAT (crappy)?
by rextended
Sat Aug 05, 2023 6:13 pm
Forum: Beginner Basics
Topic: Ping not going outside of my vlans [SOLVED]
Replies: 15
Views: 2205

Re: Ping not going outside of my vlans [SOLVED]

0) When specifying a model, write it in full. crs309 = CRS309-1G-8S+, crs326 = CRS326-24G-2S+ (is clear only on the export, can be also CRS326-24S+2Q+) 1) What do you need VLANs for? 2) They are two Switches, as routers they are bad. 3) If you can't change anything in the ISP's router, the only thin...
by rextended
Sat Aug 05, 2023 12:57 pm
Forum: Beginner Basics
Topic: HAP AX3 reset password
Replies: 8
Views: 2367

Re: HAP AX3 reset password

There is no password control whatsoever.

Needless to keep asking and requesting and requesting.
The only solution is netinstall and that's it if you have lost the credentials.
by rextended
Sat Aug 05, 2023 12:48 pm
Forum: Announcements
Topic: v7.11rc is released!
Replies: 195
Views: 49472

Re: v7.11rc is released!

If we are going to e-mail support, why is this topic on the forum? Because 90% of problems are due to user ignorance, and often with the help of forum users they are fixed. Then there's the 2% that users persist in reporting on the forum, instead of to support@mikrotik.com. The remaining 8% are not...
by rextended
Fri Aug 04, 2023 6:41 pm
Forum: RouterBOARD hardware
Topic: problem in RouterBoard 951Ui-2HnD
Replies: 1
Views: 2724

Re: problem in RouterBoard 951Ui-2HnD

MikroTik support provide support only on latest routerOS, 6.44.6 is years old.
Maybe it's a bug already fixed and you just waste people time.
by rextended
Fri Aug 04, 2023 3:04 pm
Forum: Scripting
Topic: False Active Sessions! [SOLVED]
Replies: 10
Views: 4204

Re: False Active Sessions! [SOLVED]

I have the problem too. But my server and user manager are on two separate routers. What changes should I make in this scrpit and how should I run it? The script work only where the user-manager is. For run automatically the script, must be used the scheduler. For be used manually, just paste it on...
by rextended
Fri Aug 04, 2023 9:48 am
Forum: Scripting
Topic: Unexplained Fetch Error
Replies: 5
Views: 2247

Re: Unexplained Fetch Error

You can use this esample for read fetch error:
viewtopic.php?f=2&t=178355&p=878643#p878643
by rextended
Thu Aug 03, 2023 7:57 pm
Forum: Scripting
Topic: $FAKEAL - script to statistically generate random IPs in address-list
Replies: 28
Views: 3409

Re: $FAKEAL - script to statistically generate random IPs in address-list

- just me I think... but like the database-style/Rust/Swift ":return [:nothing]" as as opposed to C-style ":return 0" – but doesn't matter. return 0 usually is = all ok return something not 0, often is = to problems... "return [:nothing]" call uselessly the ":noth...
by rextended
Thu Aug 03, 2023 7:51 pm
Forum: Scripting
Topic: $FAKEAL - script to statistically generate random IPs in address-list
Replies: 28
Views: 3409

Re: $FAKEAL - script to statistically generate random IPs in address-list

n.b. No V6 compatibility however. So this only works on V7, right now. I forgot that [:rndnum] is a recent innovation...
v6 can count on my random and timestamp functions ;)
by rextended
Thu Aug 03, 2023 2:07 pm
Forum: General
Topic: Trying to update an already updated ros version
Replies: 31
Views: 4095

Re: Trying to update an already updated ros version

That last sentence.
What does that mean ?
Is better with "?
>>Is on the "version check" the error.

Or this?
>>The error is in the internal process for verifying if the installed version is updated.
by rextended
Thu Aug 03, 2023 1:20 pm
Forum: General
Topic: Trying to update an already updated ros version
Replies: 31
Views: 4095

Re: Trying to update an already updated ros version

@holvoetn
Tell me what's not clear here:
The binary downloaded from MikroTik is the same (the last long-term build 1689763242). Is on the version check the error.
by rextended
Thu Aug 03, 2023 12:20 pm
Forum: General
Topic: Trying to update an already updated ros version
Replies: 31
Views: 4095

Re: Trying to update an already updated ros version

I actually select nothing Is impossible to select "nothing". Or check for long-term, or check for stable, or check for the other options, basing as it is already set up. If the "wrong" 6.49.8 is already installed (you said 1684760871 asks to upgrade) where can I get the other 6....
by rextended
Thu Aug 03, 2023 11:47 am
Forum: General
Topic: Trying to update an already updated ros version
Replies: 31
Views: 4095

Re: Trying to update an already updated ros version

From position 0x28: AA-BD-B7-64 = 1689763242 Your link is the last 6.49.8 (long-term) build 1689763242 The binary downloaded from MikroTik is the same (the last long-term build 1689763242 ). Is on the version check the error. There isn't a question that hasn't already been answered in my previous po...
by rextended
Thu Aug 03, 2023 11:37 am
Forum: Beginner Basics
Topic: Peer DNS
Replies: 1
Views: 1320

Re: Peer DNS

Yes add the DNS with the other already configured or acquired from other sources,
Exclusively ignore all other DNS and use only PPtP DNS, for avoid DNS leaking to other connections.
by rextended
Thu Aug 03, 2023 10:51 am
Forum: General
Topic: Resetting a "branded" board
Replies: 15
Views: 3865

Re: Resetting a "branded" board

The information written is wrong, and instead of deleting that post, the moderator deleted mine.
Truly brilliant, congratulations to the new moderators...
by rextended
Thu Aug 03, 2023 1:00 am
Forum: Scripting
Topic: Remove RFC1918 addresses from a list
Replies: 2
Views: 1750

Re: Remove RFC1918 addresses from a list

= is =, not "inside"
/ip firewall address-list remove [find where (address in 192.168.0.0/16) or (address in 172.16.0.0/12) or (address in 10.0.0.0/8)]
by rextended
Wed Aug 02, 2023 11:31 pm
Forum: Scripting
Topic: $FAKEAL - script to statistically generate random IPs in address-list
Replies: 28
Views: 3409

Re: $FAKEAL - script to statistically generate random IPs in address-list

[…] the linux/homebrew commands got EXACT same number (even thought it support /28 and below – apparently at "25% full", it does find any < /29 prefixes... :) Running directly a compiled application with a real kernel is more fast for sure than use a virtual compiler to do that inside Rou...
by rextended
Wed Aug 02, 2023 11:27 pm
Forum: Scripting
Topic: $FAKEAL - script to statistically generate random IPs in address-list
Replies: 28
Views: 3409

Re: $FAKEAL - script to statistically generate random IPs in address-list

FWIW...I'd started your "/29 reducer"... There is a big room for improvement, which I have already seen where to act, but in any case the program is designed to be executed every hour, and only if new IPs appear in the list (compare previous size with actual size), not continuously, and a...
by rextended
Wed Aug 02, 2023 11:21 pm
Forum: Scripting
Topic: $FAKEAL - script to statistically generate random IPs in address-list
Replies: 28
Views: 3409

Re: $FAKEAL - script to statistically generate random IPs in address-list

LOL – your the one who added that boolean complexity! I meant, that each program accepts only a preferred value, often different between programs of the same producer, instead they should accept, as my scripts do, any logical value representing true or false. Why not only "y" or "n&q...
by rextended
Wed Aug 02, 2023 11:11 pm
Forum: Beginner Basics
Topic: Firewall rules to seperate some vLANs
Replies: 16
Views: 2925

Re: Firewall rules to seperate some vLANs

Cisco related post: https://timigate.com/2017/12/native-vlan-why-you-should-not-use-vlan.html#:~:text=Since%20the%20Native%20Vlan%20is,that%20are%20sent%20between%20Vlans. As said, it's not only bad on Mikrotik. The problem is not the user on the forum, but the one who publishes these guides, which...
by rextended
Wed Aug 02, 2023 11:08 pm
Forum: Scripting
Topic: $FAKEAL - script to statistically generate random IPs in address-list
Replies: 28
Views: 3409

Re: $FAKEAL - script to statistically generate random IPs in address-list

Did see your code – I was testing it... I'll wait till you're done.
For today I have done, then don't say I don't help others :lol:
by rextended
Wed Aug 02, 2023 11:00 pm
Forum: Scripting
Topic: $FAKEAL - script to statistically generate random IPs in address-list
Replies: 28
Views: 3409

Re: $FAKEAL - script to statistically generate random IPs in address-list

And for no|false|off|disable, etc. (and yes|true|on|enable, etc. if is needed) is because I hate the mix of this possible values on varioius os and scripts. Why do not accept any that clearly be false or true? About 0, 1 and -1... Yes 0, 1 or -1... 3 possible values and not on all OS or programs are...
by rextended
Wed Aug 02, 2023 10:53 pm
Forum: Scripting
Topic: $FAKEAL - script to statistically generate random IPs in address-list
Replies: 28
Views: 3409

Re: $FAKEAL - script to statistically generate random IPs in address-list

I really liked your todefault and invalidchr "macro"!
e.g. my functions end up always being >50% of code being some stupid validation...
invalidchr? I just made it up ;)
by rextended
Wed Aug 02, 2023 10:48 pm
Forum: Scripting
Topic: find addresses with same octets
Replies: 39
Views: 4812

Re: find addresses with same octets

2200?? Who knows if using aggregation they become less, some /24 could become /23, and why not some /23 become a /22 and so on... :) I actually use https://tehnoblog.org/ip-tools/ip-address-aggregator/ for do that. But if I automatize that on RouterOS is better than export, convert and re-import... ...
by rextended
Wed Aug 02, 2023 10:38 pm
Forum: Scripting
Topic: $FAKEAL - script to statistically generate random IPs in address-list
Replies: 28
Views: 3409

Re: $FAKEAL - script to statistically generate random IPs in address-list

You have replied before I paste another version, check accurately the changes ;) do not miss those additions that are not in the previous post ... :global FAKEAL do={ :local defaultlname [:pick $0 1 255] :if ($1="help") do={ :put "Usage:" :put "$0 [spread=0..119304647] [dens...
by rextended
Wed Aug 02, 2023 10:05 pm
Forum: Scripting
Topic: $FAKEAL - script to statistically generate random IPs in address-list
Replies: 28
Views: 3409

Re: $FAKEAL - script to statistically generate random IPs in address-list

uhm... right but.... Since the help is influenced from the input, the default must be hardcoded in the text or create new unaltered from input variables. *** moved to next post *** […] # not a good idea use v7 only RouterOS functions, or RouterOS 7 ip/firewall/address-list syntax, if the script can ...
by rextended
Wed Aug 02, 2023 7:54 pm
Forum: Scripting
Topic: $FAKEAL - script to statistically generate random IPs in address-list
Replies: 28
Views: 3409

Re: $FAKEAL - script to statistically generate random IPs in address-list

I must first analyze how it works, to find, if there is, an alternative solution to the division...
by rextended
Wed Aug 02, 2023 7:46 pm
Forum: Scripting
Topic: $FAKEAL - script to statistically generate random IPs in address-list
Replies: 28
Views: 3409

Re: $FAKEAL - script to statistically generate random IPs in address-list

And " :if ($1 = "help") do={" always must be the first line.
Why do all the previous calc for nothing?

I hope the comments don't annoy you.
by rextended
Wed Aug 02, 2023 7:41 pm
Forum: Scripting
Topic: $FAKEAL - script to statistically generate random IPs in address-list
Replies: 28
Views: 3409

Re: $FAKEAL - script to statistically generate random IPs in address-list

That's cleaner. Feel free to suggest other changes. :global FAKEAL do={ :local todefault do={:if ([:typeof $1]="$2") do={:return $1} else={:return $3}} :local listname [$todefault $list "str" [:pick $0 1 255]] :local lspread [$todefault [:tonum $spread ] "num" 1 ] :loc...
by rextended
Wed Aug 02, 2023 7:22 pm
Forum: Scripting
Topic: $FAKEAL - script to statistically generate random IPs in address-list
Replies: 28
Views: 3409

Re: $FAKEAL - script to statistically generate random IPs in address-list

this is a debug post, some hint, :global FAKEAL do={ :local listname $list ; :if ([:typeof $listname] != "str") do={:set listname [:pick $0 1 255]} :local lspread [:tonum $spread ] ; :if ([:typeof $lspread ] != "num") do={:set lspread 1 } :local ldensity [:tonum $density] ; :if (...
by rextended
Wed Aug 02, 2023 7:18 pm
Forum: Scripting
Topic: find addresses with same octets
Replies: 39
Views: 4812

Re: find addresses with same octets

I already have some ideas and room for improvement in the overall speed of the aggregating function. Now I'm interested in making a version that works up to "/0" (then maybe later limited to /9 or /10 or maybe much less, for obvious reasons of uselessness). Once I've done a nice loop from ...
by rextended
Wed Aug 02, 2023 6:12 pm
Forum: Beginner Basics
Topic: Firewall rules to seperate some vLANs
Replies: 16
Views: 2925

Re: Firewall rules to seperate some vLANs

Using vlan1 (and other numbers, like 0, etc.) is to be avoided in general, not only on MikroTik products. From the question you asked, let me clarify this: This is the users forum, not an official support forum (it doesn't exist). Official support is only via mail support@mikrotik.com. Before contac...
by rextended
Wed Aug 02, 2023 5:18 pm
Forum: Beginner Basics
Topic: Firewall rules to seperate some vLANs
Replies: 16
Views: 2925

Re: Firewall rules to seperate some vLANs

OK I get it, but is that the reason why my firewall rules do not work? And what I was asking for. It's a concept problem, and not just mine , that if there's an error I'll stop there. If the serious error is already evident from the beginning, for us who have this problem , everything else is compl...
by rextended
Wed Aug 02, 2023 4:51 pm
Forum: Scripting
Topic: find addresses with same octets
Replies: 39
Views: 4812

Re: find addresses with same octets

BTW, in my fantasy list creator $fantasylist found the same issue with [find] being slow... The technique used for speed the program is avoid like the pest any "print" or "find" over the first needed for read the list.... This: :if ([:typeof ($newarray->$sub)] = "nil")...
by rextended
Wed Aug 02, 2023 4:26 pm
Forum: Beginner Basics
Topic: Firewall rules to seperate some vLANs
Replies: 16
Views: 2925

Re: Firewall rules to seperate some vLANs

There is little to explain.
It's like using 192.168.88.0/15 as your LAN network.
We say it's wrong and that's it without having to explain what Private IPs are...
by rextended
Wed Aug 02, 2023 4:14 pm
Forum: Scripting
Topic: find addresses with same octets
Replies: 39
Views: 4812

Re: find addresses with same octets

I solved the speed problem... Fake24 aggregator, now is really fast... This script, what does it really do? can you give an example to understand it? thanks. It cover only the OP request: If 5 or more IPs from same /24 try to attack, put all /24 on blacklist. Is why the /24 is Fake, because if are ...
by rextended
Wed Aug 02, 2023 4:04 pm
Forum: General
Topic: Year 2038 problem (32 bits)
Replies: 21
Views: 2811

Re: Year 2038 problem (32 bits)

Plenty of MikroTik devices are still running that we sold in 2008. Many MikroTik devices that we sold in 2008 are still in use. Sure, and I have a lot of them, even from 2007 when I opened the WISP, but that's not the point , I DON'T STILL USE THE ROUTEROS VERSION 2 or 3 PRESENT ON THAT OLD BOARDS!...
by rextended
Wed Aug 02, 2023 2:02 pm
Forum: General
Topic: Year 2038 problem (32 bits)
Replies: 21
Views: 2811

Re: Year 2038 problem (32 bits)

Is Mikrotik devices are subject to year 2038 bug ?
How can it have any relevance now?
The software that exists now in 15 years may no longer exist,
as indeed all new peripherals may only have 64-bit processors.
Or are you going to leave the same machine and software for more than 15 years???
by rextended
Wed Aug 02, 2023 12:08 pm
Forum: Scripting
Topic: find addresses with same octets
Replies: 39
Views: 4812

Re: find addresses with same octets

I solved the speed problem... Fake24 aggregator, now is really fast... # If the Start and End lists are the same, # at the end of the script the Start list will be deleted and recreated with the content of the processing. :local startList "inlist" :local endList "dahgers-list" ; ...
by rextended
Wed Aug 02, 2023 10:39 am
Forum: Scripting
Topic: find addresses with same octets
Replies: 39
Views: 4812

Re: find addresses with same octets

@Sertik […] :local count 4 […] :if ([:len [find where $address in $net]] > $count) do={ […] The condition is extremely slow... I also try this, but still slow. […] :local pat [:pick $sub 0 ([:len $sub] - 4)] :local count 0 :foreach obj in=$addrarray do={ :if ($obj~$pat) do={:set count ($count + 1)}...
by rextended
Wed Aug 02, 2023 10:24 am
Forum: Scripting
Topic: find addresses with same octets
Replies: 39
Views: 4812

Re: find addresses with same octets

@Amm0 I hope you have disabled the two debug lines in the calculation.... I'm happy with the speed, it has room for improvement, but especially if it runs later in the list, if you add more addresses, it's faster because most of them are already aggregated. Especially if you avoid adding IPs to the...
by rextended
Wed Aug 02, 2023 10:00 am
Forum: General
Topic: Trying to update an already updated ros version
Replies: 31
Views: 4095

Re: Trying to update an already updated ros version

... Cry or laugh? Best laugh...
Thanks for the info rextended.
👍
by rextended
Tue Aug 01, 2023 8:37 pm
Forum: General
Topic: Trying to update an already updated ros version
Replies: 31
Views: 4095

Re: Trying to update an already updated ros version

But do they pay you to write this bulls–t? @OKNET Actually exist two version of RouterOS 6.49.8, one 6.49.8 build 1689763242 and one 6.49.8 build 1684760871 If you have installed the build 1684760871 and you select long-term, the system offers to upgrade to 1689763242 , but visually... change nothin...
by rextended
Tue Aug 01, 2023 7:32 pm
Forum: Announcements
Topic: WinBox v3.39 released!
Replies: 96
Views: 60188

Re: WinBox v3.39 released!

What day ?
by rextended
Tue Aug 01, 2023 4:06 pm
Forum: Scripting
Topic: find addresses with same octets
Replies: 39
Views: 4812

Re: find addresses with same octets

I already posted here the script for that, years ago.
For what? The OP request
viewtopic.php?t=152953#p755080
or for address-list aggregator of existent IPs?
by rextended
Tue Aug 01, 2023 2:10 pm
Forum: Scripting
Topic: find addresses with same octets
Replies: 39
Views: 4812

Re: find addresses with same octets

Oh, friends, you've written something complicated here... say 5... Nono, what follow is the next step, I have already wrote something easy: https://forum.mikrotik.com/viewtopic.php?t=198167#p1016214 Just replace "> 1" with "> 4" on example and elaborate further.... Apparently Re...
by rextended
Mon Jul 31, 2023 10:45 pm
Forum: Scripting
Topic: find addresses with same octets
Replies: 39
Views: 4812

Re: find addresses with same octets

I have a starting point now, and I'm stopped at /29, but now is clear where I must do the cycle, for now take that: /ip firewall address-list add address=192.168.88.0 list=test_Start add address=192.168.88.1 list=test_Start add address=192.168.88.2 list=test_Start add address=192.168.88.3 list=test_...
by rextended
Mon Jul 31, 2023 9:01 pm
Forum: Scripting
Topic: find addresses with same octets
Replies: 39
Views: 4812

Re: find addresses with same octets

I suspect starting a container to run some aggregation command would likely be much fast

Uhm........
by rextended
Mon Jul 31, 2023 7:23 pm
Forum: Scripting
Topic: find addresses with same octets
Replies: 39
Views: 4812

Re: find addresses with same octets

/* now hunt for adjacent entries that can be combined */ From the comment it seems thet the author reason the same way I do... A lot of functions used on RouterOS don't exist, on purpose I wrote "an algorithm that uses only functions present on RouterOS".... Since I write something to agg...
by rextended
Mon Jul 31, 2023 6:07 pm
Forum: Scripting
Topic: find addresses with same octets
Replies: 39
Views: 4812

Re: find addresses with same octets

I need help writing an efficient algorithm to convert (for example) this: 192.168.88.0 192.168.88.1 192.168.88.2 192.168.88.3 192.168.88.4 192.168.88.5 192.168.88.6 192.168.88.7 192.168.88.8 192.168.88.9 192.168.88.10 192.168.88.11 192.168.88.12 192.168.88.13 192.168.88.14 192.168.88.15 192.168.88.1...
by rextended
Mon Jul 31, 2023 5:37 pm
Forum: SwOS
Topic: Need help to convert RouterOS to SwitchOS
Replies: 9
Views: 3971

Re: Need help to convert RouterOS to SwitchOS

OK ;)
by rextended
Mon Jul 31, 2023 5:35 pm
Forum: Beginner Basics
Topic: Connectivity Issues with Amazon Echo Alexa and Fire TV on MikroTik RouterOS
Replies: 10
Views: 2467

Re: Connectivity Issues with Amazon Echo Alexa and Fire TV on MikroTik RouterOS

Note that I have five Echo devices and one FireTV on my home network and they are working fine via RouterOS.
The same for me, 2 echo plus, 2 echo flex, 1 echo dot, 1 FireTV 4K, 1 echo input, 4 amazon smart plug, but not by LTE...
by rextended
Mon Jul 31, 2023 5:16 pm
Forum: Scripting
Topic: find addresses with same octets
Replies: 39
Views: 4812

Re: find addresses with same octets

Posix? Not needed at all the RegEx... This example display only text, do not alter nothing, and display the network only if more than one occurrance exist of x.x.x.0/24 /ip firewall address-list { :local ip2net do={:return [[:parse ":return $($1 & 255.255.255.0)/$2"]]} :local addr 0.0....
by rextended
Mon Jul 31, 2023 1:55 pm
Forum: Scripting
Topic: find addresses with same octets
Replies: 39
Views: 4812

Re: find addresses with same octets

We are always there, this magical RegEx, what is it supposed to do? Automatically select the IPs and divide them by subnet, and then merge them back into /24? As I said: concrete example, not novels. It should probably be taken one IP at a time in the list, converted to x.x.x.0/24, and looked for ho...
by rextended
Mon Jul 31, 2023 1:04 pm
Forum: Scripting
Topic: find addresses with same octets
Replies: 39
Views: 4812

Re: find addresses with same octets

The most important thing is to explain yourself well, not only in words, but with concrete examples of how it is before and how you want it afterwards. What I understand is that you want an IP aggregator so that many IP's of the same subnet are represented only once, to reduce the number of items in...
by rextended
Sat Jul 29, 2023 8:14 pm
Forum: Scripting
Topic: find addresses with same octets
Replies: 39
Views: 4812

Re: find addresses with same octets

The OP question is not really clear to me...

Ok. ;-)
@msatter is right, ask everyone, this is not my personal forum...

@Amm0 give you the soluction:
{
/ip firewall address-list
:local pool [find where (address in 1.2.3.0/24) or (address in 4.5.6.0/24) or (address in 7.8.9.0/24)]
}
by rextended
Fri Jul 28, 2023 11:58 am
Forum: Beginner Basics
Topic: IPv6 from fibre provider
Replies: 12
Views: 1786

Re: IPv6 from fibre provider

/ipv6 route
add blackhole 2a00:3:xxxx:://48
damn, i forgot about it


RouterOS 6 do not have IPv6 blackhole.

RouterOS v6 code

/ipv6 route
add distance=2 dst-address=2a00:3:xxxx::/48 type=unreachable

RouterOS v7 code

/ipv6 route
add blackhole disabled=no dst-address=2a00:3:xxxx::/48
by rextended
Fri Jul 28, 2023 11:35 am
Forum: Beginner Basics
Topic: IPv6 from fibre provider
Replies: 12
Views: 1786

Re: IPv6 from fibre provider

/ipv6 route add distance=10 dst-address=2000::/3 gateway=ether1 do not have same axpect... /ipv6 route add distance=10 dst-address=2000::/3 gateway=fe80:remo:teli:nklo:cal%interfacename open the ipv6 / neighbors and read the fe80::xxxx:xxxx:xxxx:xxx address that have the ISP interface, on the other...
by rextended
Fri Jul 28, 2023 12:18 am
Forum: Announcements
Topic: WinBox v3.39 released!
Replies: 96
Views: 60188

Re: WinBox v3.39 released!

- settable timeout for router connections, so that a 5 second interruption of the network does not always result in a disconnect +1 - better recognizable "active" state of the Safe Mode button (make it yellow or red when active, not just a different shade of grey) +1 - allow to "lower...
by rextended
Fri Jul 28, 2023 12:01 am
Forum: Beginner Basics
Topic: IPv6 from fibre provider
Replies: 12
Views: 1786

Re: IPv6 from fibre provider

@pe1chl Shouldn't the default route be of distance >0, e.g. /ipv6 route add dst-address=::/0 gateway= 2a00:3:xxxx::1 distance=1 What kind of question is it? If nothing is specified, it is obvious that it is still a value between 1 and 255, and the default is 1. I do no know what are the default ipv...
by rextended
Thu Jul 27, 2023 5:59 pm
Forum: General
Topic: Adding virtual disk to CCR2116
Replies: 9
Views: 1011

Re: Adding virtual disk to CCR2116

so , I did all your last things ,

Image
by rextended
Thu Jul 27, 2023 5:19 pm
Forum: Announcements
Topic: WinBox v3.39 released!
Replies: 96
Views: 60188

Re: WinBox v3.39 released!

what else 😜🤪
:lol:

"Gimp" ?
by rextended
Thu Jul 27, 2023 5:12 pm
Forum: Announcements
Topic: WinBox v3.39 released!
Replies: 96
Views: 60188

Re: WinBox v3.39 released!

With my hands.
by rextended
Thu Jul 27, 2023 4:42 pm
Forum: Announcements
Topic: CVE-2023-30799
Replies: 14
Views: 31098

Re: CVE-2023-30799

by rextended
Thu Jul 27, 2023 4:40 pm
Forum: Beginner Basics
Topic: Firewall rules to seperate some vLANs
Replies: 16
Views: 2925

Re: Firewall rules to seperate some vLANs

/interface vlan
add interface=bridge name=vlan1-Default vlan-id=1

/interface bridge vlan
add bridge=bridge tagged=bridge vlan-ids=1
REALLY???
by rextended
Thu Jul 27, 2023 4:31 pm
Forum: Announcements
Topic: v7.11beta [testing] is released!
Replies: 373
Views: 107322

Re: v7.11beta [testing] is released!

To all user obsessed by all CVE that involving all RouterOS versions after 6.44.5 : This is really stupid and ridiculous, like all CVE that start with something like "an authenticated administrative user can..." Once someone has full administrative credentials they can even downgrade to a...
by rextended
Thu Jul 27, 2023 3:52 pm
Forum: General
Topic: Adding virtual disk to CCR2116
Replies: 9
Views: 1011

Re: Adding virtual disk to CCR2116

What is not clear on that only unique line? /disk add type=nfs nfs-address=192.168.1.1 Oh right... you have to write the IP of your Synology instead of 192.168.1.1, or set up your network so that Synolgy can use the IP 192.168.1.1, this way you just have to copy and paste the line, without the diffi...
by rextended
Thu Jul 27, 2023 3:35 pm
Forum: Beginner Basics
Topic: IPv6 from fibre provider
Replies: 12
Views: 1786

Re: IPv6 from fibre provider

If I try to get a ipv6 with DHCPv6 Client it's just "searching" and nothing else. at most you have to ask for a IPv6 pool, not just one IPv6... /ipv6 dhcp-client add interface=pppoe-out1 pool-name=pool rapid-commit=no request=prefix Withiut have network description and one /export of your...
  • 1
  • 2
  • 3
  • 4
  • 5
  • 42