Community discussions

MikroTik App

Search found 13270 matches

  • 1
  • 2
  • 3
  • 4
  • 5
  • 45
by rextended
Sat Jan 25, 2025 11:49 am
Forum: Announcements
Topic: v7.18beta [testing] is released!
Replies: 223
Views: 20969

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

by rextended
Sat Jan 25, 2025 11:38 am
Forum: General
Topic: Default values [SOLVED]
Replies: 15
Views: 667

Re: Default values [SOLVED]

@anav Where is??? even if you specificaties, the command will reset the whole interface Already wroted, with explanation.... https://forum.mikrotik.com/viewtopic.php?t=214154#p1121429 (obviously MTU and L2MTU are 666 and 777 just for test..........) [rex@edge-MATRIX] /interface/ethernet> export # 2...
by rextended
Fri Jan 24, 2025 11:42 pm
Forum: Scripting
Topic: Garbage collect old routes and duplicate routes
Replies: 19
Views: 662

Re: Garbage collect old routes and duplicate routes

(when MikroTik have done) generic tip: do not use firewall to do routing job....
by rextended
Fri Jan 24, 2025 8:14 pm
Forum: General
Topic: Best way to disable IPv6 advertisement only to specific clients? [SOLVED]
Replies: 13
Views: 496

Re: Best way to disable IPv6 advertisement only to specific clients? [SOLVED]

multicast is multicast, not somenotcast..................
by rextended
Fri Jan 24, 2025 8:11 pm
Forum: Announcements
Topic: v7.17 [stable] is released!
Replies: 296
Views: 43753

Re: v7.17 [stable] is released!

Thanks... But for what??? 🤷‍♂️
Helping @evilsabc, a generous and substantial commitment IMO.
Ah, I thought you had a similar problem, but I either didn't read it or inadvertently ignored it.
by rextended
Fri Jan 24, 2025 8:10 pm
Forum: Scripting
Topic: Functions and function parameters
Replies: 69
Views: 122777

Re: Functions and function parameters

(I do not check) Global variables are inside supout???
It's a question. They are not visible in their supout viewer, but who knows...
Reasoning in a similar way, even small files could be sent inside supout... :lol:
by rextended
Fri Jan 24, 2025 8:06 pm
Forum: Scripting
Topic: Functions and function parameters
Replies: 69
Views: 122777

Re: Functions and function parameters

Because MT guys will see them in supout files :lol: . Of course, I'm not blaming them for anything, it's just a normal security measure. Not sure if they can see environment variables, but script code is fully visible, that's why I've placed all sensitive data in the file. (I do not check) Global v...
by rextended
Fri Jan 24, 2025 8:03 pm
Forum: Announcements
Topic: v7.17 [stable] is released!
Replies: 296
Views: 43753

Re: v7.17 [stable] is released!

@rextended Thank you, and well done!
Thanks... But for what??? 🤷‍♂️
by rextended
Fri Jan 24, 2025 7:51 pm
Forum: Scripting
Topic: Functions and function parameters
Replies: 69
Views: 122777

Re: Functions and function parameters

And what's stopping you from using global variables, or better, if username, password, etc. are defined in the script, put them right inside the function.............. ... :local doFetch do={ :local SrvData [:deserialize value=[/file get $auth contents] from=json] :local Dest $path /tool fetch src-p...
by rextended
Fri Jan 24, 2025 7:01 pm
Forum: Announcements
Topic: v7.17 [stable] is released!
Replies: 296
Views: 43753

Re: v7.17 [stable] is released!

The problem is not the configuration, but probably the database files where is wroted the configuration are unreadable from 7.17 for some reason... create supout.rif and send it to mikrotik support with problem description.
by rextended
Fri Jan 24, 2025 6:30 pm
Forum: Scripting
Topic: Functions and function parameters
Replies: 69
Views: 122777

Re: Functions and function parameters

