Community discussions

MikroTik App

Search found 13210 matches

  • 1
  • 2
  • 3
  • 4
  • 5
  • 45
by rextended
Mon Jan 20, 2025 3:04 pm
Forum: Forwarding Protocols
Topic: AMT - Automatic Multicast Tunneling support
Replies: 11
Views: 3120

Re: AMT - Automatic Multicast Tunneling support

I won't comment these stupid conclusions. Calm down and don't scream so loud. The conclusion is not stupid, someone passing by, without be one forum admin or post official sources, announces something, it's just bullshit. Not to mention that maybe, as already happened, they remove some features fro...
by rextended
Sun Jan 19, 2025 3:42 pm
Forum: General
Topic: Logging prefix is a mess SUP-105353 SUP-144261. Waiting for MT to support RFC 5424
Replies: 44
Views: 13270

Re: Logging prefix is a mess SUP-105353 SUP-144261. Waiting for MT to support RFC 5424

Why do not Miktotik update my SUP with this information is an outer question.
Probably the SUPs from more than a day ago have already been forgotten...
by rextended
Fri Jan 17, 2025 1:15 pm
Forum: General
Topic: Logging prefix is a mess SUP-105353 SUP-144261. Waiting for MT to support RFC 5424
Replies: 44
Views: 13270

Re: Logging prefix is a mess SUP-105353 SUP-144261. Waiting for MT to support RFC 5424

Yes, some other news (search on help "31 address" or "1000 characters") https://forum.mikrotik.com/viewtopic.php?t=189798#p1119638 @Jotne is happy now for Splunk :lol: :lol: :lol: https://www.splunk.com/en_us/blog/learn/common-event-format-cef.html CEF:0|MikroTik|CHR|1.0|100|Logi...
by rextended
Fri Jan 17, 2025 1:10 pm
Forum: General
Topic: Logging prefix is a mess SUP-105353 SUP-144261. Waiting for MT to support RFC 5424
Replies: 44
Views: 13270

Re: Logging prefix is a mess SUP-105353 SUP-144261. Waiting for MT to support RFC 5424

