This repository has been archived by the owner on Jul 28, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
run.sh
executable file
·63 lines (40 loc) · 1.76 KB
/
run.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#!/bin/bash
make && make load && sudo mknod ./tufilter c 444 0
#---------------------------------------------------------------
# it`s ok, but there is nuffin' to watch yet
sudo ./user --show
# ok requests, fill the table
sudo ./user -?
sudo ./user -p 1488 -i 192.25.25.254 -t tcp -f enable -r in
sudo ./user -p 1337 -i 66.69.69.99 -t udp -f enable -r out
sudo ./user -p 666 -i 255.255.255.255 -t tcp -f enable -r in
sudo ./user -p 982 -f enable -t udp -r out
sudo ./user -i 1.4.8.8 -t udp -f enable -r out
sudo ./user --port 696 -t tcp -f enable --route in
sudo ./user -p 696 --transport udp -f enable --route out
sudo ./user --ip 212.5.5.5 -t tcp -f enable --route out
sudo ./user -i 224.3.31.1 --transport udp -f enable -r in
sudo ./user --port 3000 -t tcp --show -f enable --route in
# it`s ok too, but the table is already full
sudo ./user --port 5000 -t tcp -f enable --route in
# bad requests
sudo ./user
sudo ./user -t tcp -f disable
sudo ./user --prikol 80085 --ip 1.2.3.4 -f enable
sudo ./user --port 9999999 -f disable
sudo ./user --ip 999.999.999.999.999 -t tcp -f enable
sudo ./user --ip 256.255.254.253 -t tcp -f enable
sudo ./user -i 228.229.230.231 --transport udp -f enablez
sudo ./user -i 4.4.24.94 --transport -f enable
sudo ./user -i 2.2.24.50 --transport udp -f disable -r inn
# disable rules
sudo ./user -s
sudo ./user --ip 212.5.5.5 -t tcp -f disable --route out -s
sudo ./user -i 224.3.31.1 --transport udp -f disable -r in -s
# skip duplicates
sudo ./user -p 1488 -i 192.25.25.254 -t tcp -f enable -r in
sudo ./user -p 1337 -i 66.69.69.99 -t udp -f enable -r out
sudo ./user -p 666 -i 255.255.255.255 -t tcp -f enable -r in
sudo ./user --show
#---------------------------------------------------------------
make unload && make clean && sudo rm tufilter