# on my computer !
# i wrote at the top of the script
iptables -F
iptables -X
#
iptables -A INPUT -m state --state NEW -j LOG \
--log-prefix='[iptables_input] '
iptables -A OUTPUT -m state --state NEW -j LOG \
--log-prefix='[iptables_output] '
# and found the results in /var/log/syslog
# the LOG instruction are executed only when other iptables instructions
# are not registered before