Trusted Ports: Two Meanings, No List of Safe Numbers
“Trusted ports” can mean privileged network port numbers or switch connections given a particular trust setting. In either case, “trusted” describes a decision about permissions; it doesn’t turn the traffic passing through into something automatically safe.
The first distinction is the word port. A network port number helps direct communication to a program on a computer. A switch port is a connection on equipment that moves traffic between devices. A document discussing one may have nothing to do with the other.
What Do Port Numbers Actually Do?
When “trusted” means a restricted port number
The SANS Institute’s security glossary uses “trusted ports” for numbers below 1024, traditionally associated with programs running with administrative authority.
The underlying idea is a restriction on who may start a service using a low port number. To bind a port is to associate a program with that port number on the local computer. On Linux, the traditional boundary requires special authority for binding ports below 1024.
That boundary is configurable. The Linux kernel documentation gives 1024 as the default first unprivileged port. Separate network environments within a system can have different settings, and a setting of zero removes this low-port restriction.
The privilege check says something about what the operating system allowed the program to do. It doesn't inspect the program's intentions or guarantee that incoming requests are harmless.
- Skip the install: pfSense Plus comes preloaded, so you can start writing rules right away.
- Get a firewall, router and VPN in one silent box that sips power.
- Keep receiving pfSense Plus updates for the life of the product.
Similarly, a registered port number is a convention for finding a service. The Internet Engineering Task Force's port-number rules explicitly caution against treating registration as an endorsement. Traffic can use a familiar number without even belonging to its expected service.
When “trusted” means a direction on a switch
A different use appears in DHCP snooping, a switch feature that checks messages used to configure devices on a network. DHCP stands for Dynamic Host Configuration Protocol; it can supply a device with an Internet Protocol (IP) address, the numeric address used to direct network traffic, and other settings.
A legitimate server needs to send those configuration messages to clients. An unauthorized device pretending to be that server shouldn't get the same freedom.
In Cisco’s documented setup, a switch interface facing the legitimate server or a trusted switch can be marked trusted. Client-facing, untrusted interfaces restrict server-side messages, such as offers of network settings.
Here, trusting a port changes which direction those messages may arrive from. It doesn't certify every device or message beyond that connection.
Network Ports: How Numbers Sort Traffic Between Programs

Linux Kernel Capabilities: Which Powers Does a Program Need?

A Network Switch Learns Where to Send the Next Frame

QUOTE:
"Amateurs hack systems, professionals hack people."
