diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-06-27 17:09:41 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-06-27 17:09:41 +0000 |
commit | 1805486ae50cbeaaffcef37e66e79f3d985da4bf (patch) | |
tree | 07bbb0e07f7b7247dd15c49ead2f7b3e85ed2fc7 | |
parent | 2ce729c0037bb1e469f46fa91f9ce8484ca5daf5 (diff) |
Temporarily disable special's security improvement until we have either/or bind= and mask=
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4063 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/modules/m_spanningtree.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index e15ac11b7..1e8b396a1 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -2703,7 +2703,9 @@ class TreeSocket : public InspSocket /* To prevent anyone from attempting to flood opers/DDoS by connecting to the server port, * or discovering if this port is the server port, we don't allow connections from any * IPs for which we don't have a link block. - */ + * + * Do not uncomment this until we have a way to bind outbound sockets to an ip - Brain + * bool found = false; vector<Link>::iterator i; for (i = LinkBlocks.begin(); i != LinkBlocks.end(); i++) @@ -2720,6 +2722,7 @@ class TreeSocket : public InspSocket close(newsock); return false; } + */ TreeSocket* s = new TreeSocket(newsock, ip); Srv->AddSocket(s); return true; |