Only on the official (help) documentation, not on idiotic rumors (I'm referring to another topic).

https://help.mikrotik.com/docs/

Just search "CEF"

Often page # change so direct link is broken, but until still valid:
https://help.mikrotik.com/docs/spaces/R ... og-Summary
by rextended
Fri Jan 17, 2025 11:44 am
Forum: General
Topic: Logging prefix is a mess SUP-105353 SUP-144261. Waiting for MT to support RFC 5424
Replies: 44
Views: 13270

Re: Logging prefix is a mess SUP-105353 SUP-144261. Waiting for MT to support RFC 5424

After 8 years...
From MikroTik RouterOS 7.18 support for CEF (Commont Event Format) logging format is added, as well as timestamp support for milliseconds.
by rextended
Fri Jan 17, 2025 11:38 am
Forum: Forwarding Protocols
Topic: AMT - Automatic Multicast Tunneling support
Replies: 11
Views: 3120

Re: AMT - Automatic Multicast Tunneling support

Strange, in 7.18alpha4 there is not present...

The only things added not for joke are:
Support for CEF (Commont Event Format) logging format and timestamp support for milliseconds.

/31 address support

OpenVPN Password cap increased to 1000 characters
by rextended
Wed Jan 15, 2025 12:51 pm
Forum: Forwarding Protocols
Topic: BGP routes received despite NRLI filter
Replies: 6
Views: 307

Re: BGP routes received despite NRLI filter

on address list 0.0.0.0/0 = everything... so...
if you want match EXACTLY 0.0.0.0/0 (accept only default route, if is transmitted....), use filter
if (dst == 0.0.0.0/0) { accept }
by rextended
Wed Jan 15, 2025 12:37 pm
Forum: Beginner Basics
Topic: Can't see my mikrotik on winbox
Replies: 1
Views: 140

Re: Can't see my mikrotik on winbox

Which model? Which version of RouterOS? Which version of Winbox? Which computer operating system?
What game is this? Should we pull everything randomly?

Take your hands away from your eyes so you can see it.
You have not changed the computer used.
by rextended
Wed Jan 15, 2025 11:24 am
Forum: Scripting
Topic: [SOLVED] Using Dynamic Variable Names
Replies: 40
Views: 36397

Re: [SOLVED] Using Dynamic Variable Names

You edit your post, but is still full of frills and errors . If you try to correct someone who corrects you, at least make sure you correct well... If 2 is a number there is no need for "" , if instead it is a string, then consistently the 1 must also be quoted... And about \"check$nw...
by rextended
Mon Jan 13, 2025 2:04 pm
Forum: Scripting
Topic: [SOLVED] Using Dynamic Variable Names
Replies: 40
Views: 36397

Re: [SOLVED] Using Dynamic Variable Names

Just necroposting. Nothing usable and full of frills and errors. For example: :if (check$nwsarr must be :if (\$check$nwsarr /system clock :local datetime "$[get date] $[get time]" :local nwshost ("Tes1","Tes2","Tes3","Tes4","Tes5","Tes...
by rextended
Mon Jan 13, 2025 1:49 pm
Forum: Scripting
Topic: Help for block user use netshare
Replies: 22
Views: 5701

Re: Help for block user use netshare

bst ch grd qll gi scrtt.
by rextended
Sat Jan 11, 2025 7:21 pm
Forum: Scripting
Topic: Command execution not working via script [SOLVED]
Replies: 4
Views: 635

Re: Command execution not working via script [SOLVED]

non interactive is /system ssh-exec
by rextended
Sat Jan 11, 2025 9:21 am
Forum: Scripting
Topic: Date conversion script problem under ROS 7.xx
Replies: 2
Views: 376

Re: Date conversion script problem under ROS 7.xx

Lazyness... /system identity :local systemName [get name] /system clock :local curDate [get date] :local curTime [get time] :local curYear [:pick $curDate 0 4] :local curMonth [:pick $curDate 5 7] :local curDay [:pick $curDate 8 10] :local curHour [:pick $curTime 0 2] :local curMin [:pick $curTime 3...
by rextended
Sat Jan 11, 2025 9:13 am
Forum: Scripting
Topic: Command execution not working via script [SOLVED]
Replies: 4
Views: 635

Re: Command execution not working via script [SOLVED]

It's on one line? Can not be on two parts in scripts like that.
by rextended
Fri Jan 10, 2025 3:37 pm
Forum: Beginner Basics
Topic: Struggling to receive IPv6 prefix delegation from ISP
Replies: 56
Views: 3192

Re: Struggling to receive IPv6 prefix delegation from ISP

If the network team cannot see the ONT …. ESCALATE TO some one who can … do not give up … this is not rocket science … someone from the NOC should be able to help you to resolve this ….
+100
by rextended
Fri Jan 10, 2025 3:25 pm
Forum: Beginner Basics
Topic: Struggling to receive IPv6 prefix delegation from ISP
Replies: 56
Views: 3192

Re: Struggling to receive IPv6 prefix delegation from ISP

added on previous post, if you not notice it: "cryptic box" probably is just configured to do bridging, and the Juniper router of your ISP provide public IPv4 on DHCP and single IPv6... a05:e2 -> 0 a:05:e2 -> 0 8 :05:E2 Juniper https://hwaddress.com/oui-iab/08-05-E2/ f61e:57 -> f6:1e:57 ->...
by rextended
Fri Jan 10, 2025 3:02 pm
Forum: Beginner Basics
Topic: Struggling to receive IPv6 prefix delegation from ISP
Replies: 56
Views: 3192

Re: Struggling to receive IPv6 prefix delegation from ISP

Ok, if you can only receive (correctly) one /128 and you can ping correctly 2606:4700:4700::1111 from your router, is meaning that the "cryptic box" probably is just configured to do bridging, and the Juniper router of your ISP provide public IPv4 on DHCP and single IPv6... So you must ask...
by rextended
Fri Jan 10, 2025 2:58 pm
Forum: Announcements
Topic: 📣 WinBox 4 is here 📣
Replies: 1747
Views: 501148

Re: 📣 WinBox 4 is here 📣

I love Excel ( 😛 )
by rextended
Fri Jan 10, 2025 2:50 pm
Forum: Beginner Basics
Topic: Struggling to receive IPv6 prefix delegation from ISP
Replies: 56
Views: 3192

Re: Struggling to receive IPv6 prefix delegation from ISP

Now is clear that you do not use pppoe or vlan, but just DHCPv4 client. Restart is not needed. try this: /ipv6 address remove [find where dynamic=no] /ipv6 dhcp-client remove [find] add add-default-route=yes disabled=no interface=ether1 rapid-commit=no request=address use-peer-dns=yes If you obtain ...
by rextended
Fri Jan 10, 2025 2:33 pm
Forum: Beginner Basics
Topic: Struggling to receive IPv6 prefix delegation from ISP
Replies: 56
Views: 3192

Re: Struggling to receive IPv6 prefix delegation from ISP

while waiting for /interface print test this: /ipv6 settings set accept-redirects=yes-if-forwarding-disabled accept-router-advertisements=yes-if-forwarding-disabled forward=yes max-neighbor-entries=32768 set multipath-hash-policy=l3 ; # this line do error if not used on v7.16.2 and up /ipv6 dhcp-cli...
by rextended
Fri Jan 10, 2025 2:30 pm
Forum: Beginner Basics
Topic: Struggling to receive IPv6 prefix delegation from ISP
Replies: 56
Views: 3192

Re: Struggling to receive IPv6 prefix delegation from ISP

I do not see any pppoe interface in routes...

also /int pri please?
by rextended
Fri Jan 10, 2025 2:25 pm
Forum: Beginner Basics
Topic: Struggling to receive IPv6 prefix delegation from ISP
Replies: 56
Views: 3192

Re: Struggling to receive IPv6 prefix delegation from ISP

you use pppoe???? problably is pppoe that provide you the IP connectivity, not the dhcp on ether1... I can fail on this because I do not understand correctly how you have setup yout router... The first user that reply you on this topic must ask first how is configured and attached your router... put...
by rextended
Fri Jan 10, 2025 2:05 pm
Forum: Beginner Basics
Topic: Struggling to receive IPv6 prefix delegation from ISP
Replies: 56
Views: 3192

Re: Struggling to receive IPv6 prefix delegation from ISP

you use pppoe or vlan?
the dhcpv4 is directly over ether1?
what is your LAN interface?
by rextended
Fri Jan 10, 2025 1:06 pm
Forum: Forwarding Protocols
Topic: How to connect WAN directly to some port, bypassing NAT
Replies: 11
Views: 1605

Re: How to connect WAN directly to some port, bypassing NAT

Put a switch on the WAN and attach the gateway WANs to it... What use would the second gateway have if it doesn't have to do anything? Forum users, often, do not do illogical things. Explain correctly what you want to achieve in the end, not the intermediate steps that seem absurd, even if they seem...
by rextended
Thu Jan 09, 2025 11:41 am
Forum: Scripting
Topic: :execute output to console? Or any other method?
Replies: 13
Views: 1103

Re: :execute output to console? Or any other method?

I literally asked you to prove me wrong and i'll happily listen and accept it. I've already written the reason twice, it's you who comes out with this defiant air. What do you expect me to write same thing "prove me wrong" and start a game of morons? The other people on the forum will jud...
by rextended
Thu Jan 09, 2025 11:31 am
Forum: Scripting
Topic: :execute output to console? Or any other method?
Replies: 13
Views: 1103

Re: :execute output to console? Or any other method?

With you what I write are empty words. I have already made it clear that it is not a competition of style, or of right and wrong, but of not leaving wrong examples on the forum. Of course it works if a package is installed, it is also easy to generate a problem, mixing packages of different versions...
by rextended
Thu Jan 09, 2025 11:21 am
Forum: Scripting
Topic: :execute output to console? Or any other method?
Replies: 13
Views: 1103

Re: :execute output to console? Or any other method?

This is not the specific case, which may or may not work, and it's not even a question of code beauty or not (but why did you change it from the first post?) but you absolutely must not use hardcoded numbers or .id to obtain values. There are dozens and dozens of posts where users, copyng these erro...
by rextended
Thu Jan 09, 2025 10:29 am
Forum: Scripting
Topic: :execute output to console? Or any other method?
Replies: 13
Views: 1103

Re: :execute output to console? Or any other method?

So here is the version agnostic command for anyone else who is interested [...] /system package get 0 version [...] No this is not agnostic, this is wrong . 2022-02-26 https://forum.mikrotik.com/viewtopic.php?p=915725#p915725 /system resource :if ([get version]~"^7") do={ [:parse "/e...
by rextended
Thu Jan 09, 2025 10:12 am
Forum: Scripting
Topic: Script to connect to Apartment wifi AP
Replies: 5
Views: 737

Re: Script to connect to Apartment wifi AP

I'm new to MikroTik and scripting and wanted to get a basis to start off of.
So if you need to learn Italian, start by looking at examples of Swahili?


That obviously didn't work.
So, obviously is lost time. This forum is full of correct examples.
by rextended
Wed Jan 08, 2025 6:21 pm
Forum: Scripting
Topic: verify update RouterOS, with memory
Replies: 11
Views: 1347

Re: verify update RouterOS, with memory

No need to run the script more often than once a week or even month. Or better... If the scheduler name is checkVersion , simply disable it once send the email... { /system package update :local test [check-for-updates as-value] :local installed ($test->"installed-version") :local latest ...
by rextended
Wed Jan 08, 2025 6:16 pm
Forum: General
Topic: what happens when CHR 60 days trial is expired!
Replies: 7
Views: 4930

Re: what happens when CHR 60 days trial is expired!

Simple reply to OP post: Unable to upgrade/update, and nothing else.
by rextended
Wed Jan 08, 2025 6:03 pm
Forum: Announcements
Topic: 📣 WinBox 4 is here 📣
Replies: 1747
Views: 501148

Re: 📣 WinBox 4 is here 📣

@normis and others working on Winbox 4 should prioritize SUP-175441
And for what reason?
by rextended
Wed Jan 08, 2025 5:23 pm
Forum: Scripting
Topic: :execute output to console? Or any other method?
Replies: 13
Views: 1103

Re: :execute output to console? Or any other method?

Detecting which command based on version is doable. I've already posted on these forums on how to detect and run version specific commands without failure, Already done that before, but I can also make this for check what commands are supported and what parameters https://forum.mikrotik.com/viewtop...
by rextended
Wed Jan 08, 2025 5:05 pm
Forum: Scripting
Topic: verify update RouterOS, with memory
Replies: 11
Views: 1347

Re: verify update RouterOS, with memory

{ :global vCheck /system package update :local test [check-for-updates as-value] :local installed ($test->"installed-version") :local latest ($test->"latest-version") :if (($installed!=$latest) and ($vCheck!=$latest)) do={ :log warning "Is installed RouterOS $installed but ...
by rextended
Wed Jan 08, 2025 10:16 am
Forum: Scripting
Topic: Script to connect to Apartment wifi AP
Replies: 5
Views: 737

Re: Script to connect to Apartment wifi AP

You guys need to stop messing around with ChatGPT and the like. It makes you all dumber. For example, if you were to use even a little bit of the intellect that all normal people have, how can the rest of the code be executed after the reset command reboots the device? Also, if the config is really ...
by rextended
Tue Jan 07, 2025 2:11 pm
Forum: Wireless Networking
Topic: mANTBox ax 15s
Replies: 2
Views: 585

Re: mANTBox ax 15s

SXTsq 5 ac on nv2 or nstreme? ax do not support at all nv2 or nstreme
by rextended
Tue Jan 07, 2025 10:23 am
Forum: Scripting
Topic: verify update RouterOS, with memory
Replies: 11
Views: 1347

Re: verify update RouterOS, with memory

The best idea is to test RouterOS separately, and when in the lab it seems to work correctly at least for 3 months, apply it to a small part in production, for testing, and if it goes well plan the update everywhere. So it doesn't matter to be notified when there is a new version of RouterOS, just l...
by rextended
Sat Jan 04, 2025 11:44 am
Forum: Forwarding Protocols
Topic: AMT - Automatic Multicast Tunneling support
Replies: 11
Views: 3120

Re: AMT - Automatic Multicast Tunneling support

or do you just write because you don't know what to write? I think it's about you. Already second post in this topic without any sense... Just wait until 7.18. The problem is you. Why necroposting on a topic from 2022 without the official source where it is written that probably they add the functi...
by rextended
Sat Jan 04, 2025 9:55 am
Forum: Forwarding Protocols
Topic: AMT - Automatic Multicast Tunneling support
Replies: 11
Views: 3120

Re: AMT - Automatic Multicast Tunneling support

Probably it will be added soon (7.18)
More or less reliable sources, or do you just write because you don't know what to write?
by rextended
Sat Jan 04, 2025 1:02 am
Forum: Scripting
Topic: Capsman scheduler
Replies: 24
Views: 9309

Re: Capsman scheduler

It's a necroposting from 2018.
v7 do not exist on 2018...

Ignoring the logging, is all useless, just simply
/caps-man interface disable [find where name~"^AP-1stFloor-.*"]
by rextended
Sat Jan 04, 2025 12:23 am
Forum: Scripting
Topic: Persistent Environment Variables [SOLVED]
Replies: 54
Views: 42682

Re: Persistent Environment Variables [SOLVED]

I also thought about using json, but... Put in a table: on the right the variable types that RouterOS supports (array,bool,id,ip,ip6,num,str,time,ip-prefix,ip6-prefix,nil,nothing), (ignoring unexportable types code, function, lookup, op, apireq, exclamation, cmd, iterator, backreference) on the left...
by rextended
Thu Jan 02, 2025 6:46 pm
Forum: Scripting
Topic: Unable to Disable Static Routes from Script or CLI
Replies: 6
Views: 1170

Re: Unable to Disable Static Routes from Script or CLI

I don't think this is a problem that forum users can address.

Contact directly MikroTik support@mikrotik.com providing Supout.rif and detailed description.
And please update this topic with results/given answers.

Do NOT post Supout.rif to any forum members.

Thanks.
by rextended
Thu Jan 02, 2025 1:27 pm
Forum: Scripting
Topic: script problem
Replies: 4
Views: 1512

Re: script problem

What could be causing this problem? The answer is simple: You. You haven't read the basic scripting guides. They aren't complete, but it's clearly stated not to use numbers in scripts. Numbers are for "on the fly" use in the terminal, nothing fixed. There is only one DHCP client configure...
by rextended
Mon Dec 30, 2024 2:30 pm
Forum: Scripting
Topic: Script to find IPv6 address dynamically assigned to known MAC address on LAN?
Replies: 5
Views: 991

Re: Script to find IPv6 address dynamically assigned to known MAC address on LAN?

Nextgentel use 2a04:980::/29 that go from 2a04:980::/29 to 2a04:987:..../29 so is coherent. If you log the array, winbox or webfig can't show correct hex values. Try to use this for log: :log info "na-prefix $[:convert $"na-prefix" from=raw to=hex]" WARNING: Do not publish result...
by rextended
Mon Dec 30, 2024 10:13 am
Forum: Scripting
Topic: Script to find IPv6 address dynamically assigned to known MAC address on LAN?
Replies: 5
Views: 991

Re: Script to find IPv6 address dynamically assigned to known MAC address on LAN?

[..] DHCPv6 script section the global variable is not created nor set [..] If you read changelogs, help and forum, you learn that actually, on actual stable version, netwatch dhcp, ppp, etc. sciripts are runned on different user that can't interac with global variables, and other restricted permiss...
by rextended
Fri Dec 27, 2024 12:46 pm
Forum: Scripting
Topic: Address List Sending Email
Replies: 1
Views: 877

Re: Address List Sending Email

All this: # Initialize the content with a header :if ([/file find where name=$filename] != "") do={ /file remove $filename :log info "Removed existing file $filename." } simply: /file remove [find where name=$filename] Why uselessly do same test again and again? # Log file creati...
by rextended
Thu Dec 26, 2024 1:21 pm
Forum: Beginner Basics
Topic: Help needed - How to mitigate DDOS atacks with dns
Replies: 21
Views: 2543

Re: Help needed - How to mitigate DDOS atacks with dns

For remember what I wrote on post #5:
(And if you had an ISP that knows how to do its job, there wasn't one)...
by rextended
Thu Dec 26, 2024 2:43 am
Forum: Scripting
Topic: Script copy route table to another one route table
Replies: 1
Views: 722

Re: Script copy route table to another one route table

And in case is already present on destination route table, but have another gateway? Wrong for various reasons. Also superfluos ; , unconsistent variables name, etc. Duplicated :: at start probably for copy-paste. Also on the description missing that not only copy, but also change gateway. { :local ...
by rextended
Thu Dec 26, 2024 2:24 am
Forum: Scripting
Topic: Script for make Address List from route table
Replies: 1
Views: 717

Re: Script for make Address List from route table

Wrong for various reasons. Also superfluos ; , unconsistent variables name, etc. For example, one above all, if on the foreach checkIP is set to 2, then it will never return to 0. { :local routingTable "6G" :local addressList "BGP_YOUTUBE" :local dstAddress 0.0.0.0 /ip route :for...
by rextended
Mon Dec 23, 2024 3:59 pm
Forum: Scripting
Topic: Scripting error
Replies: 3
Views: 934

Re: Scripting error

The title is wrong, the correct title is "fix for me SchaitGPT script"

Why don't you ask ChatGPT for help?

First you get a dog and take it out to s—t on the street, then you ask pedestrians who pass by to clean it up?
by rextended
Mon Dec 23, 2024 3:29 pm
Forum: Beginner Basics
Topic: Help needed - How to mitigate DDOS atacks with dns
Replies: 21
Views: 2543

Re: Help needed - How to mitigate DDOS atacks with dns

This is not the case, but sometimes it is a really bad idea to log in case of DDoS, it takes up a lot of CPU.

This is not the case, but sometimes it is also a really bad idea to create an address list in case of DDoS,
it takes up a lot of CPU and in a short time it runs out of RAM...
by rextended
Sun Dec 22, 2024 11:39 pm
Forum: Beginner Basics
Topic: Help needed - How to mitigate DDOS atacks with dns
Replies: 21
Views: 2543

Re: Help needed - How to mitigate DDOS atacks with dns

Surely this is something the ISP should be fixing rather than you at the edge of their network?

(And if you had an ISP that knows how to do its job, there wasn't one)...
by rextended
Sun Dec 22, 2024 11:35 pm
Forum: Scripting
Topic: Script to auto create address-list from plain ip-ranges URLs
Replies: 10
Views: 1366

Re: Script to auto create address-list from plain ip-ranges URLs

Thanks for the confirmation you missed the point. My bad for not including a :wink: at the end.
Oops, sorry, I actually meant it as a serious question...
Now I understand...
by rextended
Sat Dec 21, 2024 12:33 pm
Forum: Scripting
Topic: Script to auto create address-list from plain ip-ranges URLs
Replies: 10
Views: 1366

Re: Script to auto create address-list from plain ip-ranges URLs

You are missing the point, in order for this to be of any use you must trust the source. No, sorry, but you missed the point: Anyone can make mistakes (and, also, the list provider can change the format without warning). Regarding 0.0.0.0/0, or 8.0.0.0/8 being wrong on an address list, did I miss t...
by rextended
Fri Dec 20, 2024 7:14 pm
Forum: Scripting
Topic: Script to auto create address-list from plain ip-ranges URLs
Replies: 10
Views: 1366

Re: Script to auto create address-list from plain ip-ranges URLs

:if ($ip ~ "^[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}") do={ :do { # Try to add the IP to the address list add list=$listName address=$ip comment=$description timeout=0 dynamic=no } on-error={ # Update the existing entry if it already exists set [find list=$listName address=$ip] ...
by rextended
Fri Dec 20, 2024 7:07 pm
Forum: Beginner Basics
Topic: Help needed - How to mitigate DDOS atacks with dns
Replies: 21
Views: 2543

Re: Help needed - How to mitigate DDOS atacks with dns

It always means the complete configuration (purged from sensitive data censoring it, not cleaning the lines....), not just a little piece where YOU think is the problem.
by rextended
Fri Dec 20, 2024 6:59 pm
Forum: General
Topic: Problems with empty pppoe MTU
Replies: 2
Views: 846

Re: Problems with empty pppoe MTU

Last stable version is 7.16.2
Try that version if already fix the problem.
by rextended
Fri Dec 20, 2024 6:50 pm
Forum: Announcements
Topic: Newsletter #122 | December 2024
Replies: 80
Views: 38737

Re: Newsletter #122 | December 2024

Bravi!
by rextended
Fri Dec 20, 2024 6:33 pm
Forum: Beginner Basics
Topic: Help needed - How to mitigate DDOS atacks with dns
Replies: 21
Views: 2543

Re: Help needed - How to mitigate DDOS atacks with dns

This is like worrying needlessly about a trifle. As for this request, the firewall is configured correctly , and the number of packets, if I interpreted correctly what you wrote (1000000 in 2/3 days), is perfectly normal these days , for the moron ISPs . If you really had a DDoS they were 1000000 p...
by rextended
Wed Dec 18, 2024 9:03 pm
Forum: Scripting
Topic: Using :return from :onerror in= command block
Replies: 13
Views: 1335

Re: Using :return from :onerror in= command block

https://forum.mikrotik.com/viewtopic.php?p=1047480#p1046897 There are situations where currently "on-error-resume-next" must be used because it is poorly managed by RouterOS , such as ":resolve", for everything else, error-proof scripts must be written, preventing any errors that...
by rextended
Wed Dec 18, 2024 10:53 am
Forum: Scripting
Topic: Using :return from :onerror in= command block
Replies: 13
Views: 1335

Re: Using :return from :onerror in= command block

this makes updating old scripts much complicated.

But old method still works, so, why update uselessly?
by rextended
Wed Dec 18, 2024 10:46 am
Forum: Scripting
Topic: GET DHCP Leases, JSON parse problem
Replies: 2
Views: 1000

Re: GET DHCP Leases, JSON parse problem

using the JSON Parse :parse command
:parse command cannot properly process the incoming data
I don't know where you read this, but change your dealer...
:parse have nothing to do with JSON, and :parse accept on input only (valid) RouterOS script.
by rextended
Mon Dec 16, 2024 9:25 pm
Forum: Scripting
Topic: exit or break a loop statement
Replies: 15
Views: 20926

Re: exit or break a loop statement

by rextended
Mon Dec 16, 2024 8:42 pm
Forum: Scripting
Topic: exit or break a loop statement
Replies: 15
Views: 20926

Re: exit or break a loop statement

The topic was created 15 years ago and still no "break" functionality for loops

Are you sure?
by rextended
Mon Dec 16, 2024 8:40 pm
Forum: Scripting
Topic: executing script from net failed
Replies: 35
Views: 2955

Re: executing script from net failed

:lol: never mind, but I already understood the type... 8)
by rextended
Mon Dec 16, 2024 8:28 pm
Forum: Scripting
Topic: V6.44.5
Replies: 2
Views: 669

Re: V6.44.5

TWO BAD ADVICES (intended or not): 1) Go straight to 7.15.x without passing to 6.49.x, 7.12.x etc. 2) For solve one problem, can broke everything if use 6.x scripting and go to 7.x.... Hint: Go at least to last long-term 6.49.13 and use correct version-less syntax.... :if ([:len [/ip route find wher...
by rextended
Mon Dec 16, 2024 8:21 pm
Forum: Scripting
Topic: executing script from net failed
Replies: 35
Views: 2955

Re: executing script from net failed

23 other posts (+1) for NOTHING . Post #3 is still valid, all the other posts are just garbage. If the user doesn't cooperate, there's no point in wasting time, leave it alone with support. You didn't provide even one detail, search the internet to see if there is any "fortune teller" ava...
by rextended
Sat Dec 14, 2024 11:58 pm
Forum: Scripting
Topic: IPV6 ROUTE REMOVE DYNAMC ROUTES
Replies: 1
Views: 612

Re: IPV6 ROUTE REMOVE DYNAMC ROUTES

Simply remove the cause that add the dynamic rule, and you do not need any script...
by rextended
Sat Dec 14, 2024 11:55 pm
Forum: Scripting
Topic: executing script from net failed
Replies: 35
Views: 2955

Re: executing script from net failed

You didn't provide even one detail, search the internet to see if there is any "fortune teller" available.

no details = no reply

Ask support@mikrotik.com if you do not want share your config and scripts.
by rextended
Thu Dec 12, 2024 10:14 am
Forum: Scripting
Topic: Has the variable size become larger ?
Replies: 1
Views: 543

Re: Has the variable size become larger ?

What is the purpose of this useless thread/topic/post? Read from remote file on the past RouterOS versions are limited to 64512 bytes at time (my idea from 2021) https://forum.mikrotik.com/viewtopic.php?f=9&t=177530 Variable sizes have always been "infinite" as long as there is free me...
by rextended
Wed Dec 11, 2024 1:27 pm
Forum: General
Topic: IP Cloud (Dynamic DNS) down?
Replies: 101
Views: 15773

Re: mynetname is down ?

@Jotne

From @normis:
We have identified the issue and a fix is coming shortly.
by rextended
Wed Dec 11, 2024 11:19 am
Forum: General
Topic: IP Cloud (Dynamic DNS) down?
Replies: 101
Views: 15773

Re: mynetname is down ?

No need for +1 comments. You already have the attention by Mikrotik.
We have identified the issue and a fix is coming shortly.

I'm sorry, but people are lazy & lazy, they don't read what is written before.
by rextended
Wed Dec 11, 2024 10:26 am
Forum: General
Topic: IP Cloud (Dynamic DNS) down?
Replies: 101
Views: 15773

Re: mynetname is down ?

None of you can complain about anything, since the service is not paid,
it is not included in the RuterOS license,
it is just a free courtesy that MikroTik does.

Relying on it for work is crazy.
by rextended
Tue Dec 10, 2024 3:13 pm
Forum: Announcements
Topic: v7.16.2 [stable] is released!
Replies: 506
Views: 224428

Re: v7.16.2 [stable] is released!

It looks like it was written by ChatGPT rather than a person, and it probably is.
by rextended
Mon Dec 09, 2024 11:12 pm
Forum: Beginner Basics
Topic: Can't create script [SOLVED]
Replies: 4
Views: 1167

Re: Can't create script [SOLVED]

they?

what video?
by rextended
Mon Dec 09, 2024 10:55 pm
Forum: Scripting
Topic: concatenate variable names
Replies: 11
Views: 1216

Re: concatenate variable names

For do the same with a variable called 123456 (ignoring the : that is a typo for sure...) { :local variables {"hello"="123"} :put "current content of hello variable is >$($variables->"hello")<" :local newvarname (($variables->"hello") . "456&quo...
by rextended
Mon Dec 09, 2024 12:21 pm
Forum: Beginner Basics
Topic: Can't create script [SOLVED]
Replies: 4
Views: 1167

Re: Can't create script [SOLVED]

You press <TAB> after edit 0.
So?

What mean edit 0? what is 0?


edit test source
by rextended
Mon Dec 09, 2024 12:02 pm
Forum: Scripting
Topic: concatenate variable names
Replies: 11
Views: 1216

Re: concatenate variable names

Just use a 2nd variable. But this is not what OP ask: concatenate variable names Your example is not concatenate variable names , but concatenate values ... Is better define the problem: Define a variable whose name is the concatenation of the content of another two variables parts . And the soluti...
by rextended
Mon Dec 09, 2024 11:47 am
Forum: Scripting
Topic: PPPoE Failover Script Enhancement - Adding Internet Connectivity Verification
Replies: 4
Views: 950

Re: PPPoE Failover Script Enhancement - Adding Internet Connectivity Verification

Hypothesis 1: The pppoe-client does not work, fine, what do you have in reserve? It is all automatic, if configured, if the reserve is a DHCP-client, static route, or another pppoe-client. Hypothesis 2: The pppoe-client works, but the ISP does not work, what do you have in reserve? as above, with ne...
by rextended
Mon Dec 09, 2024 11:38 am
Forum: Scripting
Topic: system backup save output is causing snmpget triggered script not to run
Replies: 1
Views: 725

Re: system backup save output is causing snmpget triggered script not to run

Useless words, without the script to check.

If the mechanic has to check the engine of your car,
do you describe to him what color the car is over the phone,
without taking the car to it to him to check it?
Does he fix it over the phone?
by rextended
Mon Dec 09, 2024 11:34 am
Forum: Scripting
Topic: PPPoE Failover Script Enhancement - Adding Internet Connectivity Verification
Replies: 4
Views: 950

Re: PPPoE Failover Script Enhancement - Adding Internet Connectivity Verification

It's a failure from the start using detect-internet, so I don't even finish reading it, I don't waste time on it.
It's clear from the start that even using detect-internet successfully for this purpose, it ruins the functioning of other parts.
Sources: the forum.
by rextended
Mon Dec 09, 2024 11:24 am
Forum: Scripting
Topic: concatenate variable names
Replies: 11
Views: 1216

Re: concatenate variable names

Completely useless or poorly engineered problem.


There are already dozens of posts, many of which I wrote, that explain the exact same thing, use the search function.
by rextended
Wed Dec 04, 2024 10:31 am
Forum: General
Topic: Random reboots on RB4011 since 7.13/7.14
Replies: 22
Views: 3945

Re: Random reboots on RB4011 since 7.13/7.14

Maybe try adding a second power supply by connecting it through a POE injector? That doesn't make sense to me. "The hAP ax³ can be powered via DC plug or passive PoE." Do not hijack other topic, this is about RB4011. I have dozen of ax devices, none do that problem, do not lost time, neti...
by rextended
Mon Dec 02, 2024 5:56 pm
Forum: General
Topic: am i using SOHO Firewall or not?
Replies: 38
Views: 4023

Re: am i using SOHO Firewall or not?

From post #7
If the RB951Ui-2HnD does indeed have a public IP, I highly recommend updating it to 6.49.17 and then resetting it to default settings.
This will reset the firewall and everything else you need to the correct defaults.
by rextended
Mon Dec 02, 2024 9:58 am
Forum: RouterOS beta
Topic: Feature Request : IPv6 Fasttrack
Replies: 214
Views: 66320

Re: Feature Request : IPv6 Fasttrack

I would like to clarify, however, to avoid misunderstandings,
that I am interested.

Regardless of the logical considerations that I make above.
by rextended
Mon Dec 02, 2024 1:19 am
Forum: Scripting
Topic: Running a script from Netwatch doesn't work
Replies: 14
Views: 1584

Re: Running a script from Netwatch doesn't work

can be saved also as json... ***************************************** If I may suggest, this idea could go to your “Rextended Fragments of Snippets” thread, it could help many people who always ask the same question (until Mikroltik implements a way to change policies or rights in Netwatch). On som...
by rextended
Mon Dec 02, 2024 1:08 am
Forum: RouterOS beta
Topic: Feature Request : IPv6 Fasttrack
Replies: 214
Views: 66320

Re: Feature Request : IPv6 Fasttrack

from poll result, depending how much is needed by community, MT can decide if feature will be considered for implementation and in which priority Deeply wrong way of thinking : Those who don't need it... don't waste time registering on the forum for vote no ... Of course the yes will always win bec...
by rextended
Sat Nov 30, 2024 2:30 pm
Forum: RouterOS beta
Topic: Feature Request : IPv6 Fasttrack
Replies: 214
Views: 66320

Re: Feature Request : IPv6 Fasttrack

+1 what?

The time wasted adding "+1" posts on the user forum is completely useless and foolish.

Instead, write directly to support@mikrotik.com and complain there...
by rextended
Sat Nov 30, 2024 2:14 pm
Forum: General
Topic: am i using SOHO Firewall or not?
Replies: 38
Views: 4023

Re: am i using SOHO Firewall or not?

yes its the main router, i mean there is another one for the ISP router connected to the radio antenna but i don't have access to that one. is it or is it not the main router? From what you described it is not and it is right that there is no internal configuration, but everything is transparent to...
by rextended
Sat Nov 30, 2024 2:02 pm
Forum: Scripting
Topic: Running a script from Netwatch doesn't work
Replies: 14
Views: 1584

Re: Running a script from Netwatch doesn't work

The problem is the misleading name: "global" is a user session. ideal => actual :global => <NOT EXIST>, but a file content in store, json, or parameters in layer7 and similar can be used for store simple values. <user> => :global <MISLEADING NAME> <session> => :local at the script start :l...
by rextended
Sat Nov 30, 2024 1:51 pm
Forum: Scripting
Topic: First script problem - just won't execute
Replies: 10
Views: 1168

Re: First script problem - just won't execute

b.2 EXACT, if is wrong... But the rute must not be uselessly removed. The route (ALL THE ROUTES created with DHCP) must be removed from netwatch script that activate/deactivate DHCP-Client both on up and on down. else connections are destroyed every time the lease are renewed. and if is =1 delete on...
by rextended
Sat Nov 30, 2024 1:33 pm
Forum: Scripting
Topic: Running a script from Netwatch doesn't work
Replies: 14
Views: 1584

Re: Running a script from Netwatch doesn't work

Each user has it's own environment, no matter of policy, each run of netwatch script have it's own environment, no matter of policy Notice: >>>probably is fixed on some new RouterOS version<<< /system script add dont-require-permissions=no name=testScript owner=admin policy=reboot,read,write,test so...
by rextended
Sat Nov 30, 2024 12:54 pm
Forum: Scripting
Topic: Running a script from Netwatch doesn't work
Replies: 14
Views: 1584

Re: Running a script from Netwatch doesn't work

see next post
by rextended
Sat Nov 30, 2024 11:52 am
Forum: Scripting
Topic: First script problem - just won't execute
Replies: 10
Views: 1168

Re: First script problem - just won't execute

Ignoring the Copilot crap, the script is useless, just use "Add Default Route" and choose rigtly "Default Route Distance", and default route distance and everything works automagically without bothering with scripts. At that point, when the mechanism (elsewhere) that automaticall...
by rextended
Fri Nov 29, 2024 5:16 pm
Forum: Scripting
Topic: PPP Secrets Disabled date comments
Replies: 6
Views: 904

Re: PPP Secrets Disabled date comments

I tried to insert the script and activated it every 10s. Activated 6 times, but users did not turn off. I write comments in different ways, but none of them turned off. 1. abzalieva Disable dec/28/2022 2. abzalieva disable dec/28/2022 3. Disable 2023-01-02 4. disable 2023-01-02 5. Svetlana Disable ...
by rextended
Fri Nov 29, 2024 1:09 pm
Forum: Scripting
Topic: PPP Secrets Disabled date comments
Replies: 6
Views: 904

Re: PPP Secrets Disabled date comments

required code

:foreach item in=[/ppp secret find where $comment~[/system clock get date]] do={
    /ppp secret disable $item
    /ppp active remove [find where name=[/ppp secret get $item name]]
}
by rextended
Thu Nov 28, 2024 5:58 pm
Forum: General
Topic: fingerprinting
Replies: 8
Views: 1415

Re: fingerprinting

Yes and no. <insert here the classic explanation of how this thing introduced for a false privacy (the apps on the phone do more of your business than those who provide Wi-Fi with MAC) then prevents abuses from the standard and not-so-standard users, even involuntarily, of a free service> Of course,...
by rextended
Thu Nov 28, 2024 5:09 pm
Forum: General
Topic: fingerprinting
Replies: 8
Views: 1415

Re: fingerprinting

Forbid access of fake MAC (no matter explain here how, already present on forum), and standard user are forced to use real MAC. /interface wifi access-list add action=reject disabled=no mac-address=02:00:00:00:00:00 mac-address-mask=02:00:00:00:00:00 For v6 there is not a mask on access list, but yo...
by rextended
Thu Nov 28, 2024 10:18 am
Forum: Wireless Networking
Topic: Any reason not use 20Mhz channel on AX devices, if stability is preferred over max speed?
Replies: 11
Views: 2416

Re: Any reason not use 20Mhz channel on AX devices, if stability is preferred over max speed?

Actualy ax hardware I tested on 7.16.2 on MikroTik have only fixed channels, example 5500 but not 5510, and work ony on 20MHz or consecutive 20+20 or 20+20+20+20 channels. (hAP ax², hAP ax³, wAP ax, cAP ax, mANTBox ax 15s) 2412,2417,2422,2427,2432,2437,2442,2447,2452,2457,2462,2467,2472 5180,5200,52...
by rextended
Thu Nov 28, 2024 10:13 am
Forum: General
Topic: Ticket not being responded to
Replies: 9
Views: 1254

Re: Ticket not being responded to

This is user forum, do not post only ticket number, for us is useless, describe also the problem....
by rextended
Wed Nov 27, 2024 9:58 pm
Forum: Beginner Basics
Topic: routing in mikrotik
Replies: 3
Views: 748

Re: routing in mikrotik

What does this have to do with scripting section?
by rextended
Wed Nov 27, 2024 6:33 pm
Forum: General
Topic: Complaints from v7.17rc [testing]
Replies: 45
Views: 4907

Re: Complaints from v7.17rc [testing]

install- any -version it's misleading, it should be install- unsecure -version For what I understand till now, 7.17rc has internal databases of compromised versions that do not accept to downgrade. So far, all good and correct. But how does it work with versions that are NOT in the database of compr...
by rextended
Wed Nov 27, 2024 1:38 pm
Forum: General
Topic: Complaints from v7.17rc [testing]
Replies: 45
Views: 4907

Re: Complaints from v7.17rc [testing]

I don't use netinstall remotely often, but that's okay...
by rextended
Wed Nov 27, 2024 1:30 pm
Forum: General
Topic: Complaints from v7.17rc [testing]
Replies: 45
Views: 4907

Re: Complaints from v7.17rc [testing]

It is still possible to downgrade ROS as normis already explained. Honestly, in 17rc, I have never read or noticed it anywhere. install- any -version it's misleading, it should be install- unsecure -version Well, this time I was wrong , about RouterOS version, I read and interpreted badly. I hope y...
by rextended
Wed Nov 27, 2024 1:17 pm
Forum: General
Topic: Complaints from v7.17rc [testing]
Replies: 45
Views: 4907

Re: Complaints from v7.17rc [testing]

@infabo Is not a point on traffic-gen or repartition. I, for first, have never spoken of install insecure versions of RouterOS. It means installing a previous version of RouterOS, which perhaps does not have the bugs of the next version, as often happens. No matter how many tests you do in the lab,...
by rextended
Wed Nov 27, 2024 1:08 pm
Forum: General
Topic: Complaints from v7.17rc [testing]
Replies: 45
Views: 4907

Re: Complaints from v7.17rc [testing]

I wrote what I had to write.
Now I will wait at the pass for the results of the MikroTik choices such as protected-routerboot and all the various consequences.
by rextended
Wed Nov 27, 2024 12:59 pm
Forum: General
Topic: Complaints from v7.17rc [testing]
Replies: 45
Views: 4907

Re: Complaints from v7.17rc [testing]

That's not true, RouterOS itself checks package integrity, checksum and allowed version. It does not matter where package came from, it will not be installed. If you read carefully, I did not write about installing a modified version of RouterOS, but a real, authentic package from an older version.
by rextended
Wed Nov 27, 2024 12:57 pm
Forum: General
Topic: Complaints from v7.17rc [testing]
Replies: 45
Views: 4907

Re: Complaints from v7.17rc [testing]

already installed devices are not changed by this? Other changes since v7.16: !) device-mode - after upgrade , mode "enterprise" is renamed to "advanced" and traffic-gen, partition (command "repartition"), routerboard and install-any-version features will be disabled (...
by rextended
Wed Nov 27, 2024 12:50 pm
Forum: General
Topic: HEX Lite for routing between subnets [SOLVED]
Replies: 29
Views: 3516

Re: HEX Lite for routing between subnets [SOLVED]

viewtopic.php?t=177551#p1098941

It took a while here too...

Image
by rextended
Wed Nov 27, 2024 12:42 pm
Forum: General
Topic: Complaints from v7.17rc [testing]
Replies: 45
Views: 4907

Re: Complaints from v7.17rc [testing]

how can this be circumvented? Just intercept routerboard traffic and provide fake webserver, dns, ip. Test already done successfully. Try integrate website certs and check https before download from update. Tested on previous 7.12 versions. I do not know if 7.13+ / 7.17 check website certs before d...
by rextended
Wed Nov 27, 2024 12:30 pm
Forum: General
Topic: Complaints from v7.17rc [testing]
Replies: 45
Views: 4907

Re: v7.17rc [testing] is released!

Rushing cloud solutions gets you hacked.
One of the most beautiful sentences read on the forum.
by rextended
Wed Nov 27, 2024 12:18 pm
Forum: General
Topic: Complaints from v7.17rc [testing]
Replies: 45
Views: 4907

Re: Complaints from v7.17rc [testing]

Other changes since v7.16: !) device-mode - after upgrade, mode "enterprise" is renamed to "advanced" and traffic-gen, partition (command "repartition"), routerboard and install-any-version features will be disabled (additional fixes); I try to answer for all those who...
by rextended
Wed Nov 27, 2024 10:46 am
Forum: Announcements
Topic: v7.16.2 [stable] is released!
Replies: 506
Views: 224428

Re: v7.16.2 [stable] is released!

It's time..
7.16.2 -> long-term
7.17 -> stable
by rextended
Tue Nov 26, 2024 6:35 pm
Forum: Scripting
Topic: copying file between directories with /tool fetch gives timeout
Replies: 8
Views: 1066

Re: copying file between directories with /tool fetch gives timeout

Why you do not download and save already the file on correct place instead of download on another place?
by rextended
Tue Nov 26, 2024 3:37 pm
Forum: General
Topic: Complaints from v7.17rc [testing]
Replies: 45
Views: 4907

Re: v7.17rc [testing] is released!

Take it easy anyway, and REPLACE the devices (with equal but updated) or do netinstall on the place...
You can't even imagine how many things you CANNOT test in the lab... One above all, the history of previous versions and the aftermath left by these...
by rextended
Tue Nov 26, 2024 11:00 am
Forum: Wireless Networking
Topic: Mini ISP Setup, help needed
Replies: 9
Views: 1032

Re: Mini ISP Setup, help needed

And sad state of affairs when no one is arguing against this point on forum full of Mikrotik enthusiasts... If MikroTik has given up on making products for W ISP, it is not the fault of the enthusiasts, who are the first to defend it... When they start making competitive wireless products for W ISP...
by rextended
Mon Nov 25, 2024 7:17 pm
Forum: Wireless Networking
Topic: Mini ISP Setup, help needed
Replies: 9
Views: 1032

Re: Mini ISP Setup, help needed

300Mbps download / 50Mbps The key point here is the available bandwidth, rather than the equipment used. If you divide everything between 10 "families" pretending they are all childless, you end up with the internet divided between 20 people, not counting TV with Netflix & Co. So you ...
by rextended
Mon Nov 25, 2024 6:10 pm
Forum: Scripting
Topic: Script job killer
Replies: 9
Views: 8326

Re: Script job killer

But on that way you do not kill other login jobs...
by rextended
Mon Nov 25, 2024 11:18 am
Forum: Wireless Networking
Topic: How to increase wifi signal distance/strenght ?
Replies: 10
Views: 1244

Re: How to increase wifi signal distance/strenght ?

For play use a cable, any other consideration is useless, you do not have any control on environment & interferencies.
Any other methods add only latency & problems.
by rextended
Mon Nov 25, 2024 10:02 am
Forum: Scripting
Topic: Add days to current date v7 [SOLVED]
Replies: 5
Views: 1285

Re: Add days to current date v7 [SOLVED]

some of them gives output and some dont You don't specify that you use old 7.10, actually the "stable" is 7.16.1 and have more functions than the 7.10 You can use this: https://forum.mikrotik.com/viewtopic.php?p=977170#p977170 <<PASTE GLOBAL FUNCTION HERE>> [rex@test-v7] > :put [$unixtoda...
by rextended
Sat Nov 23, 2024 7:56 pm
Forum: General
Topic: My ISP gives me only ::/64 IPv6 prefix - how do I create multiple subnets?
Replies: 18
Views: 3449

Re: My ISP gives me only ::/64 IPv6 prefix - how do I create multiple subnets?

My edge firewall work not on bogons, but only on allocated. Drop on output everything except my IPv6 pools, Drop on input all except allocated addresses: add address=2001:200::/23 comment=APNIC list=lista_ipv6_allocati add address=2001:400::/23 comment=ARIN list=lista_ipv6_allocati add address=2001:...
by rextended
Fri Nov 22, 2024 11:55 am
Forum: Scripting
Topic: Add days to current date v7 [SOLVED]
Replies: 5
Views: 1285

Re: Add days to current date v7 [SOLVED]

What do you think everyone is stupid to do such complicated things? If you don't need to print the date in a human way, just: (Example of 2024-11-22) [rex@test-v7] > :put ([:totime [/system clock get date]]) 2864w1d00:00:00 = 20049 days after 01/01/1970 [rex@test-v7] > :put ([:totime [/system clock ...
by rextended
Fri Nov 22, 2024 11:46 am
Forum: Scripting
Topic: remove item without listing [SOLVED]
Replies: 2
Views: 899

Re: remove item without listing [SOLVED]

/interface/wireless/access-list/remove numbers=0 translate: remove the first (index 0) in the list of those already found... but there is no list of those already found, or nothing was found. The second time in a row that the command is given, the first has already been deleted, and the list is NOT ...
by rextended
Fri Nov 22, 2024 11:34 am
Forum: General
Topic: My ISP gives me only ::/64 IPv6 prefix - how do I create multiple subnets?
Replies: 18
Views: 3449

Re: My ISP gives me only ::/64 IPv6 prefix - how do I create multiple subnets?

Or simply, for internal LANs, I doubt that using 4d00:dead:beef:<DECIMAL (V)LAN NUMBER>::/64 cause problems on next 20 years...
by rextended
Thu Nov 21, 2024 11:48 am
Forum: General
Topic: My ISP gives me only ::/64 IPv6 prefix - how do I create multiple subnets?
Replies: 18
Views: 3449

Re: My ISP gives me only ::/64 IPv6 prefix - how do I create multiple subnets?

you can get a free account with Hurrricane Electric (tunnelbroker.net) and get two /64 and two /48 prefixes for yourself. No one force you to use the tunnels provided by HE, you can just use those prefixes internally within your network, and can be sure that the prefixes are not used by someone els...
by rextended
Thu Nov 21, 2024 11:37 am
Forum: General
Topic: HEX Lite for routing between subnets [SOLVED]
Replies: 29
Views: 3516

Re: HEX Lite for routing between subnets [SOLVED]

Without considering the various problems of ARP and IPs being the same on different ports, where they not only have to pass through, but also do NAT, the simplest solution is to buy 4 least expensive router ever and do all local NAT. When you use NAT or Routing, you are already at Leve 3, but at Lev...
by rextended
Wed Nov 20, 2024 9:06 pm
Forum: General
Topic: My ISP gives me only ::/64 IPv6 prefix - how do I create multiple subnets?
Replies: 18
Views: 3449

Re: My ISP gives me only ::/64 IPv6 prefix - how do I create multiple subnets?

Thank you for bringing this to my attention, I didn't know that... I hadn't noticed it yet... IPv4 are considered as IPv4-mapped IPv6 address... Prefix Precedence Label ::1/128 50 0 Localhost ::/0 40 1 Default unicast = Any other IPv6 not on this table ::ffff:0.0.0.0/96 35 4 IPv4-mapped IPv6 address...
by rextended
Wed Nov 20, 2024 5:25 pm
Forum: Scripting
Topic: Safeguarding peers having successfully connected from accidental block by Brute Force rules | Script sharing
Replies: 2
Views: 1064

Re: Safeguarding peers having successfully connected from accidental block by Brute Force rules | Script sharing

Starting out, it's really wrong to leave services reachable directly,
worse if with default ports....
by rextended
Wed Nov 20, 2024 4:27 pm
Forum: General
Topic: HEX Lite for routing between subnets [SOLVED]
Replies: 29
Views: 3516

Re: HEX Lite for routing between subnets [SOLVED]

Certo, est prus fàcile chi configurare bè is IP...

[Sure, easier than setting up IPs correctly...]
by rextended
Wed Nov 20, 2024 2:49 pm
Forum: General
Topic: HEX Lite for routing between subnets [SOLVED]
Replies: 29
Views: 3516

Re: HEX Lite for routing between subnets [SOLVED]

Since you have not written anywhere the reason why the peripherals have that ridiculous configuration, and since it is obvious that they must not have the same address, otherwise they create problems... The solution is simple: use different IPs on each device , as is right and logical that it should...
by rextended
Wed Nov 20, 2024 2:03 pm
Forum: Beginner Basics
Topic: How to make a complete Backup of a broken Mikrotik Chateau including wireguard configuration
Replies: 3
Views: 1216

Re: How to make a complete Backup of a broken Mikrotik Chateau including wireguard configuration

"built by agent at O..." ???? What is the full string??? is the 1st time I see it... On terminal: /export show-sensitive file=exconfig Then save the file exconfig.rsc somewhere. DO NOT POST the file on forum. When you have new device, upgrade to default stable 7.16.1. [REMOVE THE SIM AFTER...
by rextended
Wed Nov 20, 2024 1:41 pm
Forum: General
Topic: My ISP gives me only ::/64 IPv6 prefix - how do I create multiple subnets?
Replies: 18
Views: 3449

Re: My ISP gives me only ::/64 IPv6 prefix - how do I create multiple subnets?

Without commenting on what I think of ISPs that give less than a /56 (or at least... one /60)... You can still create "subnets" of /68, for example, but all addresses must be assigned statically by DHCP and not based on MAC/EUI64. dead:beef:dead:beef:0000::/68 = dead:beef:dead:beef:0000:00...
by rextended
Tue Nov 19, 2024 5:03 pm
Forum: General
Topic: Create self-signed certificates with openssl for MIkrotik SSTP VPN server
Replies: 2
Views: 631

Re: Create self-signed certificates with openssl for MIkrotik SSTP VPN server

RouterOS doesn't allow to export/import certificates on another Mikrotik device
absolutely FALSE and WRONG

At most, as it SHOULD BE, it does not allow you to duplicate the Certificate Authority,
but is still possible export and import public and private certificates.
by rextended
Tue Nov 19, 2024 4:51 pm
Forum: Scripting
Topic: After /file remove interpretation error ?
Replies: 3
Views: 708

Re: After /file remove bug?

After /file remove bug? The first mistake is the usual one: Assuming that your ignorance does not exist and creating a topic title that refers to a possible bug in RouterOS. Is wrong to use file as name for variable, no matter explain why for now. Full of useless ";" Your script is full o...
by rextended
Tue Nov 19, 2024 10:47 am
Forum: General
Topic: Need a second pair of eyes
Replies: 7
Views: 1185

Re: Need a second pair of eyes

there are problems with connectivity between devices on the 10.0.0.0 and 10.0.1.0 ranges - and I can't see the problem. Did you reboot those devices? The devices themselves do not change the subnet mask from /24 (255.255. 255.0) to /23 (255.255. 254.0) by themselves. They only do this when the leas...
by rextended
Tue Nov 19, 2024 10:02 am
Forum: Scripting
Topic: Couldn't start task: Conflicting modes provided in URI and parameter [SOLVED]
Replies: 3
Views: 1112

Re: Couldn't start task: Conflicting modes provided in URI and parameter [SOLVED]

Or better: Is wrong use both at the same time, than coherent parameters...

and also this:

asdfasdf" http-method=get http-data="status=up&msg=OK&ping="

==>

asdfasdf\3Fstatus=up&msg=OK&ping="
by rextended
Sat Nov 16, 2024 2:14 pm
Forum: General
Topic: 💀⚠️CRITICAL: Never trust who provides scripts containing "/import" from "/tool fetch" from external sources.
Replies: 35
Views: 5664

Re: 💀⚠️CRITICAL: Never trust who provides scripts containing "/import" from "/tool fetch" from external sources.

It's not a security bug.

It is normal for the knife to be sharp, that is its purpose.
I'm just telling you not to rub the blade on your skin... because you read somewhere on the internet that it keeps mosquitoes away...
by rextended
Fri Nov 15, 2024 1:37 am
Forum: General
Topic: 💀⚠️CRITICAL: Never trust who provides scripts containing "/import" from "/tool fetch" from external sources.
Replies: 35
Views: 5664

Re: 💀⚠️CRITICAL: Never trust who provides scripts containing "/import" from "/tool fetch" from external sources.

So you devalue the work that me, @eworm, @merlinthemagic, and MANY others to do publish their work on GitHub, […] No, for two reasons, and also for others not listed, the first is that the warning is to avoid doing the "/import" automatically from who knows what sources, without do any ve...
by rextended
Fri Nov 15, 2024 1:32 am
Forum: General
Topic: 💀⚠️CRITICAL: Never trust who provides scripts containing "/import" from "/tool fetch" from external sources.
Replies: 35
Views: 5664

Re: 💀⚠️CRITICAL: Never trust who provides scripts containing "/import" from "/tool fetch" from external sources.

(I hope you will improve your incomplete knowledge in practice.) Nobody knows everything, but staying within the RouterOS scripts, at most I'll teach you. Telling me about incomplete knowledge of RouterOS scripting, or arguing about https (which you don't verify) says much more than many words. Not...
by rextended
Thu Nov 14, 2024 7:56 pm
Forum: General
Topic: 💀⚠️CRITICAL: Never trust who provides scripts containing "/import" from "/tool fetch" from external sources.
Replies: 35
Views: 5664

Re: 💀⚠️CRITICAL: Never trust who provides scripts containing "/import" from "/tool fetch" from external sources.

If somehow I find out that my ISP is using such way to update their router, from public source script without proper automated source checks / sanitization, I will be concerned and probably switch to another ISP, just saying, maybe it's just me...
I see you get the point...
by rextended
Thu Nov 14, 2024 7:55 pm
Forum: General
Topic: 💀⚠️CRITICAL: Never trust who provides scripts containing "/import" from "/tool fetch" from external sources.
Replies: 35
Views: 5664

Re: 💀⚠️CRITICAL: Never trust who provides scripts containing "/import" from "/tool fetch" from external sources.

I'm not sure the "💀⚠️CRITICAL" is necessary.
Yes, because most users can only copy & paste without knowing what they are doing, without distinguishing a list of commands from a list of IPs...
by rextended
Thu Nov 14, 2024 7:44 pm
Forum: General
Topic: 💀⚠️CRITICAL: Never trust who provides scripts containing "/import" from "/tool fetch" from external sources.
Replies: 35
Views: 5664

Re: 💀⚠️CRITICAL: Never trust who provides scripts containing "/import" from "/tool fetch" from external sources.

If HTTPS/SSL is available, you don't have to be afraid of the man attack in the middle. As I wrote in the other post: Obviously, it is obvious that you do not know how to distinguish a list of IPs from a list of commands, there is little to add. Who guarantees that yourself on the github do not ins...
by rextended
Thu Nov 14, 2024 7:44 pm
Forum: Scripting
Topic: Address lists downloader (DShield, Spamhaus DROP/EDROP, etc)
Replies: 307
Views: 91405

Re: Address lists downloader (DShield, Spamhaus DROP/EDROP, etc)

Obviously, it is obvious that you do not know how to distinguish a list of IPs from a list of commands, there is little to add.
by rextended
Thu Nov 14, 2024 2:09 pm
Forum: Scripting
Topic: Address lists downloader (DShield, Spamhaus DROP/EDROP, etc)
Replies: 307
Views: 91405

Re: Address lists downloader (DShield, Spamhaus DROP/EDROP, etc)

💀⚠️CRITICAL: Never trust who provides scripts containing "/import" from "/tool fetch" from external sources. https://forum.mikrotik.com/viewtopic.php?t=203733 I can only imagine how safe LAYERWEB customers must be if the people who (allege) manage their machines make such egregi...
by rextended
Thu Nov 14, 2024 2:02 pm
Forum: Scripting
Topic: Script to remove unflaged sessions [SOLVED]
Replies: 7
Views: 5307

Re: Script to remove unflaged sessions [SOLVED]

Necroposting for nothing.
The least efficient way to do things, a whole page of useless writing to do the instruction I wrote in the previous post.
by rextended
Wed Nov 13, 2024 9:08 pm
Forum: Scripting
Topic: Need script to give limited free temporary login after 5 logins
Replies: 1
Views: 509

Re: Need script to give limited free temporary login after 5 logins

Useless, now MACs on phones are random time to time, and for sure on multiple AP are different...
by rextended
Tue Nov 12, 2024 3:02 pm
Forum: General
Topic: Login with Default Admin and No Password is Failing
Replies: 31
Views: 92048

Re: Login with Default Admin and No Password is Failing

The cap attached to the bottle solves two things and others less relevant. 1) If the bottle ends up in the environment (pratically if not recycled...), it makes it easier to collect the cap as well. The cap alone is more hard to collect. 2) The cap no longer falls accidentally to the ground, (at lea...
by rextended
Mon Nov 11, 2024 11:28 pm
Forum: Beginner Basics
Topic: Part of my network does not have access to google.com
Replies: 38
Views: 2518

Re: Part of my network does not have access to google.com

two of my routers unable to access google.com

Show the other working router configuration...

If the router is never powered down still press "undo"... :lol: :lol: :lol: (no jokes)

Greetings to Ubatuba.
by rextended
Mon Nov 11, 2024 10:43 pm
Forum: Scripting
Topic: Download files from RouterOS via http/https with curl/wget/browser
Replies: 2
Views: 770

Re: Download files from RouterOS via http/https with curl/wget/browser

Short:
Enable ftp and download from it
AND/OR
Send the file by internal fetch or mail.
by rextended
Mon Nov 11, 2024 7:06 pm
Forum: Scripting
Topic: Re: ARP update status script
Replies: 0
Views: 883

Re: ARP update status script

The original OP is remved because modified later for add spam. Orphan post. *********************************************** What is the final purpose? What would be the possible utility for others? /ip arp print as-value where [:if ($status != "reachable") do={:ping $address vrf=main inter...
by rextended
Mon Nov 11, 2024 3:27 pm
Forum: Scripting
Topic: "ip route find where' strange behavior
Replies: 10
Views: 1256

Re: "ip route find where' strange behavior

But aren't you the inventor of the raised index finger? See your first post: "the a-b-c of... is a problem on user knowledge.". Really is against post title... never mind... So it is better to use prefixed variable names instead? :local foo_comment = "bar"; Good idea but bad app...
by rextended
Mon Nov 11, 2024 3:05 pm
Forum: Scripting
Topic: How to delete backup and RSC files that have been stored for more than 1 month
Replies: 8
Views: 3473

Re: How to delete backup and RSC files that have been stored for more than 1 month

When trying to use this code on RouterOS v7.16.1, I get the following error: input does not match any value of value-name I guess there were some internal changes for the /system/clock? Can you please help me get it working on v7.16.1? Thank you Just read changelogs before blindly upgrade or update...
by rextended
Mon Nov 11, 2024 2:56 pm
Forum: Beginner Basics
Topic: Part of my network does not have access to google.com
Replies: 38
Views: 2518

Re: Part of my network does not have access to google.com

The network config does not look very good, everything is on the same bridge.
FWIW that is in most cases the advised way to setup things.
One bridge only.

But not pppoe-server line on same bridge with LAN....
by rextended
Mon Nov 11, 2024 2:53 pm
Forum: Beginner Basics
Topic: Part of my network does not have access to google.com
Replies: 38
Views: 2518

Re: Part of my network does not have access to google.com

The network config does not look very good, everything is on the same bridge. Have you got any backup scripts of the router before you made the changes that messed it up? Probably not, the ABCs of "Do it yourself" always skip lesson 1: Before you get your hands on something, always make s...
by rextended
Mon Nov 11, 2024 2:21 pm
Forum: Scripting
Topic: "ip route find where' strange behavior
Replies: 10
Views: 1256

Re: "ip route find where' strange behavior

No point in looking for pages with Reserved variable names (or Keywords), when the reserved word (not keyword) is written immediately before the equal. comment =$ comment Before correcting me, think carefully about what you write. And post the correct link, just in case... https://help.mikrotik.com/...
by rextended
Mon Nov 11, 2024 2:15 pm
Forum: Scripting
Topic: Enhanced IP Scan with Vendor and Additional Name Sources
Replies: 24
Views: 3634

Re: Enhanced IP Scan with Vendor and Additional Name Sources

 # ARP Fixup table
:put "### ARP Fixup table"
:local dumplist [/ip arp find complete=no ]
:foreach i in=$dumplist do={
    /ip arp remove $i
} 

Completly useless... simply
/ip arp remove [find where complete=no]
by rextended
Mon Nov 11, 2024 10:10 am
Forum: Scripting
Topic: "ip route find where' strange behavior
Replies: 10
Views: 1256

Re: "ip route find where' strange behavior

The error is the a-b-c of any programming language: Do not use reserved words as variables name:

comment=$comment


As usual the title of the topic is wrong, is not a problem on RouterOS, is a problem on user knowledge.
NO COMMENT...
by rextended
Mon Nov 11, 2024 10:07 am
Forum: Scripting
Topic: Inter VLAN routing not working
Replies: 1
Views: 608

Re: Inter VLAN routing not working

Duplicate,

viewtopic.php?p=1108396#p1108396

and wrong forum section.
by rextended
Wed Nov 06, 2024 7:30 pm
Forum: Scripting
Topic: How to Read line by line from a file using a script?
Replies: 16
Views: 1892

Re: How to Read line by line from a file using a script?

no matter what you put, everytime \r or \n (or both) are considered as delimiter, also if delimiter is something other... [rex@v7] > :put [:deserialize "test\rtest" delimiter="<!>" from=dsv options=dsv.plain] test;test [rex@v7] > :put [:deserialize "test\ntest" delimite...
by rextended
Wed Nov 06, 2024 7:24 pm
Forum: General
Topic: Why Windows 10 and 11 cannot connect to the Mikrotik PPTP server?
Replies: 25
Views: 6809

Re: Why Windows 10 and 11 cannot connect to the Mikrotik PPTP server?

It's just a necroposting with a post that do not have nothing inside... Like ChatGPT reply, full of nothing.
by rextended
Wed Nov 06, 2024 1:40 am
Forum: Scripting
Topic: How to Read line by line from a file using a script?
Replies: 16
Views: 1892

Re: How to Read line by line from a file using a script?

All the problems already emerged to import IPs from a file, present in other posts, will also be duplicated in this topic. Here it seems that everything starts from scratch, ignoring what has ALREADY been done. It is true that now there is :deserialize , but all the rest of the problems remain the s...
by rextended
Mon Nov 04, 2024 9:39 pm
Forum: Beginner Basics
Topic: Not enough permissions? [SOLVED]
Replies: 17
Views: 3086

Re: Not enough permissions? [SOLVED]

You have also disappointed me I expected more from someone like you. Shame to your name for you have becometh that which you criticized the most.

Good thing I'm not as stupid as you thought...
by rextended
Mon Nov 04, 2024 10:29 am
Forum: Scripting
Topic: Enhanced IP Scan with Vendor and Additional Name Sources
Replies: 24
Views: 3634

Re: Enhanced IP Scan with Vendor and Additional Name Sources

You do the 99% of works...

Just change
/name")
to
/name\3FapiKey=$apiKey")

(untested, i do not have a key)
by rextended
Mon Nov 04, 2024 10:21 am
Forum: Beginner Basics
Topic: Not enough permissions? [SOLVED]
Replies: 17
Views: 3086

Re: Not enough permissions? [SOLVED]

4) there is a user "admin" (which is a sort of dummy with no permissions) but with a long, complex, password. The attackers may spend quite a lot of time to attempt finding the password, and even if they succeed, they won't be able to create the user "system". #4 would then be a...
by rextended
Thu Oct 31, 2024 5:06 pm
Forum: Announcements
Topic: Long range wireless links - share your experience
Replies: 64
Views: 90246

Re: Long range wireless links - share your experience

During the Costa Concordia tragedy I had a temporary ~40km link to provide internet from the mainland to the company that was handling the recovery. Now things have changed a bit and I always make links with licensed frequencies, because doing them (long distance) with any shared frequency device is...
by rextended
Thu Oct 31, 2024 4:55 pm
Forum: Beginner Basics
Topic: Not enough permissions? [SOLVED]
Replies: 17
Views: 3086

Re: Not enough permissions? [SOLVED]

If I wrote it here it would be public knowledge...
by rextended
Thu Oct 31, 2024 11:15 am
Forum: Announcements
Topic: Long range wireless links - share your experience
Replies: 64
Views: 90246

Re: Long range wireless links - share your experience

Not Mikrotik microwave hardware

You sure?
by rextended
Thu Oct 31, 2024 12:43 am
Forum: Beginner Basics
Topic: Not enough permissions? [SOLVED]
Replies: 17
Views: 3086

Re: Not enough permissions? [SOLVED]

Do NOT "only" disable admin, set to the admin one random long password, create one empty group with no privileges (policies) and assign it to admin....
by rextended
Wed Oct 30, 2024 7:10 pm
Forum: Beginner Basics
Topic: Not enough permissions? [SOLVED]
Replies: 17
Views: 3086

Re: Not enough permissions? [SOLVED]

Probably your device is compromised, the only solution, without lost time is to full netinstall it.
by rextended
Tue Oct 29, 2024 5:43 pm
Forum: Scripting
Topic: Command to remove a Value [SOLVED]
Replies: 6
Views: 3310

Re: Command to remove a Value [SOLVED]

Thank you, sir
The avatar is a cat shitting? Seriously?

Your avatar is shitty and disrespectful to others.
by rextended
Tue Oct 29, 2024 3:26 pm
Forum: Scripting
Topic: Voltage monitoring script not working in ROS v7
Replies: 4
Views: 1126

Re: Voltage monitoring script not working in ROS v7

Find on the forum other topics about new health system on v7, there are dozens of already opened topic for health monitoring.
by rextended
Tue Oct 29, 2024 3:24 pm
Forum: RouterOS beta
Topic: Feature Request: IP address aliases
Replies: 5
Views: 4474

Re: Feature Request: IP address aliases

I didn't quite understand what you wanted to write,
or you don't know how to do it.
Explain yourself better.
by rextended
Tue Oct 29, 2024 3:15 pm
Forum: Beginner Basics
Topic: Mikhmon voucher validity problem
Replies: 6
Views: 2504

Re: Mikhmon voucher validity problem

No matter, this is not the Mikhmon forum.

Is it your choice to give trust to unsupported programs.
What do you expect from something free? That there is support if you have problems?
by rextended
Mon Oct 28, 2024 5:48 pm
Forum: Scripting
Topic: Command fails in script but runs properly in the terminal
Replies: 6
Views: 1040

Re: Command fails in script but runs properly in the terminal

This is the "BIOS" vesion... not the OS... (/system/package)
by rextended
Mon Oct 28, 2024 5:22 pm
Forum: Scripting
Topic: Polling?
Replies: 12
Views: 1372

Re: Polling?

Jokes aside, I don't have any UPS directly connected to a RouterBOARD otherwise I would have helped you better,
but if you are not familiar with scripting the 1 second scheduler is more than enough and practically does not consume CPU.
by rextended
Mon Oct 28, 2024 5:15 pm
Forum: Scripting
Topic: Polling?
Replies: 12
Views: 1372

Re: Polling?

Need to run Assassin's Creed on your router?

Does setting a infinite loop for every nanosecond create a more large CPU overhead?
by rextended
Mon Oct 28, 2024 5:12 pm
Forum: Scripting
Topic: Command fails in script but runs properly in the terminal
Replies: 6
Views: 1040

Re: Command fails in script but runs properly in the terminal

Is already false at the start: The latest available is 7.16.1, what you write?
by rextended
Mon Oct 28, 2024 4:48 pm
Forum: Scripting
Topic: Polling?
Replies: 12
Views: 1372

Re: Polling?

It's quicker to set it in the scheduler every second rather than doing intricate things, especially for those who are not familiar with scripting...
by rextended
Mon Oct 28, 2024 4:43 pm
Forum: Scripting
Topic: Script to obtain vendor info from MAC addresses (help needed) [SOLVED]
Replies: 7
Views: 2463

Re: Script to obtain vendor info from MAC addresses (help needed) [SOLVED]

Do not forget also the other considerations: the first is that the entire mac-address is sent to the site (uselessly), instead of just the vendor part, screwing up privacy, the second is that the invented/random or local-use mac-addresses are also requested (bit 2 and 1 of the first byte), which are...
by rextended
Sun Oct 27, 2024 9:37 am
Forum: Scripting
Topic: why do global vars not work?
Replies: 16
Views: 2788

Re: why do global vars not work?

Usually following happens when work with global variables. When you test to print global variable in CLI, it works. But somehow exact same in the script doesn't work. Even you can see that variable is clearly set in the scripting environment. This is because, when we read global variable inside the...
by rextended
Sun Oct 27, 2024 1:23 am
Forum: Scripting
Topic: Script for CENTRAL-BACKUPS
Replies: 3
Views: 807

Re: Script for CENTRAL-BACKUPS

Lasciate perdere, è una cassata, del tipo scrivimi che poi ti faccio vedere lo script. E' solo un modo per raccattare contatti e monetizzare con youtube. Kindly translated for forum users: Forget it, it's bulls—t, like "write me and then I'll show you the script". It's just a way to collec...
by rextended
Fri Oct 25, 2024 5:31 pm
Forum: Scripting
Topic: Appending file within foreach
Replies: 10
Views: 1056

Re: Appending file within foreach

That is fabulous! I incorporated it into my script (removing the set of brackets so that the variable $allIPs remains), but the output is still repeating. If I write something, it mean is it needed... :put [:tostr $allIPs] Do not forget to correct ALL: add name=systeminfo contents="$resources\...
by rextended
Fri Oct 25, 2024 4:39 pm
Forum: Scripting
Topic: command for traffic resetig of ethernet
Replies: 2
Views: 585

Re: command for traffic resetig of ethernet

/interface reset-counters [find]
by rextended
Fri Oct 25, 2024 4:32 pm
Forum: Scripting
Topic: Appending file within foreach
Replies: 10
Views: 1056

Re: Appending file within foreach

All is useless.

Just this:
{
/ip address
:local allIPs [:toarray ""]
[pri as-value where [:set allIPs ($allIPs,$address)]]
:put [:tostr $allIPs]
}
by rextended
Fri Oct 25, 2024 8:51 am
Forum: Scripting
Topic: Enhanced IP Scan with Vendor and Additional Name Sources
Replies: 24
Views: 3634

Re: Enhanced IP Scan with Vendor and Additional Name Sources

[...] if vendor = "IEEE Registration Authority" [...] :set url ("https://api.maclookup.app/v2/macs/".[:pick $macAddress 0 11]."/company/name") [...] if vendor = "IEEE Registration Authority" [...] :set url ("https://api.maclookup.app/v2/macs/".[:pick...
by rextended
Thu Oct 24, 2024 10:17 pm
Forum: Scripting
Topic: Scripting skills
Replies: 15
Views: 1521

Re: Scripting skills

You could have avoided many questions by comparing what I wrote with what you wrote. What is wrong with: :local version ([/system resource get version]) Easy: useless parenthesis ( ) that cause other useless calcs... And, I cannot get this line to work: :local newline [:find \$value \"\\\"...
by rextended
Thu Oct 24, 2024 10:06 pm
Forum: Scripting
Topic: MtkManager (Remote upgrade tool for RouterOS)
Replies: 35
Views: 15835

Re: MtkManager (Remote upgrade tool for RouterOS)

Don't send any links to people who can't read.

Don't send any links to people who are so lazy that they don't read the whole topic (at least until post #6...).
by rextended
Thu Oct 24, 2024 9:54 pm
Forum: RouterOS beta
Topic: Router crashes are wiping the config
Replies: 17
Views: 13299

Re: Router crashes are wiping the config

/file set $dfile contents=$dfile
What's the point? It doesn't make any sense.


this command create the licence key file on internal memory
/system license output
and the file has for name the licence key Software ID dot key

Stop.
by rextended
Wed Oct 23, 2024 8:05 pm
Forum: Scripting
Topic: Scripting skills
Replies: 15
Views: 1521

Re: Scripting skills

Is beter you lost instantly bad habit like :local version ([ /system resource get version ]) and do not post export like a script because on this way is full of errors. Copy & paste from winbox to the forum, or posst all the exported script parts. Also use space indentation, or is hard readable....
by rextended
Wed Oct 23, 2024 8:01 pm
Forum: Scripting
Topic: Scripting skills
Replies: 15
Views: 1521

Re: Scripting skills

While I like @rextended, I know he uses notepad.exe to edit script..
Not true, I use Macromedia HomeSite 5.5+ for almost everything...
by rextended
Wed Oct 23, 2024 12:45 pm
Forum: Scripting
Topic: How to access time with milliseconds in a script?
Replies: 4
Views: 828

Re: How to access time with milliseconds in a script?

Useless data, RouterBOARDs do not have RTC and any load fluctuation affects the accuracy of the time.
Might as well put random milliseconds in there.
by rextended
Wed Oct 23, 2024 12:41 pm
Forum: Scripting
Topic: execute & parse
Replies: 30
Views: 4556

Re: execute & parse

I already gave you the "solution" in the previous post... :D
by rextended
Wed Oct 23, 2024 12:09 pm
Forum: Scripting
Topic: execute & parse
Replies: 30
Views: 4556

Re: execute & parse

How do you guarantee that if someone else messes with the script everything will continue to work the same?

I don't waste time with useless things.

Anyway, a parse within a parse is enough...
by rextended
Wed Oct 23, 2024 10:26 am
Forum: Scripting
Topic: execute & parse
Replies: 30
Views: 4556

Re: execute & parse

As mentioned, RouterOS scripts are not a programming language. Beyond a certain point things are useless and excessive. Some things are excessive even if it were a programming language. When will you ask for a script without any variable or function having a name, and assigns the names of the variab...
by rextended
Wed Oct 23, 2024 10:16 am
Forum: Announcements
Topic: v7.16.2 [stable] is released!
Replies: 506
Views: 224428

Re: v7.16.1 [stable] is released!

And you could convert that to a string by adding 0.0.0.0 to it?
I always done on that way, ":toip" do not convert numbert to IP...
viewtopic.php?t=177551#p953746
by rextended
Tue Oct 22, 2024 1:12 pm
Forum: Announcements
Topic: Newsletter #116 | January 2024
Replies: 106
Views: 38048

Re: Newsletter #116 | January 2024

Actually, after 2 years, no one single "ac" MikroTik outdoor product is broken or damaged,
other competitor force me to change 4 times the 450i broken AP... Very s**tty hardware (and software).
by rextended
Tue Oct 22, 2024 12:54 pm
Forum: Announcements
Topic: v7.16.2 [stable] is released!
Replies: 506
Views: 224428

Re: v7.16.1 [stable] is released!

Netwatch bug : On script $ip provide the wrong IP. For example, if www.example.com is used, instead of 93.184.215.14 is returned 249018461, that is 0E D7 B8 5D = 14.215.184.93, the IP on reversed bytes position... /tool netwatch add disabled=no host=www.example.com type=dns \ up-script=":log i...
by rextended
Tue Oct 22, 2024 12:44 pm
Forum: Scripting
Topic: A strange bug in firmware 7.16.1: netwatch and variable $ip
Replies: 1
Views: 784

Re: A strange bug in firmware 7.16.1: netwatch and variable $ip

It is the usual common mistake of anyone who writes scripts without thinking or without knowledge. "ip" and other words that are or could be reserved words in scripts, should be absolutely avoided. Sometimes it also happens that experts make mistakes with unsuspected words. Sometimes it is...
by rextended
Tue Oct 22, 2024 12:21 pm
Forum: Announcements
Topic: Newsletter #116 | January 2024
Replies: 106
Views: 38048

Re: Newsletter #116 | January 2024

You have no advantage if you use an AP in "ax" and then the clients are all in "ac" or "n". It makes no sense to hope that by using an AP in "ax" miraculously all the clients go to "ax"... I no longer use outdoor MikroTik wifi products as a CPE since...
by rextended
Mon Oct 21, 2024 11:10 am
Forum: Beginner Basics
Topic: Can I use both sim slots in SXT LTE router
Replies: 7
Views: 1400

Re: Can I use both sim slots in SXT LTE router

I think the right answer is not, because the right question mean "at same time", because if you can insert two sim at the same time (on two different slots), is obvious that can be from different providers. As have to use a script to change the slot used, nothing prevents from changing the...
by rextended
Mon Oct 21, 2024 10:58 am
Forum: General
Topic: how to filter and block multicasting?
Replies: 7
Views: 15575

Re: how to filter and block multicasting?

igmp is the protocol behind multicasting. you could google that.

Good thing you explained to me how to do it, otherwise I would have been lost...
by rextended
Fri Oct 18, 2024 11:19 am
Forum: Scripting
Topic: import dry-run inconsistent results (bug?)
Replies: 3
Views: 1053

Re: import dry-run inconsistent results (bug?)

In second case, each lines are considered not in same session,
so, is obvious that previous /... command is ignored....
by rextended
Thu Oct 17, 2024 3:18 pm
Forum: Scripting
Topic: where is the error?
Replies: 10
Views: 947

Re: where is the error?

Still useless do all that instead of simply [/user get admin last-logged-in]
by rextended
Thu Oct 17, 2024 3:07 pm
Forum: Scripting
Topic: where is the error?
Replies: 10
Views: 947

Re: where is the error?

As usual, is missing what you try to do....

At RouterOS start memorize in one global variable
:put [/user get admin last-logged-in]
And check if is changed on scheduler.
When is changed, you know the exact time the user log in.

Works on both v6/v7
by rextended
Thu Oct 17, 2024 2:57 pm
Forum: Scripting
Topic: Fetch for Rocket Chat
Replies: 4
Views: 1842

Re: Fetch for Rocket Chat

for sure this must not be doed:

mode=https url=https:
if you use mode, you must not use url protocol and vice-versa

and if you write
, x-user-id: MYUSERID
you create
[SPACE]x-user-id
filed with value
[SPACE]MYUSERID
by rextended
Thu Oct 17, 2024 2:42 pm
Forum: General
Topic: MAC-address case sensitive? are you kidding me?
Replies: 10
Views: 7696

Re: MAC-address case sensitive? are you kidding me?

Preprepredecessor of ASCII comes from 1932 ( ITA2) and only had 5 bits. Only uppercase.
Precisely...
by rextended
Wed Oct 16, 2024 6:57 pm
Forum: General
Topic: MAC-address case sensitive? are you kidding me?
Replies: 10
Views: 7696

Re: MAC-address case sensitive? are you kidding me?

the right question is: why did the person who invented the characters table waste time distinguishing between uppercase and lowercase letters that have the exact same meaning??? Wasting 33% of the bits of the time (7 bits // 127 characters) to represent something useless (from the computer's point o...
by rextended
Wed Oct 16, 2024 1:48 pm
Forum: General
Topic: Backup/Export Dude Syslog Filter Rules?
Replies: 3
Views: 398

Re: Backup/Export Dude Syslog Filter Rules?

Full backup or nothing.
/dude export-db
by rextended
Wed Oct 16, 2024 1:47 pm
Forum: General
Topic: Is RouterOS a real-time system?
Replies: 5
Views: 667

Re: Is RouterOS a real-time system?

RouterOS use kernel 5.x, so not PREEMPT_RT patch at all.
by rextended
Wed Oct 16, 2024 1:43 pm
Forum: General
Topic: Disappearing IPv6 configuration?
Replies: 5
Views: 1317

Re: Disappearing IPv6 configuration?

If a system reset configuration fail,
netinstall the device, the internal config database is corrupted.

Do not use backup because already have corrupted files inside.

For reconfig just use old export.
by rextended
Wed Oct 16, 2024 12:39 pm
Forum: Scripting
Topic: check DoH availability
Replies: 1
Views: 702

Re: check DoH availability

Is a bad idea to edit export, at least do copy & paste as is. Or paste script directly from winbox. if this already gives error, incorrect syntax, how do you think that it can works, or is RouterOS problem? Just open on browser: https://d.adguard-dns.com/dns-query? name =sun.com&type=A no 'd...
by rextended
Tue Oct 15, 2024 7:03 pm
Forum: Scripting
Topic: Auto Update Scheduler
Replies: 6
Views: 1493

Re: Auto Update Scheduler

( Does it have the same meaning as Italian, in the way of speaking Russian? )

Yes, Русская рулетка
by rextended
Tue Oct 15, 2024 12:36 pm
Forum: General
Topic: Not enough permission to export config
Replies: 11
Views: 882

Re: Not enough permission to export config

Contact the person you bought it from and have them disable "protected-routerboot & Co." . They probably also installed a custom script with the branding package that sets users when you reset the device. There is a good chance that the device is not compromised , but is behaving exact...
by rextended
Tue Oct 15, 2024 12:25 pm
Forum: Scripting
Topic: ✂ Rextended Fragments of Snippets
Replies: 107
Views: 100580

Re: ✂ Rextended Fragments of Snippets

Prego! 8)
by rextended
Mon Oct 14, 2024 4:11 pm
Forum: Scripting
Topic: Inconsistent boolean conversion
Replies: 6
Views: 918

Re: Inconsistent boolean conversion

These examples show exactly what the result SHOULD look like, so what's wrong with these examples results, is your expectations. Just write the scripts properly. This is just a forcing. When happening this on one script, if is just made for this case? :put [:typeof "$(true)"] [admin@Mikrot...
by rextended
Mon Oct 14, 2024 2:10 pm
Forum: RouterBOARD hardware
Topic: Many PSU failures in CCR1036
Replies: 49
Views: 6154

Re: Many PSU failures in CCR1036

Is relevant also that I use dozen of CCR1036 from various revisions, and just on one i have that problem on all this years


Image
by rextended
Mon Oct 14, 2024 1:39 pm
Forum: Scripting
Topic: Help with this script
Replies: 12
Views: 1167

Re: Help with this script

I won't add anything else, just read post #9
by rextended
Mon Oct 14, 2024 1:25 pm
Forum: Scripting
Topic: Inconsistent boolean conversion
Replies: 6
Views: 918

Re: Inconsistent boolean conversion

So do that, or more logically stop using string as true/false values, no mater if the string have the characters "true" or "false" inside and also as yes/no for true / false :put (true=!!"true") true :if (!!"true") do={:put "-y-"} else={:put "-n...
by rextended
Mon Oct 14, 2024 12:46 pm
Forum: Announcements
Topic: 📣 WinBox 4 is here 📣
Replies: 1747
Views: 501148

Re: 📣 WinBox 4 is here 📣

Is correct, the "root" on flash device is mounted as /flash, anything outside /flash is just a ram-dirve
by rextended
Mon Oct 14, 2024 12:43 pm
Forum: General
Topic: how to filter and block multicasting?
Replies: 7
Views: 15575

Re: how to filter and block multicasting?

what you mean for "multicast"?...
drop 224.0.0.0/4
drop ff00::/8
by rextended
Mon Oct 14, 2024 12:36 pm
Forum: Wireless Networking
Topic: security wpa2 and wpa3 psk : how to know wich one is used per clients ?
Replies: 14
Views: 1519

Re: security wpa2 and wpa3 psk : how to know wich one is used per clients ?

If you want to force everyone to "throw away" all their perfectly working devices, just because some moron of a salesman said that WPA3 is better for "mind games" on the internet, and produce tons more garbage, go ahead. Because while you're watching and distracted by WPA3 you do...
by rextended
Mon Oct 14, 2024 10:13 am
Forum: Beginner Basics
Topic: Drop filter rule between subnets, not work.
Replies: 7
Views: 1227

Re: Drop filter rule between subnets, not work.

Ignoring firewall rules.

This is my firewall config:
А къде е останалото?

Всичко, което е необходимо, е разтоварването на хардуера да е активно и пакетите дори не преминават през защитната стена...
by rextended
Sat Oct 12, 2024 2:07 pm
Forum: Scripting
Topic: Help with this script
Replies: 12
Views: 1167

Re: Help with this script

I want to use it to eliminate those clients who use random Macs on their computers, I hope you understand me. Do it on wifi, do not allow fake/service MAC. But experienced user can still change to one apparenlty valid MAC... I want to eliminate users who connect to the hotspot with a different mac ...
by rextended
Sat Oct 12, 2024 12:45 pm
Forum: Scripting
Topic: Help with this script
Replies: 12
Views: 1167

Re: Help with this script

You want remove all user with same name but different mac-address? See my previous script example.
Not using hotspots I do not guarantee that work as expected, but the script is correct.
by rextended
Sat Oct 12, 2024 3:26 am
Forum: Scripting
Topic: Enhanced IP Scan with Vendor and Additional Name Sources
Replies: 24
Views: 3634

Re: Enhanced IP Scan with Vendor and Additional Name Sources

EDIT: This post is still valid but is referred to first version of the OP. I see "on the fly" two big mistakes: the first is that the entire mac-address is sent to the site (uselessly), instead of just the vendor part, screwing up privacy, the second is that the invented/random or local-us...
by rextended
Sat Oct 12, 2024 3:14 am
Forum: Scripting
Topic: Help with this script
Replies: 12
Views: 1167

Re: Help with this script

at least, untested, something like this:
 /ip hotspot active remove [find where user=$username and mac-address!=$"mac-address"]

and you do not provide any relevant detail, like routeros version and where the script is put.
by rextended
Fri Oct 04, 2024 1:01 pm
Forum: Scripting
Topic: Find and disable/enable users by part of their name
Replies: 6
Views: 1012

Re: Find and disable/enable users by part of their name

Thanks @msatter actually, there is a different six-digit order of numbers, which is always different on all routers. This match user that start with abc and have a numeric range 0-999999 and also with "0" 000000-099999 # match from abc0 to abc999999 included abc000000-abc099999 /user disab...
by rextended
Fri Oct 04, 2024 12:52 pm
Forum: General
Topic: Device got hacked 1 min after connected to internet
Replies: 51
Views: 6164

Re: Device got hacked 1 min after connected to internet

There is an even simpler solution: On newer versions of RouterOS leave LTE turned off, it will be turned on in case of defconf that also set firewall in place.


Reset or netinstall without default config = no interface active except etherX and sfpX, like wifi is disabled if no default config.
by rextended
Thu Oct 03, 2024 9:49 pm
Forum: Scripting
Topic: DNS Update script error after 7.15 upgrade [SOLVED]
Replies: 8
Views: 1323

Re: DNS Update script error after 7.15 upgrade [SOLVED]

Well, you also have the advantage that the IPs update themselves when the DNS TTL expires...
by rextended
Thu Oct 03, 2024 9:46 pm
Forum: General
Topic: Device got hacked 1 min after connected to internet
Replies: 51
Views: 6164

Re: Device got hacked 1 min after connected to internet

Since in my test lte1 started immediately, but it took a while for the SIM to register to the network, it is more than enough to immediately set the password to the admin user, logging in immediately as soon as RouterOS has started... Easy step for not remove the SIM: Enable PIN, netinstall, do conf...
by rextended
Thu Oct 03, 2024 9:36 pm
Forum: Scripting
Topic: ✂ Rextended Fragments of Snippets
Replies: 107
Views: 100580

Re: ✂ Rextended Fragments of Snippets

I guess everything is relative.
I didn't quite understand the meaning, because of the language, but if what I understood is right:

It's fine for me :)
by rextended
Thu Oct 03, 2024 5:46 pm
Forum: Scripting
Topic: DNS Update script error after 7.15 upgrade [SOLVED]
Replies: 8
Views: 1323

Re: DNS Update script error after 7.15 upgrade [SOLVED]

Why? Just use the same name for the address list...
by rextended
Thu Oct 03, 2024 5:25 pm
Forum: Scripting
Topic: Best way to check whether [find] yields results? [SOLVED]
Replies: 1
Views: 940

Re: Best way to check whether [find] yields results? [SOLVED]

The correct method is only the first. :if ([:len [/interface find where name="the name"]] > 0) do={} else={} # or if used with print :if ([:len [/interface print as-value where name="the name"]] > 0) do={} else={} Stop. Too often in scripts you get strange results when using an a...
by rextended
Thu Oct 03, 2024 2:57 pm
Forum: Scripting
Topic: Run script on user login [SOLVED]
Replies: 2
Views: 1070

Re: Run script on user login [SOLVED]

There is nothing foolproof even in your life. There is no "on-login(/on-logout/on-fail-login/on-pwd-change)" function for users on RouterOS. End of discussion. So, the only logical way is to create a schedule that run each 5 (can suffice, for no stress CPU) seconds or more appropiately, wh...
by rextended
Thu Oct 03, 2024 11:52 am
Forum: Scripting
Topic: DNS Update script error after 7.15 upgrade [SOLVED]
Replies: 8
Views: 1323

Re: DNS Update script error after 7.15 upgrade [SOLVED]

If you add the DNS name to the address list, it does everything automatically without using a half-baked script.
by rextended
Thu Oct 03, 2024 11:10 am
Forum: Announcements
Topic: v7.16.2 [stable] is released!
Replies: 506
Views: 224428

Re: v7.16 [stable] is released!

No, that is a bug. It is not related to the logging, it is just that you now see what is happening. Ever since using v7 connected to v6 I have seen those issues... You are right, I hadn't noticed because this is a service line, not in production, (otherwise I wouldn't have installed the 7.16 that j...
by rextended
Wed Oct 02, 2024 2:15 pm
Forum: Announcements
Topic: v7.16.2 [stable] is released!
Replies: 506
Views: 224428

Re: v7.16 [stable] is released!

???
TEST: Fastweb IPv6-1 {l_addr: 2a03:dead:beef::1, r_addr: 2001:beef::dead} Starter {openOk: false} Unsupported capability received, code: 128
???

128: Prestandard Route Refresh (deprecated)

Apparently enabling bgp logging dropped my IPv6 BGP session...
by rextended
Wed Oct 02, 2024 2:09 pm
Forum: Announcements
Topic: v7.16.2 [stable] is released!
Replies: 506
Views: 224428

Re: v7.16 [stable] is released!

Done, when something is come up I let you know.
SYSTEM: log rule added by winbox-3.41/tcp-msg(winbox):rex@222.173.190.239/terminal (*2D = /system logging add topics=bgp,debug,!packet,!timer)
  • 1
  • 2
  • 3
  • 4
  • 5
  • 45