請admin清理中共網軍account
2019-8-20 09:34:13
:^(

Ads

VicF 2019-8-20 09:34:33 TOR嘅exit node,連登嘅Cloudfare會自動要你做檢測,揀圖案嘅,4chan都係咁
我想錫攬炒巴春袋 2019-8-20 09:35:01 點分?!
IIV手得逃大 2019-8-20 09:35:09
:^(
芝士近薯蓉 2019-8-20 09:35:56 清理三毛account 我覺得冇乜大問題
:^(
:^(
:^(
Gummomo 2019-8-20 09:36:06 支持..
:^(
:^(
:^(
:^(
623 2019-8-20 09:36:24 其實無咩用 d網軍99%連香港VPN
:^(
普通社畜 2019-8-20 09:36:46 此回覆已被刪除
牙東囝 2019-8-20 09:37:02 lm
VicF 2019-8-20 09:38:02 log file寫個shell script/python script配合geo IP就可以分得出用咩嘢IP段,唔難,我做到連登實得,除咗內文要人工檢查之外

針對USER使用嘅IP段檢查係好易嘅事
我想錫攬炒巴春袋 2019-8-20 09:38:55 好的 ,
各有各做

Ads

迷你小雞 2019-8-20 09:38:59 推!
中子壓力煲 2019-8-20 09:39:12 支持vic 巴 去到邊都見到大家既身影
:^(
:^(
:^(
:^(
王傑 2019-8-20 09:40:20 如果租server果啲都仲可以block到
Gamel 2019-8-20 09:40:47 push
o毛賊神經病o 2019-8-20 09:41:17
:^(
:^(
牙東囝 2019-8-20 09:42:18 連twitter都封3毛

已經唔係講緊言論自由嘅問題
揮停 2019-8-20 09:42:48 支持
:^(
:^(
VicF 2019-8-20 09:43:28 以前我用shell script 封鎖撞shadowsocks password嘅IP都係幾行寫完,只係count吓撞嘅次數

#! /bin/bash
# $PROG: badip.sh
# $description: ban the IP tries to crack ss-server's password
# rules: ERROR greater than 50 times from ss.log will be blocked.
# $usage: crontab -e add line */15 * * * * /path/to/badip.sh
#         clear block list at 03:00am with crontab -e
#         0 3 * * * /sbin/iptables -F
#         clear ss.log at 03:00am with crontab -e
#         0 3 * * * : > /path/to/ss.log
# works on shadowsocks-libev only, execute ss-server with '-v' argument
# ex: nohup ss-server -v -u -c /path/to/whatever.json &>> /path/to/ss.log &
# Public domain use as your own risk!

logfile="$HOME/ss.log" #change if it is not your ss.log directory
awk '$0 ~ /^.+ERROR: .+[1-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$/{
	ip[$NF]++
}END{
	for (x in ip)
		if (ip[x] > 50)
			print x
}' "$logfile" | while read -r bad_ip ; do
	if ! /sbin/iptables -L | grep -qE "^DROP.+ $bad_ip" ; then 
		/sbin/iptables -A INPUT -s "$bad_ip" -j DROP
		echo "$bad_ip blocked."
	else
		echo "$bad_ip already in block list."
	fi
done
exit 0


所以連登要做唔難嘅,我都唔係正式IT人,讀都冇讀過IT相關嘅嘢
Gamel 2019-8-20 09:44:30
:^(
生於憂患死於安樂 2019-8-20 09:44:36 推!

Ads

BeWater_BeWater 2019-8-20 09:44:46 好撚得閒咩, 睇埋言論
依啲就我地自己block
腥港淪陷駒 2019-8-20 09:47:04 YouTube 清左支那account 未
:^(
:^(
:^(
:^(
:^(
:^(
:^(
途路馬 2019-8-20 09:47:33
活像木偶誰會在意 2019-8-20 09:48:25 此回覆已被刪除