SHOW:
|
|
- or go back to the newest paste.
1 | - | # Script che scaricherà la abusedb come file di testo |
1 | + | # Script che scaricherà la lista Tor relay IPv4 come file di testo |
2 | - | /system script add name="Download_abusedb" source={/tool fetch url="https://mikrotik_bl.uiblog-it.workers.dev/blocklist/abusedb.rsc" mode=https; |
2 | + | /system script add name="Download_TorIPv4relay" source={/tool fetch url="https://mikrotik_bl.uiblog-it.workers.dev/torrelay/torrelayIPv4uiblog.rsc" mode=https; |
3 | - | :log info "Ho scaricato il file abusedb.rsc da uiblog.it"; |
3 | + | :log info "Ho scaricato il file torrelayIPv4uiblog.rsc da uiblog.it"; |
4 | } | |
5 | ||
6 | - | # Script che rimuoverà la vecchia lista di abusedb e ne aggiungerà una nuova |
6 | + | # Script che rimuoverà la vecchia lista relay degli IPv4 della rete tor e la aggiorna con una nuova |
7 | - | /system script add name="Replace_abusedb" source={/ip firewall address-list remove [find where comment="abusedb"] |
7 | + | /system script add name="Replace_TorIPv4relay" source={/ip firewall address-list remove [find where comment="torrelayIPv4uiblog"] |
8 | - | /import file-name=abusedb.rsc; |
8 | + | /import file-name=torrelayIPv4uiblog.rsc; |
9 | - | :log info "Rimossi i vecchi record della lista abusedb e importato il nuovo elenco"; |
9 | + | :log info "Rimossi i vecchi record della lista torrelayIPv4 e importato il nuovo elenco da uiblog.it"; |
10 | } | |
11 | ||
12 | - | # Programma il download e l'applicazione della abusedb |
12 | + | # Programma il download e l'applicazione della lista dei relay IPv4 di Tor |
13 | - | /system scheduler add comment="Scarico la abusedb list" interval=3d \ |
13 | + | /system scheduler add comment="Scarico la lista torrelayIPv4" interval=3h \ |
14 | - | name="Download_abusedb" on-event=Download_abusedb \ |
14 | + | name="Download_TorIPv4relay" on-event=Download_TorIPv4relay \ |
15 | - | start-date=jan/01/1970 start-time=04:29:26 |
15 | + | start-date=jan/01/1970 start-time=05:29:26 |
16 | - | /system scheduler add comment="Inserisco la lista abusedb" interval=3d \ |
16 | + | /system scheduler add comment="Inserisco la lista torrelayIPv4 nuova" interval=3h \ |
17 | - | name="Install_abusedb" on-event=Replace_abusedb \ |
17 | + | name="Replace_TorIPv4relay" on-event=Replace_TorIPv4relay \ |
18 | - | start-date=jan/01/1970 start-time=04:54:26 |
18 | + | start-date=jan/01/1970 start-time=05:54:26 |
19 |