protocols(5)

๐Ÿ’– protocols โ€” bestie edition ๐Ÿ’–

okay so this is the protocols manual page from section 5 (File Formats Manual), and it's literally just about a file. but like, an iconic file. let me tell you everything, no cap. ๐Ÿฆ‹


โœจ NAME โœจ

protocols โ€” the protocols definition file. that's it, that's the vibe. ๐Ÿ’…


๐ŸŒธ DESCRIPTION ๐ŸŒธ

so this file is a plain ASCII file (yes bestie, plain ASCII, we love a low-maintenance queen), and what it does is describe all the various DARPA internet protocols that are available from the TCP/IP subsystem. ๐Ÿซถ

bestie, please actually consult this file instead of doing the goblin move of using the numbers in the ARPA include files, or โ€” and I cannot stress this enough โ€” even worse, just guessing them. ๐Ÿ˜ญ the audacity. these numbers literally show up in the protocol field of any IP header, so guessing is not giving what you think it's giving.

๐Ÿšจ IMPORTANT: keep this file untouched!! like, do not edit it. changes would result in incorrect IP packages. no seriously. protocol numbers and names are specified by the IANA (Internet Assigned Numbers Authority), so that's their job, not ours. periodt. ๐Ÿ‘‘

each line is of the following format:

protocol number aliases ...

the fields are delimited by spaces or tabs. empty lines are ignored. and if a line contains a hash mark (#), then the hash mark and the part of the line following it are ignored โ€” it's a comment, it said what it said. ๐Ÿ’…

the field descriptions, let's go:

  • protocol โ€” the native name for the protocol. for example ip, tcp, or udp. slay.
  • number โ€” the official number for this protocol as it will appear within the IP header. the real one. the official one. โœจ
  • aliases โ€” optional aliases for the protocol. cute little nicknames, if you will. ๐ŸŽ€

also lowkey fun fact: this file might be distributed over a network using a network-wide naming service like Yellow Pages/NIS or BIND/Hesiod. ๐ŸŒˆ


๐ŸŽ€ FILES ๐ŸŽ€

  • /etc/protocols โ€” the protocols definition file itself. the main character. ๐Ÿ‘‘

๐ŸŒŸ SEE ALSO ๐ŸŒŸ


and that's the whole page, we ate and left no crumbs ๐Ÿ“. this lovely little file lives on โœจ Linux man-pages 6.20 โœจ, dated โœจ 2026-02-08 โœจ. mwah ๐Ÿ’‹๐Ÿ’–

๐Ÿ“ฆ where this page comes from
  • arch rolling: man-pages 6.20-1 ยท BSD-2-Clause AND BSD-3-Clause AND BSD-4.3TAHOE AND BSD-4-Clause-UC AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-linking-exception AND LGPL-3.0-or-later AND LicenseRef-Public-Domain AND LicenseRef-UltraPermissive AND Linux-man-pages-1-para AND Linux-man-pages-copyleft AND Linux-man-pages-copyleft-2-para AND Linux-man-pages-copyleft-var AND MIT AND Spencer-94
  • nixpkgs unstable: man-pages 6.20
  • ๐Ÿ“œ the page's license: GPL-2.0-or-later
  • ๐Ÿ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms