netstat -an |findstr "0.58:80" | findstr "SYN_RECEIVED" >>C:\syn-log\syn_recevied.txt
for /f "tokens=3" %i in (syn_recevied.txt) do echo %i>>syn.log
for /f "delims=:" %i in (syn.log) do echo %i>>sy.log
然后就对这批IP地址列入黑名单
netstat -an |findstr "0.58:80" | findstr "SYN_RECEIVED" >>C:\syn-log\syn_recevied.txt
for /f "tokens=3" %i in (syn_recevied.txt) do echo %i>>syn.log
for /f "delims=:" %i in (syn.log) do echo %i>>sy.log
然后就对这批IP地址列入黑名单