mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-08 06:12:43 -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)
|
: p3Service(), mBanMtx("p3BanList"), mServiceCtrl(sc)
|
||||||
, mSentListTime(0), mLastDhtInfoRequest(0)
|
, mSentListTime(0), mLastDhtInfoRequest(0)
|
||||||
// default number of IPs in same range to trigger a complete IP /24 filter.
|
// default number of IPs in same range to trigger a complete IP /24 filter.
|
||||||
, mAutoRangeLimit(100), mAutoRangeIps(false)
|
, mAutoRangeLimit(2), mAutoRangeIps(true)
|
||||||
, mIPFilteringEnabled(true)
|
, mIPFilteringEnabled(true)
|
||||||
, mIPFriendGatheringEnabled(false)
|
, mIPFriendGatheringEnabled(false)
|
||||||
, mIPDHTGatheringEnabled(false)
|
, mIPDHTGatheringEnabled(false)
|
||||||
|
@ -1202,7 +1202,7 @@ void p3BanList::sendBanLists()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Send all manually banned ranges to friends
|
||||||
|
|
||||||
int p3BanList::sendBanSet(const RsPeerId& peerid)
|
int p3BanList::sendBanSet(const RsPeerId& peerid)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue