/ip firewall raw
add action=drop chain=prerouting src-address-list=CLOUDFLARE
I tried it, it doesn't work eitherdont-require-permissions=yes
It works correctly, thank you.Might be better to start a new thread to work on your scripts, but in the interest of good spirit.
+1no color in the logs ( only black ).
back-to-home-vpn: [peer19] CHWCHPuLuweWVZkq3r2HynUP59yxk3GsMX4i9XamAQw=: Handshake for peer did not complete after 20 attempts, giving up
OKPlease use the code tag, to avoid Cool smile face when posting code pre formatted.
Key </>
/system routerboard wps-button
set enabled=yes on-event=":if ([system leds settings get all-leds-off] = \"never\") do={\r\
\n/system leds settings set all-leds-off=immediate \r\
\n} else={\r\
\n/system leds settings set all-leds-off=never \r\
\n}"
{
/ip cloud
:local ipv4 [get public-address]
:local ipv6 [get public-address-ipv6]
:put $ipv4
:put $ipv6
}
Great news!Version 7.15 will include WireGuard peer functionality "responder". Then you will be able to mark your peer as "responder". Then the peer will not spam your log, if you enable this option manually.
Maybe, let's wait and see if someone from the staff can enlighten us.Nope, I don't...
Just tested, deliberately.
That is why I am actually wondering, maybe some specific config setting is involved.
Try to connect with road-warrior and when you disconnect you will see that the handshak messages start coming out, this started since the first versions of 7.13.Must be something config specific, I do use wireguard for road-warrior setup and I have 0 such logs.
I don't use or have BTH though.
Exactly, I think the same.Wireguard behavior is not the problem.
The all of a sudden excessive logging is.
This is debug and by default it should be off.
Same with dns, ntp, dhcp... I've seen it all pass by.
/tool fetch mode=https \
# change to:
/tool fetch mode=http \
I just edited default info rule. Is it correct?
Hmmm... all my fetch scripts works well without ftp policy. WDIDW?
Also how to disable this new fetch logging?
/system logging
set 0 disabled=yes
add topics=info,!fetch
OK, thxhttpS
I did it with an RB4011 and it worked for me.Hi diamuxin
Your suggested fix did not work for me ...
thanks a lot!!> :put ([/tool fetch url="http://upgrade.mikrotik.com/routeros/NEWESTa7.stable" as-value output=user]->"data")they may have changed the address.
7.13 1702545848
[ ] > :put ([/tool fetch url="https://upgrade.mikrotik.com/routeros/NEWEST7.stable" as-value output=user]->"data")
7.12.1 1700221125
In the Netwatch?
# Netwatch (Host tab)
Host: 8.8.8.8
Type: simple
Interval: 00:05:00
Timeout: 1.00
# Netwatch (Test tab)
:local HOST $host
:local HostStatus [/tool netwatch get value-name=status [find host=$HOST]]
:if ($HostStatus="down") do={/system reboot}
[ ] > :put ([/tool fetch url="https://upgrade.mikrotik.com/routeros/NEWEST7.stable" as-value output=user]->"data")
7.12.1 1700221125
{
/interface list
add name=ListB
:delay 1s
/interface/list/member
:foreach i in=[find where ((interface~"ospf") and (list~"ListA"))] do={
set $i list="ListB"
}
}
I have syslog enabled on the Synology NAS, it is an application called Log Center (Centro de registros in spanish) and it works correctly receiving information from all my mikrotik devices.Hi Tangent,
thanks for your reply.
but i using NAS Synology as FTP Server. There is no Syslog features
It's perfect now, thank you very much.Sorry about that. Changelogs are fixed now.
Ok thanks, this way it seems that it has not given error again.try requesting 2 times with a delaysometimes it returns empty value or check for empty value:local latest [/system package update get latest-version]
:delay 1
:set latest [/system package update get latest-version]
Maybe you are right Rex, that it is a problem of execution permissions when it involves executing a command on another mikrotik (via SSH with RSA keys).Apparently nothing wrong...
Probably dhcp script have less right than "normal script"...
But CAPSMAN has always worked fine with v7.10 without the need to open ports 5246 and 5247, I understand that internally CAPSMAN already enables them.usually that error is firewall problem, try allowing UDP "5246,5247" on input chain on your bidge side and see if fixes it on v.7.11
change this:I am now trying to run this same script on the latest firmware (7.10.2) and it is not running at all.
Where I have problem?
:local voltage [/system health get voltage]
:local voltage [/system health get [find name=voltage] value]
This script, what does it really do?I solved the speed problem...
Fake24 aggregator, now is really fast...
Works OK.On the moment I can not test it, but apparently it is correct...I think that's right, isn't it?
OK, I will look for itI read somewhere on the forum a similar script already working.
Okay, I'll try it tonight. Thank you.Uhm... again timezone? Try to schedule the event at 03:00...
Updated! thxBoth scripts are updated for:
EDIT x: Exclude on default ipsec error messages phase1 negotiation failed, added the possibility to exclude topics regardless are critical or error or warning
(thanks to @S8T8 for the idea)
Maybe this can help:Friends, I need a script to disable an interface of my RB when it has no traffic. and after a few seconds that interface is re-enabled. Thank you for your cooperation.
Ok, I'll do the test tonight.try to set the device to GMT +00:00...... (and disable auto-detect)
look at the screenshotsCheck twice.... after reboot....
If the function is
:global f do={ /interface print }
It's normal this:
:put [$f]
(function)
Is just a text "(function)" or another script set again the function correctly...
Hi Rex,You try the "new version" if do same error?
wow! now it's working!You have thested the last script?
Can be a bug, I check.
Oh thanks, no problem.I'm preparing the script for you to see, it takes a while because I'm at work now.
I don't quite understand how I could do it with Netwatch, could you give an example?The newer /tool/netwatch might allow that logic with "On Test" script, you'd just check the last down time >10m in the script before restart.
[] > :put [$str2case "this iS a teSt ,a teSt is it"]
This is a test ,a test is it
The script works fine now, thanks!Ok, I found two bug, fixed.
Update previous script.
I understand, thank you.All the signature, for abuse, are removed.