09 2021 档案

摘要:问题描述: 事情的起因,是在项目中添加了使用国密SSL的模块DLT860之后,SNMP修改密码失败,报错信息为: security service 3 error parsing ScopedPDU security service 3 error parsing ScopedPDU securit 阅读全文
posted @ 2021-09-16 13:59 买菜不买挂 阅读(463) 评论(0) 推荐(0)
摘要:iptables设定的规则,掉电重启会清空。若需要保存,最好是使用iptables-save/restore配合重定向,示例如下: iptables-save > /etc/network/iptables-config iptables-restore < /etc/network/iptable 阅读全文
posted @ 2021-09-01 20:15 买菜不买挂 阅读(2228) 评论(0) 推荐(0)
摘要:前段时间,我使用iptables实现了针对IP地址与MAC地址的白名单功能,即将INPUT链的默认规则设为DROP: iptables -P INPUT DROP 这样就能拒绝一切外来报文。随后只需要添加规则,将IP地址和MAC地址设为ACCEPT,即加入白名单: iptables -A INPUT 阅读全文
posted @ 2021-09-01 20:10 买菜不买挂 阅读(211) 评论(0) 推荐(0)