How To Set Up a Firewall with UFW on Ubuntu 20.04 phptuts April 9, 2022 UFW is installed by default on Ubuntu, so you don’t need to install this. Setting Up Default Policies To set the default UFW incoming policy… Continue Reading
Secure Memcached on Linux phptuts December 20, 2018 Memcached is Vulnerable and hacker can use your server to DDOS victims, so you must secure your memcached server. I. By iptables Step 1: disable… Continue Reading
PHP: Convert IP Range to CIDR phptuts August 17, 2012 Read first: PHP: Convert CIDR to ipaddress range PHP: check valid ipaddress or CIDR notation range This function work done with small IP range ex:… Continue Reading
PHP: check valid ipaddress or CIDR notation range phptuts August 17, 2012 This function checks for a valid IP address or CIDR notation address range. Example of usage: Continue Reading
PHP: Convert CIDR to ipaddress range phptuts August 17, 2012 This function takes an IP address and CIDR netmask (e.g. 102.68.1.0/25), and calculate IP address range in that netblock. Example: result: array(2) { [0]=> string(10)… Continue Reading