blog.erben.sk

Just another sysadmin blog

blog.erben.sk

Main menu

Skip to primary content
Skip to secondary content
  • Home
  • About

Category Archives: scripts

Country IPv6 ranges

Posted on December 11, 2019 by iwik
Reply

Many comments in http://blog.erben.sk/2014/02/06/country-cidr-ip-ranges/ was about IPv6 support.

Continue reading →

Posted in linux, scripts | Tagged addresslist, country, ipv6, mikrotik | Leave a reply

Reset USB device in linux

Posted on August 26, 2019 by iwik
Reply

I had old UPS with serial port which was connected using Profilic USB to serial adapter. Sometimes this USB dongle had frozen and need to be restated – re-attached. This can be done in linux using IOCTL.
Continue reading →

Posted in linux, scripts | Tagged ioctl, linux, usbreset | Leave a reply

Generating country IP ranges lists #2

Posted on June 26, 2015 by iwik
Reply

My original article about this topic is more that year old and was using Regional Internet Registries (RIRs) list as source and was in python. This post will describe other simple solution how to generate some country IP ranges list.

Continue reading →

Posted in scripts | Tagged geoip, ipblocks, ipcountry, php | Leave a reply

Generating country IP ranges lists

Posted on January 28, 2014 by iwik
7

There are many sites providing country blocklists, for example http://www.ip2location.com/free/visitor-blocker or https://www.countryipblocks.net/. When you want periodicaly update such list, you have problem. You need pay for that service for automated access, actual data or “hack” access to that service (abuse their free access conditions)…

Continue reading →

Posted in scripts | 7 Replies

Blogroll

  • My Facebook profile
  • Personal Site
  • Work photoalbum
  • ZaZeZi

Categories

  • asterisk
  • bash
  • centos
  • debian
  • dns
  • dovecot
  • esxi
  • geoip
  • haproxy
  • linux
  • postfix
  • scripts
  • storage
  • uncategorized
  • vpn
  • vsphere
  • webmin
  • zabbix

Archives

  • December 2020
  • September 2020
  • August 2020
  • July 2020
  • February 2020
  • December 2019
  • August 2019
  • April 2019
  • January 2019
  • July 2018
  • June 2015
  • May 2015
  • April 2015
  • March 2015
  • February 2015
  • January 2015
  • June 2014
  • May 2014
  • February 2014
  • January 2014
  • April 2013
  • March 2013
  • February 2013
  • January 2013
  • June 2012
  • May 2012
  • December 2011
  • August 2011
  • July 2011
  • April 2011
  • March 2011
  • February 2011
  • January 2011
  • November 2010
  • September 2010
  • July 2010
  • June 2010
  • May 2010
  • April 2010
  • March 2010
  • February 2010
Proudly powered by WordPress