p910nd: only available over IPv4, doesn't bind on IPv6
Open
Nobody has claimed this yet.
release/22.03
stale
upstream
- Dominant language
- Makefile
- Stars
- 4.6k
- Forks
- 4k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 134
Description
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'
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the listener output with the netstat commands and review the p910nd configuration shown in /etc/config/p910nd. Trace how p910nd selects its listening addresses; done means the service accepts connections over both IPv4 and IPv6 while preserving the existing configuration.
Written by the indexing model from the issue text.
Assessment
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100