1
lqzhgood OP 简单粗暴的测试了下相关变量~
以XXX登陆VPS后的日志 $0 $1 $2 $3 $4 $5 $6 $7 $8 $9 $10 $11 $12 $13 $14 $15 $16 $17 $18 $19 $20 $DEVICE $IFNAME $IPLOCAL $IPREMOTE $PEERNAME $SPEED $ORIG_UID $PPPLOGNAME $CONNECT_TIME $BYTES_SENT $BYTES_RCVD $LINKNAME /etc/ppp/ip-down ppp0 /dev/pts/0 150 192.168.7.1 192.168.7.128 ppp00 ppp01 ppp02 ppp03 ppp04 ppp05 ppp06 ppp07 ppp08 ppp09 /dev/pts/00 /dev/pts/0 ppp0 192.168.7.1 192.168.7.128 XXX 150 0 root 68 1542175 164499 就是没有来访的IP。 |