News for hackers. Stuff that matters.
Re:What I Learned from porting my projects to FreeBSD by nikisweeting on Saturday October 27, 2018 @11:18PM (#18319003)
Just wait till you discover FreeNAS, pfSense, and OpenBSD! A world of awesome, battle-tested software awaits once you join the BSD dark side.
Re:What I Learned from porting my projects to FreeBSD by setquk on Sunday October 28, 2018 @06:16AM (#18319970)
OpenBSD is one of those things you could be stranded on a desert island with the base system and still be productive with just that and the manpages.
Re:What I Learned from porting my projects to FreeBSD by metildaa on Sunday October 28, 2018 @12:35AM (#18319201)
pfSense is great for a prosumer router. What gets me about it is cleaning up the mess it creates in business use cases, as pfSense is designed with a mindset that the pro will always be there, ready to attach a screen at a moments notice when interfaces change or packages get updated. Running PHP as root also isn't great, I'm not sure how that passes in the context of HIPPA.
Re:What I Learned from porting my projects to FreeBSD by mkhpalm on Sunday October 28, 2018 @01:48AM (#18319332)
I think network security best practices addresses that issue. Keep network management interfaces off unrestricted local area or routeable networks. Huge swaths of popular software as well as very expensive hardware have many unresolved security issues. There is nothing you can do to make a lot of that stuff secure short of putting them on their own isolated network and explicitly controlling all ingress/egress traffic to it.
Re:What I Learned from porting my projects to FreeBSD by closeparen on Sunday October 28, 2018 @05:32AM (#18319852)
The HIPAA Technical Safeguards are compact, readable, and basic: https://www.law.cornell.edu/cfr/text/45/164.312
Re:What I Learned from porting my projects to FreeBSD by metildaa on Sunday October 28, 2018 @06:03AM (#18319932)
Okay, but how does running one of the most commonly exploited languages as root pass any HIPAA audit? That was the question asked in my prior comment.

We ended up ripping out PFSense at a few medical practices due in part to this issue.

Re:What I Learned from porting my projects to FreeBSD by jimktrains2 on Sunday October 28, 2018 @09:21AM (#18320467)
You seem to be under the impression that the management UI is on a public network. Ideally locked down to certain vlans.

The UI controls setting up the network and other services. Please explain how to do this without root access. (Write another process which runs as root and controls the settings and is talked to over a Unix socket actually isn't a bad idea, however, it is not void of its problems either.)

Also "most commonly exploited languages" is a bit of hyperbole, no? First, C probably takes that slot. Second, being one of the most common languages for web development makes it a target. Third, most php exploits are bad code, which, while easy to write in php (and c!), can be and is done in all languages.

Isn't the administrator interface on _any_ router essentially root access on said router? Do you complain that juniper or Cisco equipment is insecure because you can login?

BMCs (Baseboard management controllers) are something with very ... questionable ... security, yet network segregation is used to ensure its use securely. Given that many HIPAA complaint organizations such as AWS and GCP (Google Cloud Platform) I find it hard to believe that a management interface would disqualify something from HIPAA compliance.

Which part of the HIPAA audit did pfsense fail? Was it simply an abundance of caution" on your part? If so, what did you replace it with that didn't have a management or has a management interface with no bugs (hint: even Cisco and juniper have CVEs for the management interface)?

Re:What I Learned from porting my projects to FreeBSD by richardwhiuk on Sunday October 28, 2018 @11:52AM (#18321166)
PHP makes it trivial to write bad code, and hard to write good code.
Re:What I Learned from porting my projects to FreeBSD by jimktrains2 on Sunday October 28, 2018 @12:25PM (#18321330)
So does C?

Also, php in no way makes it hard to write good code, it's just easy not to.

Re:What I Learned from porting my projects to FreeBSD by closeparen on Sunday October 28, 2018 @06:31AM (#18320012)
Why not? Which part of the Security Rule would it violate?

It's probably a bad idea. But HIPPA is a specific and public block of text, which says less than most people seem to imagine it does. (I'm no lawyer. I've just read the thing).

Re:What I Learned from porting my projects to FreeBSD by gigatexal on Sunday October 28, 2018 @12:55AM (#18319247)
You can always roll your own headless openBSD + pf
Re:What I Learned from porting my projects to FreeBSD by liv-io on Sunday October 28, 2018 @06:48AM (#18320069)
I can only recommend the same, OpenBSD + pf is simply perfect. If you manage a couple of firewalls add Ansible and you'll never consider vendor firewall appliances again: https://github.com/liv-io/ansible-roles-bsd/tree/master/open...
Re:What I Learned from porting my projects to FreeBSD by gigatexal on Sunday October 28, 2018 @01:45PM (#18321829)
This is really cool!
Re:What I Learned from porting my projects to FreeBSD by liv-io on Sunday October 28, 2018 @04:08PM (#18322837)
Thank you, happy to read! I hope more people discover the beauty of OpenBSD. Sane defaults, security standards and developers. Can't be grateful enough for their work.
Re:What I Learned from porting my projects to FreeBSD by auslander on Sunday October 28, 2018 @03:55AM (#18319592)
> Running PHP as root

OPNsense was created to fix that. Now it is better than pfSense.

Re:What I Learned from porting my projects to FreeBSD by metildaa on Sunday October 28, 2018 @06:01AM (#18319925)
How is a disappearing network interface handled? What about package deperecation?

On both issues, PFSense left me with a non-working router, which is unacceptable when every other router software and hardware appliance out there will bring itself up in a hobbled state to pass traffic.

An optional ethernet port disappearing is not a good reason for your router to halt and catch fire.

Re:What I Learned from porting my projects to FreeBSD by enriquto on Sunday October 28, 2018 @04:47AM (#18319726)
and DragonFlyBSD !
Re:What I Learned from porting my projects to FreeBSD by brian_herman on Sunday October 28, 2018 @02:39AM (#18319421)
I use pfsense for my router at home and I love it! <3 I tried freenas but I couldn't get it to join my domain I should have tried harder.
Re:What I Learned from porting my projects to FreeBSD by kchoudhu on Sunday October 28, 2018 @03:03AM (#18319471)
That's not your fault, that's the pfSense's fault. File a bug.
Re:What I Learned from porting my projects to FreeBSD by Moter8 on Sunday October 28, 2018 @06:38AM (#18320036)
He got it working on pfsense, but not freenas.