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.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| FreeBSD | www/p5-LWPx-ParanoidAgent | 1.12 newest | none known | - | [email protected] | - |
| NetBSD | www/p5-LWPx-ParanoidAgent | 1.12nb9 newest | none known | - | [email protected] | 2026-07-16 |
| DragonFly | www/p5-LWPx-ParanoidAgent | 1.12 newest | none known | - | [email protected] | - |
| HardenedBSD | www/p5-LWPx-ParanoidAgent | 1.12 newest | no data | - | [email protected] | - |
| GhostBSD | www/p5-LWPx-ParanoidAgent | 1.12 newest | no data | - | [email protected] | - |
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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.12 | 1.12 | 1.12 | 1.12 | 1.12 |
| FreeBSD:14:quarterly | 1.12 | 1.12 | n/a | 1.12 | 1.12 |
| FreeBSD:15:latest | 1.12 | 1.12 | n/a | 1.12 | 1.12 |
| FreeBSD:15:quarterly | 1.12 | 1.12 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.12 | 1.12 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/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
p5-Crypt-SSLeay>=0.58: security/p5-Crypt-SSLeayp5-Net-DNS>=0: dns/p5-Net-DNSp5-libwww>=0: www/p5-libwww
Runtime 3
p5-Crypt-SSLeay>=0.58: security/p5-Crypt-SSLeayp5-Net-DNS>=0: dns/p5-Net-DNSp5-libwww>=0: www/p5-libwww
The full lists below include those, and their dependencies in turn.
Build dependencies 28
- converters/p5-Encode-Locale
- converters/p5-MIME-Base32
- converters/p5-MIME-Base64
- devel/p5-Clone
- devel/p5-IO-HTML
- devel/p5-TimeDate
- dns/p5-Net-DNS
- lang/p5-Try-Tiny
- lang/perl5.42
- net/p5-Net-HTTP
- net/p5-URI
- security/p5-Authen-NTLM
- security/p5-Crypt-SSLeay
- security/p5-Digest-HMAC
- security/p5-IO-Socket-SSL
- security/p5-Net-SSLeay
- sysutils/p5-File-Listing
- www/p5-HTML-Parser
- www/p5-HTML-Tagset
- www/p5-HTTP-Cookies
- www/p5-HTTP-Date
- www/p5-HTTP-Message
- www/p5-HTTP-Negotiate
- www/p5-LWP-MediaTypes
- www/p5-LWP-Protocol-https
- www/p5-Mozilla-CA
- www/p5-WWW-RobotRules
- www/p5-libwww
Run dependencies 28
- converters/p5-Encode-Locale
- converters/p5-MIME-Base32
- converters/p5-MIME-Base64
- devel/p5-Clone
- devel/p5-IO-HTML
- devel/p5-TimeDate
- dns/p5-Net-DNS
- lang/p5-Try-Tiny
- lang/perl5.42
- net/p5-Net-HTTP
- net/p5-URI
- security/p5-Authen-NTLM
- security/p5-Crypt-SSLeay
- security/p5-Digest-HMAC
- security/p5-IO-Socket-SSL
- security/p5-Net-SSLeay
- sysutils/p5-File-Listing
- www/p5-HTML-Parser
- www/p5-HTML-Tagset
- www/p5-HTTP-Cookies
- www/p5-HTTP-Date
- www/p5-HTTP-Message
- www/p5-HTTP-Negotiate
- www/p5-LWP-MediaTypes
- www/p5-LWP-Protocol-https
- www/p5-Mozilla-CA
- www/p5-WWW-RobotRules
- www/p5-libwww
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
| File | Size | SHA256 |
|---|---|---|
| LWPx-ParanoidAgent-1.12.tar.gz | 57426 | cc041aedb74e183cdf91cbebca1c7bd6d764fdee68fbdc84f2be08bde4e0d03d |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.