Community discussions

MikroTik App

Search found 2 matches

by tasyaraiva
Sat Jul 15, 2023 4:37 am
Forum: Scripting
Topic: script to add ip to list based on log - help needed
Replies: 10
Views: 5752

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

Like this ?
:global failmsg "login failure for user * from "
:global endmsg " via *"

I have tested but not work without error (RoS v 7.10)
by tasyaraiva
Fri Jul 14, 2023 4:54 pm
Forum: Scripting
Topic: script to add ip to list based on log - help needed
Replies: 10
Views: 5752

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

@rextended
I have tested your script and work

About this line with condition user is admin
:global failmsg "login failure for user admin from "
and try login from winbox
:global endmsg " via winbox"

How if dynamic user and service (winbox, ssh, ftp) like brute force attack?