All pastes #627686 Raw Edit

waKKu

public text v1 · immutable
·published 2007-07-20 13:37 UTC
rendered paste body
bender:~# iptables -nvL
Chain INPUT (policy ACCEPT 63 packets, 5633 bytes)
 pkts bytes target     prot opt in     out     source               destination

Chain FORWARD (policy ACCEPT 18 packets, 1126 bytes)
 pkts bytes target     prot opt in     out     source               destination

Chain OUTPUT (policy ACCEPT 68 packets, 5236 bytes)
 pkts bytes target     prot opt in     out     source               destination
bender:~# iptables -t nat -nvL
Chain PREROUTING (policy ACCEPT 4 packets, 192 bytes)
 pkts bytes target     prot opt in     out     source               destination

Chain POSTROUTING (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination
   17   985 MASQUERADE  0    --  *      eth1    0.0.0.0/0            0.0.0.0/0

Chain OUTPUT (policy ACCEPT 13 packets, 793 bytes)
 pkts bytes target     prot opt in     out     source               destination
bender:~# ntpdate -v ntp.cais.rnp.br
20 Jul 10:32:43 ntpdate[14341]: ntpdate 4.2.2p4@1.1585-o Sun Mar  4 13:21:36 UTC 2007 (1)
20 Jul 10:32:47 ntpdate[14341]: no server suitable for synchronization found
bender:~# tcpdump -i any -n -p port 123
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on any, link-type LINUX_SLL (Linux cooked), capture size 96 bytes

[1]+  Stopped                 tcpdump -i any -n -p port 123
bender:~# bg
[1]+ tcpdump -i any -n -p port 123 &
bender:~# !ntpd
ntpdate -v ntp.cais.rnp.br
20 Jul 10:33:39 ntpdate[14357]: ntpdate 4.2.2p4@1.1585-o Sun Mar  4 13:21:36 UTC 2007 (1)
10:33:39.678087 IP 200.222.222.22.123 > 200.144.121.33.123: NTPv4, Client, length 48
10:33:40.678048 IP 200.222.222.22.123 > 200.144.121.33.123: NTPv4, Client, length 48
10:33:41.678048 IP 200.222.222.222.123 > 200.144.121.33.123: NTPv4, Client, length 48
10:33:42.678052 IP 200.222.222.222.123 > 200.144.121.33.123: NTPv4, Client, length 48
20 Jul 10:33:43 ntpdate[14357]: no server suitable for synchronization found