OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 16.7 Legacy Series »
  • [CALL FOR TESTING] HardenedBSD's ASLR
« previous next »
  • Print
Pages: 1 [2]

Author Topic: [CALL FOR TESTING] HardenedBSD's ASLR  (Read 26568 times)

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17707
  • Karma: 1618
    • View Profile
Re: [CALL FOR TESTING] HardenedBSD's ASLR
« Reply #15 on: April 16, 2016, 05:31:02 pm »
Super. :) So to go the extra mile before releasing it to the public, there is one last ASLR test kernel based on the current kernel (16.1.9 as 16.1.10 has no new kernel):

# opnsense-update -kr 16.1.9-aslr && /usr/local/etc/rc.reboot

Report back, even if ok. Thanks everyone!!!
Logged

Solaris17

  • Full Member
  • ***
  • Posts: 118
  • Karma: 17
    • View Profile
Re: [CALL FOR TESTING] HardenedBSD's ASLR
« Reply #16 on: April 16, 2016, 08:16:26 pm »
I actually cant :/ I cant access my router VIA putty, Im certain the password for root is correct and even logged in via the GUI to change it incase it wasnt and yet I still receive Access Denied when attempting to login via SSH
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2769
  • Karma: 200
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: [CALL FOR TESTING] HardenedBSD's ASLR
« Reply #17 on: April 16, 2016, 08:54:09 pm »
Is password authentication enabled and allowed?
Logged

Solaris17

  • Full Member
  • ***
  • Posts: 118
  • Karma: 17
    • View Profile
Re: [CALL FOR TESTING] HardenedBSD's ASLR
« Reply #18 on: April 16, 2016, 09:04:11 pm »
found it, It was; but allow root login wasn't checked.
Logged

packet loss

  • Full Member
  • ***
  • Posts: 134
  • Karma: 26
    • View Profile
Re: [CALL FOR TESTING] HardenedBSD's ASLR
« Reply #19 on: April 17, 2016, 04:05:04 am »
I'm using the ASLR based kernel with OPNsense 16.1.10. I'll report back in a few days if I notice any issues.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17707
  • Karma: 1618
    • View Profile
Re: [CALL FOR TESTING] HardenedBSD's ASLR
« Reply #20 on: May 20, 2016, 08:54:39 am »
Hello everyone,

All the commits have been moved into place for the new kernel with ASLR.

There is one final testing kernel that y'all can try out and report back. It would be nice to get a note in the form of "now running amd64 ASLR" or "now running i386 ASLR" respectively so we know that when there are no more reports about issues that we can go full-speed ahead.

The kernel is identical to 16.1.14 except for the ASLR additions. You can upgrade like this:

# opnsense-update -hkr 16.1.14-aslr && /usr/local/etc/rc.reboot

(-h is new, it will register the kernel as 16.1.14 instead so it is not lost on firmware upgrades that do not update the kernel.)

FWIW, now running amd64 ASLR :)


Cheers,
Franco

PS: You can confirm ASLR using the following command...

# dmesg | grep HBSD
« Last Edit: May 20, 2016, 09:00:09 am by franco »
Logged

interfaSys

  • Full Member
  • ***
  • Posts: 165
  • Karma: 13
    • View Profile
    • interfaSys ltd
Re: [CALL FOR TESTING] HardenedBSD's ASLR
« Reply #21 on: May 20, 2016, 05:43:33 pm »
Would be great to have a branch on Github for people who compile their own kernel :)
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17707
  • Karma: 1618
    • View Profile
Re: [CALL FOR TESTING] HardenedBSD's ASLR
« Reply #22 on: May 20, 2016, 06:27:57 pm »
The commits have been on the master branch of src.git for almost two months now.

The stable branches have been adjusted yesterday to build ASLR too.

I am unsure what you are referring to?
Logged

interfaSys

  • Full Member
  • ***
  • Posts: 165
  • Karma: 13
    • View Profile
    • interfaSys ltd
Re: [CALL FOR TESTING] HardenedBSD's ASLR
« Reply #23 on: May 20, 2016, 06:33:51 pm »
Quote
The commits have been on the master branch of src.git for almost two months now.

I saw 2 commits in March, but didn't know if changes were made after that.

Quote
The stable branches have been adjusted yesterday to build ASLR too.

I built "stable/16.1" yesterday, but didn't get a kernel with ASLR. I see now that there was a new commit made after my build, so will try again :)
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17707
  • Karma: 1618
    • View Profile
Re: [CALL FOR TESTING] HardenedBSD's ASLR
« Reply #24 on: May 20, 2016, 07:14:51 pm »
There were no changes after the merge on March 28. The only thing I had to change was to move the build options out of GENERIC (that was the third commit actually).

Build errors can happen on the master branches, questions can always be asked. For master there is still a bit of work to do with ports (e.g. the impending mpd4 removal) yet some things need to be stuck in order for stable to still work in the first place. Lots of bits and bolts, but nothing that a conversation and a manual edit can't solve.

Let me know how your build goes. :)
Logged

interfaSys

  • Full Member
  • ***
  • Posts: 165
  • Karma: 13
    • View Profile
    • interfaSys ltd
Re: [CALL FOR TESTING] HardenedBSD's ASLR
« Reply #25 on: May 21, 2016, 01:13:34 pm »
Building went fine. Same warnings were shown. I didn't see any new messages.
Same when running it, same old problems, nothing new so far :)
Logged

interfaSys

  • Full Member
  • ***
  • Posts: 165
  • Karma: 13
    • View Profile
    • interfaSys ltd
Re: [CALL FOR TESTING] HardenedBSD's ASLR
« Reply #26 on: May 21, 2016, 04:48:46 pm »
Oh yeah and I can't wait for PIE :)
Logged

  • Print
Pages: 1 [2]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 16.7 Legacy Series »
  • [CALL FOR TESTING] HardenedBSD's ASLR
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2