Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(295)

Unified Diff: net/base/port_util.cc

Issue 2607963002: Block communication to port 6697 (IRC over TLS). (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/port_util.cc
diff --git a/net/base/port_util.cc b/net/base/port_util.cc
index 7328b5e842f5a13c53dfe40061612699c064e3ae..543d9db94353d83bbb75cf6e524959e039652069 100644
--- a/net/base/port_util.cc
+++ b/net/base/port_util.cc
@@ -84,6 +84,7 @@ const int kRestrictedPorts[] = {
6667, // Standard IRC [Apple addition]
6668, // Alternate IRC [Apple addition]
6669, // Alternate IRC [Apple addition]
+ 6697, // IRC + TLS
0xFFFF, // Used to block all invalid port numbers (see
// third_party/WebKit/Source/platform/weborigin/KURL.cpp,
// KURL::port())
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698