iptables -I INPUT 1 -p tcp --dport 80 -m string --string "POST /url/edit" --algo kmp -j DROP
Date currentDate = new Date();
Date pastDate = DateUtils.addDays(currentDate, -7); //минус 7 дней от текущей даты
int min = TimeUnit.MILLISECONDS.toMinutes(currentDate.getTime()-pastDate.getTime());