11.3 hosts.allow wipes on reboot

Description

On reboot /etc/hosts.allow becomes 0 bytes

previous behaviour was /conf/base/etc/hosts.allow became /etc/hosts.allow.

ls -al /conf/base/etc/hosts.allow
rw-rr- 1 root wheel 3783 Feb 23 15:22 /conf/base/etc/hosts.allow

ls -al /etc/hosts.allow
rw-rr- 1 root wheel 0 Feb 23 15:33 /etc/hosts.allow

Can confirm even if i populate /etc/hosts.allow it resets to 0 bytes on reboot.

Problem/Justification

None

Impact

None

SmartDraw Connector

Katalon Manual Tests (BETA)

Activity

Show:

William Gryzbowski 
March 8, 2021 at 11:44 AM

Not a bug.

 

Feel free to create a new Suggestion ticket so it can be upvoted by community.

Dale Stevens 
March 6, 2021 at 8:33 PM

This isn't just an enterprise-level "application". Consumers do not always have the luxury of owning/affording/managing another system. Regardless, this is a bug, and should be addressed.

Prescribing how users use the system is beyond the scope of this bug.

f33rx 
April 26, 2020 at 9:41 PM

> We strongly believe the NAS is not the right place to set up security measures, but in your own firewall.

A firewall is only going to be aware of the brute force attempts on itself, most will not be able to inspect Layer7 to tell you that someone is failing to connect to a downstream host repeatedly because of bad auth.

If allowing SSH inbound fail2ban or a hostlist of some kind is a great idea regardless of the destination hosts role. Ideally sure there would be a bastion host exposed to the internet that isn't the FreeNAS box. Someone could also set up an IDS/IPS on a span port but that's far beyond the scope of a SOHO user. 

Jon 
April 19, 2020 at 11:01 PM

For enterprise i agree, but most home firewalls (mine included) don't have this kind of feature sets.

Curious why proftpd requires it to be turned off, would it just require no proftpd items?

William Gryzbowski 
April 17, 2020 at 12:57 PM

Thanks for the clarification.

We strongly believe the NAS is not the right place to set up security measures, but in your own firewall.

That said, we could transform this into a Suggestion for adding official support for Allow/Deny Hosts in the UI/API, but I dont really see it gaining much traction myself.

Not to be Fixed

Details

Assignee

Reporter

Labels

Components

Fix versions

Affects versions

Priority

More fields

Katalon Platform

Created April 3, 2020 at 1:44 AM
Updated July 1, 2022 at 4:49 PM
Resolved March 8, 2021 at 11:44 AM