BSD Ports

net/p5-Net-Patricia 1.22_1 DragonFly

Perl module for fast IP address lookups

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
Categories
net, perl5
Package size
22.2 KiB, 59.0 KiB installed

Description

This module uses a Patricia Trie data structure to quickly perform IP address prefix matching for applications such as IP subnet, network or routing table lookups. The data structure is based on a radix tree using a radix of two, so sometimes you see patricia implementations called "radix" as well. The term "Trie" is derived from the word "retrieval" but is pronounced like "try". Patricia stands for "Practical Algorithm to Retrieve Information Coded as Alphanumeric", and was first suggested for routing table lookups by Van Jacobsen. Patricia Trie performance characteristics are well-known as it has been employed for routing table lookups within the BSD kernel since the 4.3 Reno release.

The BSD radix code is thoroughly described in "TCP/IP Illustrated, Volume 2" by Wright and Stevens and in the paper ``A Tree-Based Packet Routing Table for Berkeley Unix'' by Keith Sklower.

In the other systems

The newest version among them is 1.24, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlynet/p5-Net-Patricia1.22_1 behind since 2026-10-15none known-[email protected]-
FreeBSDnet/p5-Net-Patricia1.24 newestnone known-[email protected]-
OpenBSDnet/p5-Net-Patricia1.24 newestno data-Benoit Lecocq <[email protected]>-
NetBSDnet/p5-Net-Patricia1.22nb9 behind since 2026-10-15none known-[email protected]2026-10-15
HardenedBSDnet/p5-Net-Patricia1.24 newestno data-[email protected]-
GhostBSDnet/p5-Net-Patricia1.24 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg install p5-Net-Patricia

From DPorts:

cd /usr/dports/net/p5-Net-Patricia && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 2