BSD Ports

www/p5-LWPx-ParanoidAgent 1.12 FreeBSD

Subclass of LWP::UserAgent that protects you from harm

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
www, security, perl5
Package size
18.1 KiB, 44.8 KiB installed

Description

LWPx::ParanoidAgent is a class subclassing LWP::UserAgent, but paranoid against attackers. It's to be used when you're fetching a remote resource on behalf of a possibly malicious user.

This class can do whatever LWP::UserAgent can (callbacks, uploads from files, etc), except proxy support is explicitly removed, because in that case you should do your paranoia at your proxy.

Also, the schemes are limited to http and https, which are mapped to LWPx::Protocol::http_paranoid and LWPx::Protocol::https_paranoid, respectively, which are forked versions of the same ones without the "_paranoid". Subclassing them didn't look possible, as they were essentially just one huge function.

This class protects you from connecting to internal IP ranges (unless you whitelist them), hostnames/IPs that you blacklist, remote webserver tarpitting your process (the timeout parameter is changed to be a global timeout over the entire process), and all combinations of redirects and DNS tricks to otherwise tarpit and/or connect to internal resources.

In the other systems

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

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
FreeBSDwww/p5-LWPx-ParanoidAgent1.12 newestnone known-[email protected]-
NetBSDwww/p5-LWPx-ParanoidAgent1.12nb9 newestnone known-[email protected]2026-07-16
DragonFlywww/p5-LWPx-ParanoidAgent1.12 newestnone known-[email protected]-
HardenedBSDwww/p5-LWPx-ParanoidAgent1.12 newestno data-[email protected]-
GhostBSDwww/p5-LWPx-ParanoidAgent1.12 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg install p5-LWPx-ParanoidAgent

From the ports tree:

cd /usr/ports/www/p5-LWPx-ParanoidAgent/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-LWPx-ParanoidAgent>0:www/p5-LWPx-ParanoidAgent

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.121.121.121.121.12
FreeBSD:14:quarterly1.121.12n/a1.121.12
FreeBSD:15:latest1.121.12n/a1.121.12
FreeBSD:15:quarterly1.121.12n/an/an/a
FreeBSD:16:latest1.121.12n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

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

As this port's Makefile names them.

Build 3

Runtime 3

The full lists below include those, and their dependencies in turn.

Build dependencies 28
Run dependencies 28

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 4
  • %%SITE_PERL%%/LWPx/ParanoidAgent.pm
  • %%SITE_PERL%%/LWPx/Protocol/http_paranoid.pm
  • %%SITE_PERL%%/LWPx/Protocol/https_paranoid.pm
  • %%PERL5_MAN3%%/LWPx::ParanoidAgent.3.gz
distinfo 1
FileSizeSHA256
LWPx-ParanoidAgent-1.12.tar.gz57426cc041aedb74e183cdf91cbebca1c7bd6d764fdee68fbdc84f2be08bde4e0d03d
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.