Community discussions

MikroTik App

Search found 12515 matches

by rextended
Sat Jul 15, 2023 3:18 am
Forum: Scripting
Topic: ✂ Rextended Fragments of Snippets
Replies: 96
Views: 61743

Re: ✂ Rextended Fragments of Snippets

Now it's time to create CP1251 toHexGSM7, but... GSM-7 doesn't support Cyrillic characters at all, so it is impossible to write a function to convert something written with CP1251 and convert it into an SMS written on GSM-7 (unless you just use a-z, etc). At this point it is more accurate to write a...
by rextended
Sat Jul 15, 2023 3:05 am
Forum: Scripting
Topic: ✂ Rextended Fragments of Snippets
Replies: 96
Views: 61743

Re: ✂ Rextended Fragments of Snippets

CP1251 Cyrillic variant : Function to URL encode the strings for the GET fields for "/tool fetch" (a submitted GET form can be simulated with http-header-field="Content-Type:application/x-www-form-urlencoded") or POST with datatype application/x-www-form-urlencoded (http-header-...
by rextended
Sat Jul 15, 2023 2:45 am
Forum: Scripting
Topic: UCS2toUTF8
Replies: 3
Views: 2759

Re: UCS2toUTF8

Rextended function:

Pepelxl function:
I can not fix your post.
For courtesy, alter the first post, remove the function and put the link to the function, why do copy & paste copy also the errors....
viewtopic.php?p=983695#p983695
by rextended
Fri Jul 14, 2023 9:11 pm
Forum: Scripting
Topic: Convert cyrillic to PDU modem format for sending SMS
Replies: 31
Views: 4363

Re: Convert cyrillic to PDU modem format for sending SMS

The new function I write ASCIItoCP1251toUNICODE can be used to convert Cyrillic CP1251 to UNICODE / UTF-2 for PDU, just remove 0x and the last space on :local unicode "0x$($CP1251toUNICODE->[:find $ascii [:pick $string $pos ($pos + 1)] -1]) " for obtain тест = \F2\E5\F1\F2 = 04420435044104...
by rextended
Fri Jul 14, 2023 8:39 pm
Forum: Scripting
Topic: Frequent empty variables in scripts turned out to be Bug ?
Replies: 10
Views: 2282

Re: [BUGOS] Frequent empty variables in scripts turned out to be Bug ?

I'm updating my post with more examples and final description, you anticipated me ;)
by rextended
Fri Jul 14, 2023 8:23 pm
Forum: Scripting
Topic: Frequent empty variables in scripts turned out to be Bug ?
Replies: 10
Views: 2282

Re: [BUGOS] Frequent empty variables in scripts turned out to be Bug ?

{ :local func do={ :return "txt $domainName" } :put [$func domainName=123] :put [$func domainName=223] :put [$func domainName=323] :put [$func domainName=423] } { :local func ":put \"txt \$domainName\"" :local domainName 123 [:parse ":local domainName $domainName ...
by rextended
Fri Jul 14, 2023 7:30 pm
Forum: Scripting
Topic: Command to create directory?
Replies: 14
Views: 30175

Re: Command to create directory?

...
by rextended
Fri Jul 14, 2023 6:18 pm
Forum: Scripting
Topic: script to add ip to list based on log - help needed
Replies: 10
Views: 4388

Re: script to add ip to list based on log - help needed

replace bot occurencies of admin and winbox with the character asterisk *
by rextended
Fri Jul 14, 2023 10:12 am
Forum: Scripting
Topic: ✂ Rextended Fragments of Snippets
Replies: 96
Views: 61743

Re: ✂ Rextended Fragments of Snippets

CP1251 Cyrillic variant Convert string from ASCII 8-bit CP1251 to UNICODE entry points :global ASCIItoCP1251toUNICODE do={ :local ascii "\00\01\02\03\04\05\06\07\08\09\0A\0B\0C\0D\0E\0F\ \10\11\12\13\14\15\16\17\18\19\1A\1B\1C\1D\1E\1F\ \20\21\22\23\24\25\26\27\28\29\2A\2B\2C\2D\2E\2F\ \30\31\...
by rextended
Thu Jul 13, 2023 6:37 pm
Forum: RouterBOARD hardware
Topic: Most stable CCR2xxx for BGP
Replies: 22
Views: 4595

Re: Most stable CCR2xxx for BGP

Fact: Once installed never down, except for RouterOS reboot for upgrade.
CCR2116-12G-4S+ with Factory 7.2, Netinstalled 7.8, upgraded to long-term 7.10 then 7.10.2 with 3 BGP full tables, 2 IPv4, 1 IPv6.
by rextended
Thu Jul 13, 2023 6:34 pm
Forum: General
Topic: redirect https and http sites to a site
Replies: 9
Views: 2079

Re: redirect https and http sites to a site

I don't know what to do
Study the difference between http and httpS.
by rextended
Thu Jul 13, 2023 2:52 pm
Forum: Announcements
Topic: v7.10, 7.10.1 and more [stable] are released!
Replies: 369
Views: 128280

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

at this point is better write only the last as title "v7.10.2 [stable] are released!"...
by rextended
Thu Jul 13, 2023 11:35 am
Forum: Scripting
Topic: $INQUIRE - prompt user for input using array of questions + $CHOICES
Replies: 21
Views: 3093

Re: $INQUIRE - prompt user for input using array of questions, ft. inline functions (>[])

gatto-felice.jpg
Bravi!!! Tutti, mi piace quando c'è collaborazione!!!
by rextended
Thu Jul 13, 2023 10:12 am
Forum: Beginner Basics
Topic: I need help
Replies: 12
Views: 1480

Re: I need help

If there is like here in Italy, "they" don't invest in the countryside,
it's more convenient to invest in densely populated places, and therefore you dream of 100Mb by LTE...

Otherwise what would I, the other WISPs and MikroTik be doing?...
by rextended
Thu Jul 13, 2023 2:53 am
Forum: Beginner Basics
Topic: I need help
Replies: 12
Views: 1480

Re: I need help

Here is yet another generic title "I need help"
How do you not know what model you bought?
Just look at the code on the box...

Also posted in the wrong section of the forum.
Where is your "Useful user article"?
by rextended
Thu Jul 13, 2023 2:49 am
Forum: General
Topic: Weird log message in Mikrotik RB2011
Replies: 2
Views: 434

Re: Weird log message in Mikrotik RB2011

Apart from that it is already written what the problem is, just read, you have truncated the log without showing what is written afterwards, and you didn't specify what the first MAC belongs to.... and actually I would worry about everything else that is written there.... the black part seems more s...
by rextended
Thu Jul 13, 2023 2:26 am
Forum: Announcements
Topic: v7.11beta [testing] is released!
Replies: 373
Views: 104434

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

Thanks @kcarhc you are thanked on post on the link. All domain not matched before? just use one single dot, but match also invalid DNS requests. for regexp on dns effectively work differently from scripts... just replace {} with (near) equivalent commands from "^(([a-zA-Z0-9][a-zA-Z0-9-]{0,61})...
by rextended
Thu Jul 13, 2023 2:01 am
Forum: Scripting
Topic: Max size of variables still at 4096!? Anwser is NO
Replies: 5
Views: 3498

Re: Max size of variables still at 4096!? Anwser is NO

Example script of reading a file from a webserver directly into a variable and generate a address-list from it. […] Starting import of address-list: testturris Deleting all Dynamic entries in address-list: testturris Using as extra filtering: http|smtp Imported file length 64512 bytes Completed imp...
by rextended
Thu Jul 13, 2023 12:55 am
Forum: Scripting
Topic: Max size of variables still at 4096!? Anwser is NO
Replies: 5
Views: 3498

Re: Max size of variables still at 4096!? Anwser is NO

Imported file length 64512 bytes Sorry, but the limit from a file are stil lthe same: 64512, what is changed on this? (ignoring the WRITING of a file) https://forum.mikrotik.com/viewtopic.php?t=197190#p1008826 I did not understand (seriously, no joke)... This create on 6.x and on 7.x one variable o...
by rextended
Wed Jul 12, 2023 2:24 pm
Forum: Announcements
Topic: v7.11beta [testing] is released!
Replies: 373
Views: 104434

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

hAP ac3 please
And my "Audience"?

Why should they activate your own model and not what others have?
Otherwise it would no longer be a limited beta...
You wait like the others: don't break the eggs in the basket.
by rextended
Wed Jul 12, 2023 2:16 pm
Forum: The User Manager
Topic: userman really badbug
Replies: 3
Views: 2805

Re: userman really badbug

It's only your problem. First of all, why not using the latest 6.49.8, but a two year old version? Maybe on newer versions, there was a bug, they fixed it. I've had usermanager 6.x for years on various machines and versions and never had any such bugs. You have indicated absolutely nothing concrete,...
by rextended
Wed Jul 12, 2023 2:08 pm
Forum: Scripting
Topic: Can RouterOS script handle JSON?
Replies: 1
Views: 1650

Re: Can RouterOS script handle JSON?

There is already more than one script on the forum for both JSON and automatic choice of a VPN.

If you wrote in an even more general way, it was enough that you wrote only "?" in the post.


SpamGPT TAG: ###RCHCK###
by rextended
Wed Jul 12, 2023 1:40 pm
Forum: Announcements
Topic: v7.10, 7.10.1 and more [stable] are released!
Replies: 369
Views: 128280

Re: v7.10 and 7.10.1 [stable] is released!

Windows 11 is considered stable

Image
by rextended
Wed Jul 12, 2023 11:55 am
Forum: Announcements
Topic: v7.11beta [testing] is released!
Replies: 373
Views: 104434

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

Logical, very good ;) Sorry if I made you confuse...

But at least I prevented the discontent and the usual question of the other users... :))
by rextended
Wed Jul 12, 2023 11:49 am
Forum: Announcements
Topic: v7.11beta [testing] is released!
Replies: 373
Views: 104434

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

Back to Home VPN service
Nice feature!!!

It will solve the need of many with very little effort!!!
Thank you all.
by rextended
Wed Jul 12, 2023 11:38 am
Forum: Beginner Basics
Topic: Display garbled Chinese characters for Winbox settings comments on webfig
Replies: 3
Views: 1598

Re: Display garbled Chinese characters for Winbox settings comments on webfig

What is the solution to the problem of displaying garbled characters in Chinese when setting comments on Winbox on webfig
Simply: Do not use logograms but only transliteration with 7-bit latin characters.

RouterOS do not support at all UTF-8.
by rextended
Wed Jul 12, 2023 11:26 am
Forum: General
Topic: redirect a subdomain to a private ip in the local network
Replies: 7
Views: 884

Re: redirect a subdomain to a private ip in the local network

What DNSs are set up on the other devices?
by rextended
Wed Jul 12, 2023 11:23 am
Forum: Beginner Basics
Topic: NTP server problems [SOLVED]
Replies: 22
Views: 3366

Re: NTP server problems [SOLVED]

[quote=EternalNet post_id=1012590 time=1689149581 user_id=219310] Thanks everyone for replies, I did manage to make it work on my end. For me it was this: - I setup ntp client on rb device, with 1 pool from ntp.org, then i enabled ntp server, but debian would refuse to see it as proper ntp server. I...
by rextended
Wed Jul 12, 2023 11:02 am
Forum: Scripting
Topic: get a list of enabled NAT rules with no src address list
Replies: 38
Views: 5007

Re: get a list of enabled NAT rules with no src address list

Don't sit on it.....share.
+1
by rextended
Wed Jul 12, 2023 10:37 am
Forum: Announcements
Topic: v7.11beta [testing] is released!
Replies: 373
Views: 104434

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

@kcarhc [-a-zA-Z0-9][-a-zA-Z0-9][-a-zA-Z0-9][-a-zA-Z0-9]+\.[a-z][a-z]+ Use a valid RegEx for DNS: https://forum.mikrotik.com/viewtopic.php?p=876023#p876023 "^(([a-zA-Z0-9][a-zA-Z0-9-]{0,61}){0,1}[a-zA-Z]\.){1,9}[a-zA-Z][a-zA-Z0-9-]{0,28}[a-zA-Z]$" Neither mine nor yours take into account ...
by rextended
Tue Jul 11, 2023 6:34 pm
Forum: Scripting
Topic: New data type in Mikrotik RouterOS
Replies: 19
Views: 3064

Re: New data type in Mikrotik RouterOS

Is better call it shortcut, a pointer on true programming language is another thing...
by rextended
Tue Jul 11, 2023 5:18 pm
Forum: Announcements
Topic: v7.11beta [testing] is released!
Replies: 373
Views: 104434

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

- when exporting bgp configuration, as number should always be exported also when it is 65530.
I do not notice that before, but is a bug for sure.....
by rextended
Tue Jul 11, 2023 4:38 pm
Forum: The User Manager
Topic: Feature request. V3 usermanager package for V6 or V7
Replies: 2
Views: 2509

Re: Feature request. V3 usermanager package for V6 or V7

You still use RB133C3???

I'm really surprised to see that after a sixth of a century you're still using the same equipment...
by rextended
Tue Jul 11, 2023 4:34 pm
Forum: Announcements
Topic: v7.11beta [testing] is released!
Replies: 373
Views: 104434

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

Temporarly you can solve with deleting all templates, reboot, and after that do this /routing bgp template add as=65530 disabled=no name=default routing-table=main and add back the other templates, set the default template, then set the correct template for each "connection"... I never use...
by rextended
Tue Jul 11, 2023 3:54 pm
Forum: The User Manager
Topic: No Userman Web Interface on RouterOS 7 [SOLVED]
Replies: 3
Views: 3970

Re: No Userman Web Interface on RouterOS 7 [SOLVED]

@kashifmax : If there is no valid reason, stay at 6.48.7 (long-term) the user-manager in v7 doesn't exist anymore, now on v7 there's another thing they gave that name, but it has nothing to do with it. However, it is a crime to still use 6.38, already years ago you must have switched to the last lo...
by rextended
Tue Jul 11, 2023 2:44 pm
Forum: RouterOS beta
Topic: Remote Syslog
Replies: 9
Views: 2941

Re: Remote Syslog

@wfburton
What you have written is completely inconclusive, useless, silly, etc.

What are you talking about?
What version of RouterOS is it?
What generated the log?
Where do you read the log?
Etc.
by rextended
Tue Jul 11, 2023 10:36 am
Forum: Scripting
Topic: get a list of enabled NAT rules with no src address list
Replies: 38
Views: 5007

Re: get a list of enabled NAT rules with no src address list

But can't you read?
You keep copying and pasting the same post.
Do you enjoy taking the piss?
by rextended
Tue Jul 11, 2023 10:26 am
Forum: Scripting
Topic: timeout value in address list
Replies: 9
Views: 2274

Re: timeout value in address list

timeout~"."
Nice.... effectively, it's more elegant than mine.

In both cases, RouterOS still has to do some more operations, on v7 logically have fied that.
by rextended
Tue Jul 11, 2023 10:20 am
Forum: Scripting
Topic: check the element for occurrence in the key array without circle
Replies: 9
Views: 1874

Re: check the element for occurrence in the key array without circle

The sum is the sum, the { } is one array and { $x ; $x } create one array with 2 items inside, and if both items are two array, create one array of arrays :global array1 {"a1"="val1"; "a3"="val2"} :global array2 {"a3"="val3"; "a4"...
by rextended
Tue Jul 11, 2023 9:48 am
Forum: Scripting
Topic: Help with hashtags, how to replace them
Replies: 9
Views: 1840

Re: Help with hashtags, how to replace them

So you don't need just a hint, but the whole script........ :lol: :local uname "" ; :local tmp "" :for pos from=0 to=([:len $user] - 1) do={ :set tmp [:pick $user $pos ($pos + 1)] ; :if ($tmp = "#") do={:set tmp "%23"} :set uname "$uname$tmp" } :loca...
by rextended
Mon Jul 10, 2023 6:15 pm
Forum: Scripting
Topic: timeout value in address list
Replies: 9
Views: 2274

Re: timeout value in address list

Thank you, I appreciate your suggestions, ALWAYS. ************************** Do not work on v6.... or better, work only when timeout is not present: v6/v7 compatible syntax /ip firewall address-list add list=test timeout=2m address=6.6.6.6 disabled=no comment="test" add list=test address=7...
by rextended
Mon Jul 10, 2023 5:50 pm
Forum: Scripting
Topic: Help with hashtags, how to replace them
Replies: 9
Views: 1840

Re: Help with hashtags, how to replace them

How many times? You sure about url syntax: https://example.com/number=SR%23kennedy&bid=BID202202004 ???????? is not like https://example.com/page?number=SR%23kennedy&bid=BID202202004 ??????? You already have the solution: { :local user "SR#kennedy" :local hashencode do={ :local con...
by rextended
Mon Jul 10, 2023 5:48 pm
Forum: The Dude
Topic: SNMP Walk - gen err (6)
Replies: 16
Views: 4232

Re: SNMP Walk - gen err (6)

Lost time: The Dude is not under development & Cambium is not one MikroTik product...
by rextended
Mon Jul 10, 2023 1:04 pm
Forum: Scripting
Topic: check the element for occurrence in the key array without circle
Replies: 9
Views: 1874

Re: check the element for occurrence in the key array witnout circle

I immediately saw this error, but I don't know how to fix the title of the post
simply edit the first post, you have on top the field for change the title ;)
by rextended
Mon Jul 10, 2023 11:33 am
Forum: General
Topic: Different model in box and device [SOLVED]
Replies: 6
Views: 632

Re: Different model in box and device [SOLVED]

Hello I bought a SXT SA5 ac , the part number on the box is correct, but the device is registered in winbox SXT 5 ac . Mac Ethernet and wireless LAN are inside Winbox and the box is the same. Is the model registered in winbox for the device correct? Or the model registered on the box? It's all OK, ...
by rextended
Mon Jul 10, 2023 11:27 am
Forum: Scripting
Topic: check the element for occurrence in the key array without circle
Replies: 9
Views: 1874

Re: check the element for occurrence in the key array witnout circle

Thanks !
( please fix the misspell error on the title witnout => without ;) )
by rextended
Mon Jul 10, 2023 10:56 am
Forum: Scripting
Topic: check the element for occurrence in the key array without circle
Replies: 9
Views: 1874

