In this tutorial, we demonstrate how to extract Bay Area information based on their IP address using C#/VB.NET/PHP/Java programming languages and IP2Location MySQL database. In this tutorial, we use the IP2Location LITE DB3 CSV database to extract Bay Area information from the visitor’s IP address. Free databases are available for […]
Display Visitor’s Proxy Using IP2Proxy Web Service
In this tutorial, we use the IP2Proxy™ Web Service to detect proxy details from the visitor’s IP address. Instead of loading the full database, you can also lookup IP address via our hosted web service. IP2Proxy™ Web API uses a single web interface to perform the lookup logic. The protocol […]
How to lookup for proxy record using PHP and MySQL
This tutorial shows you on how to lookup for a proxy record from the MySQL database using PHP programming language. This tutorial uses IP2Proxy PX11 database as the example, but the logic can be used for other IP2Proxy PX database query, namely PX1, PX2, PX3, PX4, PX5, PX6, PX7, PX8, PX9, PX10. Set up […]
Converting IP address ranges into Netmask format
In this tutorial, we will demonstrate you on how to convert IP address ranges into Netmask format. A netmask is a 32-bit number that masks an IP address and divides the IP address into subnets. An example of netmask notation is 8.8.8.0/255.255.255.0. The example represents the IP ranges from 8.8.8.0 […]
Geolocate Fail2Ban IP Using IP2Location
This tutorial will show you how to retrieve the geolocation information for the banned IP addresses reported inside the fail2ban log file. Depending on the IP2Location BIN data that you are using for the lookup, you could get very detailed information like below if you are using the IP2Location DB26 BIN […]
Converting IP address ranges into CIDR format
In this tutorial, we will demonstrate you on how to convert IP address ranges into CIDR format. What is CIDR CIDR, which stands for Classless Inter-Domain Routing, is a method used for efficiently allocating and routing IP addresses on the internet. It was introduced to overcome some limitations of the […]
Integrating IP2Location C Library With Go Programming Language
The aim of this guide is to demonstrate integrating the IP2Location C library within the Go programming language. In our example, we will be using the Linux environment. First of all, you will need to install the IP2Location C library. Follow the instructions at https://ip2location.com/developers/c to install the IP2Location C library. Next, […]
Integrating IP2Location C Library With D Programming Language
The aim of this guide is to demonstrate integrating the IP2Location C library within the D programming language. In our example, we will be using the Linux environment. First of all, you will need to install the IP2Location C library. Follow the instructions at https://ip2location.com/developers/c to install the IP2Location C library. Next, […]
Configure the IPv4 Address Deny Rule in IIS 7 Using VB.NET
The aim of this guide is to demonstrate how to programmatically configure the IIS 7 IPv4 address deny rules using VB.NET codes. Pre-requisites The default installation of IIS does not include the role service or Windows feature for IP security. To use IP security on IIS, you must install the […]
Display Visitor’s GeoLocation Using Web Service in VB.NET
Geolocation is a great way to put relevant content to your web visitors and it is a technology that can be used in almost any application you can think of. In this tutorial, we use the IP2Location.io IP Geolocation API to lookup geolocation information from the visitor’s IP address. Instead […]