public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: Eric Dumazet <eric.dumazet@gmail.com>
To: Jan Hinnerk Stosch <janhinnerk.stosch@gmail.com>
Cc: netdev@vger.kernel.org
Subject: Re: regression when connecting to ipv6 localhost
Date: Sun, 14 Oct 2012 22:45:46 +0200	[thread overview]
Message-ID: <1350247546.21172.17167.camel@edumazet-glaptop> (raw)
In-Reply-To: <CAO_aot5xZevtZcCS37h9HR4Zkj_Q4ny_sj+NX7oYEvazAQjxLQ@mail.gmail.com>

On Sun, 2012-10-14 at 22:39 +0200, Jan Hinnerk Stosch wrote:
> 2012/10/14 Eric Dumazet <eric.dumazet@gmail.com>:
> > On Sun, 2012-10-14 at 22:27 +0200, Eric Dumazet wrote:
> >
> >> Also post :
> >>
> >
> > # grep Udp6 /proc/net/snmp6
> >
> > Before and after your "ntpq -p" try
> >
> >
> 
> Sorry, my fault. I executed the command as user not root:
> lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system
> /run/user/1000/gvfs
>       Output information may be incomplete.
> COMMAND PID USER   FD      TYPE             DEVICE SIZE/OFF   NODE NAME
> ntpd    368  ntp  cwd       DIR                8,2     4096      2 /
> ntpd    368  ntp  rtd       DIR                8,2     4096      2 /
> ntpd    368  ntp  txt       REG                8,2   582944 418889 /usr/bin/ntpd
> ntpd    368  ntp  mem       REG                8,2    84832 396501
> /usr/lib/libresolv-2.16.so
> ntpd    368  ntp  mem       REG                8,2    22936 396440
> /usr/lib/libnss_dns-2.16.so
> ntpd    368  ntp  mem       REG                8,2    52136 396470
> /usr/lib/libnss_files-2.16.so
> ntpd    368  ntp  mem       REG                8,2    18760 400111
> /usr/lib/libattr.so.1.1.0
> ntpd    368  ntp  mem       REG                8,2   137998 396481
> /usr/lib/libpthread-2.16.so
> ntpd    368  ntp  mem       REG                8,2    88656 399537
> /usr/lib/libz.so.1.2.7
> ntpd    368  ntp  mem       REG                8,2    14648 396487
> /usr/lib/libdl-2.16.so
> ntpd    368  ntp  mem       REG                8,2  2009849 396474
> /usr/lib/libc-2.16.so
> ntpd    368  ntp  mem       REG                8,2    16776 400227
> /usr/lib/libcap.so.2.22
> ntpd    368  ntp  mem       REG                8,2    31760 396469
> /usr/lib/librt-2.16.so
> ntpd    368  ntp  mem       REG                8,2  2392233 405328
> /usr/lib/libcrypto.so.1.0.0
> ntpd    368  ntp  mem       REG                8,2  1022344 396456
> /usr/lib/libm-2.16.so
> ntpd    368  ntp  mem       REG                8,2   165344 396512
> /usr/lib/ld-2.16.so
> ntpd    368  ntp    0u      CHR                1,3      0t0   1028 /dev/null
> ntpd    368  ntp    1u      CHR                1,3      0t0   1028 /dev/null
> ntpd    368  ntp    2u      CHR                1,3      0t0   1028 /dev/null
> ntpd    368  ntp    3u     unix 0xffff880214dfbb80      0t0  11432 socket
> ntpd    368  ntp    5w      REG                8,2        0 664219
> /var/log/ntp.log
> ntpd    368  ntp   16u     IPv4              10453      0t0    UDP *:ntp
> ntpd    368  ntp   17u     IPv6              10454      0t0    UDP *:ntp
> ntpd    368  ntp   18u     IPv4              10460      0t0    UDP
> localhost.localdomain:ntp
> ntpd    368  ntp   19u     IPv4              10461      0t0    UDP
> hinniepc.fritz.box:ntp
> ntpd    368  ntp   20u     IPv6               8775      0t0    UDP
> [fe80::922b:34ff:fe33:c292]:ntp
> ntpd    368  ntp   21u  netlink                         0t0  10463 ROUTE
> 
> and here is "grep Udp6 /proc/net/snmp6" before:
> Udp6InDatagrams                 	19
> Udp6NoPorts                     	0
> Udp6InErrors                    	0
> Udp6OutDatagrams                	19
> Udp6RcvbufErrors                	0
> Udp6SndbufErrors                	0
> 
> and after running "ntpq -p":
> Udp6InDatagrams                 	21
> Udp6NoPorts                     	0
> Udp6InErrors                    	0
> Udp6OutDatagrams                	21
> Udp6RcvbufErrors                	0
> Udp6SndbufErrors                	0