Re: check the element for occurrence in the key array witnout circle

Ask to Rex ;) :local list [:toarray "a, b, c, d"]; On this example, a,b,c,d are not keys, are values, and are indexed like this: 0=a, 1=b, 2=c, 3=d... :put ([:toarray "a, b, c, d"]->2) return "c" First variant, the easy way... :global arrayCom {"key1"="va...
by rextended
Mon Jul 10, 2023 10:17 am
Forum: Scripting
Topic: Convert cyrillic to PDU modem format for sending SMS
Replies: 31
Views: 4363

Re: Convert cyrillic to PDU modem format for sending SMS

It would be much easier if MT improves SMS tool
It is unlikely that we will wait for this, it's better to wait until Rex becomes freer. :D
You are probably right :)
by rextended
Mon Jul 10, 2023 3:35 am
Forum: Scripting
Topic: timeout value in address list
Replies: 9
Views: 2274

Re: timeout value in address list

the first script return all entry with a timeout,

the second script do not check if the timeout exist or not, but if timeout do not exist, return 0, for prevent errors on succesive steps...
by rextended
Sun Jul 09, 2023 8:31 pm
Forum: Scripting
Topic: timeout value in address list
Replies: 9
Views: 2274

Re: timeout value in address list

@optio if it's not something that's only on 7, like for example wireguard, better provide a syntax that works on any version... Why not write no-frills code? Perhaps with variables consistent with what they contain, and without using names that are also words that could create problems? :foreach li...
by rextended
Sun Jul 09, 2023 8:12 pm
Forum: Scripting
Topic: timeout value in address list
Replies: 9
Views: 2274

Re: timeout value in address list

Basically there are 8 different types of item in the address-list 1) Static IP / IPv6 2) Static IP-prefix / IPv6-prefix 3) Static DNS to be solved into IP(s) / IPv6(s) 4) Dynamic IP / IPv6 from resolved DNS, is present until reboot, they do not expire, but change following the DNS TTL 5) Dynamic IP ...
by rextended
Sun Jul 09, 2023 7:57 pm
Forum: Scripting
Topic: Powershell Module
Replies: 23
Views: 20999

Re: Powershell Module

Didn't you realize that whoever you answer to hasn't visited the forum for years and these are all old questions??? For example @tecnidom visited the forum only 3 years ago , the day he wrote the question, and then he disappears... If you want to help others, answer the recently opened questions ins...
by rextended
Sun Jul 09, 2023 7:53 pm
Forum: Announcements
Topic: v6.49.8 [long-term] is released!
Replies: 49
Views: 67617

Re: v6.49.8 [stable] is released!

A file signed in the past, with a certificate that was valid at the time, but has now expired, does not mean that the file is corrupted or that the signature is forged...

You are creating Alerts for nothing...
by rextended
Sun Jul 09, 2023 7:48 pm
Forum: Announcements
Topic: v7.10, 7.10.1 and more [stable] are released!
Replies: 369
Views: 128280

Re: v7.10 and 7.10.1 [stable] is released!

A file signed in the past, with a certificate that was valid at the time, but has now expired, does not mean that the file is corrupted or that the signature is forged... Obviously the different signature added to the file alters the SHA... You are creating Alerts for nothing... Instead for the new ...
by rextended
Sun Jul 09, 2023 7:47 pm
Forum: Beginner Basics
Topic: Different-changed files in same ver. ROS 7.10.1
Replies: 7
Views: 1153

Re: Different-changed files in same ver. ROS 7.10.1

A file signed in the past, with a certificate that was valid at the time, but has now expired, does not mean that the file is corrupted or that the signature is forged...

You are creating Alerts for nothing...
by rextended
Sun Jul 09, 2023 7:46 pm
Forum: Announcements
Topic: v6.48.7 [long-term] is released!
Replies: 11
Views: 26989

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

A file signed in the past, with a certificate that was valid at the time, but has now expired, does not mean that the file is corrupted or that the signature is forged...

You are creating Alerts for nothing...
by rextended
Sat Jul 08, 2023 3:24 pm
Forum: Scripting
Topic: Help with hashtags, how to replace them
Replies: 9
Views: 1840

Re: Help with hashtags, how to replace them