It doesn't make any sense that the function, when declared, sees the local variables... And whatever happens, you wrote it wrong, if the function ever sees local variables.... { :local TestVar "123" :local SomeFunc do={ :local TestVar ; # missing this :log info $TestVar } $SomeFunc } You c...
by rextended
Fri Jan 24, 2025 6:17 pm
Forum: Scripting
Topic: Garbage collect old routes and duplicate routes
Replies: 19
Views: 662

Re: Garbage collect old routes and duplicate routes

Tip n.1 for tip n.1: Use routing / rules. Each item has it's own tool.... when MikroTik finally add address-lists to routing rules........................
by rextended
Fri Jan 24, 2025 6:12 pm
Forum: General
Topic: Default values [SOLVED]
Replies: 15
Views: 667

Re: Default values [SOLVED]

I like corerct syntax and avoid shorting for unreadabilty.
I dislike full syntax but not where:
/interface ethernet reset numbers=[/interface ethernet find where default-name=ether1]
by rextended
Fri Jan 24, 2025 6:06 pm
Forum: Announcements
Topic: v7.17 [stable] is released!
Replies: 296
Views: 43753

Re: v7.17 [stable] is released!

DO NOT PUT FILE ON FORUM Well, do one "/export show-sensitive file=myexport" and save the export out of the Router, to program the router once v17 is installed, and resetted to empty default first. If you do not use old CAPsMAN at all, consider uninstall wireless, since CCR2116-12G-4S+ do ...
by rextended
Fri Jan 24, 2025 5:39 pm
Forum: Announcements
Topic: v7.17 [stable] is released!
Replies: 296
Views: 43753

Re: v7.17 [stable] is released!

Ok, also RouterBOOT setttings and packages are ok. You have one backup of the configuration? Old config can not reappear just putting back 7.15.3.... Download those, drag and drop inside winbox, and after that go on system / packages and press downgrade https://download.mikrotik.com/routeros/7.15.3/...
by rextended
Fri Jan 24, 2025 5:32 pm
Forum: Announcements
Topic: v7.17 [stable] is released!
Replies: 296
Views: 43753

Re: v7.17 [stable] is released!

device-mode is Ok, RouterBOOT (firmware) is Ok, Partition is OK, still missing the rest.......................................
if you still do want do it manually one by one....
/system package print detail
/system routerboard settings print
by rextended
Fri Jan 24, 2025 5:26 pm
Forum: Announcements
Topic: v7.17 [stable] is released!
Replies: 296
Views: 43753

Re: v7.17 [stable] is released!

and
/system ; package print detail ; routerboard settings print ; /partition print detail
?
(if I write that line, you must copy and paste all line...)
by rextended
Fri Jan 24, 2025 5:18 pm
Forum: Announcements
Topic: v7.17 [stable] is released!
Replies: 296
Views: 43753

Re: v7.17 [stable] is released!

DO NOT POST serial-number!
/system ; package print detail ; device-mode print ; routerboard ; print ; settings print ; /partition print detail
results?
by rextended
Fri Jan 24, 2025 4:59 pm
Forum: General
Topic: Default values [SOLVED]
Replies: 15
Views: 667

Re: Default values [SOLVED]

