-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
disable rpcbind #137
Comments
Thanks for your issue, @jpylypiw!
Seems like a good idea to me. What do the others think? @chris-rock, @micheelengronne, @schurzi? |
I like this proposal. And I am in strong favor of disabling the service (rather that introducing a firewall rule for the port). The |
Thank you for commenting on the issue! Currently I solved this in a simple but effective manner using ansible: - name: Populate service facts
service_facts:
- name: "ensure rpcbind service is stopped and disabled"
ansible.builtin.service:
name: rpcbind
enabled: false
state: "stopped"
when: "'rpcbind' in services" |
Is your feature request related to a problem? Please describe.
I received a notice of a open rpcbind port on my fresh installed Debian 10.6 system yesterday.
The rpcbind port is normally used for nfs mounts. In hacks this port 111 is mostly used for ddos reflection attacks.
Describe the solution you'd like
I would like a variable which controls if the port is closed or not. The variable could set if the service is stopped and disabled or started and enabled.
Describe alternatives you've considered
An alternative would be to get a list of services you want to disable by default. Maybe there is another daemon like avahi-daemon or cups.
Additional context
If you need more information, just reply.
The text was updated successfully, but these errors were encountered: