hab bisschen scheiße gebaut und so, wie gesagt sorry.
Hab da drüber nachgedacht und gemerkt das es kindisch war.
Diese Tools richten nur Schaden an.
Ich release deswegen hier meine Firewall gegen das Tool.
Zunächst solltet ihr einen Kernel mit folgenden extra Inhalt bauen.
PHP Code:
options ALTQ
options ALTQ_CBQ # Class Bases Queuing (CBQ)
options ALTQ_RED # Random Early Detection (RED)
options ALTQ_RIO # RED In/Out
options ALTQ_HFSC # Hierarchical Packet Scheduler (HFSC)
options ALTQ_PRIQ # Priority Queuing (PRIQ)
options ALTQ_NOPCC # Wird von SMP benötigt
device pf
device pflog
device pfsync
PHP Code:
pf_enable="YES"
pf_rules="/etc/pf.conf"
PHP Code:
### INTERFACES ###
if = "{ em0 }"
#Intra
table <intranet> { 127.0.0.1 }
pass in quick from <intranet> to any keep state
#Network
table <network> persist
block quick from <network>
pass in on $if proto tcp from any to any \
keep state (max-src-conn 100, max-src-conn-rate 15/1, \
overload <network> flush global)
Diese findet ihr unter dem Befehl "ifconfig" ganz oben.
So siehts bei meinen Roots aus
PHP Code:
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=389b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_UCAST
Jetzt habt ihr ne Anti Brute Force und Anti DDOS Firewall.
Bitte schön..
Achja in die intranet Tabelle ganz oben alle IP's reinschreiben, die nicht geblockt werden sollen!
Zum Beispiel so
PHP Code:
#Intra
table <intranet> { 127.0.0.1 192.168.2.1 192.168.2.108 }
pass in quick from <intranet> to any keep state






