I don't have iptables installed. Will ipblock work?
I've been adding list and I'm currently blocking 315298 IP Ranges. I have these lists installed:
and the extra lists I added:
The problem is, whenever I try to add a country (or more lists too), for example the usa.p2p list, the number of ranges being blocked goes down to 186000(!!). Why does this happen? Is this a bug?
Update: I just tried to install the rangetest list from the B.I.S.S forums and the number of ranges went down to 280000
Last edited by isaacj87; March 4th, 2008 at 05:02 PM.
Laptop: [AMD Vision A4-3300M | 8GB RAM | ATI Radeon 6480G | Ubuntu 12.04 64-bit]
Studio Box: [AMD Athlon 64 X2 5000+ | 4GB RAM | Nvidia 210 | M-Audio FastTrackPro | KXStudio 11.04 64-bit | 2.6.31-rt14-custom | KDE 4.6.5]
The number of ranges doesn't specify the actual amount of IP-addresses because ranges have variable length. Useless ranges are also merged (e.g. small ranges that are covered by a larger range are removed).
Well I have been using the 019 version of the IP blocker without problem so far. However I updated my lists today and noticed that the text file within the level1.gz list has risen from some 10.3mb to over 600mb in size and upon restarting the blocked ip ranges has considerably reduced. Also I always could open the level1 text file but now when I try I get an error(see below)
gzip: /tmp/fr-ZaUglf/level1.gz: unexpected end of file
Hope you can make something of this. I tried removing the IP List package but get an error with regard /var/cache/iplist not empty.....
Today the update went wrong, but it's fixed now. Just try another update.
Ok all sorted.....thanks
I understand that using the command sudo aptitude purge iplist will remove the program and all of its configuration files but will it also remove the directory iplist that is created in /var/cache. When I was having problems last night trying to update the level1.gz list I tried to remove IP Block using Synaptic and by sudo dpkg -P iplist but I noticed that the iplist directory remained having removed the program and configuration files.
I appreciate your help on the above.
/var/cache/iplist has to be empty in order to be removed by the package manager.
Thanks Uljanow for your swift responses to my questions.
I forgot to pre-warn you in my first post that I have only just migrated to Ubuntu so am finding most things a struggle at the moment. Am I correct in thinking that it was upon installing IPBlock that created the directory iplist? So to remove this directory at such a time that I might not need to use IPBlock, then I have to remove the contents firstly before I use the command sudo aptitude purge iplist?
Once again thank you for your patience.