openwrt / packages

Community maintained packages for OpenWrt. Documentation for submitting pull requests is in CONTRIBUTING.md
GNU General Public License v2.0
4k stars 3.48k forks source link

p910nd: only available over IPv4, doesn't bind on IPv6 #19290

Open notgood opened 2 years ago

notgood commented 2 years ago

Maintainer: @pkerling Environment: OpenWRT 22.03 latest

Description: p910nd only binds on IPv4 address 0.0.0.0 Should bind on both IPv4 and IPv6 ::/0

# netstat -tulpn | grep p910
tcp        0      0 0.0.0.0:9100            0.0.0.0:*               LISTEN      27250/p9100d

# netstat -tulpn | grep uhtt
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      2233/uhttpd
tcp        0      0 0.0.0.0:443             0.0.0.0:*               LISTEN      2233/uhttpd
tcp        0      0 :::80                   :::*                    LISTEN      2233/uhttpd
tcp        0      0 :::443                  :::*                    LISTEN      2233/uhttpd

cat /etc/config/p910nd

config p910nd
        option device '/dev/usb/lp0'
        option port '0'
        option bidirectional '0'
        option enabled '1'
pkerling commented 2 years ago

Hi, thanks for reporting the issue, but as I am no longer using p910nd for multiple years now, I will not look into it further. It should be pretty easy to fix though if p910nd supports binding to IPv6 at all.

neheb commented 2 years ago

Relevant: https://dev.archive.openwrt.org/changeset/22432.html

neheb commented 2 years ago

Upstream was moved to https://github.com/kenyapcomau/p910nd

Maybe report there.