Community Packages

Please read this before reporting a bug:
http://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#43365 - [miniupnpd] OpenAndConfPCPv6Socket: socket(): Address family not support

Attached to Project: Community Packages
Opened by Eric Wang (enihcam) - Wednesday, 07 January 2015, 12:41 GMT
Last edited by Timothy Redaelli (tredaelli) - Thursday, 02 April 2015, 10:33 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Timothy Redaelli (tredaelli)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
For those systems who has no ipv6 modules loaded, the miniupnpd service will throw the following error:

Error: OpenAndConfPCPv6Socket: socket(): Address family not support

Please remove '--ipv6' in PKGBUILD and make sure the line #define ENABLE_IPV6 is commented in config.h

There is no archlinux-based ipv6+upnp router in the world.

Additional info:
* package version(s)
* config and/or log files etc.


Steps to reproduce:
This task depends upon

Closed by  Timothy Redaelli (tredaelli)
Thursday, 02 April 2015, 10:33 GMT
Reason for closing:  Won't fix
Additional comments about closing:  I checked *any* other distributions and they compile miniupnpd, by default, with IPv6 support *enabled* (including openwrt and debian).
Upstream suggests to compile it with IPv6 too.
Moreover standard Arch Linux kernel have IPv6 built-in and not as module.
If you don't need IPv6, you can use sysctl net.ipv6.conf.all.disable_ipv6=1
Comment by Timothy Redaelli (tredaelli) - Wednesday, 07 January 2015, 16:12 GMT
Did you tried to use listening_ip=IPv4/MASK instead of listening_ip=INTERFACE?
Comment by Eric Wang (enihcam) - Thursday, 08 January 2015, 10:51 GMT
no. For workaround, I compiled the source (with no --ipv6) by myself. I'll try next time. thanks.
Comment by Eric Wang (enihcam) - Monday, 12 January 2015, 15:17 GMT
I changed interface name to ipv4/mask, then I got:
Jan 12 23:12:40 archnet miniupnpd[335]: Error: please specify LAN network interface by name instead of IPv4 address : 192.168.1.1/24
Jan 12 23:12:40 archnet miniupnpd[335]: can't parse "192.168.1.1/24" as a valid interface name
Comment by Eric Wang (enihcam) - Thursday, 02 April 2015, 09:24 GMT
Hi Timothy,

Could you remove --ipv6 from the pkgbuild file?

nobody build ipv6 router using archlinux.

Loading...