
linux
mlxxqq
这个作者很懒,什么都没留下…
展开
-
iptables双向无路由端口转发
iptables -t nat -A PREROUTING -i enp+ -p tcp -m tcp --dport 3388 -j DNAT --to-destination 1.2.3.4iptables -t nat -A POSTROUTING -p tcp -d 1.2.3.4 --dport 3388 -j MASQUERADE原创 2020-04-15 12:42:33 · 330 阅读 · 0 评论 -
zabbix appliance timezone 时区不正确问题
资料来源点击这里修改文件:/etc/apache2/conf-available/zabbix.conf翻译 2019-03-23 11:17:48 · 1381 阅读 · 0 评论 -
luci 获取ifaces信息模块
module("luci.controller.pubapi.ifacestatus", package.seeall)function index() --entry({"click", "here", "now"}, call("iface_status_ip"), nil) entry({"ifacewanip"}, call("iface_wan_ip原创 2019-01-12 17:51:29 · 945 阅读 · 0 评论 -
FTP ALG in openwrt
kmod-nf-nathelper原创 2019-01-13 21:18:23 · 569 阅读 · 0 评论 -
Dnspod DDNS script on LEDE
local __URL="https://dnsapi.cn/Record.Ddns"local __POSTDATA=""[ $use_https -ne 0 ] && __URL=$(echo $__URL | sed -e 's#^http:#https:#')wget-ssl -nv -t 1 -O $DATFILE -o $ERRFILE -U "IP原创 2018-11-08 22:00:43 · 1343 阅读 · 0 评论 -
wifi DOS 攻击
原文:https://null-byte.wonderhowto.com/how-to/hack-wi-fi-performing-denial-service-dos-attack-wireless-access-point-0147988/Open a TerminaliwconfigPut the Wireless Adapter in Monitor Modeairmo...转载 2018-11-04 17:41:53 · 1490 阅读 · 0 评论 -
HP SAN
echo “- - -” > /sys/class/scsi_host/host0/scan echo 1 > /sys/block/device_name/device/rescan devices { device { vendor “HP” product “HSV2[01原创 2015-11-17 14:14:04 · 505 阅读 · 0 评论 -
ELK
patternsFSM (%{WORD}-%{POSINT}-[^:]+)SYSLOGPRI (\d{1,3})CISCOTS %{MONTH} +%{MONTHDAY} (%{YEAR} )?%{TIME}CISCO <%{SYSLOGPRI:syslog_pri}>(%{NONNEGINT:ciscoseq}: )?(%{NOTSPACE:hostname}: )?(\.|\*)?%{CI原创 2016-06-27 07:35:28 · 467 阅读 · 0 评论 -
nginx编译
./configure \ --prefix=/etc/nginx \ --add-module=/root/ngx_http_auth_pam_module-1.4 \ --sbin-path=/usr/sbin/nginx \ --conf-path=/etc/nginx/nginx.conf \ --error-l原创 2015-11-27 13:28:55 · 559 阅读 · 0 评论