Hi Roman You helped me with the IPv6 patch. Can you help me to create a patch to conform to this as well?
Best regards, // Ola On Wed, Dec 09, 2009 at 02:41:41PM +0500, Roman Mamedov wrote: > On Wed, 09 Dec 2009 03:00:38 -0500 > Jacob Heider <[email protected]> wrote: > > > I tried using 4.1.1+X4.3.0-34 but it would only bind to the IPv6 port. > > After reverting, I read the bug report for #550789. It looks like the > > patch respects the value of /proc/sys/net/ipv6/bindv6only, which the > > submitter claims defaults to 0. I have an /etc/sysctl.d/bindv6only.conf > > (which doesn't seem to belong to any package) which states the > > following: > > > > ---- > > > > # This sysctl sets the default value of the IPV6_V6ONLY socket option. > > # > > # When disabled, IPv6 sockets will also be able to send and receive IPv4 > > # traffic with addresses in the form ::ffff:192.0.2.1 and daemons > > # listening > > # on IPv6 sockets will also accept IPv4 connections. > > # > > # When IPV6_V6ONLY is enabled, daemons interested in both IPv4 and IPv6 > > # connections must open two listening sockets. > > # This is the default behaviour of all modern operating systems. > > > > net.ipv6.bindv6only = 1 > > > > ---- > > > > Now, I don't have any reason to retain that file that I know of, but my > > concerns are two-fold: > > > > 1) some package has created this file at some point > > This file is introduced by a very recent update to netbase: > > netbase (4.38) unstable; urgency=low > > * Create /etc/sysctl.d/bindv6only.conf on upgrades and new installs > to set net.ipv6.bindv6only=1. > <...> > > -- Marco d'Itri <[email protected]> Sun, 06 Dec 2009 17:09:41 +0100 > > This will break many other apps too, e.g. http://bugs.debian.org/560056 > To fix the issue you'll need to change that setting back to 0: > > sudo sed -i 's/net.ipv6.bindv6only\ =\ 1/net.ipv6.bindv6only\ =\ 0/' \ > /etc/sysctl.d/bindv6only.conf && sudo invoke-rc.d procps restart > > There's a discussion on the matter here: > http://old.nabble.com/defaulting-to-net.ipv6.bindv6only%3D1-for-squeeze-td26041698.html > > -- > With respect, > Roman -- --------------------- Ola Lundqvist --------------------------- / [email protected] Annebergsslingan 37 \ | [email protected] 654 65 KARLSTAD | | http://inguza.com/ +46 (0)70-332 1551 | \ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 / --------------------------------------------------------------- -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

