setsockopt SOL_IPV6-level constants (IPV6_*) missing from Socket6

Bug #522191 reported by Gro-Tsen
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
libsocket6-perl (Debian)
Fix Released
Unknown
libsocket6-perl (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: libsocket6-perl

The SOL_IPV6(=IPPROTO_IPV6)-level constants for setsockopt which are documented in ipv6(7) under Linux, many of which are common to other operating systems, are not defined by the Socket6 module, as they probably should. Of particular importance is IPV6_V6ONLY, which is indispensable for reliably binding an IPv6 socket to ip6addr_any (without setting the value of the IPV6_V6ONLY option, it is impossible to know whether the socket will bind to the IPv4 domain as well: this depends on the net.ipv6.bindv6only sysctl which is unpredictable).

The attached patch fixes the problem by adding the constants in question to those defined by Socket6.

(Bug report also submitted to Debian.)

Tags: patch ipv6
Revision history for this message
Gro-Tsen (david-madore) wrote :
Emmet Hikory (persia)
tags: added: ipv6
Changed in libsocket6-perl (Debian):
status: Unknown → New
Colin Watson (cjwatson)
Changed in libsocket6-perl (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Changed in libsocket6-perl (Debian):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libsocket6-perl - 0.25-1

---------------
libsocket6-perl (0.25-1) unstable; urgency=low

  * Imported Upstream version 0.25
  * New maintainer (Closes: #738885)
  * Bump standards version to 3.9.5 (no changes)
  * [11eaa0be] debian/control
                  + Add homepage field
  * Install socket6(3) manpage (Closes: #694083)
  * [8ee3ba01] Import patch to add missing IPv6 constants
  (Closes: #569981 LP: #522191)
  Thanks to David Madore for the patch
  * [c5f9120a] Update debian/watch
  * [71f53f90] debian/control
    + Add VCS fields
  * [24b9fbe0] debian/copyright
                  + Convert to machine readable format
  * [a2d90858] Use https://metacpan.org/release/Socket6 in
  d/control, d/copyright, d/watch
  * [1a66281f] Remove obsolete postinst script
  * [748e7406] Correct licence name to BSD-3-Clause
  * [c0eeedec] Complete copyrights for Upstream sources
  * [f01ff881] Move debian/* copyright to end and complete all
         copyright holders
  * [e4c2b323] Reduce debian/rules to minimal format
  * [ef54d313] Add debian/clean
  * [60cc876d] Add debian/libsocket6-perl.examples
  * [362ba811] debian/control
    + Modify build-depends
    + Remove perl-base from Depends
    + Modify description to include the module name
  * [a8b2cf87] Remove unneeded README.Debian
  * [b527fae1] Remove override and add build-system to debian/rules

 -- Daniel Lintott <email address hidden> Sun, 16 Feb 2014 12:07:30 +0000

Changed in libsocket6-perl (Ubuntu):
status: Triaged → Fix Released
Changed in libsocket6-perl (Debian):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.