diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-06-27 17:57:01 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-06-27 17:57:01 +0000 |
commit | 8a8d0540aa4da86f1ab78aa1537d123faa3cabf7 (patch) | |
tree | 382c168e620606c57bbe2f234c75c5c1029b0321 /src/modules/m_spanningtree.cpp | |
parent | c55f9831ab1a2ecde85fa1174c1d9dbebe250a53 (diff) |
We can re-enable special's security fix now - note this is good for boxes with one or more static ip's and still doesnt resolve the issue for smelly dynamic-ip users (well boo hoo :p)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4066 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree.cpp')
-rw-r--r-- | src/modules/m_spanningtree.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index 1e8b396a1..e15ac11b7 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -2703,9 +2703,7 @@ 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++) @@ -2722,7 +2720,6 @@ class TreeSocket : public InspSocket close(newsock); return false; } - */ TreeSocket* s = new TreeSocket(newsock, ip); Srv->AddSocket(s); return true; |