1 Star 4 Fork 25

Vos3000/vos

forked from zhq1/vos 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
vos3000 illegal calls query to block IP address 631 Bytes
一键复制 编辑 原始数据 按行查看 历史
vos3000 illegal calls query to block IP address
All call records are saved in e_cdr_files
you can query to get ip addresses of illegal calls source.
mysql> select DISTINCT callerip from e_cdr_20180818 where endreason = ‘-9’;
+—————-+
| callerip |
+—————-+
| 195.154.93.229 |
| 50.2.187.130 |
| 5.62.63.181 |
| 216.244.84.202 |
| 37.49.231.161 |
| 88.198.57.146 |
| 37.49.231.63 |
| 50.22.52.22 |
| 93.190.143.70 |
| 216.244.73.98 |
+—————-+
10 rows in set (0.00 sec)
if someone can write a script to get IP address from current date CDR for every 5 min and update the iptables automatically.
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Shell
1
https://gitee.com/vos3000/vos.git
git@gitee.com:vos3000/vos.git
vos3000
vos
vos
master

搜索帮助