make hp-probe network discovery work with firewall
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HPLIP |
New
|
Undecided
|
Unassigned | ||
ufw |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
When running "hp-probe -bnet -mmdns" I do not get my network printer listed and I find the following in syslog:
Jun 12 12:55:32 debian kernel: [185040.988483] [UFW BLOCK] IN=wlp58s0 OUT= MAC=f4:
Jun 12 12:55:35 debian /hp-probe: hp-probe[6646]: warning: No devices found on the 'net' bus. If this isn't the result you are expecting,
Jun 12 12:55:35 debian /hp-probe: hp-probe[6646]: warning: check your network connections and make sure your internet
Jun 12 12:55:35 debian /hp-probe: hp-probe[6646]: warning: firewall software is disabled.
I think hp-probe should be able to detect network devices passively without having to allow "from 10.0.0.0/24 port 5353 proto udp".
summary: |
- hp-setup fails to detect network-printer due to ufw + hp-setup requires allowing incoming connections for network discovery |
description: | updated |
summary: |
- make hp-setup network discovery work with firewall + make hp-probe network discovery work with firewall |
The way the traffic is coming into the system, ufw is doing the right thing. You should be able to make discovery work on your network with:
$ sudo ufw allow from 10.0.0.0/24 port 5353 proto udp