Hi,
Im looking for a script that monitors ftp connections, and if between a certain time calls a webpage that enters the IP into a database. Is this possible?
Hi,
Im looking for a script that monitors ftp connections, and if between a certain time calls a webpage that enters the IP into a database. Is this possible?
It can be done. Here is an outline
/ip firewall mangle chain=prerouting action=add-src-to-address-list address-list=FTPList address-list-timeout=0s layer7-protocol=ftp time=0s-6h,sun,mon,tue,wed,thu,fri,sat
Create a script that parses the FTPList and post the IP’s using the fetch tool and finally deleting the IP address’s from the FTPList. I would help on making this script but they just fixed the fetch tool to run using a script but have managed to break other valuable parts.
Then schedule this script to run a minute or so after the end time you have specified in the mangle rule.
-Louis