Oh, I did not realize the services recognized by firewalld is limited.


I used the port rule and it seems to be working.  Thanks for the help!



  Neil



--

Neil Aggarwal, (972) 834-1565, http://www.propfinancing.com

We offer 30 year loans on single family houses!



*From:* Jonathan Wright [mailto:[email protected]]
*Sent:* Wednesday, December 8, 2021 2:50 PM
*Cc:* [email protected]
*Subject:* [AlmaLinux Users] Re: Error: ws-discovery is an invalid service



I don't think this is something included in the predefined firewalld
service rules.  ie:



firewall-cmd --get-services



You should probably just make a rule for the port instead of using the
service name.



On Wed, Dec 8, 2021 at 2:37 PM Neil Aggarwal <[email protected]> wrote:

Hello all:



I am seeing packets to port 3702 in my firewall log so I wanted
to add a rule to drop them silently.



I tried this command:

firewall-cmd --permanent --add-rich-rule='rule service name=ws-discovery
drop'



Which give me this message:

success



But, when I do

systemctl restart firewalld



I see this entry in the log:

ERROR: INVALID_SERVICE: ws-discovery



That is strange.  Any idea what went wrong?



Thank you,

  Neil



--

Neil Aggarwal, (972) 834-1565, http://www.propfinancing.com

We offer 30 year loans on single family houses!



_______________________________________________
AlmaLinux Users mailing list -- [email protected]
To unsubscribe send an email to [email protected]




-- 

Jonathan Wright
AlmaLinux Foundation

Mattermost: chat <https://chat.almalinux.org/almalinux/messages/@jonathan>

Reply via email to