Don't put the real addresses at random, you piss off the other administrators who are called non-existent pages, and what's more, it looks like spam. Always use example.com which is there for that... Your question is not clear at all, explain yourself better why you ask for something you already do ...
by rextended
Sat Jul 08, 2023 9:58 am
Forum: Scripting
Topic: Address lists downloader (DShield, Spamhaus DROP/EDROP, etc)
Replies: 264
Views: 72297

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

Using this list on my setup for some years now...
Are you an ISP, or is your ISP not acting as an ISP?
Too much list will kill you...
by rextended
Sat Jul 08, 2023 1:02 am
Forum: Scripting
Topic: Convert cyrillic to PDU modem format for sending SMS
Replies: 31
Views: 4363

Re: Convert cyrillic to PDU modem format for sending SMS

I'm currently too busy due to the high season to bother with it, maybe in the future...

However if you reverse (rewrite) the algorithms that decode... they encode...
by rextended
Sat Jul 08, 2023 12:59 am
Forum: The Dude
Topic: SNMP Walk - gen err (6)
Replies: 16
Views: 4232

Re: SNMP Walk - gen err (6)

I do not know, I do not have that error...
I have ePMP 1000... (the last one, with only 2 clients, I removed all the rest, they are toilets....)
by rextended
Sat Jul 08, 2023 12:56 am
Forum: Beginner Basics
Topic: Different-changed files in same ver. ROS 7.10.1
Replies: 7
Views: 1153

Re: Different-changed files in same ver. ROS 7.10.1

Very... Thanks! :D



Some things they don't write... I wonder why... ;)
by rextended
Fri Jul 07, 2023 8:57 pm
Forum: Scripting
Topic: Convert cyrillic to PDU modem format for sending SMS
Replies: 31
Views: 4363

Re: Convert cyrillic to PDU modem format for sending SMS

You already have UTF8toUCS2hexstring linked on my previous post. At that point the entire SMS PDU needs to be created, but I've never done that. At most I decoded it, I didn't create functions to recode everything, but meanwhile with that function you have the "user part" of the PDU in UCS...
by rextended
Fri Jul 07, 2023 8:46 pm
Forum: Scripting
Topic: Convert cyrillic to PDU modem format for sending SMS
Replies: 31
Views: 4363

Re: Convert cyrillic to PDU modem format for sending SMS

Again, short for translator: 1) You can NOT send CP1251 by SMS 2) The text MUST be first converted from CP1251 to UTF-8 (and since it's not an alphabet that I know, I'm not going to make a function for the conversion) 3) The UTF-8 MUST be converted to UCS-2 alternative to 2) and 3) The text MUST be ...
by rextended
Fri Jul 07, 2023 8:40 pm
Forum: Scripting
Topic: v7 ping count 1 do not give result
Replies: 2
Views: 1781

Re: RouterOS v7 removing variable

Simply the ping command is changed on v7, if you do less than 3 ping, you give no result.
by rextended
Fri Jul 07, 2023 8:16 pm
Forum: Beginner Basics
Topic: Different-changed files in same ver. ROS 7.10.1
Replies: 7
Views: 1153

Re: Different-changed files in same ver. ROS 7.10.1

What's the use of checksum, if all files are digitally signed? Simply MikroTik re-signed some files, even previous versions, because the previous certificate expired on May 10th (and for some time they didn't realize it). -----BEGIN CERTIFICATE----- MIIHljCCBX6gAwIBAgIQDvsXSqHvWfDl0pDSnCVWGjANBgkqhk...
by rextended
Fri Jul 07, 2023 7:06 pm
Forum: Containers
Topic: Tiny OpenVPN client container
Replies: 6
Views: 4910

Re: Tiny OpenVPN client container

You could have waited a few more months before asking, so one would remember it better,
however it is written, just read.

However I recommend you to use wireguard which is natively supported, in a heartbeat,
instead of wasting your time with openvpn inside a container...
by rextended
Fri Jul 07, 2023 5:07 pm
Forum: Beginner Basics
Topic: LTE SIM LOCKED after reboot
Replies: 20
Views: 7791

Re: LTE SIM LOCKED after reboot

Just ask Rex how to disable PIN without a phone...
but I think is not binded to the fact that SIM have the PIN enabled, but on the fact that when SIM reset happen, RouterOS do not send again the PIN...


viewtopic.php?p=936239#p936239
by rextended
Fri Jul 07, 2023 4:22 pm
Forum: Scripting
Topic: Convert cyrillic to PDU modem format for sending SMS
Replies: 31
Views: 4363

Re: Convert cyrillic to PDU modem format for sending SMS

Mixed text do not exist, or is CP1252 or is CP1251 (or another) UTF-8 have all symbols. The PDU can be encoded GSM-7 (or ascii-8) or UTF-2, not any CPx. If Cyrillic is present on SMS, is sended by UTF-2, not GSM-7 (or CP1251) Function to convert UTF-8 to UCS-2 https://forum.mikrotik.com/viewtopic.ph...
by rextended
Fri Jul 07, 2023 11:01 am
Forum: Scripting
Topic: block IP by login failure
Replies: 11
Views: 3581

Re: block IP by login failure

I think that's right, isn't it?
On the moment I can not test it, but apparently it is correct...
by rextended
Thu Jul 06, 2023 7:26 pm
Forum: The Dude
Topic: SNMP Walk - gen err (6)
Replies: 16
Views: 4232

Re: SNMP Walk - gen err (6)

Do not open multiple topic for same argument.
https://community.cambiumnetworks.com/t ... le/93887/3


Ohh... sorry, is on another forum :lol: :lol: :lol:

Use CAMBIUM-ePMP-4.7.0.1-MIB is more recent despite the version number, and do not have that problem...
by rextended
Thu Jul 06, 2023 7:14 pm
Forum: General
Topic: Backup script
Replies: 3
Views: 1626

Re: Backup script

After years someone proposes it again, as if it were their own...
viewtopic.php?t=197593
by rextended
Thu Jul 06, 2023 7:00 pm
Forum: Beginner Basics
Topic: backup to email
Replies: 3
Views: 1301

Re: backup to email

The original author you "stole" the script from don't you cite it? https://trakrd.ru/2022/02/14/scipt-backup-config-email-routeros7/ Who in turn "stole" the script from another... https://forum.mikrotik.com/viewtopic.php?t=74681 @Susis is the original author on 2013 (Then if he t...
by rextended
Thu Jul 06, 2023 6:48 pm
Forum: Scripting
Topic: block IP by login failure
Replies: 11
Views: 3581

Re: block IP by login failure

The lines on the log are not deletable selectively. At least set the log memory to 1 lines and back to 1000 delete all the 999 old... This script save the last checked log for start from that point instead to elaborate all list everytime: https://forum.mikrotik.com/viewtopic.php?p=1004552#p1004546 :...
by rextended
Thu Jul 06, 2023 5:36 pm
Forum: General
Topic: Forum moderation volunteers
Replies: 238
Views: 35517

Re: Forum moderation volunteers

Non dire gatto se non ce l'hai nel sacco :) :) :)
E che c'entra? :?: :-P

[And what does it have to do with it?]


Image
by rextended
Thu Jul 06, 2023 5:29 pm
Forum: Scripting
Topic: ✂ Rextended Fragments of Snippets
Replies: 96
Views: 61743

Re: ✂ Rextended Fragments of Snippets

"Can a script be created if a wrong login name is used":
viewtopic.php?p=929454#p929373
derived from:
viewtopic.php?p=917307#p917428
by rextended
Thu Jul 06, 2023 5:28 pm
Forum: Scripting
Topic: block IP by login failure
Replies: 11
Views: 3581

Re: block IP by login failure

Ahhh... I'm the author?

Yes is lost, best add to the list ;)
by rextended
Thu Jul 06, 2023 3:52 pm
Forum: Scripting
Topic: block IP by login failure
Replies: 11
Views: 3581

Re: block IP by login failure

I would like if it is possible that the blocking of the IP is by number of attempts, that is to say, that it bans the IP when 3 (or another value) unsuccessful attempts are made in a row. This means that with each successful login you have to reset the cunt, otherwise it doesn't correctly accunt fo...
by rextended
Thu Jul 06, 2023 3:50 pm
Forum: Scripting
Topic: block IP by login failure
Replies: 11
Views: 3581

Re: block IP by login failure

I read somewhere on the forum a similar script already working.
by rextended
Thu Jul 06, 2023 3:47 pm
Forum: Scripting
Topic: Useful scripts
Replies: 116
Views: 294673

Re: Useful scripts

...
by rextended
Thu Jul 06, 2023 12:16 pm
Forum: Scripting
Topic: Function for time
Replies: 14
Views: 2425

Re: Function for time

Your wonderful piece of correct gmt-offset calculation
Thanks.


The TimeZone corrently go from -14 to +14 hours.
I know it's absurd the day are 24 hours, not 28.... but some states in Oceania, to be the first to celebrate New Year, set the time well ahead of 12 hours....
by rextended
Thu Jul 06, 2023 11:48 am
Forum: Scripting
Topic: Function for time
Replies: 14
Views: 2425

Re: Function for time

