RECENT POSTS
- Introduction to FreeBSD Security Best Practices
- Working with Package Management in FreeBSD
- Understanding FreeBSD Security Advisories and Updates
- Troubleshooting Common System Administration Issues in FreeBSD
- Tips for Hardening FreeBSD to achieve System Protection
- Setting Up DHCP Server in FreeBSD
- Secure User and Group Management in FreeBSD Systems
- Secure Remote Access with SSH in FreeBSD
- Optimizing System Performance in FreeBSD
- Network Packet Capture with tcpdump in FreeBSD
- All posts ...
Do you have GDPR compliance issues ?
Check out Legiscope a GDPR compliance software, that will save you weeks of work, automating your documentation, the training of your teams and all processes you need to keep your organisation compliant with privacy regulations
P5-net-ipaddress
Jul 20, 2023
Perl functions used to manipulate IP addresses, masks and FQDN’s
NetIPAddr is a collection of helpful functions used to convert IP addresses to/from 32-bit integers, applying subnet masks to IP addresses, validating IP address strings, and splitting a FQDN into its host and domain parts.
No rocket science here, but I have found these functions to very, very handy. For example, have you ever tried to sort a list of IP addresses only to find out that they don’t sort the way you expected? Here is the solution! If you convert the IP addresses to 32-bit integer addresses, they will sort in correct order.
- Older
- Newer
Checkout these related ports:
- Zabbix64-server - Enterprise-class open source distributed monitoring (${PKGNAMESUFFIXS/^-//})
- Zabbix64-proxy -
- Zabbix64-java -
- Zabbix64-frontend -
- Zabbix64-agent -
- Zabbix6-server - Enterprise-class open source distributed monitoring (${PKGNAMESUFFIXS/^-//})
- Zabbix6-proxy -
- Zabbix6-java -
- Zabbix6-frontend -
- Zabbix6-agent -
- Zabbix5-server - Enterprise-class open source distributed monitoring (${PKGNAMESUFFIXS/^-//}) LTS
- Zabbix5-proxy -
- Zabbix5-java -
- Zabbix5-agent -
- Zabbix44-server - Enterprise-class open source distributed monitoring (${PKGNAMESUFFIXS/^-//})