You are not logged in.

#1 2018-01-21 18:07:05

Gunther74
Member
Registered: 2018-01-21
Posts: 31

[Solved] Bug on the wiki in the nft topic?

Hello,

While i was learning about nft i came across someting strange, all the way down the page there is a rule for UDP

# nft add rule inet filter UDP tcp dport 53 accept

I may be wrong but i believe this should be:

# nft add rule inet filter UDP udp dport 53 accept

I used the line from the wiki for port 5353 for cups but that did'nt work. I used the udp line afterwards wich made my printer react.
When i try to print, now my printer does something but then cancel the print task. I dont know why that hapens yet though.

Greetings,

Last edited by Gunther74 (2018-01-22 09:06:32)

Offline

#2 2018-01-21 20:00:15

ayekat
Member
Registered: 2011-01-17
Posts: 1,599

Re: [Solved] Bug on the wiki in the nft topic?

That's really two questions.

  1. DNS is used both over UDP and TCP (although latter only in specific cases, see Wikipedia). The nftables article does list both rules (UDP and TCP), though...

  2. For CUPS, on my system it listens on TCP port 631. According to /etc/services, port 5353 is reserved for mDNS, i.e. "zero-configuration" networks (implemented e.g. by Avahi). Are you sure it's not just about advertising the existence of CUPS into the zeroconf network? In that case, both UDP and TCP should work (but to be sure, I would accept both ports). That is not CUPS-specific, though (see also the network section in the CUPS article).


pkgshackscfgblag

Offline

#3 2018-01-22 09:05:52

Gunther74
Member
Registered: 2018-01-21
Posts: 31

Re: [Solved] Bug on the wiki in the nft topic?

About the printer responce.

I have installed the HP package:

# pacman -S hplip

Then in the web admin section from cups, modified the printer and specified the printer model.
After that all worked.

Thanks for your input mate!

Last edited by Gunther74 (2018-01-22 09:07:41)

Offline

Board footer

Powered by FluxBB