Stop suggest using "0" and use interface name. Ignoring the i*** of change randomly the MTU, the correct syntax is set ether1 mtu=1500 and [find] must not be used alone, because change everything, not only that interface. /interface ethernet reset NOT exist on v6 (exist only reset-counters...
by rextended
Fri Jan 24, 2025 4:54 pm
Forum: Scripting
Topic: Garbage collect old routes and duplicate routes
Replies: 19
Views: 662

Re: Garbage collect old routes and duplicate routes

This produce same output at the end, but is just for progam in "nice" way (avoid duplicates, avoid deleting what must be rewrited, etc.).

Anyway, the important thing is the rest, which I think you understood from my suggestion.
by rextended
Fri Jan 24, 2025 4:50 pm
Forum: Announcements
Topic: v7.17 [stable] is released!
Replies: 296
Views: 43753

Re: v7.17 [stable] is released!

@evilsabc
For use netinstall to reinstall 7.15.3 and reload backup, you must first enable it on device-mode.

press reset button after run this code

/system device-mode update activation-timeout=60s mode=advanced install-any-version=yes partitions=yes routerboard=yes
by rextended
Fri Jan 24, 2025 4:41 pm
Forum: Scripting
Topic: Garbage collect old routes and duplicate routes
Replies: 19
Views: 662

Re: Garbage collect old routes and duplicate routes

Basically, yes, but for be more "nice" on the point 2: on foreach cycle at the same time you UPDATE the comment if the rule already exist AND add new rules with :timestamp.

This do not delete what already exist (and must be keeped) and do not (temporarly) duplicate rules.
by rextended
Fri Jan 24, 2025 4:05 pm
Forum: Scripting
Topic: Updating CA root certs regularly [SOLVED]
Replies: 37
Views: 14392

Re: Updating CA root certs regularly [SOLVED]

New for Mozilla https://www.ccadb.org ( https://ccadb.my.salesforce-sites.com/mozilla/IncludedRootsPEMTxt?TrustBitsInclude=Websites ) /file print file=ccadb.txt :delay 1s set ccadb.txt content="-----BEGIN CERTIFICATE-----\r\ \nMIIDrzCCApegAwIBAgIQCDvgVpBCRrGhdWrJWZHHSjANBgkqhkiG9w0BAQUFADBh\r\ ...
by rextended
Fri Jan 24, 2025 3:50 pm
Forum: Announcements
Topic: v7.17 [stable] is released!
Replies: 296
Views: 43753

Re: v7.17 [stable] is released!

I'm just wondering if I did something in the past to import all those certs, and I just cannot remember it. 😊 Yes, you read this topic and apply the script. https://forum.mikrotik.com/viewtopic.php?p=1080348#p831111 @CGGXANNX never trust intermediate sites. https://forum.mikrotik.com/viewtopic.php?...
by rextended
Fri Jan 24, 2025 3:38 pm
Forum: Scripting
Topic: Garbage collect old routes and duplicate routes
Replies: 19
Views: 662

Re: Garbage collect old routes and duplicate routes

I won't write it down, but I'll give you an idea. Scroll through the list of addresses. For each of theroutes you find that are the same as the ones you need, update the comment with a prefix and today's date (for example "$comment 2025/01/24 14:30") add the routes that don't exist, always...
by rextended
Fri Jan 24, 2025 3:25 pm
Forum: Scripting
Topic: simple lan side failover
Replies: 2
Views: 169

Re: simple lan side failover

Do not duplicate requests.

viewtopic.php?p=1121356#p1121356
by rextended
Thu Jan 23, 2025 10:06 pm
Forum: Announcements
Topic: v7.18beta [testing] is released!
Replies: 223
Views: 20969

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

Export also the scheduler, how can check if you put all necessary policies? /system clock :local d [get date] :local t [get time] :local z [get time-zone-name] /system identity :local n [get name] /system backup save name=email dont-encrypt=no encryption=aes-sha256 password=pippo :delay 2s; /tool e-...
by rextended
Thu Jan 23, 2025 9:58 pm
Forum: Announcements
Topic: v7.18beta [testing] is released!
Replies: 223
Views: 20969

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

I think it's actually a data alignment problem in the NAND, since the backup "bios" itself is started only by holding down the reset button before turning on the device, or by selecting "force backup booter" item in system/routerboard/settings. Also old 3.x and 6.x do not longer ...
by rextended
Thu Jan 23, 2025 9:50 pm
Forum: Announcements
Topic: v7.18beta [testing] is released!
Replies: 223
Views: 20969

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

Only on 5 occasions MikroTik provide packages for change "any" backup version on 6.29.1 for 3.24 backup, on 6.40.7 for 3.41 backup, on 6.43.7 for 6.43.7 backup, on 6.49.7 for 6.43.7 backup, and on 7.6 for 7.6 backup. My 2017 post already explain how... https://forum.mikrotik.com/viewtopic....
by rextended
Thu Jan 23, 2025 9:37 pm
Forum: Announcements
Topic: v7.18beta [testing] is released!
Replies: 223
Views: 20969

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

What is your backup firmware?? You must install and use 7.6 RouterBOOT and RouterOS do not work with other version of current RouerBOOT (you already know that RouterBOOT is not RouterOS, I write that for the others...) when trying to enable the feature, do the following: a) upgrade or downgrade the ...
by rextended
Thu Jan 23, 2025 9:26 pm
Forum: General
Topic: MikroTik routers Hijacked by botnet
Replies: 9
Views: 609