Step 1, convert date-time 2023/07/06 1 0 :41:07 to unix epoch, assuming the date is on UTC. This is a modified version of my datetime2epoch that do not consider TimeZone on RouterBOARD, and everytime is supposed the date/time is UTC. :global UTCdatetime2epoch do={ :local dtime [:tostr $1] /system cl...
by rextended
Thu Jul 06, 2023 11:34 am
Forum: Scripting
Topic: Function for time
Replies: 14
Views: 2425

Re: Function for time

ok, generic UTC date-time to unix, add timezone minutes, convert back to date-time....
by rextended
Thu Jul 06, 2023 11:26 am
Forum: Scripting
Topic: Function for time
Replies: 14
Views: 2425

Re: Function for time

Concrete example?
by rextended
Thu Jul 06, 2023 12:59 am
Forum: General
Topic: Forum moderation volunteers
Replies: 238
Views: 35517

Re: Forum moderation volunteers

😂😂😂
by rextended
Thu Jul 06, 2023 12:29 am
Forum: Scripting
Topic: get a list of enabled NAT rules with no src address list
Replies: 38
Views: 5007

Re: get a list of enabled NAT rules with no src address list

/ip/firewall/nat; :foreach r in=[find where !disabled !src-address-list] do={:put [get $r]} even with a SRC Address List, the NAT rule shows up Got YOUR command conversion and other instructions, what are you complaining about? im expecting to ONLY get NAT rules that are not disabled, and dont have...
by rextended
Wed Jul 05, 2023 8:55 pm
Forum: General
Topic: Forum moderation volunteers
Replies: 238
Views: 35517

Re: Forum moderation volunteers

When I read only "help" or only "info" as the title of a topic, I often question the writer's sanity. It seems to me impossible that anyone with a modicum of intelligence could not understand putting a pertinent title. Especially the idiots like "don't install 7.10 because w...
by rextended
Wed Jul 05, 2023 8:49 pm
Forum: General
Topic: Forum moderation volunteers
Replies: 238
Views: 35517

Re: Forum moderation volunteers

1. Make this a welcoming forum by addressing each other with respect and hospitality, especially towards new members. 2. How to ask a question effectively (including details, exporting, formatting, etc.). 3. How to answer a question effectively (including quoting, providing relevant examples, etc.)...
by rextended
Wed Jul 05, 2023 6:18 pm
Forum: General
Topic: Public-Mikrotik-Bandwidth-Test-Server(s)
Replies: 1006
Views: 1114222

Re: Public-Mikrotik-Bandwidth-Test-Server(s)

Is there any prize?
I did get a free cup of coffee at work this morning , does that count ?
If you pass through Italy, you have a guaranteed bottle of wine and a pizza!

Thanks again for the free service.
by rextended
Wed Jul 05, 2023 1:56 pm
Forum: Beginner Basics
Topic: radvd invalid MTU
Replies: 9
Views: 4335

Re: radvd invalid MTU

MikroTik cannot be held guilty if it highlights improvised ISPs that don't know how to do their job...
by rextended
Wed Jul 05, 2023 12:01 pm
Forum: Scripting
Topic: Check which index of the array is missing.
Replies: 1
Views: 1593

Re: Check which index of the array is missing.

Can't be empty holes on numeric index. for example, if you create the #7 on one empty array, automatically are created 8 values from 0 to 7 { :local test [:toarray ""] :set ($test->7) "seven" # result is 8, from 0 to 7 :put [:len $test] # 0 is nil (and nil is not nothing) :put [:...
by rextended
Wed Jul 05, 2023 11:50 am
Forum: General
Topic: Forum moderation volunteers
Replies: 238
Views: 35517

Re: Forum moderation volunteers

@Znevna
I rarely read anything useless from you..
by rextended
Wed Jul 05, 2023 10:12 am
Forum: General
Topic: Forum moderation volunteers
Replies: 238
Views: 35517

Re: Forum moderation volunteers

pity that someone has thrown my collaboration in the bin behaving like a vile coward, heeding the chatter on Reddit, without even being able to defend myself, otherwise this spam post: https://forum.mikrotik.com/viewtopic.php?p=1011366#p996708 (which of course the other moderators didn't notice) wou...
by rextended
Wed Jul 05, 2023 9:56 am
Forum: General
Topic: WAN Load Balancing between 2 ISPs - one with CGNAT and another in bridge mode (real IPV4 address) [SOLVED]
Replies: 17
Views: 13370

Re: WAN Load Balancing between 2 ISPs - one with CGNAT and another in bridge mode (real IPV4 address) [SOLVED]

Thank you rextended! This worked as intended with CGNATed LTE WAN (after setting up passthrough) as a backup.
Thanks
by rextended
Tue Jul 04, 2023 6:28 pm
Forum: Scripting
Topic: Script Reboot On Connectivity Down
Replies: 15
Views: 2864

Re: Script Reboot On Connectivity Down

…–––…
by rextended
Tue Jul 04, 2023 2:07 pm
Forum: General
Topic: Forum moderation volunteers
Replies: 238
Views: 35517

Re: Forum moderation volunteers

yes, we do that from time to time. we can't delete fairly new users, as they might be real people who read forum Maybe it's time to remove this column from "Memebrs" page? Or hide it to not let indexers read it? Other forums require to write one initial post convincing the moderators that...
by rextended
Tue Jul 04, 2023 1:40 pm
Forum: General
Topic: Forum moderation volunteers
Replies: 238
Views: 35517

Re: Forum moderation volunteers

Someone has been drinking vinegar...
Not at all, search my name on Reddit....
I didn't even know it, I discovered it by accident...
by rextended
Tue Jul 04, 2023 1:32 pm
Forum: General
Topic: Forum moderation volunteers
Replies: 238
Views: 35517

Re: Forum moderation volunteers

… Posts are starting to disappear for no reason.... Now let's see if they start accusing me on Reddit without even telling me, this time they can't blame me, let's see if Reddit users convince you on someone else.... https://forum.mikrotik.com/viewtopic.php?t=197438#p1010594 https://forum.mikrotik....
by rextended
Tue Jul 04, 2023 1:30 pm
Forum: General
Topic: QoS while downloading
Replies: 7
Views: 2824

Re: QoS while downloading

where is my post?

Maybe the new moderators are randomly making posts disappear?

I've already seen this story on Reddit (from 8 months ago), let's see who they blame this time...
by rextended
Tue Jul 04, 2023 1:28 pm
Forum: General
Topic: [SOLVED] Wireguard site 2 site - Problem with icmp and smb
Replies: 8
Views: 1162

Re: [SOLVED] Wireguard site 2 site - Problem with icmp and smb

I don't know what happened to my post. Perhaps they withdrew it for having some private detail in the publication? I don't know but thank you very much for the help. Maybe the new moderators are randomly making posts disappear? I've already seen this story on Reddit (from 8 months ago), let's see w...
by rextended
Sun Jul 02, 2023 2:12 pm
Forum: Scripting
Topic: Date Parts --> Weekday? [SOLVED]
Replies: 11
Views: 3777

Re: Date Parts --> Weekday? [SOLVED]

Oh, very complete. Thanks Rex!!
Happy summer!
Thanks, also to you.

On the previous post "extracted function code" is missing one ":tonum": fixed.
by rextended
Sun Jul 02, 2023 1:45 pm
Forum: Scripting
Topic: Date Parts --> Weekday? [SOLVED]
Replies: 11
Views: 3777

Re: Date Parts --> Weekday? [SOLVED]

The full version, which also indicates, for example, the day of the year (from 1 to 365/366), how many days there are in the month (from 28 to 31), current day of week number from 1 (mon) to 7 (sun), if the yoear is a leap year or not, etc... https://forum.mikrotik.com/viewtopic.php?p=960070#p960070...
by rextended
Sat Jul 01, 2023 2:35 am
Forum: General
Topic: Maximum number of NAT users / sessions
Replies: 45
Views: 22642

Re: Maximum number of NAT users / sessions

I don't think it's a problem, by now my summary post I think says it all, except if present any error...
by rextended
Sat Jul 01, 2023 2:16 am
Forum: General
Topic: Maximum number of NAT users / sessions
Replies: 45
Views: 22642

Re: Maximum number of NAT users / sessions

As long as there is someone who keeps moving the construction site further... When that 75% of IPv6 sites, which I mentioned earlier, will ONLY go by IPv6, maybe there will be a breakthrough... However, the problem of pollution remains, which I understand you haven't addressed in the slightest... RI...
by rextended
Sat Jul 01, 2023 1:51 am
Forum: General
Topic: Maximum number of NAT users / sessions
Replies: 45
Views: 22642

Re: Maximum number of NAT users / sessions

Simply forcibly switching to IPv6 "suddenly" has a huge environmental cost. You can't even imagine how much garbage it would create and how much it would cost to rebuild all the billions of devices that already exist that only go with IPv4. ISPs could also forcefully switch to IPv6 and tha...
by rextended
Fri Jun 30, 2023 8:12 pm
Forum: General
Topic: Maximum number of NAT users / sessions
Replies: 45
Views: 22642

Re: Maximum number of NAT users / sessions

However I currently have 75% of my traffic over IPv6... On 2014, when this topic is open, 0%.....
by rextended
Fri Jun 30, 2023 8:10 pm
Forum: General
Topic: Maximum number of NAT users / sessions
Replies: 45
Views: 22642

Re: Maximum number of NAT users / sessions

With Dynamic Public IP's is more easy, just put the IP and the date...
by rextended
Fri Jun 30, 2023 7:41 pm
Forum: General
Topic: Maximum number of NAT users / sessions
Replies: 45
Views: 22642

Re: Maximum number of NAT users / sessions

I'm not questioning what you write, it's just a different way of providing customer service...
by rextended
Fri Jun 30, 2023 6:43 pm
Forum: General
Topic: Maximum number of NAT users / sessions
Replies: 45
Views: 22642

Re: Maximum number of NAT users / sessions

I don't use NAT, I just give REAL public IPs to clients, with IPv6 and MTU at 1500, because clients pay me for the service, so I give them The Service... and a CCR by each 512 customers !!! too much Bling-bling 8) I don't use the one-machine-does-it-all concept... If just one part of the network fa...
by rextended
Fri Jun 30, 2023 6:40 pm
Forum: General
Topic: Maximum number of NAT users / sessions
Replies: 45
Views: 22642

Re: Maximum number of NAT users / sessions

@TomjNorthIdaho
I offer dynamic Public IPs as a normal service, paid fixed at 10€ + 250€ for change and "cleaning" IPs if they end up in some blacklist.

As for scans, there are canary IPs and honeypots scattered around, plus blocking in BGP of the ones already known...
by rextended
Fri Jun 30, 2023 6:18 pm
Forum: General
Topic: Maximum number of NAT users / sessions
Replies: 45
Views: 22642

Re: Maximum number of NAT users / sessions

I don't use NAT, I just give REAL public IPs to clients, with IPv6 and MTU at 1500, because clients pay me for the service, so I give them The Service...
by rextended
Fri Jun 30, 2023 6:08 pm
Forum: General
Topic: Maximum number of NAT users / sessions
Replies: 45
Views: 22642

Re: Maximum number of NAT users / sessions

Yes, 1048576 is hardcoded, and I have one high end CCR for each 512 users, all with Public IPs, so: no NAT...
by rextended
Fri Jun 30, 2023 5:51 pm
Forum: General
Topic: Maximum number of NAT users / sessions
Replies: 45
Views: 22642

Re: Maximum number of NAT users / sessions

is this still true today ? about the only ports being used for nat are 32767 ? This topic gives rise to too many misunderstandings. For example, if you have 2 devices A and B and the Gateway G: A 192.168.0.11 B 192.168.0.12 G 192.0.2.1 and both try to contact website W "forum.mikrotik.com"...
by rextended
Wed Jun 28, 2023 10:35 pm
Forum: General
Topic: Forum moderation volunteers
Replies: 238
Views: 35517

Re: Forum moderation volunteers

[...] Is time to delete the ~6500 users without posts [...] I was a member in a forum for over 5 years before I've made my first post in there. So having no posts is not something you should delete users on. Actually you should never delete users, just anonymize them and their posts. you're right, ...
by rextended
Wed Jun 28, 2023 10:34 pm
Forum: General
Topic: Forum moderation volunteers
Replies: 238
Views: 35517

Re: Forum moderation volunteers

So at best you can quote and reply, and then later edit the post to remove the quote once it is obvious that you are immediately below it.
+1 wish everyone had this common sense
by rextended
Wed Jun 28, 2023 8:07 pm
Forum: General
Topic: Forum moderation volunteers
Replies: 238
Views: 35517

Re: Forum moderation volunteers

If this forum had any decent rules and guidelines for users and moderators to follow […] Here we have a little wild wild west sadly, no rules, no guidelines, just old grumpy angry users when they get punished in a way or another just because there's no rule telling them that what they're doing is b...
by rextended
Wed Jun 28, 2023 6:51 pm
Forum: General
Topic: Router Factory Reset (RB750GR3)
Replies: 1
Views: 298

Re: Router Factory Reset (RB750GR3)

Check if there are no space(s) after admin You do not really reset the device, or the device has a default script that set the password or change the admin accont name. Use Netinstall, and, on this occasion, I advise you to install 6.48.7 May peace be upon you. For other users : Forget about the sys...
by rextended
Wed Jun 28, 2023 6:44 pm
Forum: Wireless Networking
Topic: Any w60g improvements still planned?
Replies: 10
Views: 2515

Re: Any w60g improvements still planned?

Ahh I see now. Still not clear why anyone would bother to post such answers - do they get paid for it by ChatGPT, or some kids just do it just for fun because they have too much time on their hands? No, the mechanism is simple, someone pays someone else, most of which use IPs assigned to India or V...
by rextended
Wed Jun 28, 2023 6:31 pm
Forum: Scripting
Topic: Discord Notification
Replies: 2
Views: 1697

Re: Discord Notification

Thank you for quoting the original author, and for being kind enough to point to the original post.
https://mhelp.pro/mikrotik-scripts-chec ... os-update/
by rextended
Wed Jun 28, 2023 6:06 pm
Forum: General
Topic: Couldn't remove simple queue
Replies: 1
Views: 413

Re: Couldn't remove simple queue

The post is a fake....
Possible that the moderators (previous) do not notice....
Maybe the new 5 moderators "elected" today will avoid making the same mistakes on the future...

viewtopic.php?t=189782
by rextended
Wed Jun 28, 2023 5:42 pm
Forum: General
Topic: Forum moderation volunteers
Replies: 238
Views: 35517

Re: Forum moderation volunteers

I would have preferred Larsa ;-PP
(I would have preferred ALSO @Larsa)

@Larsa is one of those people who, if there's something that doesn't suit them, says things to your face, and it's very appreciable,
compared to those who ruminate and plot behind your back.
by rextended
Wed Jun 28, 2023 5:28 pm
Forum: Wireless Networking
Topic: Any w60g improvements still planned?
Replies: 10
Views: 2515

Re: Any w60g improvements still planned?

Any new information in addition to simply repeating what I wrote in slightly dlfferent words? Don't pay attention, those who approve the posts of new subscribers do not distinguish between ChatGPT messages or real messages... Maybe the new 5 moderators "elected" today will avoid making th...
by rextended
Wed Jun 28, 2023 5:24 pm
Forum: General
Topic: Forum moderation volunteers
Replies: 238
Views: 35517

Re: Forum moderation volunteers

@BartoszP
Congratulations to be back again mainly as a Moderator!
Check Reddit from time to time, in case they put you under judgment too, without of course not being advised or given a chance to defend yourself...
by rextended
Wed Jun 28, 2023 3:25 pm
Forum: General
Topic: Forum moderation volunteers
Replies: 238
Views: 35517

Re: Forum moderation volunteers

–––
by rextended
Wed Jun 28, 2023 2:58 pm
Forum: General
Topic: Forum moderation volunteers
Replies: 238
Views: 35517

Re: Forum moderation volunteers

–––
by rextended
Wed Jun 28, 2023 2:30 pm
Forum: General
Topic: Forum moderation volunteers
Replies: 238
Views: 35517

Re: Forum moderation volunteers

Where is the cat?
You abandoned me on the Street.
by rextended
Wed Jun 28, 2023 1:52 pm
Forum: General
Topic: Forum moderation volunteers
Replies: 238
Views: 35517

Re: Forum moderation volunteers

@normis This time I chose a few new people, who have not been moderating before. Diplomacy is not lacking, you have elected all(***) those who propose themselves as moderators, except one ( 😿 ). He's fine with the trial without the defendant knowing or defending himself on Reddit, right? Whatever h...
by rextended
Wed Jun 28, 2023 1:38 pm
Forum: General
Topic: Forum moderation volunteers
Replies: 238
Views: 35517

Re: Forum moderation volunteers

@chechito, @holvoetn, @martinclaro @tangent, @TomjNorthIdaho,
(in alphabetical order)
Congratulations!
by rextended
Tue Jun 27, 2023 8:01 pm
Forum: Beginner Basics
Topic: interface list behaviors
Replies: 12
Views: 2188

Re: interface list behaviors

There are many ways to skin the italian cat as long as one understands that
What?????????
by rextended
Tue Jun 27, 2023 7:42 pm
Forum: Announcements
Topic: v7.11beta [testing] is released!
Replies: 373
Views: 104434

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

@solaoxo dhcp client is not one pppoe-client that have on-up and on-down, but have more status
:if ($bound = 1) do={ } else={ }

It's not a bad idea to read the manual...
https://wiki.mikrotik.com/wiki/Manual:I ... pt_example
by rextended
Tue Jun 27, 2023 6:07 pm
Forum: General
Topic: Forum moderation volunteers
Replies: 238
Views: 35517

Re: Forum moderation volunteers

I concur, a simple question from Normis, has turned into a pile of doodoo.
You also put the paw (of your cat) on it :lol:
by rextended
Tue Jun 27, 2023 6:04 pm
Forum: General
Topic: Forum moderation volunteers
Replies: 238
Views: 35517

Re: Forum moderation volunteers

Excuse me, but did you write it to me?
Without the quote I don't get it :lol:
by rextended
Tue Jun 27, 2023 6:01 pm
Forum: Scripting
Topic: Reboot TP-LINK router remotely
Replies: 4
Views: 2425

Re: Reboot TP-LINK router remotely

 --referer "http://$ROUTER_IP"
by rextended
Tue Jun 27, 2023 5:59 pm
Forum: General
Topic: Forum moderation volunteers
Replies: 238
Views: 35517

Re: Forum moderation volunteers

The truth is: Any discussion is never strictly on the OP's topic.
Resolved or not the problem, we will always talk about other things.
Just look at all the topics already open...
by rextended
Tue Jun 27, 2023 5:57 pm
Forum: General
Topic: Forum moderation volunteers
Replies: 238
Views: 35517

Re: Forum moderation volunteers

In Poland we say: No matter how you turn around, the ass is always in the back.
:lol:

In Italy one similar: The more you turn it, the more the s—t stinks...
by rextended
Tue Jun 27, 2023 5:50 pm
Forum: General
Topic: Forum moderation volunteers
Replies: 238
Views: 35517

Re: Forum moderation volunteers

btw those posts are approved by moderators
I've always noticed it and I've never been fooled when I approved the posts...

99.9% of spam comes from a big state, whose reputation I don't want to spoil, I don't know if it's correct to write it (it's not the Russians)
by rextended
Tue Jun 27, 2023 5:42 pm
Forum: General
Topic: Forum moderation volunteers
Replies: 238
Views: 35517

