分类: linux

4 篇文章

tcpdump的常见用法
请参考以下链接 网络/命令行抓包工具tcpdump详解-CSDN博客 超详细的网络抓包神器 Tcpdump 使用指南-腾讯云开发者社区-腾讯云 (tencent.com) -a将网络地址和广播地址转变成名字-c在收到指定的包的数目后,tcpdump就会停止;-d将匹配信息包的代码以人们能够理解的汇编格式给出;以可阅读的格式输出。-dd将匹配信息包的…
linux中配置服务service
请参考 Linux如何创建和使用服务 - 知乎 (zhihu.com) 服务配置文件编写 自定义的服务配置文件应当以service为后缀,这些service文件存放于/lib/systemd/system中。 所以我们只要在/usr/lib/systemd/system目录下创建对应后缀名为service的文件,即可创建对应的自定义服务 vim /…
iptables服务与iptables命令区别
请参考以下链接 linux - What is the difference between the iptables command and iptables.service? Or what is the significance of iptables.service? - Unix & Linux Stack Exchange Th…
网络防火墙排查
centos8 排查firewalld,iptables,selinux systemctl status firewalld systemctl status iptables getenforce 对应关闭命令 systemctl stop firewalld systemctl stop iptables setenforce 0 禁止开机启…