View Issue Details

IDProjectCategoryView StatusLast Update
0006500unrealircdpublic2025-07-13 09:51
Reporterrafaelgrether Assigned To 
PrioritylowSeverityfeatureReproducibilityalways
Status newResolutionopen 
Product Version6.1.10 
Summary0006500: Improve set::best-practices adding only-tls-port directive.
DescriptionHey guys,

Today, nearly all IRC clients support TLS. Almost all types of communication nowadays run over a TLS tunnel, and using an insecure plaintext port doesn't seem to make much sense from a security standpoint.

So I suggest add the directive only-tls-port (or another suggestive name) inside the set::best-practices block, to warn when a listen {} block doesn't have options { tls; } defined.
I think that nowadays, the use of TLS should be a standard to be adopted.

Thinking about that, I also suggest leaving the listen{} on port 6667 commented out in the example.conf.

Thanks!

Sugestive examples:

/* Standard IRC port 6667
 * Insecure plaintext - Not Recommended */
//listen {
// ip *;
// port 6667;
//}

set {
    best-practices {
        /* Warn when an oper::password is plaintext in the config (not hashed).
         * At a later time it may also warn about plaintext passwords elsewhere.
         */
        hashed-passwords yes;

        /* Warn when a listen {} block doesn't have options { tls; }
         * due to insecure plaintext.
         */
        only-tls-port yes;
    }
}
TagsNo tags attached.
3rd party modules

Relationships

related to 0006278 resolvedsyzop Complain if server certificate is not from trusted CA 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2025-02-26 20:14 rafaelgrether New Issue
2025-07-13 09:51 syzop Relationship added related to 0006278