OK so IPv6 UDP frames are delivered to ntpd

could you strace it while doing one "ntpq -p"

strace -p 368

  reply	other threads:[~2012-10-14 20:45 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-14 15:38 regression when connecting to ipv6 localhost Jan Hinnerk Stosch
2012-10-14 19:29 ` Eric Dumazet
2012-10-14 19:48   ` Jan Hinnerk Stosch
2012-10-14 19:54     ` Eric Dumazet
2012-10-14 19:57       ` Jan Hinnerk Stosch
2012-10-14 20:25         ` Eric Dumazet
2012-10-14 20:26           ` Eric Dumazet
2012-10-14 20:28             ` Eric Dumazet
2012-10-14 20:39               ` Jan Hinnerk Stosch
2012-10-14 20:45                 ` Eric Dumazet [this message]
2012-10-14 20:47                   ` Eric Dumazet
2012-10-14 20:56                     ` Jan Hinnerk Stosch
2012-10-14 21:02                       ` Eric Dumazet
2012-10-14 21:07                 ` Eric Dumazet
2012-10-14 21:21                   ` Jan Hinnerk Stosch
2012-10-14 21:35                     ` Eric Dumazet
2012-10-14 21:54                       ` Jan Hinnerk Stosch
2012-10-14 22:01                         ` Eric Dumazet
2012-10-14 22:11                           ` Jan Hinnerk Stosch
2012-10-15  5:42                             ` Eric Dumazet
2012-10-15  7:03                               ` Jan Hinnerk Stosch
2012-10-15  7:14                               ` Joe Perches
2012-10-15  7:39                                 ` Eric Dumazet
2012-10-15  7:43                                   ` Eric Dumazet
2012-10-15 11:25                                   ` Joe Perches
2012-10-15 12:31                                     ` Eric Dumazet
2012-10-15 13:10                                       ` Jan Hinnerk Stosch
2012-10-15 13:21                                         ` Eric Dumazet
2012-10-15 13:28                                           ` Jan Hinnerk Stosch
2012-10-16 16:07                                             ` Jan Hinnerk Stosch
2012-10-16 16:43                                               ` Eric Dumazet
2012-10-16 16:55                                                 ` Eric Dumazet
2012-10-16 17:37                                                   ` [PATCH] ipv6: addrconf: fix /proc/net/if_inet6 Eric Dumazet
2012-10-16 18:30                                                     ` Jan Hinnerk Stosch
2012-10-16 18:39                                                       ` David Miller
2012-10-16 22:01                                                       ` Joe Perches
2012-10-16 18:55                                                     ` David Miller
2012-10-15  9:25                               ` regression when connecting to ipv6 localhost Eric Dumazet
2012-10-15 10:32                                 ` Jan Hinnerk Stosch
2012-10-15  9:07                         ` Jan Ceuleers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1350247546.21172.17167.camel@edumazet-glaptop \
    --to=eric.dumazet@gmail.com \
    --cc=janhinnerk.stosch@gmail.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox