Netgate SG-1000 microFirewall

Author Topic: Where is the pfSense 2.4.x FreeBSD OS source code  (Read 2132 times)

0 Members and 1 Guest are viewing this topic.

Offline doktornotor

  • Hero Member
  • *****
  • Posts: 8553
  • Karma: +956/-278
  • Not a pfSense employee, they cannot fire me...
    • View Profile
Where is the pfSense 2.4.x FreeBSD OS source code
« on: October 25, 2017, 02:59:25 am »
I'm seriously disappointed that this topic needs to be revived once again.

Reference:
- https://forum.pfsense.org/index.php?topic=137636.0
- https://forum.pfsense.org/index.php?topic=137940.msg755071#msg755071

P.S. Please leave the "Franco's waterboy" out of this thread. I've contributed 0 lines of code to OPNsense, I'm not on their forum and I've refused to join them after the fork. Per GitHub, I've contributed 1,545 commits to pfsense-packages, 211 commits to pfsense/pfsense and 527 commits to pfsense/FreeBSD-ports


I simply cannot keep recommending/implementing open-source solutions that are no longer open-source. And you cannot keep advertising something as open-source when it isn't.

Do NOT PM for help!

Offline PiBa

  • Hero Member
  • *****
  • Posts: 780
  • Karma: +128/-1
  • PiBa-NL(on IRC)
    • View Profile
Re: Where is the pfSense 2.4.x FreeBSD OS source code
« Reply #1 on: October 25, 2017, 02:08:18 pm »
Well i'm not sure if your 10 minute timeframe is realistic.. (yes i have build 2.4dev in the past..) But even if so, you will be building a 2.4beta including bugs solved months ago..

Offline kejianshi

  • Hero Member
  • *****
  • Posts: 4948
  • Karma: +195/-40
  • Debugging...
    • View Profile
Re: Where is the pfSense 2.4.x FreeBSD OS source code
« Reply #2 on: October 25, 2017, 03:17:06 pm »
Wasn't there a "How to compile pfsense yourself" how-to here 10 minutes ago?

Offline KOM

  • Hero Member
  • *****
  • Posts: 5402
  • Karma: +671/-19
    • View Profile
Re: Where is the pfSense 2.4.x FreeBSD OS source code
« Reply #3 on: October 25, 2017, 03:19:05 pm »
Yep, and it got nuked by the author or management.

Offline kejianshi

  • Hero Member
  • *****
  • Posts: 4948
  • Karma: +195/-40
  • Debugging...
    • View Profile
Re: Where is the pfSense 2.4.x FreeBSD OS source code
« Reply #4 on: October 25, 2017, 03:22:37 pm »
Thats too bad.  I can't speak to the accuracy of it, but it looked like a worth-while comment.

Offline PiBa

  • Hero Member
  • *****
  • Posts: 780
  • Karma: +128/-1
  • PiBa-NL(on IRC)
    • View Profile
Re: Where is the pfSense 2.4.x FreeBSD OS source code
« Reply #5 on: October 25, 2017, 03:31:59 pm »
Probably it is not allowed to advise people to change the
Code: [Select]
AUTHORIZED BY NETGATE variable on the forum.. as people trying this at home would not obviously not be authorized.

Offline kejianshi

  • Hero Member
  • *****
  • Posts: 4948
  • Karma: +195/-40
  • Debugging...
    • View Profile
Re: Where is the pfSense 2.4.x FreeBSD OS source code
« Reply #6 on: October 25, 2017, 03:36:26 pm »
Very odd.  I'm pretty sure thats how pfsense was born. 

Offline PiBa

  • Hero Member
  • *****
  • Posts: 780
  • Karma: +128/-1
  • PiBa-NL(on IRC)
    • View Profile
Re: Where is the pfSense 2.4.x FreeBSD OS source code
« Reply #7 on: October 25, 2017, 03:56:37 pm »
Having the pfSense copyright discussion of a while ago in mind its not that odd.. you may not build something yourself (without intended modifications) and call it pfSense. You should be able to compile it with the name MySense YourSense or something.. DoesThatMakeSense ? :) the 'authorized' variable skips the checks that the name must be changed.. If you do change the name then you can make your own fork and compile it if desired.. with a different name. So something new can still be 'born'/forked or thats the idea at least.. (if i didn't misinterpret anything..) Anyhow recent sources/patches are missing..

Offline kejianshi

  • Hero Member
  • *****
  • Posts: 4948
  • Karma: +195/-40
  • Debugging...
    • View Profile
Re: Where is the pfSense 2.4.x FreeBSD OS source code
« Reply #8 on: October 25, 2017, 04:02:36 pm »
I could perhaps see an issue with someone making an evil compromised version of pfsense and passing it off as pfsense.

Name change wouldn't bother me. 


Offline doktornotor

  • Hero Member
  • *****
  • Posts: 8553
  • Karma: +956/-278
  • Not a pfSense employee, they cannot fire me...
    • View Profile
Re: Where is the pfSense 2.4.x FreeBSD OS source code
« Reply #9 on: October 25, 2017, 04:25:39 pm »
Well i'm not sure if your 10 minute timeframe is realistic.. (yes i have build 2.4dev in the past..) But even if so, you will be building a 2.4beta including bugs solved months ago..

Perhaps it somehow works for someone when the moon phase is right (plus some drops of virgin blood added). The scripts are a deliberate sabotage of that effort, though. The docs vanished ages ago and - as you noted - in the end you end up with outdated, broken system.

I'm not even interested in rebuilding pfSense as such ATM. I was merely trying to fix kernel panics with LAGG in NAS4Free. Hopeless, because I cannot get the damned patches which I know for fact that are being used here. Top secret open-source. Sigh.
Do NOT PM for help!

Offline jwt

  • Administrator
  • Sr. Member
  • *****
  • Posts: 344
  • Karma: +101/-31
    • View Profile
Re: Where is the pfSense 2.4.x FreeBSD OS source code
« Reply #10 on: October 25, 2017, 05:20:58 pm »
I've asked that the thread be unlocked.

to address the topics presented by 'doktornotor' (does anyone want to hazard a guess as to how much I enjoy responding to anonymous posters to the forum?):

the documentation was removed (It did not "disappear") because it was no longer accurate.

As the patches to FreeBSD are matured to a state where they can be upstreamed to FreeBSD, we will do so.
« Last Edit: October 25, 2017, 05:31:04 pm by jwt »

Offline kejianshi

  • Hero Member
  • *****
  • Posts: 4948
  • Karma: +195/-40
  • Debugging...
    • View Profile
Re: Where is the pfSense 2.4.x FreeBSD OS source code
« Reply #11 on: October 25, 2017, 05:39:47 pm »
Thanks JWT.  (Is that your real name?)
Kidding.

It would be nice to know how to create from source an image.  Is there a good how-to anywhere?

Offline doktornotor

  • Hero Member
  • *****
  • Posts: 8553
  • Karma: +956/-278
  • Not a pfSense employee, they cannot fire me...
    • View Profile
Re: Where is the pfSense 2.4.x FreeBSD OS source code
« Reply #12 on: October 25, 2017, 05:45:47 pm »
As the patches to FreeBSD are matured to a state where they can be upstreamed to FreeBSD, we will do so.

@gonzo: Not exactly the answer I was hoping for. Not only it doesn't help with my LAGG issue, but much more importantly - a product that cannot be rebuilt from available source code is not exactly something that'd fit the definition of open source. There are tons of close source firewalls/routers out there, that's not what pfSense users are looking for, obviously, otherwise they'd just use them.
Do NOT PM for help!

Offline jwt

  • Administrator
  • Sr. Member
  • *****
  • Posts: 344
  • Karma: +101/-31
    • View Profile
Re: Where is the pfSense 2.4.x FreeBSD OS source code
« Reply #13 on: October 25, 2017, 05:56:42 pm »

a) we're not convinced that the LAGG issue is correctly fixed yet.

b) you could always write me directly and ask for that patch.  have you done so?  If you have, I can't find it.  Engaging in this kind of cajoling and hyperbole on the forum is exactly how you drive me to ignoring you (all).

If the only value you ascribe to pfSense software is that it is open source, that none of the development, integration, Q&A and having a company solidly behind the project are of no value to you, then I suggest that you fork the project and find like-minded people to work on it with you.

We are, literally, investing millions of dollars in pfSense software and giving the result away to the community for their use.  The only restriction is that commercial distribution is not allowed.  This is because it is how we fund the development.  Without the revenue associated with hardware sales, pfSense would not be developed at the rate the community has enjoyed for the past half decade.

It's like you're asking for that to stop.

Offline doktornotor

  • Hero Member
  • *****
  • Posts: 8553
  • Karma: +956/-278
  • Not a pfSense employee, they cannot fire me...
    • View Profile
Re: Where is the pfSense 2.4.x FreeBSD OS source code
« Reply #14 on: October 25, 2017, 06:14:32 pm »
Why would I be forking the project (doesn't make a particular sense when there already is a fork out there, plus why'd I use buggy half-year out-of-date code for that)? And why should I be writing to someone to get access to source code for a project that advertises itself an open source, with repos on GitHub? Kinda absurd, no?

Forget the LAGG example, it's a matter of principle. People are using open source so that they avoid the vendor lock-in, so yeah, that's the exact opposite of where you are heading apparently. They want to able to fix the product themselves, or get it fixed by a third-party of their choice, or have it adapted/enhanced according to their needs, and they believe than access to the source code is an essential part of security (e.g., verify that bugs/vulnerabilities have been fixed properly in the source code). Heck, they want to avoid situations when a company goes out of business and they are left with expensive hardware that's unfixable.
Do NOT PM for help!