Comments (22)
I added one file for HPLIP and one for CUPS and created a new release.
Please test!
from ufw-extras.
Yes, just sudo ufw allow hplip
.
The ufw files needs to be copied to the right location on your system first, though. Typically /etc/ufw/applications.d/
.
from ufw-extras.
Hi, sure, but do you happen to know which port numbers are involved? Could it be port 631 (the port used by cups)?
from ufw-extras.
After some searching it appears it could be:
Port 161,162 and 9100 (all TCP ports, I assume).
from ufw-extras.
Cool, I'm actually trying to figure out how to import the profiles into ufw/gufw.. How do I do that?
from ufw-extras.
When I try to import, Gufw keeps saying filename has wrong permissions (not 600)
from ufw-extras.
I haven't used Gufw, but if you run chmod 600
on the file, it should change the permissions
Alternatively, in some file management applications you can right click the file, find the right settings view and change the permissions to read only (not write) and only for the current user, to achieve the same as chmod 600
.
from ufw-extras.
Oof.. apparently when I go and import, it doesn't even appear in gufw <_> Is there any other way of importing the profile into UFW in general?
from ufw-extras.
Sorry for the late reply! I've been busy with school and had to format both my computers, so I didn't get the chance to test it.
from ufw-extras.
Alrighty, finally got to test it but noticed that it doesn't work. HPLIP still seems to be blocked by the firewall :(
from ufw-extras.
Aw. Thanks for testing, though! I updated the hplip file to also open up UDP port 5353, perhaps this helps?
from ufw-extras.
Just tested it again, still being blocked :(
from ufw-extras.
From what I can see, it seems to be generating ports randomly
from ufw-extras.
Ports in one direction may be randomly chosen (and not normally blocked by a firewall), while ports in the other direction may depend on the ports being open with the currently running firewall.
Does it work if you turn off ufw altogether? If it then still does not work, then it's not an ufw configuration issue.
from ufw-extras.
Yeah, it works when I disable UFW completely
from ufw-extras.
I added port 137 as well, to the file that is in the latest master
. Perhaps it works now?
If not, could it be that you have the same issue as in this question? https://answers.launchpad.net/hplip/+question/664494
from ufw-extras.
Oddly enough, it's still not working :( I went and followed the steps that were listed in the launchpad link, nothing
from ufw-extras.
I'm bummed out. If you ever find the right TCP and UDP ports, please let me know, and I'll update the file. :)
from ufw-extras.
Hmm.. maybe put in TCP and UDP types for reach port number?
--edit--
This might help: https://developers.hp.com/hp-linux-imaging-and-printing/KnowledgeBase/EnableServicesInFirewall.html
from ufw-extras.
Those ports should be open.
Have you tried updating the hplip driver?
https://askubuntu.com/a/1165788/19017
from ufw-extras.
Please re-open if this is still an issue.
from ufw-extras.
Unfortunately the issue is still present, even with the latest version of hplip. I haven't been able to figure out a solution other than disabling ufw permanently
from ufw-extras.
Related Issues (2)
- ufw-megasync release HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ufw-extras.