Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - lattera

#151
17.1 Legacy Series / Re: 17.1.r1 Kernel Panic
February 02, 2017, 04:11:15 PM
Quote from: franco on February 02, 2017, 01:34:56 PM
This is starting to be suspiciously precise and matches this one:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213903

Sadly, no progress there since October. If anyone has a clue that would be great.

At first, I suspected ASLR, but I think you hit the nail right on the head. I'm glad to see that no one has had a single issue with HardenedBSD's ASLR. Shows how robust our implementation is. ;)

I'll ping upstream FreeBSD about it and see if there are any updates regarding that issue.
#152
17.1 Legacy Series / Re: 17.1.r1 Kernel Panic
January 30, 2017, 08:40:19 PM
Do you have Suricata enabled in IPS mode?
#153
17.1 Legacy Series / Re: 17.1.r1 Kernel Panic
January 30, 2017, 03:58:40 PM
Are you running 32-bit or 64-bit?
#154
I'll just leave this here:

#155
17.1 Legacy Series / Re: 17.1.b & Suricata fails on ESXi
December 30, 2016, 07:14:31 PM
Great to hear you've gotten it working with the emulated Intel driver. That confirms that it's the same issue that I saw and should be fixed with the patch Franco linked to.
#156
17.1 Legacy Series / Re: 17.1.b & Suricata fails on ESXi
December 30, 2016, 06:28:20 AM
That's exactly it. Netmap had a major overhaul in 11.0, but that overhaul caused issues due to lack of testing with various "non-standard" hardware. The commit you linked to contains a whole lot of work, including more stable and robust code.
#157
17.1 Legacy Series / Re: 17.1.b & Suricata fails on ESXi
December 29, 2016, 03:42:41 PM
This seems to be related to a problem I had a while ago with netmap. While at EuroBSDcon, I talked with the original developer behind netmap and the problem is now fixed in his out-of-tree project. It has been merged into 12-CURRENT. It hasn't been backported to 11-STABLE (and thus is not in 11.0-RELEASE).

I'll email the original developer just to make sure this is the same issue that I saw. If you want me to include you on the email, could you shoot me an email at shawn.webb@hardenedbsd.org?
#158
17.1 Legacy Series / Re: 17.1.b & Suricata fails on ESXi
December 29, 2016, 03:03:09 PM
Sure. Whenever's most convenient for you. Thanks!
#159
17.1 Legacy Series / Re: 17.1.b & Suricata fails on ESXi
December 29, 2016, 02:59:35 PM
Can you give us a screenshot? Also, type in "bt" (without the quotes), then hit enter. And then take another screenshot.
#160
Another update: Looks like lld is having issues with symbol versioning. I'm working with Ed Schouten and Ed Maste of the FreeBSD project to figure out a fix. Once this bug is fixed, then there should be no stopping someone from deploying OPNsense based on FreeBSD 12-CURRENT on an arm64 system.
#161
Great news: I've now fixed the arm64-specific code in the RTLD to work with clang/lld 3.9.1, opening the door for us to be able to investigate OPNsense on arm64.

Here's the commit: https://github.com/HardenedBSD/hardenedBSD/commit/8754ed86fff3f2f793d37fb71725630f720bbfb7

I'm working on getting this upstreamed: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214971

Within the next month or two, I'll start investigating running OPNsense on arm64 (starting with the RPI3) with HardenedBSD 12-CURRENT as the base source code.
#162
I did a two-stage update remotely (I'm at work, my OPNsense firewall is at home) successfully.

First, I updated from 16.7.10 to 16.7.11. Then I used your instructions to update from 16.7.11 to 17.1-beta.

Here is a nice screenshot: https://goo.gl/photos/rqu3ncheSFDaKigm7
#163
17.1 Legacy Series / Re: Atheros AR9280 support
November 21, 2016, 10:08:41 PM
FreeBSD overhauled the wireless stack in 11.0. With 17.1 being based on FreeBSD 11.0, additional work is planned to support wireless. Don't fret: we know about the issue. We just gotta do a little extra work to support the wireless stack overhaul.
#164
I'm helping FreeBSD a bit with the RPI3 support. In order to support the RPI3, FreeBSD first needs a working clang 3.9.0 with lld on it. I'm in the process of researching why building FreeBSD/aarch64 with clang 3.9.0 and lld breaks boot1.efi, loader.efi, and the kernel. The process behind the research is slow, especially given only a single core being enabled on the RPI3. Diane Bruce is researching enabling all four cores.

There's likely a locking issue in the aarch64-specific code in FreeBSD as the thread cache in jemalloc has to be disabled via malloc.conf in order to successfully compile and install ports-mgmt/pkg natively on the device itself. There's also an improper linking issue. Some applications, like pkg, get mislinked. I've sent out a few emails on the relevant FreeBSD mailing lists under Ed Maste's direction. I'm hoping we can get the clang 3.9.0/lld issues resolved soon.

So, it'll likely be a while before FreeBSD on the RPI3 is actually functional beyond the utilities provided in base. Naturally, it'll take downstream projects like OPNsense to follow in support.

Note that you won't get the best throughput on the Raspberry Pi devices as they're not really built for network performance. They use a USB-backed NIC. I would think something more like the Odroid-C2 would perform better. But I'm not a performance engineer, so take that with a grain of salt.

So, for now, stick with 32-bit ARM devices as 64-bit ARM support is still very much a work-in-progress.
#165
One big piece to note is that both base (the underlying operating system itself) and ports (the third-party packages, like Suricata) are all compiled as Position-Independent Executables (PIEs). That means that every application has ASLR fully applied to it.

OPNsense 16.7.7 has PIE applied to base only. PIEified ports will launch with 17.1. Really good stuff to see.

I'm hoping to land SEGVGUARD in time for 17.1. SEGVGUARD provides ASLR bruteforce protection.