mirror of
https://github.com/onionltd/EndGame.git
synced 2025-07-22 23:00:36 -04:00
Add EndGame version 2
This commit is contained in:
parent
770d6da100
commit
4a766ef0ac
30 changed files with 2191 additions and 705 deletions
24
LOOKHERE-scripts/onionbalance/README.MD
Normal file
24
LOOKHERE-scripts/onionbalance/README.MD
Normal file
|
@ -0,0 +1,24 @@
|
|||
Onionbalance is the core of your scalability system. This is what makes all your seperate front onions work as a unified front!
|
||||
|
||||
However it has it's limits. Onion Services have a limit to the amount of introduction points within a specific descriptor they can have and how large the descriptor can be.
|
||||
|
||||
These limits lead to some pretty big problems.
|
||||
|
||||
1) There is a limit to the amount of fronts a single onion can have.
|
||||
2) Each front can only have a certain amount of introduction points themselves.
|
||||
3) Under attack descriptors can become spent before they can be replaced.
|
||||
|
||||
"spent" descriptors are when all the introduction points to the onion service are no longer accepting clients. Introduction points have a certain amount of introduction cell requests it will accept before not accepting anymore. These requests are the Tor's main DDOS problem. By specifically requesting tons of introduction cells, which are computationally cheap to do, an attacker can overload an onion service. The only way to protect against this right now is by scaling out.
|
||||
|
||||
First read the README.MD from the main directory and install onionbalance to a 2CPU 2GB RAM server seperate from your cluster of fronts.
|
||||
|
||||
After you have installed onionbalance you will need to cd into the directory go to /onionbalance/hs_v3/params.py and change
|
||||
N_INTROS_PER_INSTANCE = 2 -> N_INTROS_PER_INSTANCE = 1
|
||||
|
||||
Save the params.py file and go back to the main onionbalance directory. Run
|
||||
|
||||
python3 setup.py install
|
||||
|
||||
and then you can setup the configuration
|
||||
|
||||
**When setting up your onionbalance configuration limit the amount of fronts to 18! Setting it higher you can get descriptor or introduction issues which will cause your onion's descriptor to not be correctly pushed.**
|
34
LOOKHERE-scripts/onionbalance/onionbalance.sh
Normal file
34
LOOKHERE-scripts/onionbalance/onionbalance.sh
Normal file
|
@ -0,0 +1,34 @@
|
|||
#/bin/bash
|
||||
|
||||
clear
|
||||
echo "Welcome To The End Game DDOS OnionBalance Setup."
|
||||
sleep 0.5
|
||||
echo "Starting now!"
|
||||
|
||||
apt-get update
|
||||
apt-get install -y apt-transport-https lsb-release ca-certificates dirmngr git python3-setuptools python3-dev gcc libyaml-0-2
|
||||
|
||||
echo "deb https://deb.torproject.org/torproject.org buster main" >> /etc/apt/sources.list.d/tor.list
|
||||
echo "deb-src https://deb.torproject.org/torproject.org buster main" >> /etc/apt/sources.list.d/tor.list
|
||||
echo "deb https://deb.torproject.org/torproject.org tor-nightly-master-buster main" >> /etc/apt/sources.list.d/tor.list
|
||||
echo "deb-src https://deb.torproject.org/torproject.org tor-nightly-master-buster main" >> /etc/apt/sources.list.d/tor.list
|
||||
|
||||
wget -qO- https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc | gpg --import
|
||||
gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | apt-key add -
|
||||
|
||||
apt-get update
|
||||
apt-get install -y tor nyx
|
||||
apt-get install -y vanguards
|
||||
|
||||
service tor stop
|
||||
rm /etc/tor/torrc
|
||||
mv torrc /etc/tor/torrc
|
||||
|
||||
git clone https://github.com/zscole/onionbalance.git
|
||||
cd onionbalance
|
||||
python3 setup.py install
|
||||
|
||||
clear
|
||||
onionbalance-config --hs-version v3 -n 3
|
||||
|
||||
echo "Setup Done.You need to do configuration"
|
5
LOOKHERE-scripts/onionbalance/torrc
Normal file
5
LOOKHERE-scripts/onionbalance/torrc
Normal file
|
@ -0,0 +1,5 @@
|
|||
SocksPort 0
|
||||
ControlPort 9051
|
||||
CookieAuthentication 1
|
||||
HardwareAccel 1
|
||||
RunAsDaemon 1
|
Loading…
Add table
Add a link
Reference in a new issue