Advanced Search
Search Results
9 total results found
POC Proxy
机器 poc-proxy 192.168.255.250 Nginx/etc/nginx/vhost IPTables iptables -t nat -L -n -v Chain PREROUTING (policy ACCEPT 17M packets, 1432M bytes) pkts bytes target prot opt in out source destination 51238 3072K DNAT t...
IPVS
netstat/lsof/ss
pgsql port is visible by lsof not netstat or ss k8s pod port is visible by netstat not lsof 这种差异主要是因为 netstat 和 lsof 工作原理不同: netstat 的工作方式: 主要通过读取 /proc/net/ 下的网络相关文件 显示的是系统网络栈中的连接信息 更关注传统的网络连接和套接字 lsof 的工作方式: 显示所有打开的文件描述符 包括常规文件、目录、网络套接字等 能看到更底层的文件描述符信息 对...
Rsync
Configuration /etc/rsyncd.conf ## /etc/rsyncd: configuration file for rsync daemon mode --- ## See rsyncd.conf man page for more options. --- ## configuration example: port = 873 uid = root gid = root use chroot = yes max connections = 50 strict modes...
Scanner
Nmap Subfinder
SSH Tunnel
Kubernetes pod forward proxy. ssh -L 8080:localhost:8080 root@192.168.xx.xx
VIP
背景 在使用 Ansible 安装 K8s 集群的时候,配置了 192.168.88.48 作为 VIP 的地址。 Errorscouldn't get current server API group list: Get "https://kubernetes.example.local:6443/api?timeout=32s": dial tcp 192.168.88.48:6443: i/o timeout 辉哥:RFC 那么多保留地址任选一个也比这个C类好 VIP 用 C 类地址会有概率出问题,是...
TCP/IP Pseudo Files in Bash
TCP/IP pseudo-files are a special feature in Bash that allow you to open network connections using file-like syntax. They're not real files in the /dev directory — rather, Bash internally interprets paths like /dev/tcp/host/port and /dev/udp/host/port to creat...
Kernel Parameters
## 设置本地端口范围为 1024-65000 echo 1024 65000 > /proc/sys/net/ipv4/ip_local_port_range ## 启用 TCP TIME-WAIT 状态的套接字重用 echo 1 > /proc/sys/net/ipv4/tcp_tw_reuse ## 启用 TCP TIME-WAIT 状态的套接字快速回收 echo 1 > /proc/sys/net/ipv4/tcp_tw_recycle ## 设置 TCP FIN 超时时间为 30 秒 echo 3...