Limit the number of IPs we use from each DNS seeder
Limit the number of IPs we use from each DNS seeder

A risk exists where a malicious DNS seeder eclipses a node by returning an enormous number of IP addresses. In this commit we mitigate this risk by limiting the number of IP addresses addrman learns to 256 per DNS seeder.

guncoin/guncoin,AkioNak/bitcoin,ajtowns/bitcoin,prusnak/bitcoin,domob1812/bitcoin,TheBlueMatt/bitcoin,ahmedbodi/vertcoin,gjhiggins/vcoincore,JeremyRubin/bitcoin,lbryio/lbrycrd,litecoin-project/litecoin,joshrabinowitz/bitcoin,midnightmagic/bitcoin,stamhe/bitcoin,lateminer/bitcoin,digibyte/digibyte,r8921039/bitcoin,droark/bitcoin,apoelstra/bitcoin,mruddy/bitcoin,jamesob/bitcoin,ajtowns/bitcoin,GlobalBoost/GlobalBoost,GroestlCoin/bitcoin,AkioNak/bitcoin,donaloconnor/bitcoin,randy-waterhouse/bitcoin,ElementsProject/elements,sstone/bitcoin,rnicoll/dogecoin,vmp32k/litecoin,afk11/bitcoin,myriadcoin/myriadcoin,r8921039/bitcoin,yenliangl/bitcoin,pataquets/namecoin-core,GlobalBoost/GlobalBoost,Flowdalic/bitcoin,tjps/bitcoin,Flowdalic/bitcoin,pataquets/namecoin-core,prusnak/bitcoin,vertcoin/vertcoin,achow101/bitcoin,domob1812/huntercore,Kogser/bitcoin,donaloconnor/bitcoin,fanquake/bitcoin,jtimon/bitcoin,r8921039/bitcoin,mitchellcash/bitcoin,EthanHeilman/bitcoin,sstone/bitcoin,RHavar/bitcoin,GroestlCoin/bitcoin,rawodb/bitcoin,tjps/bitcoin,namecoin/namecoin-core,r8921039/bitcoin,domob1812/namecore,MarcoFalke/bitcoin,GlobalBoost/GlobalBoost,paveljanik/bitcoin,kazcw/bitcoin,achow101/bitcoin,stamhe/bitcoin,vmp32k/litecoin,cdecker/bitcoin,thrasher-/litecoin,domob1812/namecore,bespike/litecoin,digibyte/digibyte,rawodb/bitcoin,jamesob/bitcoin,practicalswift/bitcoin,pstratem/bitcoin,EthanHeilman/bitcoin,ajtowns/bitcoin,mruddy/bitcoin,thrasher-/litecoin,andreaskern/bitcoin,jamesob/bitcoin,Kogser/bitcoin,GroestlCoin/GroestlCoin,Flowdalic/bitcoin,ElementsProject/elements,practicalswift/bitcoin,vertcoin/vertcoin,afk11/bitcoin,instagibbs/bitcoin,kazcw/bitcoin,particl/particl-core,instagibbs/bitcoin,paveljanik/bitcoin,prusnak/bitcoin,gjhiggins/vcoincore,MeshCollider/bitcoin,ElementsProject/elements,myriadcoin/myriadcoin,MarcoFalke/bitcoin,TheBlueMatt/bitcoin,MeshCollider/bitcoin,myriadteam/myriadcoin,tjps/bitcoin,untrustbank/litecoin,ElementsProject/elements,fujicoin/fujicoin,cdecker/bitcoin,mm-s/bitcoin,DigitalPandacoin/pandacoin,GroestlCoin/bitcoin,jlopp/statoshi,vmp32k/litecoin,namecoin/namecore,midnightmagic/bitcoin,jmcorgan/bitcoin,prusnak/bitcoin,anditto/bitcoin,sebrandon1/bitcoin,wellenreiter01/Feathercoin,fanquake/bitcoin,mm-s/bitcoin,vmp32k/litecoin,EthanHeilman/bitcoin,digibyte/digibyte,lbryio/lbrycrd,nikkitan/bitcoin,peercoin/peercoin,domob1812/huntercore,kallewoof/bitcoin,randy-waterhouse/bitcoin,h4x3rotab/BTCGPU,ahmedbodi/vertcoin,ericshawlinux/bitcoin,Kogser/bitcoin,FeatherCoin/Feathercoin,rawodb/bitcoin,Kogser/bitcoin,tjps/bitcoin,ericshawlinux/bitcoin,afk11/bitcoin,pstratem/bitcoin,sebrandon1/bitcoin,Christewart/bitcoin,h4x3rotab/BTCGPU,OmniLayer/omnicore,anditto/bitcoin,qtumproject/qtum,sstone/bitcoin,lbryio/lbrycrd,thrasher-/litecoin,droark/bitcoin,donaloconnor/bitcoin,droark/bitcoin,kallewoof/bitcoin,jmcorgan/bitcoin,untrustbank/litecoin,apoelstra/bitcoin,Sjors/bitcoin,dscotese/bitcoin,paveljanik/bitcoin,GroestlCoin/bitcoin,FeatherCoin/Feathercoin,kazcw/bitcoin,peercoin/peercoin,Xekyo/bitcoin,namecoin/namecoin-core,ajtowns/bitcoin,rnicoll/bitcoin,anditto/bitcoin,lbryio/lbrycrd,achow101/bitcoin,particl/particl-core,particl/particl-core,Christewart/bitcoin,EthanHeilman/bitcoin,dscotese/bitcoin,monacoinproject/monacoin,joshrabinowitz/bitcoin,sstone/bitcoin,tecnovert/particl-core,kazcw/bitcoin,jonasschnelli/bitcoin,RHavar/bitcoin,JeremyRubin/bitcoin,gjhiggins/vcoincore,domob1812/bitcoin,namecoin/namecore,jnewbery/bitcoin,Bushstar/UFO-Project,nikkitan/bitcoin,jonasschnelli/bitcoin,GroestlCoin/bitcoin,stamhe/bitcoin,Kogser/bitcoin,gjhiggins/vcoincore,Bushstar/UFO-Project,achow101/bitcoin,myriadteam/myriadcoin,guncoin/guncoin,mitchellcash/bitcoin,ericshawlinux/bitcoin,jmcorgan/bitcoin,alecalve/bitcoin,ahmedbodi/vertcoin,jlopp/statoshi,anditto/bitcoin,AkioNak/bitcoin,bespike/litecoin,apoelstra/bitcoin,randy-waterhouse/bitcoin,namecoin/namecoin-core,mitchellcash/bitcoin,bitcoin/bitcoin,domob1812/namecore,bitcoinsSG/bitcoin,dscotese/bitcoin,namecoin/namecore,DigitalPandacoin/pandacoin,guncoin/guncoin,afk11/bitcoin,guncoin/guncoin,fujicoin/fujicoin,joshrabinowitz/bitcoin,Flowdalic/bitcoin,domob1812/namecore,monacoinproject/monacoin,Christewart/bitcoin,digibyte/digibyte,anditto/bitcoin,Xekyo/bitcoin,Xekyo/bitcoin,bitcoinsSG/bitcoin,fujicoin/fujicoin,jamesob/bitcoin,FeatherCoin/Feathercoin,untrustbank/litecoin,rnicoll/dogecoin,DigitalPandacoin/pandacoin,droark/bitcoin,guncoin/guncoin,Christewart/bitcoin,cdecker/bitcoin,jambolo/bitcoin,dscotese/bitcoin,FeatherCoin/Feathercoin,r8921039/bitcoin,FeatherCoin/Feathercoin,r8921039/bitcoin,Christewart/bitcoin,AkioNak/bitcoin,domob1812/bitcoin,mitchellcash/bitcoin,dscotese/bitcoin,lateminer/bitcoin,fujicoin/fujicoin,fanquake/bitcoin,tjps/bitcoin,domob1812/bitcoin,pstratem/bitcoin,ericshawlinux/bitcoin,donaloconnor/bitcoin,GroestlCoin/GroestlCoin,GlobalBoost/GlobalBoost,litecoin-project/litecoin,pstratem/bitcoin,sipsorcery/bitcoin,pataquets/namecoin-core,kallewoof/bitcoin,vertcoin/vertcoin,ahmedbodi/vertcoin,alecalve/bitcoin,bitcoin/bitcoin,Kogser/bitcoin,jambolo/bitcoin,thrasher-/litecoin,andreaskern/bitcoin,OmniLayer/omnicore,bespike/litecoin,Xekyo/bitcoin,RHavar/bitcoin,MarcoFalke/bitcoin,lbryio/lbrycrd,digibyte/digibyte,stamhe/bitcoin,n1bor/bitcoin,ElementsProject/elements,fanquake/bitcoin,Sjors/bitcoin,bitcoin/bitcoin,Kogser/bitcoin,monacoinproject/monacoin,TheBlueMatt/bitcoin,myriadcoin/myriadcoin,bitcoinknots/bitcoin,fujicoin/fujicoin,ahmedbodi/vertcoin,kallewoof/bitcoin,mm-s/bitcoin,Sjors/bitcoin,MarcoFalke/bitcoin,bespike/litecoin,namecoin/namecoin-core,jonasschnelli/bitcoin,TheBlueMatt/bitcoin,nikkitan/bitcoin,fanquake/bitcoin,paveljanik/bitcoin,bitcoinknots/bitcoin,n1bor/bitcoin,domob1812/bitcoin,n1bor/bitcoin,DigitalPandacoin/pandacoin,qtumproject/qtum,wellenreiter01/Feathercoin,afk11/bitcoin,joshrabinowitz/bitcoin,h4x3rotab/BTCGPU,pstratem/bitcoin,vertcoin/vertcoin,mruddy/bitcoin,JeremyRubin/bitcoin,namecoin/namecore,gjhiggins/vcoincore,alecalve/bitcoin,instagibbs/bitcoin,jlopp/statoshi,Sjors/bitcoin,wellenreiter01/Feathercoin,randy-waterhouse/bitcoin,Bushstar/UFO-Project,stamhe/bitcoin,OmniLayer/omnicore,rawodb/bitcoin,AkioNak/bitcoin,paveljanik/bitcoin,Xekyo/bitcoin,rnicoll/bitcoin,tjps/bitcoin,MeshCollider/bitcoin,jnewbery/bitcoin,domob1812/huntercore,bespike/litecoin,n1bor/bitcoin,particl/particl-core,RHavar/bitcoin,vmp32k/litecoin,randy-waterhouse/bitcoin,instagibbs/bitcoin,kallewoof/bitcoin,Flowdalic/bitcoin,Kogser/bitcoin,jambolo/bitcoin,alecalve/bitcoin,BTCGPU/BTCGPU,domob1812/huntercore,BTCGPU/BTCGPU,CryptArc/bitcoin,pstratem/bitcoin,qtumproject/qtum,jmcorgan/bitcoin,vertcoin/vertcoin,jtimon/bitcoin,GroestlCoin/bitcoin,instagibbs/bitcoin,myriadteam/myriadcoin,CryptArc/bitcoin,bitcoinsSG/bitcoin,rnicoll/bitcoin,achow101/bitcoin,mm-s/bitcoin,CryptArc/bitcoin,jambolo/bitcoin,cdecker/bitcoin,Christewart/bitcoin,h4x3rotab/BTCGPU,mm-s/bitcoin,jlopp/statoshi,practicalswift/bitcoin,kazcw/bitcoin,bitcoinsSG/bitcoin,rnicoll/bitcoin,sebrandon1/bitcoin,RHavar/bitcoin,namecoin/namecoin-core,thrasher-/litecoin,apoelstra/bitcoin,OmniLayer/omnicore,myriadteam/myriadcoin,sstone/bitcoin,mruddy/bitcoin,fujicoin/fujicoin,rnicoll/bitcoin,untrustbank/litecoin,jonasschnelli/bitcoin,MeshCollider/bitcoin,mruddy/bitcoin,GroestlCoin/GroestlCoin,CryptArc/bitcoin,FeatherCoin/Feathercoin,mitchellcash/bitcoin,bitcoinknots/bitcoin,guncoin/guncoin,droark/bitcoin,EthanHeilman/bitcoin,jtimon/bitcoin,litecoin-project/litecoin,rawodb/bitcoin,domob1812/huntercore,sstone/bitcoin,myriadteam/myriadcoin,litecoin-project/litecoin,jnewbery/bitcoin,wellenreiter01/Feathercoin,namecoin/namecore,andreaskern/bitcoin,tecnovert/particl-core,h4x3rotab/BTCGPU,particl/particl-core,mitchellcash/bitcoin,untrustbank/litecoin,jnewbery/bitcoin,pataquets/namecoin-core,peercoin/peercoin,jlopp/statoshi,CryptArc/bitcoin,jambolo/bitcoin,domob1812/bitcoin,GroestlCoin/GroestlCoin,MarcoFalke/bitcoin,ericshawlinux/bitcoin,TheBlueMatt/bitcoin,digibyte/digibyte,AkioNak/bitcoin,bitcoinsSG/bitcoin,sipsorcery/bitcoin,alecalve/bitcoin,MarcoFalke/bitcoin,BTCGPU/BTCGPU,midnightmagic/bitcoin,kallewoof/bitcoin,peercoin/peercoin,mm-s/bitcoin,tecnovert/particl-core,Flowdalic/bitcoin,pataquets/namecoin-core,Xekyo/bitcoin,jmcorgan/bitcoin,yenliangl/bitcoin,RHavar/bitcoin,prusnak/bitcoin,andreaskern/bitcoin,DigitalPandacoin/pandacoin,practicalswift/bitcoin,domob1812/namecore,n1bor/bitcoin,qtumproject/qtum,namecoin/namecore,MeshCollider/bitcoin,n1bor/bitcoin,lateminer/bitcoin,monacoinproject/monacoin,peercoin/peercoin,domob1812/namecore,wellenreiter01/Feathercoin,ElementsProject/elements,GlobalBoost/GlobalBoost,untrustbank/litecoin,tecnovert/particl-core,lbryio/lbrycrd,andreaskern/bitcoin,h4x3rotab/BTCGPU,ahmedbodi/vertcoin,donaloconnor/bitcoin,bitcoin/bitcoin,yenliangl/bitcoin,stamhe/bitcoin,midnightmagic/bitcoin,domob1812/huntercore,paveljanik/bitcoin,jambolo/bitcoin,JeremyRubin/bitcoin,BTCGPU/BTCGPU,jonasschnelli/bitcoin,litecoin-project/litecoin,practicalswift/bitcoin,Sjors/bitcoin,alecalve/bitcoin,jtimon/bitcoin,qtumproject/qtum,MeshCollider/bitcoin,qtumproject/qtum,prusnak/bitcoin,kazcw/bitcoin,ajtowns/bitcoin,tecnovert/particl-core,nikkitan/bitcoin,GroestlCoin/GroestlCoin,bitcoin/bitcoin,BTCGPU/BTCGPU,vmp32k/litecoin,pataquets/namecoin-core,wellenreiter01/Feathercoin,TheBlueMatt/bitcoin,ajtowns/bitcoin,yenliangl/bitcoin,CryptArc/bitcoin,BTCGPU/BTCGPU,apoelstra/bitcoin,jtimon/bitcoin,particl/particl-core,sebrandon1/bitcoin,GlobalBoost/GlobalBoost,Bushstar/UFO-Project,EthanHeilman/bitcoin,yenliangl/bitcoin,nikkitan/bitcoin,yenliangl/bitcoin,rnicoll/dogecoin,mruddy/bitcoin,apoelstra/bitcoin,sipsorcery/bitcoin,Bushstar/UFO-Project,JeremyRubin/bitcoin,peercoin/peercoin,rnicoll/bitcoin,Kogser/bitcoin,lateminer/bitcoin,thrasher-/litecoin,midnightmagic/bitcoin,bitcoinknots/bitcoin,OmniLayer/omnicore,afk11/bitcoin,JeremyRubin/bitcoin,donaloconnor/bitcoin,droark/bitcoin,joshrabinowitz/bitcoin,qtumproject/qtum,jamesob/bitcoin,bespike/litecoin,sipsorcery/bitcoin,jnewbery/bitcoin,namecoin/namecoin-core,sebrandon1/bitcoin,rnicoll/dogecoin,DigitalPandacoin/pandacoin,practicalswift/bitcoin,rnicoll/dogecoin,Kogser/bitcoin,monacoinproject/monacoin,jamesob/bitcoin,cdecker/bitcoin,sipsorcery/bitcoin,ericshawlinux/bitcoin,lbryio/lbrycrd,Bushstar/UFO-Project,bitcoin/bitcoin,litecoin-project/litecoin,dscotese/bitcoin,jtimon/bitcoin,jmcorgan/bitcoin,myriadcoin/myriadcoin,Kogser/bitcoin,myriadcoin/myriadcoin,randy-waterhouse/bitcoin,anditto/bitcoin,achow101/bitcoin,sebrandon1/bitcoin,bitcoinknots/bitcoin,myriadteam/myriadcoin,GlobalBoost/GlobalBoost,fanquake/bitcoin,jlopp/statoshi,sipsorcery/bitcoin,Kogser/bitcoin,monacoinproject/monacoin,vertcoin/vertcoin,myriadcoin/myriadcoin,OmniLayer/omnicore,andreaskern/bitcoin,cdecker/bitcoin,gjhiggins/vcoincore,midnightmagic/bitcoin,rawodb/bitcoin,instagibbs/bitcoin,GroestlCoin/GroestlCoin,bitcoinsSG/bitcoin,joshrabinowitz/bitcoin,tecnovert/particl-core,lateminer/bitcoin,nikkitan/bitcoin,lateminer/bitcoin