Re: Forum moderation volunteers

@holvoetn

No, I provide valid examples of spam... :lol:

What SpamGPT can find.... (ok, the last)
hidden link to ht t p s :// get- --- o.c om/ h o me/
viewtopic.php?p=975133#p975133
by rextended
Tue Jun 27, 2023 5:32 pm
Forum: General
Topic: Forum moderation volunteers
Replies: 238
Views: 35517

Re: Forum moderation volunteers

And the quote.... with hidden link inside.... to ht t p s:// 1 v 1 - l o l.io/
viewtopic.php?p=995614#p976816
by rextended
Tue Jun 27, 2023 5:30 pm
Forum: General
Topic: Forum moderation volunteers
Replies: 238
Views: 35517

Re: Forum moderation volunteers

Oh, some moderator just delete the post, after i post the link.... https://forum.mikrotik.com/viewtopic.php?t=142428#p1010120 Another example... https://forum.mikrotik.com/viewtopic.php?p=974018#p995612 notice the hidden link to htt ps: / / sub *** way *** surfers. io/ But SpamGPT still detect that ;)
by rextended
Tue Jun 27, 2023 5:24 pm
Forum: General
Topic: Forum moderation volunteers
Replies: 238
Views: 35517

Re: Forum moderation volunteers

This is spam, detected from my SpamGPT
viewtopic.php?p=968765#p968765
by rextended
Tue Jun 27, 2023 4:28 pm
Forum: Scripting
Topic: New data type in Mikrotik RouterOS
Replies: 19
Views: 3064

Re: New data type in Mikrotik RouterOS

We would probably still have Windows 2000 64 bit... But it would work better than Windows 10...

They probably would have immediately used the Unix Kernel Gate... instead of trying to re-invent a better wheel...
by rextended
Tue Jun 27, 2023 3:41 pm
Forum: Scripting
Topic: New data type in Mikrotik RouterOS
Replies: 19
Views: 3064

Re: New data type in Mikrotik RouterOS

It’s a pity I can’t check it now, but since Rex writes, it means it definitely works.
Well... thank you for your trust, you know I care about the quality of what I write...
by rextended
Tue Jun 27, 2023 3:35 pm
Forum: Scripting
Topic: New data type in Mikrotik RouterOS
Replies: 19
Views: 3064

Re: New data type in Mikrotik RouterOS

:global ArrayIN { […] omitted } { :local btypeSection (>($ArrayIN->"broadcastModeSettings"->"broadcastType")) :put ([$btypeSection]->"type") } { :local btypeType (>($ArrayIN->"broadcastModeSettings"->"broadcastType"->"type")) :put [$btypeT...
by rextended
Tue Jun 27, 2023 3:29 pm
Forum: Scripting
Topic: New data type in Mikrotik RouterOS
Replies: 19
Views: 3064

Re: New data type in Mikrotik RouterOS

did you save it for the examples? :)
viewtopic.php?p=973295#p973295
by rextended
Tue Jun 27, 2023 3:25 pm
Forum: Scripting
Topic: prevent the script from running if it is already running
Replies: 6
Views: 2448

Re: prevent the script from running if it is already running

until you manually remove the flag...
or the script itself. Thank you very much, Rex, I got it.
Perfect... ;)
by rextended
Tue Jun 27, 2023 11:12 am
Forum: General
Topic: 2 subnets see each other
Replies: 5
Views: 471

Re: 2 subnets see each other

Probably you write worng IPs on post??? If the RouterBOARD has an IP for both networks AND ALL devices on the network gateway the IP on the RouterBOARD, the ROUTER automatically connects both networks, unless firewall rules or other configuratin block this thing. If the RouterBOARD does not act as a...
by rextended
Tue Jun 27, 2023 11:10 am
Forum: Scripting
Topic: Script is executed twice from Scheduler
Replies: 6
Views: 1911

Re: Script is executed twice from Scheduler

???

¯\_( ͡° ͜ʖ ͡°)_/¯
by rextended
Tue Jun 27, 2023 11:06 am
Forum: General
Topic: Scripts using dates broken
Replies: 3
Views: 470

Re: Scripts using dates broken

only one call should be made, not 3... There is a chance you get a different day or month between calls.… /system :local cdate [clock get date] :local yyyy [:pick $cdate 0 4] :local MM [:pick $cdate 5 7] :local dd [:pick $cdate 8 10] :local identitydate "$[identity get name]_$yyyy-$MM-$dd"...
by rextended
Tue Jun 27, 2023 11:01 am
Forum: RouterOS beta
Topic: feature request: winbox auto safe mode
Replies: 3
Views: 1962

Re: feature request: winbox auto safe mode

Yes, that's a smart idea!

+10
by rextended
Tue Jun 27, 2023 10:51 am
Forum: General
Topic: Forum moderation volunteers
Replies: 238
Views: 35517

Re: Forum moderation volunteers

You are right, and as I had already written to you, after going through it too, I understood the pressure both I and other users were giving you, and my apologies to you were due. I think Normis is looking for a moderator, not for 5 minutes a day, but for more time, otherwise the waits continue to b...
by rextended
Tue Jun 27, 2023 10:36 am
Forum: Scripting
Topic: prevent the script from running if it is already running
Replies: 6
Views: 2448

Re: prevent the script from running if it is already running

One more question, if I may. But what if you need to block from restarting not a script, but a function? After all, when the function works, it is not in /system script job ... Yes, but... I can not understand... one concrete example? Calling the same function twice from the same script or from ano...
by rextended
Tue Jun 27, 2023 10:16 am
Forum: Scripting
Topic: get a list of enabled NAT rules with no src address list
Replies: 38
Views: 5007

Re: get a list of enabled NAT rules with no src address list

do you know what the command should be for Version 6? :lol: :lol: :lol: (sorry) Print on terminal /ip firewall nat print where !disabled !src-address-list Print only the IDs :foreach item in=[/ip firewall nat find where !disabled !src-address-list] do={[:put $item]} Personalized print on terminal (...
by rextended
Tue Jun 27, 2023 1:21 am
Forum: Scripting
Topic: get a list of enabled NAT rules with no src address list
Replies: 38
Views: 5007

Re: get a list of enabled NAT rules with no src address list

You basically didn't answer me.
You cannot use RouterOS v7 syntax on RouterOS v6
by rextended
Mon Jun 26, 2023 8:16 pm
Forum: RouterBOARD hardware
Topic: Making netPower switch harder to open
Replies: 5
Views: 2505

Re: Making netPower switch harder to open

Oh yeah, but at that point if it's so exposed, it's better to lock it in an alarmed security metal box, like I do with the devices I've mounted in the middle of nowhere...
by rextended
Mon Jun 26, 2023 7:05 pm
Forum: Scripting
Topic: get a list of enabled NAT rules with no src address list
Replies: 38
Views: 5007

Re: get a list of enabled NAT rules with no src address list

To do tests, do you use Unimus on a device with RouterOS v6 and WinBox on another with v7?
by rextended
Mon Jun 26, 2023 5:48 pm
Forum: RouterBOARD hardware
Topic: Making netPower switch harder to open
Replies: 5
Views: 2505

Re: Making netPower switch harder to open

I understand.
Use some secuirty seal "VOID"

Image
by rextended
Mon Jun 26, 2023 4:21 pm
Forum: General
Topic: Different DOH server per DHCP server [SOLVED]
Replies: 9
Views: 2807

Re: Different DOH server per DHCP server [SOLVED]

A motherboard that is not too old is enough, but obviously it depends on how many users it has to serve...
by rextended
Mon Jun 26, 2023 3:58 pm
Forum: RouterBOARD hardware
Topic: Making netPower switch harder to open
Replies: 5
Views: 2505

Re: Making netPower switch harder to open

It seems useless to me, if they want to spite you, a pair of scissors is enough...
by rextended
Mon Jun 26, 2023 3:39 pm
Forum: General
Topic: Forum moderation volunteers
Replies: 238
Views: 35517

Re: Forum moderation volunteers

I think the important point is that it is for "volunteering to approve and disapprove new member posts". Unfortunately, several moderators of the present and past cannot restrict themselves to only performing this task, and they drift away into policing others in how to write their articl...
by rextended
Mon Jun 26, 2023 3:28 pm
Forum: Beginner Basics
Topic: overview my config - will it work
Replies: 6
Views: 729

Re: overview my config - will it work

I haven't noticed anything else strange, but I'm not infallible.
I would have to know everything else in detail to figure out if it's all correct.
Once mounted, if you have specific problems, ask here on the forum.
by rextended
Mon Jun 26, 2023 2:46 pm
Forum: Scripting
Topic: Script is executed twice from Scheduler
Replies: 6
Views: 1911

Re: Script is executed twice from Scheduler

Uhm... again timezone? Try to schedule the event at 03:00...
by rextended
Mon Jun 26, 2023 2:43 pm
Forum: General
Topic: Forum moderation volunteers
Replies: 238
Views: 35517

Re: Forum moderation volunteers



The posts already present "speak" for themselves.
good :)
👍
by rextended
Mon Jun 26, 2023 2:38 pm
Forum: General
Topic: Forum moderation volunteers
Replies: 238
Views: 35517

Re: Forum moderation volunteers


This time I'll just stop being an asshole, so I don't give any more problems.
...for how long?
The posts already present "speak" for themselves.
by rextended
Mon Jun 26, 2023 2:16 pm
Forum: General
Topic: Forum moderation volunteers
Replies: 238
Views: 35517

Re: Forum moderation volunteers

Is anyone here interested in volunteering to approve and disapprove new member posts? Let me know, and let's fight the AI/LLM spam together :D If you need a hand again, I'm here. In fact I noticed the slowness in removing spam and other problems. This time I'll just stop being an asshole, so I don'...
by rextended
Mon Jun 26, 2023 2:11 pm
Forum: Scripting
Topic: Predefined Global Variables
Replies: 1
Views: 1498

Re: Predefined Global Variables

Do not exist.

Simply read the wiki / help of the variables present only on dhcp-client / pppoe-client etc. context.
by rextended
Mon Jun 26, 2023 2:03 pm
Forum: RouterOS beta
Topic: v7 and BFD, any ETA?
Replies: 148
Views: 26294

Re: v7 and BFD, any ETA?

200us = 200 forum users... :lol: :lol: :lol:
by rextended
Mon Jun 26, 2023 2:00 pm
Forum: Beginner Basics
Topic: overview my config - will it work
Replies: 6
Views: 729

Re: overview my config - will it work

I have some experience...
I can read even what is NOT written there...
by rextended
Mon Jun 26, 2023 1:53 pm
Forum: General
Topic: Different DOH server per DHCP server [SOLVED]
Replies: 9
Views: 2807

Re: Different DOH server per DHCP server [SOLVED]

From my understanding, you want me to run multiple instances of RouterOS in another machine that will be treated as DNS managers. Each one will have its own DOH server. Then I will go to my MikroTik and for each DHCP server I will assign the DNS addresses to the specific RouterOS instance? Exactly
by rextended
Mon Jun 26, 2023 4:04 am
Forum: RouterBOARD hardware
Topic: hEX Router Reset button broke off
Replies: 14
Views: 3914

Re: hEX Router Reset button broke off

What is your definition of touch?
weld another button or similar things...
by rextended
Mon Jun 26, 2023 2:21 am
Forum: RouterBOARD hardware
Topic: hEX Router Reset button broke off
Replies: 14
Views: 3914

Re: hEX Router Reset button broke off

(but at the same time, if he touch teh board, it's no longer under warranty)
by rextended
Mon Jun 26, 2023 2:18 am
Forum: Beginner Basics
Topic: hex lite unable to reset
Replies: 2
Views: 685

Re: hex lite unable to reset

A simple answer, without too many frills, guesses and suggestions: Use netinstall.
by rextended
Mon Jun 26, 2023 1:54 am
Forum: General
Topic: NAT & IP CLIENT IP PUBLIC PROBLEMA
Replies: 5
Views: 462

Re: NAT & IP CLIENT IP PUBLIC PROBLEMA

I probably dont understand what service you are trying to provide. :-(
Probably, if someone else notices, they'll put protected routerboot on them, change their password, and demand a ransom...
by rextended
Mon Jun 26, 2023 1:49 am
Forum: General
Topic: Different DOH server per DHCP server [SOLVED]
Replies: 9
Views: 2807

Re: Different DOH server per DHCP server [SOLVED]

Use one CHR for each wanted separate DoH.
by rextended
Mon Jun 26, 2023 1:40 am
Forum: General
Topic: NAT & IP CLIENT IP PUBLIC PROBLEMA
Replies: 5
Views: 462

Re: NAT & IP CLIENT IP PUBLIC PROBLEMA

Mordor strike... WARNING: Data Breach on Exported Files, Change All Passwords................................................ (but don't expect The Lord of "The Ring" to remotely correct your problems) About the configuration... Already in the backup there were serious configuration errors...
by rextended
Mon Jun 26, 2023 1:27 am
Forum: Beginner Basics
Topic: overview my config - will it work
Replies: 6
Views: 729

Re: overview my config - will it work

Why do you not have MTU/MRU 1500 on your PPPoE?
( You have to ask your provider to provide you with a connection to 1500, and not one from 1492 or worse still from 1480. )
by rextended
Mon Jun 26, 2023 1:19 am
Forum: Beginner Basics
Topic: INFO: MikroTik new default device password practice
Replies: 23
Views: 3123

Re: INFO: MikroTik new default device password practice

Hm. Istn't evernote a bit unsafe? I use KeePass and store everything there. Encrypted and safe. :-) 1) Netinstall doesn't give a damn about your password, you might as well lose it. 2) Are you concerned about security? What do you care if someone discover the default password, so you make a user of...
by rextended
Mon Jun 26, 2023 1:15 am
Forum: Scripting
Topic: Script is executed twice from Scheduler
Replies: 6
Views: 1911

Re: Script is executed twice from Scheduler

Has anyone had the same problem?
(export of both scheduler and script?)

Not, try to netinstall, something go wrong...
On meantime:
viewtopic.php?t=197314#p1009493
by rextended
Mon Jun 26, 2023 1:11 am
Forum: Scripting
Topic: Script Failover Two Wans - Clear Conntrack
Replies: 2
Views: 2387

Re: Script Failover Two Wans - Clear Conntrack

/ip firewall connection remove [find] Perfect, a completely useless script, which clearly has problems at its core (it is no random choice that I quoted that line), which attempts to replace what the system already does on its own, if configured correctly. Rediscovering hot water by trying to heat ...
by rextended
Mon Jun 26, 2023 12:59 am
Forum: Scripting
Topic: Persistent Environment Variables [SOLVED]
Replies: 50
Views: 36425

Re: Persistent Environment Variables [SOLVED]

op..."only pointer" ? Probably is only for point data inside complex array without everytime specify full path... :global arraytest {"a";"b";"c";{"q";"z"}} :put $arraytest :global pointer (>($arraytest->1)) :put $pointer :put [$pointer] :se...
by rextended
Sun Jun 25, 2023 7:12 pm
Forum: Scripting
Topic: Script bug on find command by variable? [SOLVED]
Replies: 8
Views: 2714

Re: Script bug on find command by variable? [SOLVED]

Probably correct term is parameter (or field, or property), not variable and not reseved keyword...
by rextended
Sun Jun 25, 2023 1:26 pm
Forum: Scripting
Topic: dhcp-client and Auto Gateway change script
Replies: 10
Views: 18796

Re: dhcp-client and Auto Gateway change script

I'm struggling to get this working with ROSv7 any scripting gurus to have a quick look?
Open a separate topic and specify correctly the request, this topic is from 2010 and RouterOS 3.29
by rextended
Sun Jun 25, 2023 1:20 pm
Forum: Scripting
Topic: PDU transcoding
Replies: 6
Views: 1988

Re: PDU transcoding

Is there any way to determine which language is used in an SMS?
Valid only for GSM-7 (or ASCII-8) since UCS-2 is already multilanguage.
Good luck...
https://en.wikipedia.org/wiki/GSM_03.38 ... ift_tables
https://en.wikipedia.org/wiki/User_Data_Header
by rextended
Sun Jun 25, 2023 8:09 am
Forum: Scripting
Topic: Script bug on find command by variable? [SOLVED]
Replies: 8
Views: 2714

Re: Script bug on find command by variable? [SOLVED]

find name=$name "find where name is identical to own name" and obviously all interface have the name = to the interface $name itself... *1;*2;*3;*4;*5;*6 A-B-C of programming: never use parameters names as variable names... And the topic title, AS USUAL , since you don't understand these t...
by rextended
Sat Jun 24, 2023 5:20 pm
Forum: Wireless Networking
Topic: List of supported wifi modules
Replies: 27
Views: 5119

Re: List of supported wifi modules

You have installed the wifiwave2 package?
by rextended
Sat Jun 24, 2023 2:27 pm
Forum: General
Topic: Why Windows 10 and 11 cannot connect to the Mikrotik PPTP server?
Replies: 22
Views: 3260

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

as usual, not a single line of Export...
by rextended
Sat Jun 24, 2023 2:25 pm
Forum: General
Topic: Why Windows 10 and 11 cannot connect to the Mikrotik PPTP server?
Replies: 22
Views: 3260

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

Well, I think in this case the title is not too bad. It does not put the blame on MikroTik and it does not warn the whole world not to update RouterOS.
+1
by rextended
Sat Jun 24, 2023 11:17 am
Forum: Beginner Basics
Topic: netinstall and remove default password
Replies: 1
Views: 655

Re: netinstall and remove default password

The default config set the passowrd, so is no logic in what you write.

reset to default the device,
save the export
netinstall the device without the default config
apply the export done before
by rextended
Sat Jun 24, 2023 10:47 am
Forum: General
Topic: Why Windows 10 and 11 cannot connect to the Mikrotik PPTP server?
Replies: 22
Views: 3260

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

@ rextended was busy helping the other OP how to script deleting pppoe username and password twice a day... Someone mentioned me? :mrgreen: Default settings(***) on RouterOS 6.48.7 and default settings on Windows 10 Pro (64 bit) 22H2 19045.3086 (1000.19041.1000.0) work without problems (tested only...
by rextended
Sat Jun 24, 2023 10:24 am
Forum: General
Topic: Can someone give me the command line, to delete pppoe-out1
Replies: 16
Views: 1396

Re: Can someone give me the command line, to delete pppoe-out1

/interface pppoe-client
disable "Antaranga PPPoE"
:delay 30s
set "Antaranga PPPoE" user="XXXX" password="1234" disabled=no
EDIT: Thanks @Amm0 I forget to add disabled=no at the end, not needed to use "enable", if disabled=no is on same line.
by rextended
Fri Jun 23, 2023 11:52 pm
Forum: Scripting
Topic: ✂ Rextended Fragments of Snippets
Replies: 96
Views: 61743

Re: ✂ Rextended Fragments of Snippets

Prevent the script running, inside the script, if the script already is running.

viewtopic.php?t=197314#p1009493
by rextended
Fri Jun 23, 2023 11:44 pm
Forum: Scripting
Topic: prevent the script from running if it is already running
Replies: 6
Views: 2448

Re: prevent the script from running if it is already running

the executable script itself must perform the check short and beautiful solution No matter what is the script name, just make unique the UniqueScriptID... :local UniqueScriptID "QnJhdm8h" :local ThisScriptName [/system script get ([find where source~"$UniqueScriptID"]->0) name] ...
by rextended
Fri Jun 23, 2023 11:18 pm
Forum: Scripting
Topic: guest network black list script
Replies: 2
Views: 1562

Re: guest network black list script

Emro Batmok Ot Meok
by rextended
Fri Jun 23, 2023 7:31 pm
Forum: Scripting
Topic: The maximum size of a read/written file.
Replies: 70
Views: 7387

Re: The maximum size of a read/written file.

Log facility already has it's own file management system. Simply go on system / logging / action menu and manage the logs from that. /system logging action add disk-file-count=10 disk-file-name=atlog disk-lines-per-file=1000 name=atlog target=disk /system logging add action=atlog topics=gsm,info,!de...
by rextended
Fri Jun 23, 2023 7:28 pm
Forum: Scripting
Topic: Switching between Wireguard Interface (random) [SOLVED]
Replies: 5
Views: 2552

Re: Switching between Wireguard Interface (random) [SOLVED]

If I write something it means that it must be there, I always see a little further. Not quite, but enough... /ip firewall nat set [find where comment~"extWG"] out-interface=([/interface wireguard find where disabled=no]->0) ([/interface wireguard find where disabled=no]->0) ? Why use ->0 ?...
by rextended
Fri Jun 23, 2023 3:30 pm
Forum: Announcements
Topic: v7.10, 7.10.1 and more [stable] are released!
Replies: 369
Views: 128280

Re: v7.10 [stable] is released!

maybe i wrote not clearly:
But for sure you do not read.

If you do the upgrade or update by hand, you must also install the wifiwave2 package
by rextended
Fri Jun 23, 2023 3:27 pm
Forum: Announcements
Topic: v7.10, 7.10.1 and more [stable] are released!
Replies: 369
Views: 128280

Re: v7.10 [stable] is released!

*** post out of order ***
by rextended
Fri Jun 23, 2023 2:15 pm
Forum: General
Topic: Can someone give me the command line, to delete pppoe-out1
Replies: 16
Views: 1396

Re: Can someone give me the command line, to delete pppoe-out1

A curiosity,
but do you really keep deleting the interface every time, instead of just setting the username and password?

Do not use numbers=0, use the interface name.
Numbers are good only when interacting with terminal, on script must be never used.
by rextended
Thu Jun 22, 2023 7:24 pm
Forum: Announcements
Topic: v7.11beta [testing] is released!
Replies: 373
Views: 104434

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

Or you have multiple IPs on LANs and you want not use the IP with less walue, but the specific one....
by rextended
Thu Jun 22, 2023 7:22 pm
Forum: Scripting
Topic: "Firmware upgraded successfully..." from script
Replies: 12
Views: 7228

Re: "Firmware upgraded successfully..." from script

Can be created also one script for SNMP.... { /sys rou print file="tmptest.txt" /file :local thefile [find where name="tmptest.txt"] :if ([:len [:find [get $thefile contents] "please reboot"]] > 0) do={:put "REBOOT"} else={:put "OK"} /file remove $th...
by rextended
Thu Jun 22, 2023 6:13 pm
Forum: Scripting
Topic: The maximum size of a read/written file.
Replies: 70
Views: 7387

Re: The maximum size of a read/written file.

Do you really think I give a damn if you're Russian, Polish or Ukrainian?
in one of them, it has a very negative meaning ))))
The sentence, on purpose, was meant to be negative, to give the appropriate emphasis to the concept: "I just keep seeing a Brother.".
by rextended
Thu Jun 22, 2023 5:15 pm
Forum: Wireless Networking
Topic: Rate limiting in WISP System
Replies: 4
Views: 1271

Re: Rate limiting in WISP System

Why you do not use something like PPPoE?
by rextended
Thu Jun 22, 2023 5:11 pm
Forum: Scripting
Topic: The maximum size of a read/written file.
Replies: 70
Views: 7387

Re: The maximum size of a read/written file.

Do you really think I give a damn if you're Russian, Polish or Ukrainian?

I just keep seeing a Brother.
by rextended
Thu Jun 22, 2023 5:05 pm
Forum: Scripting
Topic: The maximum size of a read/written file.
Replies: 70
Views: 7387

Re: The maximum size of a read/written file.

This work for sure, but the file is created after some seconds, or you wait ":execute" to finish it's job, or you do not see instantly the file... Also the flash fix is easy... { :local filename "readallsmspdu.txt" :if ([:len [/file find where name="flash" and type=&quo...
by rextended
Thu Jun 22, 2023 4:57 pm
Forum: Scripting
Topic: The maximum size of a read/written file.
Replies: 70
Views: 7387

Re: The maximum size of a read/written file.

*** see my next post ***
by rextended
Thu Jun 22, 2023 4:51 pm
Forum: Announcements
Topic: v7.11beta [testing] is released!
Replies: 373
Views: 104434

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

So I shouldn't report?
Excuse the translator..... Probably the idioms in Italian do not translate them as one would expect...

I meant that of course you have to report them, but in this case I think it's a spelling omission/error...
¯\_( ͡° ͜ʖ ͡°)_/¯
by rextended
Thu Jun 22, 2023 3:41 pm
Forum: Announcements
Topic: v7.11beta [testing] is released!
Replies: 373
Views: 104434

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

Classic logic error, the text of the error is wrong, it should be "can not install lora-7.11beta2: iot is not enabld or installed, but is required"


I'm really having a hard time understanding why you needlessly install all the extra packages if you then disable them...
by rextended
Thu Jun 22, 2023 3:22 pm
Forum: General
Topic: CVE-2020-11881 PATCH [SOLVED]
Replies: 28
Views: 8145

Re: CVE-2020-11881 PATCH [SOLVED]

Still interesting if this fixed in 7.x tree, I just looked at all changelogs and cant see any fix
Tell me clearly where it says 7.1 (stable) and later are vulnerable.
by rextended
Thu Jun 22, 2023 2:44 pm
Forum: Scripting
Topic: New data type in Mikrotik RouterOS
Replies: 19
Views: 3064

Re: New data type in Mikrotik RouterOS

just don't talk about it.
???


For now, I haven't found anything useful, and in any case it's better not to focus on something NOT documented,
which maybe in the future could be removed (since it's not documented...)
by rextended
Thu Jun 22, 2023 2:42 pm
Forum: Scripting
Topic: Log Filter
Replies: 66
Views: 8174

Re: Log Filter

But at that point... it's like a job ;)
by rextended
Thu Jun 22, 2023 10:42 am
Forum: Scripting
Topic: New data type in Mikrotik RouterOS
Replies: 19
Views: 3064

Re: New data type in Mikrotik RouterOS

Why uselessly open another topic if already exist that topic?

This topic is useless as an "op"
by rextended
Thu Jun 22, 2023 10:37 am
Forum: Beginner Basics
Topic: SXTR: Default user/password incorrect
Replies: 2
Views: 587

Re: SXTR: Default user/password incorrect

1) Read the forum
2) Read the label on the devce with the password over it.
by rextended
Thu Jun 22, 2023 10:34 am
Forum: Scripting
Topic: The maximum size of a read/written file.
Replies: 70
Views: 7387

Re: The maximum size of a read/written file.

But what is your native language? This may answer https://forummikrotik.ru/viewtopic.php?p=89403#p89403 :) What does it have to do with it, I wanted him to specify it, if he wanted... If you look closely you'll see that the Uncle Женя lives in Chernihiv, and was born on January 17.. :lol: (Женя жар...
by rextended
Thu Jun 22, 2023 10:18 am
Forum: Announcements
Topic: v7.10, 7.10.1 and more [stable] are released!
Replies: 369
Views: 128280

Re: v7.10 [stable] is released!

However the year should not be stripped. IMO the whole date-gate disaster should be fixed once and for all. The problem on the crap format of the date on the log, 4 different formats depending on the date and time of the machine... We have been asking them for years that the format of the date in t...
by rextended
Thu Jun 22, 2023 10:15 am
Forum: Announcements
Topic: v7.10, 7.10.1 and more [stable] are released!
Replies: 369
Views: 128280

Re: v7.10 [stable] is released!

By the way... Why do the lines start with a space?
(because month/day are xxx/xx on previous format, etc.)
by rextended
Thu Jun 22, 2023 10:11 am
Forum: Scripting
Topic: Log Filter
Replies: 66
Views: 8174