Re: MikroTik routers Hijacked by botnet

So, the current version 6.49.17 and 7.17 of ROS are presumably not affected by these previously discovered vulnerabilities assuming the default admin user is disabled and replaced with once with complex password, management access to router restricted to specific private IPs (so no SSH/Winbox from ...
by rextended
Thu Jan 23, 2025 9:18 pm
Forum: The Dude
Topic: Add custom tool for routerboard upgrade
Replies: 6
Views: 401

Re: Add custom tool for routerboard upgrade

I cannot simply allow routers to auto-update or I would risk one router rebooting while another is still downloading. Understand the point. Yes, you can. The auto-upgrade (of RouterBOOT / firmware / "BIOS") do not cause reboot on any way. Simply next time RouterBOARD reboot for some reaso...
by rextended
Thu Jan 23, 2025 7:07 pm
Forum: Announcements
Topic: v7.17 [stable] is released!
Replies: 296
Views: 43753

Re: v7.17 [stable] is released!

As usually, "you" forget to write history of all previous RouerOS versions installed.
by rextended
Thu Jan 23, 2025 7:04 pm
Forum: The Dude
Topic: Add custom tool for routerboard upgrade
Replies: 6
Views: 401

Re: Add custom tool for routerboard upgrade

This is not a routerboard / RouterOS upgrade, this is a firmware ("bios" / RouterBOOT) upgrade inside the RouterBOARD. Enable auto-upgrade suffice, is useless upgrade the "bios" because often still the same for years, because inside change only version number for follow RouterOS ...
by rextended
Thu Jan 23, 2025 6:54 pm
Forum: Announcements
Topic: v7.18beta [testing] is released!
Replies: 223
Views: 20969

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

...
by rextended
Thu Jan 23, 2025 6:32 pm
Forum: General
Topic: MikroTik routers Hijacked by botnet
Replies: 9
Views: 609

Re: MikroTik routers Hijacked by botnet

Still falling everytime into the same stupid speeches. Are you able to understand well what is written??? MikroTik RouterOS stable before 6.49.7 and long-term through 6.48.6 are vulnerable to a privilege escalation issue. A remote and authenticated attacker can escalate privileges from admin to supe...
by rextended
Thu Jan 23, 2025 6:23 pm
Forum: General
Topic: PoE status on boot
Replies: 7
Views: 358

Re: PoE status on boot

It doesn't matter how the relay is connected for be powered from mAP when is forced-on,
but what does it do (the relay)?
Is the contact normally open or normally closed?
What does the contact control?
The relay change power source of the mAP?

Be more specific.
by rextended
Thu Jan 23, 2025 6:20 pm
Forum: Announcements
Topic: v7.17 [stable] is released!
Replies: 296
Views: 43753

Re: v7.17 [stable] is released!

No, what are the certs name (not the issuer, but the name on routeros)?
by rextended
Thu Jan 23, 2025 3:33 pm
Forum: General
Topic: PoE status on boot
Replies: 7
Views: 358

Re: PoE status

Hi, Can You add option to set PoE status on boot? For example: i have PoE "forced on" on eth2, but when there is a power outage, after restarting the port will be off. (you can set on, off, previous state - on boot). Just like in smart plug :) Never happen to me, hardware and RouterOS use...
by rextended
Thu Jan 23, 2025 2:59 pm
Forum: Announcements
Topic: v7.18beta [testing] is released!
Replies: 223
Views: 20969

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

