www/p5-LWPx-ParanoidAgent 1.12 DragonFly
Subclass of LWP::UserAgent that protects you from harm
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- ART10, GPLv1+
- Categories
- perl5, security, www
- Package size
- 17.2 KiB, 45.0 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 |
|---|---|---|---|---|---|---|
| DragonFly | www/p5-LWPx-ParanoidAgent | 1.12 newest | none known | - | [email protected] | - |
| 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 |
| 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 DPorts:
cd /usr/dports/www/p5-LWPx-ParanoidAgent && 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.