lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1350279753.21172.17290.camel@edumazet-glaptop>
Date:	Mon, 15 Oct 2012 07:42:33 +0200
From:	Eric Dumazet <eric.dumazet@...il.com>
To:	Jan Hinnerk Stosch <janhinnerk.stosch@...il.com>
Cc:	netdev@...r.kernel.org
Subject: Re: regression when connecting to ipv6 localhost

On Mon, 2012-10-15 at 00:11 +0200, Jan Hinnerk Stosch wrote:
> 2012/10/15 Eric Dumazet <eric.dumazet@...il.com>:
> > Please add -f to follow children
> >
> > strace -o /tmp/STRACE -f /usr/bin/ntpd -g -u ntp:ntp
> >
> >
> 
> Ok, done.

# grep bind STRACE



12928 bind(16, {sa_family=AF_INET, sin_port=htons(123), sin_addr=inet_addr("0.0.0.0")}, 16) = 0
12928 bind(17, {sa_family=AF_INET6, sin6_port=htons(123), inet_pton(AF_INET6, "::", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = 0

(These two binds are the wildcards to drop ipv4/ipv6 packets sent on other addresses than
 the following :)

12928 bind(18, {sa_family=AF_INET, sin_port=htons(123), sin_addr=inet_addr("127.0.0.1")}, 16) = 0
12928 bind(19, {sa_family=AF_INET, sin_port=htons(123), sin_addr=inet_addr("192.168.178.27")}, 16) = 0
12928 bind(20, {sa_family=AF_INET6, sin6_port=htons(123), inet_pton(AF_INET6, "fe80::922b:34ff:fe33:c292", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=if_nametoindex("eth0")}, 28) = 0
12928 bind(21, {sa_family=AF_NETLINK, pid=0, groups=00000771}, 12) = 0

So ntpd doesnt listen on ntp messages sent on ::1



--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