Yes, but the first implementations lock "everything", so this caused many testers to skip any testing...
by rextended
Thu Jan 23, 2025 2:46 pm
Forum: Announcements
Topic: v7.18beta [testing] is released!
Replies: 223
Views: 20969

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

Well, no one reported it for the testing (beta and rc) releases...
Because this time with device-mode s–t no one want lock his devices, so less persons than before do tests...
by rextended
Thu Jan 23, 2025 2:43 pm
Forum: Announcements
Topic: v7.18beta [testing] is released!
Replies: 223
Views: 20969

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

I AM NOT an expert on the file system used, but in the past updates left space occupied on the disk not assigned to any file. A "fsck" solved it by releasing the space. This happened in x86 and CHR (mounted separately the disk on ubuntu for launch "fsck"), but probably given the ...
by rextended
Thu Jan 23, 2025 2:36 pm
Forum: Announcements
Topic: v7.18beta [testing] is released!
Replies: 223
Views: 20969

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

If you think about it, it's the only logical solution for those stuck on 7.16.2, which obviously doesn't concern those who have already installed 7.17 or 7.18beta2. What I wonder is why if I think about it in a few moments, that I AM NOT PAID TO DO IT, why those who are paid by MikroTik to do things...
by rextended
Thu Jan 23, 2025 2:27 pm
Forum: Announcements
Topic: v7.18beta [testing] is released!
Replies: 223
Views: 20969

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

Then original question stands - are there any alternatives to netinstall...
They should make 7.16.3 (which would be the same size as the kernel that goes with it) with the space fix,
mandatory before moving to 7.17.x or 7.18.x
That way you would have the problem already solved.
by rextended
Thu Jan 23, 2025 1:48 pm
Forum: General
Topic: Log: a lot of logs
Replies: 7
Views: 679

Re: Log: a lot of garbage

Please change the title like "I do not understand correctly how set the logs", is not a RouterOS problem. Now I'm writing you what the others who answered did NOT deduce from your screenshot... @K0NCTANT1N You completely got it all wrong. !ntp also logs literally everything, except ntp... ...
by rextended
Thu Jan 23, 2025 1:42 pm
Forum: Announcements
Topic: v7.18beta [testing] is released!
Replies: 223
Views: 20969

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

on [successful] upgrade or netinstall


Simply the "fix" is not installed until is not successfully installed the 7.18beta2.
The fix is for future versions, not to fix current.
by rextended
Thu Jan 23, 2025 11:28 am
Forum: Announcements
Topic: v7.18beta [testing] is released!
Replies: 223
Views: 20969

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

More CEF features are in development for the next betas
well..
by rextended
Wed Jan 22, 2025 2:30 pm
Forum: Announcements
Topic: v7.18beta [testing] is released!
Replies: 223
Views: 20969

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

...
by rextended
Wed Jan 22, 2025 1:46 pm
Forum: Announcements
Topic: v7.17 [stable] is released!
Replies: 296
Views: 43753

Re: v7.17 [stable] is released!

Why this do not work since 7.17??? (on all 7.16.2 and less, included v6, work) /sys log action set [find] disk-file-name="/log" (work without the /) Those, and other points where can be set a path, with "/" work correctly: /ip hotspot profile set [find default=yes] html-directory...
by rextended
Wed Jan 22, 2025 1:40 pm
Forum: Announcements
Topic: v7.18beta [testing] is released!
Replies: 223
Views: 20969

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

Why this do not work since 7.17??? (on all 7.16.2 and less, included v6, work) /sys log action set [find] disk-file-name="/log" (work without the /) Those, and other points where can be set a path, with "/" work correctly: /ip hotspot profile set [find default=yes] html-directory...
by rextended
Wed Jan 22, 2025 1:36 pm
Forum: Scripting
Topic: :execute output to console? Or any other method?
Replies: 17
Views: 1727

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

