packages icon indicating copy to clipboard operation
packages copied to clipboard

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

Open notgood opened this issue 3 years ago • 3 comments

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'

notgood avatar Sep 01 '22 09:09 notgood

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.

pkerling avatar Sep 03 '22 07:09 pkerling

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

neheb avatar Sep 15 '22 06:09 neheb

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

Maybe report there.

neheb avatar Sep 15 '22 06:09 neheb