Firewall(3pm)

πŸ“¦ version 2.1.1, in arch rolling

πŸ’– Firewall(3pm) β€” Lire::Firewall πŸŽ€

okay bestie, so this is a page from LogReport's Lire Documentation and it's literally called Firewall(3pm), and the whole module is Lire::Firewall. Buckle up, it's a short one but it slaps πŸ’…


✨ NAME ✨

Lire::Firewall β€” no cap, this module hands you a subroutine that does TCP and UDP portnumber-to-name mapping. that's the whole vibe πŸ¦‹


🌸 SYNOPSIS 🌸

like, literally just do this:

use Lire::Firewall qw/:firewall_number2names /;

yes, that trailing space before the closing slash is canon, don't @ me πŸ™ˆ


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so Lire::Firewall::firewall_number2names takes numbers for network services β€” the exact kind you keep seeing in firewall log files β€” and converts them into their descriptive names. it's giving "translator bestie" energy ✨

then there's firewall_revolve which is FIXME TODO 😭 like it's literally marked as unfinished, we respect the vulnerability

it takes a firewall Lire dlf object as its argument, and it operates on that object's to_port, from_port and protocol properties. those three, periodt πŸ‘‘

what's supported? TCP services, UDP services and ICMP types β€” all three ate, all three are iconic 🌈


πŸ”₯ SEE ALSO πŸ”₯

  • RPC 792 for ICMP types. that's the reference, go read it iykyk πŸ“š

⭐ VERSION ⭐

$Id: Firewall.pm,v 1.5 2006/07/23 13:16:27 vanbaal Exp $

the version string, preserved in all its glory, exactly as it was, we love a time capsule πŸŽ€


Copyright (C) 2000, 2001, 2002 Stichting LogReport Foundation LogReport@LogReport.org

This file is part of Lire.

Lire is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. πŸ”“

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. like, none. zero. fr fr 😭 See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program (see COPYING); if not, check with http://www.gnu.org/copyleft/gpl.html. 🫢


πŸ’œ AUTHOR πŸ’œ

Francis J. Lacoste <flacoste@logreport.org> β€” main character energy, obviously 🌟

and the first Lire implementation of a TCP and UDP portnumber-to-name mapping was written by Plamen Bozukov β€” a whole legend, we stan πŸ’


so yeah, that's the page πŸ’– this whole thing is from Lire 2.1.1, dated 2025-09-28, and the manpage itself is filed as Firewall(3pm) β€” go forth and map those ports, bestie, you're gonna slay βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from