Displaying 3 results from an estimated 3 matches for "geotmp".
Did you mean:
geoip
2007 Apr 19
2
CentOS 4.4 Xen VM/VPS install on CentOS 5 (xen kernel) issues
...ing the files over to the /mnt/name directory (the one I mounted
above). Everything copied over no problems at all.
I then proceeded to the final step (creating the xen config file for the
VPS) as follows:
====================
kernel = "/boot/vmlinuz-2.6.18-8.1.1.el5xen"
name = "geotmp"
memory = "1028"
disk = [''phy:/dev/linux/geotmp,xvda1,w'',
''phy:/dev/linux/geotmp-swap,xvda2,w'']
ramdisk = "/boot/kernel-geotmp.img"
root = "/dev/hda1 ro"
vif = [ '''', ]
vcpus=2
on_reboot = ''restart...
2019 Jan 15
0
CentOS 6.X, iptables 1.47 and GeoLite2 Country Database
.../tmp/countries.txt ]; then
rm /tmp/countries.txt
fi
for country in $CountryList; do
curl -o /tmp/$country.txt
http://www.ipdeny.com/ipblocks/data/aggregated/$country-aggregated.zone
cat /tmp/$country.txt >> /tmp/countries.txt
done
getnetblocks() {
cat <<EOF
# Generated by ipset
-N geotmp nethash --hashsize 1024 --probes 4 --resize 20
EOF
cat /tmp/countries.txt|egrep '^[0-9]'|egrep '/' |sed -e "s/^/-A geotmp /"
}
getnetblocks > /tmp/cnblock.txt
sudo ipset -! -R < /tmp/cnblock.txt
sudo ipset -W geotmp COUNTRIES-BLOCK
sudo ipset -X geotmp
rm /tmp/cnblo...
2019 Jan 15
2
CentOS 6.X, iptables 1.47 and GeoLite2 Country Database
On Mon, Jan 14, 2019 at 07:29:45AM +0000, Phil Perry (pperry at elrepo.org) wrote:
> On 14/01/2019 07:09, Jobst Schmalenbach wrote:
> > Hi
> I use ipdeny's aggregated country lists to do the same thing:
>
> http://www.ipdeny.com/ipblocks/data/aggregated/
>
> I just feed this data directly into ipset/iptables via a script running on
> my firewall (not a C6 box).