Lines Matching refs:dport
216 local dport=45886
222 iptables -A INPUT -p tcp -d 127.0.0.1 --dport $dport -j LOG \
230 tst_res TINFO "telnet 127.0.0.1 $dport"
231 telnet 127.0.0.1 $dport > tst_iptables.out 2>&1
237 "iptables did not log packets to port $dport"
241 tst_res TINFO "Packets to port $dport logged."
244 tst_res TFAIL "telnet to 127.0.0.1 $dport should fail."
262 local dport=0
267 iptables -A INPUT -p tcp -d 127.0.0.1 --dport 45801:45803 -j LOG \
285 for dport in 45801 45802 45803 45804 45805 45806; do
286 tst_res TINFO "telnet 127.0.0.1 $dport"
287 telnet 127.0.0.1 $dport > tst_iptables.out 2>&1
290 dmesg | grep "$logprefix" | grep "=$dport " \
294 "to port $dport"
298 tst_res TINFO "Packets to port $dport logged."
301 tst_res TFAIL "telnet to 127.0.0.1 $dport should fail."