There are a few protocols (such as DCCP) that are very rarely used and will most likely have unknown vulnerabilities. There have been pretty bad vulnerabilities with these in the past and even ones that allow privilege escalation. [1] [2]
The main ones to disable would be DCCP, SCTP, RDS and TIPC.
They can be disabled by a file in /etc/modprobe.d that has
Note: This was actually discussed by JA during a DebConf after he presented NSA leaks that indicated remote attacks possible because of network protocols like these. I am surprised this wasnât implemented by default in Debian despite interest from the security team.
We need to document this so if anyone runs into issues has a chance to find this through search engines. Could you please list all the uncommon network protocols in debian/control with their short- and long handle? @madaidan
n-hdlc - High-Level Data Link Control
⌠- âŚ
And could you please also add the long name of the protocol as a comment on top of the config file that disables them?