diff options
| author | 2006-06-27 17:09:02 +0000 | |
|---|---|---|
| committer | 2006-06-27 17:09:02 +0000 | |
| commit | 49028ccff038bf704bc74d172d81f86868ccf22a (patch) | |
| tree | dcc9d83c5945ebd992737aef847d89bb3ef60d8d /src/modules/m_spanningtree.cpp | |
| parent | New patch from buildsmart for osx (diff) | |
Temporarily revert special's security improvement until we have bind= and mask=
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4062 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, 4 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index 7df31ba11..f81d8a2c5 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -2690,7 +2690,9 @@ class TreeSocket : public InspSocket /* To prevent anyone from attempting to flood opers/DDoS by connecting to the server port, * or discovering if something even is the server port, we don't allow connections from any * IPs for which we don't have a link block. -Special - */ + * + * 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++) @@ -2707,6 +2709,7 @@ class TreeSocket : public InspSocket close(newsock); return false; } + */ TreeSocket* s = new TreeSocket(newsock, ip); Srv->AddSocket(s); return true; |