Whatever happens, this doesn't mean that if you need help, I won't give it to you. Remember that no one is infallible. I often make mistakes too, especially with RouterOS that changes things with each version..... For example... this do NOT work on 7.17+ but work on 7.16.2 and less (also on v6)... ...
by rextended
Wed Jan 22, 2025 1:07 pm
Forum: Scripting
Topic: :execute output to console? Or any other method?
Replies: 17
Views: 1727

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. You on the other hand aren't listening at all, just preaching pedantic coding Just wait new 7.18... On different devices and different way of update I obtain different results. This is one hAPax² from (??? not remember)-...
by rextended
Wed Jan 22, 2025 11:49 am
Forum: Announcements
Topic: v7.17 [stable] is released!
Replies: 296
Views: 43753

Re: v7.17 [stable] is released!

What is the purpose and the use of "authorized-public-key-hash" on device-mode???
by rextended
Tue Jan 21, 2025 11:48 pm
Forum: Scripting
Topic: New command in RouterOs 7
Replies: 37
Views: 13108

Re: New command in RouterOs 7

:lol: 8)
by rextended
Tue Jan 21, 2025 8:19 pm
Forum: Announcements
Topic: v7.18beta [testing] is released!
Replies: 223
Views: 20969

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

Not installed for test, but this help comparing commands differencies on terminal:
viewtopic.php?p=1047229#p1047229
by rextended
Tue Jan 21, 2025 6:31 pm
Forum: Forwarding Protocols
Topic: BGP receiving the Full internet table to my CCR2216-1G-12XS-2XQ
Replies: 1
Views: 170

Re: BGP receiving the Full internet table to my CCR2216-1G-12XS-2XQ

Do not have any problem at all...

But...
another provider that can give the full routing table only
Filter all and add 0.0.0.0/0 with more weight manually, is easy, and can circumvent provider incapacity...
by rextended
Tue Jan 21, 2025 6:25 pm
Forum: Announcements
Topic: v7.18beta [testing] is released!
Replies: 223
Views: 20969

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

Image

NICE WORK.

I'm undecided on what to report the most beautiful, besides the FastTrak, I should copy half the list...
by rextended
Tue Jan 21, 2025 3:47 pm
Forum: General
Topic: Downloading a Root Cert for DNS over HTTPS Purposes directly onto a MicroTik Router [SOLVED]
Replies: 2
Views: 313

Re: Downloading a Root Cert for DNS over HTTPS Purposes directly onto a MicroTik Router [SOLVED]

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Fingerprint RouterOS / Firefox: 31ad6648f8104138c738f39ea4320133393e3a18cc02296ef97c2ac9ef6731d0 31:AD:66:48:F8:10:41:38:C7:38:F3:9E:A4:32:01:33:39:3E:3A:18:CC:02:29:6E:F9:7C:2A:C9:EF:67:31:D0 -----BEGIN PGP SIGNATURE----- wsBzBAEBCAAnBYJnj6V4CZDWOsA2...
by rextended
Tue Jan 21, 2025 3:02 pm
Forum: General
Topic: Downloading a Root Cert for DNS over HTTPS Purposes directly onto a MicroTik Router [SOLVED]
Replies: 2
Views: 313

Re: Downloading a Root Cert for DNS over HTTPS Purposes directly onto a MicroTik Router [SOLVED]

Search on forum, someone have already do that... This download all root certificates. https://forum.mikrotik.com/viewtopic.php?t=169662#p1080456 If you want install only one root cert (DigiCert Global Root G3), use only first part, with correct certificate: /file print file=DigiCertGlobalRootG3.txt ...
by rextended
Mon Jan 20, 2025 3:04 pm
Forum: Forwarding Protocols
Topic: AMT - Automatic Multicast Tunneling support
Replies: 13
Views: 3727

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: 13630

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: 13630

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: 13630

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: 13630

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: 13
Views: 3727

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: 420

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: 223

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: 36576

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: 36576

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: 5820

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: 857

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: 491

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: 857

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 [SOLVED]
Replies: 65
Views: 4372

