Bug 243721 - www/fcgiwrap: please add IPv6 support
Summary: www/fcgiwrap: please add IPv6 support
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Rodrigo Osorio
Depends on:
Reported: 2020-01-30 09:46 UTC by olaf
Modified: 2020-03-28 17:54 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description olaf 2020-01-30 09:46:35 UTC
fcgiwrap obviously does not support IPv6 although the man page says it does.

# /usr/local/sbin/fcgiwrap -s 'tcp6:[::1]:8999'
Failed to bind: Can't assign requested address

# telnet  ::1 8999
Trying ::1...
telnet: connect to address ::1: Connection refused
telnet: Unable to connect to remote host

# /usr/local/sbin/fcgiwrap -s 'tcp:'
# telnet 8999
Connected to localhost.
Escape character is '^]'.
Comment 1 commit-hook freebsd_committer 2020-03-28 17:50:36 UTC
A commit references this bug:

Author: rodrigo
Date: Sat Mar 28 17:49:37 UTC 2020
New revision: 529749
URL: https://svnweb.freebsd.org/changeset/ports/529749

  www/fcgiwrap: fix IPv6 support

  Extend existing patch to fix IPv6 support.

  The fix zero-out the sockaddr structure before
  using it as a sockaddr_in6 structure as explained
  by IEEE Std 1003.1.

  The patch was upstremed : https://github.com/gnosek/fcgiwrap/pull/51

  PR:		243721
  Reported by:	<olaf@zaplinski.de>

Comment 2 Rodrigo Osorio freebsd_committer 2020-03-28 17:54:22 UTC
Thanks for the report, I did a fix in the
port itself, and committed it.

Feel free to update your version and tests it.
The fix was also upstream to the port maintainer.

Once again, thanks for the report and sorry for the delay.