Re: Log Filter

By the way, why doesn't a programmer like you have serious big jobs? I already have my own company and working for others is out of the question. Being a programmer for work is much more stressful than being an ISP... Filling my free time with other jobs is out of the question, I don't want to be r...
by rextended
Wed Jun 21, 2023 4:00 pm
Forum: Scripting
Topic: Log Filter
Replies: 66
Views: 8174

Re: Log Filter

A small example of how not to program... :local normalTime (($months->$dateM)."/"); :if ($dateD < 10) do={ :set $normalTime ($normalTime."0".[:tostr $dateD]."/"); } else={ :set $normalTime ($normalTime.[:tostr $dateD]."/"); } :set $normalTime ($normalTime.[:to...
by rextended
Wed Jun 21, 2023 1:28 pm
Forum: RouterOS beta
Topic: Unable to export configuration on hAP mini 7.1
Replies: 18
Views: 9157

Re: Unable to export configuration on hAP mini 7.1

It's really ridiculous that you could think of using RouterOS 7 on a SMIPS device.
Why don't you install macOS Ventura on an older PowerPC?
by rextended
Wed Jun 21, 2023 10:40 am
Forum: Scripting
Topic: Updated ChangeIP DDNS script for ROS 7.xx
Replies: 2
Views: 2075

Re: Updated ChangeIP DDNS script for ROS 7.xx

There are hundreds of other dynamic DNS update scripts, even better written, and some even worse.
The only thing that changes between all is how they were written and the URL of the GET, but then in the end it's always the same story...
by rextended
Tue Jun 20, 2023 7:07 pm
Forum: Beginner Basics
Topic: Time restrictions forward rule and counters [SOLVED]
Replies: 21
Views: 1698

Re: Time restrictions forward rule and counters [SOLVED]

Look, you're speaking two different languages, you're not understanding each other...
One talks about pizza the other about pasta....
by rextended
Tue Jun 20, 2023 6:58 pm
Forum: Beginner Basics
Topic: Block all outbound ports except DNS, Http and Https
Replies: 6
Views: 12811

Re: Block all outbound ports except DNS, Http and Https

Just a tiny bit of logic

Surely that user waited for you, two years and a month later, for you to reply.

Don't resurrect posts in such a useless way, just a tiny bit of logic.
by rextended
Tue Jun 20, 2023 6:54 pm
Forum: Scripting
Topic: To determine the value of each bit in a byte.
Replies: 24
Views: 3024

Re: To determine the value of each bit in a byte.

I don't understand why 15?
because the hex Byte go from 00 to FF, and 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F are 16 characters, but the index start from 0, so are 16 indexed numbers, from 0 to 15
by rextended
Tue Jun 20, 2023 6:11 pm
Forum: Scripting
Topic: The maximum size of a read/written file.
Replies: 70
Views: 7387

Re: The maximum size of a read/written file.

Let's sort it out... 1) Read an internal file to the RouterBOARD. a) Reading the contents of any file into /files and putting it into a variable is limited to 4095 Bytes. b) Reading the contents of any file into /files and auto-sharing it as a file in ftp and putting it into a variable, is limited t...
by rextended
Tue Jun 20, 2023 5:44 pm
Forum: Announcements
Topic: v7.10, 7.10.1 and more [stable] are released!
Replies: 369
Views: 128280

Re: v7.10 [stable] is released!

Yes, and they do nothing else, so that if there is a microbreak, the customers lines do not fall. (the uptime is now 4d 22:42:48)
by rextended
Tue Jun 20, 2023 3:34 pm
Forum: Scripting
Topic: The maximum size of a read/written file.
Replies: 70
Views: 7387

Re: The maximum size of a read/written file.

[…]
by rextended
Tue Jun 20, 2023 3:15 pm
Forum: Beginner Basics
Topic: Time restrictions forward rule and counters [SOLVED]
Replies: 21
Views: 1698

Re: Time restrictions forward rule and counters [SOLVED]

I don't see the complete drawing, but for what you are doing there is already this...
https://wiki.mikrotik.com/wiki/Manual:Kid-control
by rextended
Tue Jun 20, 2023 3:00 pm
Forum: Beginner Basics
Topic: Time restrictions forward rule and counters [SOLVED]
Replies: 21
Views: 1698

Re: Time restrictions forward rule and counters [SOLVED]

Thanks, did not think that something with no value still has impact
ignoring something is different from an empty list
by rextended
Tue Jun 20, 2023 2:50 pm
Forum: Beginner Basics
Topic: Time restrictions forward rule and counters [SOLVED]
Replies: 21
Views: 1698

Re: Time restrictions forward rule and counters [SOLVED]

@rextended, the difference is connection-state="" (which is empty), so I must be stupid, but can not see the answer No, no, don't take offense at yourself. Simply, if you do not select anything on connection-state, the rule is valid when the connection-state does not exist... At test sele...
by rextended
Tue Jun 20, 2023 2:19 pm
Forum: Announcements
Topic: v7.10, 7.10.1 and more [stable] are released!
Replies: 369
Views: 128280

Re: v7.10 [stable] is released!

Well...
by rextended
Tue Jun 20, 2023 1:46 pm
Forum: Announcements
Topic: v7.10, 7.10.1 and more [stable] are released!
Replies: 369
Views: 128280

Re: v7.10 [stable] is released!

The first long-term? 7.23.5 @ September....
by rextended
Tue Jun 20, 2023 12:36 pm
Forum: Scripting
Topic: The maximum size of a read/written file.
Replies: 70
Views: 7387

Re: The maximum size of a read/written file.

In the end it's just RouterOS, not "eXtendedOS".
Either you use Containers so you do what you like, or you accept that in the end it's a Router, not one Synology or one of the many "SIM Manager" programs....
by rextended
Tue Jun 20, 2023 12:31 pm
Forum: Announcements
Topic: v7.10, 7.10.1 and more [stable] are released!
Replies: 369
Views: 128280

Re: v7.10 [stable] is released!

Regarding the OVPN issue with "Problem accepting server-pushed peer-id: parse/range issue"! We have managed to reproduce the problem and are working on a fix for it.
by rextended
Tue Jun 20, 2023 10:43 am
Forum: Beginner Basics
Topic: Time restrictions forward rule and counters [SOLVED]
Replies: 21
Views: 1698

Re: Time restrictions forward rule and counters [SOLVED]

Find the difference between these two rules and you will have the solution: /ip firewall filter> pri Flags: X - disabled, I - invalid, D - dynamic 0 chain=forward action=log connection-state="" log=no log-prefix="" 1 chain=forward action=log log=no log-prefix=""
by rextended
Tue Jun 20, 2023 10:14 am
Forum: Scripting
Topic: The maximum size of a read/written file.
Replies: 70
Views: 7387

Re: The maximum size of a read/written file.

I continue to attribute our misunderstanding not to your unwillingness to listen, but to the poor translation
Exactly, if I wasn't interested, I wouldn't even have answered you.
But what is your native language?
by rextended
Mon Jun 19, 2023 7:11 pm
Forum: Beginner Basics
Topic: access router from out side network
Replies: 5
Views: 949

Re: access router from out side network

You can make a dst-nat forwarding to your router ip address and management port
SpamGPT TAG: ###RCHCK###
by rextended
Mon Jun 19, 2023 6:19 pm
Forum: Scripting
Topic: The maximum size of a read/written file.
Replies: 70
Views: 7387

Re: The maximum size of a read/written file.

The limit reading the file from /file is 4095 Bytes, but by fetch is 64512 Bytes
But with my method, on supported hosts, the read is ulimited.
Is time you read and study my posts..........................
viewtopic.php?f=9&t=177530
by rextended
Mon Jun 19, 2023 5:45 pm
Forum: Scripting
Topic: To determine the value of each bit in a byte.
Replies: 24
Views: 3024

Re: To determine the value of each bit in a byte.

Why you for do 2 + 4 = 6 instead you do x1 = 2 / 2, x2 = 4 / 2, result = (x1 + x2) * 2 = 6 ?????????????? :put ( "\\$num" ) = print on screen the character "\" (and since is the escape character, must be writed twice) followed with the value of variable called "num" As ...
by rextended
Mon Jun 19, 2023 3:18 pm
Forum: General
Topic: BGP graceful-restart in ROSv6 or ROSv7 [SOLVED]
Replies: 10
Views: 2438

Re: BGP graceful-restart in ROSv6 or ROSv7 [SOLVED]

ROS do not suppport BGP-GR
If you check "local capabilities" on BGP peer, you can see MikroTik advertises gr for some reason.

:shock:
by rextended
Mon Jun 19, 2023 12:36 pm
Forum: Scripting
Topic: Script to reboot if we are having same log entry back to back [SOLVED]
Replies: 11
Views: 2810

Re: Script to reboot if we are having same log entry back to back [SOLVED]

Grazie mille, davvero. Ti ringrazio di cuore per tutto il tempo e l'impegno che hai dedicato a questo. :D
😁

Very very thanks!
by rextended
Mon Jun 19, 2023 12:33 pm
Forum: General
Topic: [Router OS 7.6] OpenVPN Server issue
Replies: 25
Views: 4053

Re: [Router OS 7.6] OpenVPN Server issue

Didn't you wonder how I assumed @leon84 used 8.8.8.8?... No, I'm more interested in an answer to my question. There are plenty of ways you could have know/assumed that @leon84 used 8.8.8.8 including mind reading but a PM is more likely. :D Is because if you try to ping 8.8.8.8 with packet size > 96...
by rextended
Mon Jun 19, 2023 12:31 pm
Forum: General
Topic: Please add basic portScan tool ( port scanner scan )
Replies: 80
Views: 46900

Re: Please add basic portScan tool ( port scanner scan )

Well, I have seen that with public DNS server IPs. It likely is not the service itself but spoofed addresses. E.g. I have seen a lot of TCP SYN -> port 23 from addresses like 8.8.8.8 and 1.1.1.1 to our external addresses. True, is why i do not accept any packet not required from 1.1.1.1, 8.8.8.8 &a...
by rextended
Sun Jun 18, 2023 11:29 pm
Forum: Beginner Basics
Topic: Log to disk - bad for disk life???
Replies: 6
Views: 873

Re: Log to disk - bad for disk life???

I have on service some board from 2007 when I open the WISP that use internal nand for user-manager (RB1100AH)....
by rextended
Sun Jun 18, 2023 11:07 pm
Forum: Beginner Basics
Topic: Log to disk - bad for disk life???
Replies: 6
Views: 873

Re: Log to disk - bad for disk life???

Am I correct in my understanding?
Yes?

Use external syslog or external USB device, if possible.
by rextended
Sun Jun 18, 2023 11:02 pm
Forum: Scripting
Topic: Script to reboot if we are having same log entry back to back [SOLVED]
Replies: 11
Views: 2810

Re: Script to reboot if we are having same log entry back to back [SOLVED]

Bravo, mi hai spinto a creare qualcosa di nuovo, che può essere pure usato altrove... :local id2num do={:return [:tonum "0x$[:pick $1 1 [:len $1]]"]} /log :local buffer [find where buffer=memory] :local start [$id2num ($buffer->([:len $buffer] - 10))] :local buffer [find where ((buffer=mem...