Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Next time, specify what kind of firewall you have.
In IPFW, something like this
. Only you have to maintain an up-to-date database of IP addresses. If you resolve, then IPFW takes only the first IP from the list, and the user does not always follow the first one.
Set up a proxy, drive everyone to the Internet through a proxy, and check at the requested URL. There is vk.vom in the URL or whatever they have there, then block it.
If for some reason a proxy is not used, then here is a great layout for you:
1) create a table in a file describing the Contact's IP addresses.
2) write a script that processes the command "nslookup -ls -d vk.com ns1.vkontakte.ru"
- read the file with addresses into a hash;
- Run the command 100 times and enter the resulting IPs into the hash.
- write the ips from the hash to a file.
3) Run the script by cron and load the firewall rules once a day.
The very next day, the contacts will break off and the problem will begin to disappear exponentially.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question