3 ms·
Out of the box, FreeBSD is going to have sshd, ntpd, and syslogd (i think) listening on wildcards. sshd is ok enough -- PermitRootLogin is default off, would b
by toast0 10y ago
Out of the box, FreeBSD is going to have sshd, ntpd, and syslogd (i think) listening on wildcards.
sshd is ok enough -- PermitRootLogin is default off, would be nice if password login was disabled, but that's a pretty hard default to change because it's going to affect a lot of people.
ntpd isn't great, but the out of the box config is pretty restricted, so it's probably fine for a while
syslogd is weird, it probably shouldn't be open to the world -- but that's more likely to fill up your disk than to be owned.
I don't think there's a problem with running a firewall and I usually do, it provides a simple way to enforce your intent; but there's no sensible default rules. Api said it well, don't run services you don't need, and don't bind to external interfaces if you don't intend to serve the world.
- byuu 10y agoAwesome, thanks for this! So it sounds like no real issues, then. But all the same, I should add syslogd_flags="-ss" as soon as possible on a new install. Also worth noting, Vultr 'helpfully' adds "PermitRootLogin yes" at the very bottom of sshd_config on their new installs of FreeBSD. Ostensibly so you can log in without their VNC-in-a-web-browser client, and just use SSH for the initial setup. Which I quite like a lot. They give a really strong password that looks to be around 64^16 in terms of entropy, so that's probably fine. I always turn off root login and password login as soon as I add my authorized_keys to a user account anyway.