Re: Struggling to receive IPv6 prefix delegation from ISP [SOLVED]

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 [SOLVED]
Replies: 65
Views: 4372

Re: Struggling to receive IPv6 prefix delegation from ISP [SOLVED]

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 [SOLVED]
Replies: 65
Views: 4372

Re: Struggling to receive IPv6 prefix delegation from ISP [SOLVED]

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: 1764
Views: 521196

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 [SOLVED]
Replies: 65
Views: 4372

Re: Struggling to receive IPv6 prefix delegation from ISP [SOLVED]

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 [SOLVED]
Replies: 65
Views: 4372

Re: Struggling to receive IPv6 prefix delegation from ISP [SOLVED]

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 [SOLVED]
Replies: 65
Views: 4372

Re: Struggling to receive IPv6 prefix delegation from ISP [SOLVED]

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 [SOLVED]
Replies: 65
Views: 4372

Re: Struggling to receive IPv6 prefix delegation from ISP [SOLVED]

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 [SOLVED]
Replies: 65
Views: 4372

Re: Struggling to receive IPv6 prefix delegation from ISP [SOLVED]

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: 13
Views: 2245

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: 17
Views: 1727

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: 17
Views: 1727

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: 17
Views: 1727

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: 17
Views: 1727

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: 890

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: 1554

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: 5162

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: 1764
Views: 521196

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: 17
Views: 1727

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: 1554

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: 890

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: 726

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: 1554

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: 13
Views: 3727

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: 13
Views: 3727

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: 9490

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: 43071

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: 1376

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: 1690

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: 1124

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: 1124

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: 1027

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: 2712

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: 871

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: 848

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: 1065

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: 2712

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: 2712

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: 1510

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: 1510

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: 1510

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: 2712

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: 946

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: 41698

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: 2712

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: 1473

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: 1473

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: 1109

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: 21084

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: 21084

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: 3138

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: 778

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: 3138

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: 709

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: 3138

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: 646

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: 16029

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: 16029

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: 16029

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: 226167

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: 1309

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: 1325

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: 1309

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: 1325

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: 1055

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: 789

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: 1055

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: 1325

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: 4005

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: 4082

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 [SOLVED]
Replies: 216
Views: 67297

Re: Feature Request : IPv6 Fasttrack [SOLVED]

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: 1707

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 [SOLVED]
Replies: 216
Views: 67297

Re: Feature Request : IPv6 Fasttrack [SOLVED]

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 [SOLVED]
Replies: 216
Views: 67297

Re: Feature Request : IPv6 Fasttrack [SOLVED]

+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: 4082

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: 1707

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: 1259

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: 1707

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: 1707

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: 1259

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: 1005

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: 1005

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: 1445

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: 1445

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: 2561

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: 1299

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: 829

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: 5147

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: 5147

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: 5147

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: 5147

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: 5147

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: 5147

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: 5147

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: 3609

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: 5147

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: 5147

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: 5147

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: 226167

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: 1148

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: 5147

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: 1143

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: 1143

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: 8426

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: 1353

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: 1434

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: 3664

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: 1434

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: 1027

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: 3664

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: 3664

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: 3609

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: 3664

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: 1159

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: 3609

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: 3609

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: 1316

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: 3664

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: 663

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: 783

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: 1206

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: 1283

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: 5700

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: 5700

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: 5700

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: 5700

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: 5700

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: 5700

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: 91743

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: 91743

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: 5555

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: 588

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: 93421

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: 2629

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: 880

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: 1058

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: 1342

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: 3588

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: 2629

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: 2629

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: 1342

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: 3751

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: 1342

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: 712

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: 2017

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: 6884

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: 2017

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: 3343

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: 3751

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: 3343

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: 90441

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: 3343

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: 90441

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: 3343

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: 3343

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: 3479

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: 1201

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: 4576

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: 2649

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: 1153

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: 1469

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: 1469

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: 1153

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: 1469

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: 2612

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: 2869

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: 895

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: 1153

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\...
  • 1
  • 2
  • 3
  • 4
  • 5
  • 45