mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-03 20:04:20 -04:00
enable IP filtering by default
This commit is contained in:
parent
1aa96a03c1
commit
678fed7450
1 changed files with 2 additions and 2 deletions
|
@ -62,7 +62,7 @@ p3BanList::p3BanList(p3ServiceControl *sc, p3NetMgr */*nm*/)
|
|||
: p3Service(), mBanMtx("p3BanList"), mServiceCtrl(sc)
|
||||
, mSentListTime(0), mLastDhtInfoRequest(0)
|
||||
// default number of IPs in same range to trigger a complete IP /24 filter.
|
||||
, mAutoRangeLimit(100), mAutoRangeIps(false)
|
||||
, mAutoRangeLimit(2), mAutoRangeIps(true)
|
||||
, mIPFilteringEnabled(true)
|
||||
, mIPFriendGatheringEnabled(false)
|
||||
, mIPDHTGatheringEnabled(false)
|
||||
|
@ -1202,7 +1202,7 @@ void p3BanList::sendBanLists()
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
// Send all manually banned ranges to friends
|
||||
|
||||
int p3BanList::sendBanSet(const RsPeerId& peerid)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue