News for hackers. Stuff that matters.
Re:SSH Backdoor found in Fortinet firewalls by godzillabrennus on Tuesday January 12, 2016 @02:52PM (#10889866)
This is why http://Pfsense.com should get even more coverage on here than it does. Chris and his team do an incredible job of creating secure open firewall software.
Re:SSH Backdoor found in Fortinet firewalls by antoncohen on Tuesday January 12, 2016 @07:40PM (#10891522)
pfSense might be fine for home or small business use, but I wouldn't recommend it for datacenter or medium/large enterprise use.

It is primarily GUI-driven, which won't cut it for automation, version control, or some auditing.

AFAIK it is still based on m0n0wall. The init scripts are written in PHP. There is (or was when I used it years ago) one big PHP script with a bunch of includes. If any part of the PHP script fails the rest may fail.

This led to a bunch of problems with packages. For example I installed the RADIUS package through the web UI, decided I didn't want it, removed the package through the web UI. Removing the RADIUS package removed something the large PHP init script was trying to include, which led to the script exiting immediately with an error.

The PHP script was also reasonable for loading the firewall rules, but it exited before loading the rules. Which resulted in a booted internet gateway with _no firewall_ (allow any).

This aspect of pfSense may have changed, so I'm not trying to hate on it, just trying to point out that it may have shortcomings for some use cases.

I've managed straight pf on OpenBSD for gateways/firewalls. pf is very nice to work with, much nicer than iptables/tc for internet gateways. But that also won't scale to large enterprises or datacenters . The amount of data is too much for OpenBSD and generic hardware, at least as for as I've seen. At one employer the largest Palo Alto Networks firewalls couldn't handle our office network traffic, they had to be replaced by firewalls from another vendor.

So it really isn't fair to compare FortiGate firewalls, some models of which can do 300+ Gbps, with 40/100 GbE ports, to a little box running pfSense.

Re:SSH Backdoor found in Fortinet firewalls by st3fan on Tuesday January 12, 2016 @08:41PM (#10891761)
> So it really isn't fair to compare FortiGate firewalls, some models of which can do 300+ Gbps, with 40/100 GbE ports

You forgot: and an ssh backdoor

Re:SSH Backdoor found in Fortinet firewalls by gonzo on Tuesday January 12, 2016 @08:03PM (#10891611)
> I wouldn't recommend it for datacenter or medium/large enterprise use.

Fortunately (for us), the large consulting firms disagree with your assessment.

Re:SSH Backdoor found in Fortinet firewalls by jlgaddis on Tuesday January 12, 2016 @04:39PM (#10890587)
I'll certainly agree that they do a pretty good job of bundling it all up and slapping a web interface on top of it... but the operating system and firewall (pf) and 95% of the software that comes with it? That's an incredible job done (mostly) by many other people.
Re:SSH Backdoor found in Fortinet firewalls by gonzo on Tuesday January 12, 2016 @05:03PM (#10890767)
While what you say is in some sense true, we also make fairly large contributions back to FreeBSD as well.

Case-in-point: AES-GCM, including AES-NI support, and support for same for IPsec.

There are other, more minor contributions, such as the new 'tryforward' code (replaces what was 'fast-forward', but doesn't break IPsec). r290383

Or r290028, where we eliminated the performance impact of IPsec (which is now on by default in -CURRENT).

I could go on to detail around 30 recent changes to FreeBSD, but I think the point is made.

In any case, it's a bit more than "bundling it all up and slapping a web interface on top of it", as you assert, but you're not the only person who thinks this way.

Your point that we leverage others work is correct.

Re:SSH Backdoor found in Fortinet firewalls by zxv on Tuesday January 12, 2016 @10:36PM (#10892184)
Kudos for the AES-GCM and AES-NI work, and for your contributions back to FreeBSD.

Best wishes for your 2.3 release and the new bootstrap based webGui!

Re:SSH Backdoor found in Fortinet firewalls by gonzo on Wednesday January 13, 2016 @04:07AM (#10893136)
Thank you!
Re:SSH Backdoor found in Fortinet firewalls by killerpopiller on Tuesday January 12, 2016 @05:34PM (#10890938)
thank you guys for you work, our pfsense is a bastion since 10 years
Re:SSH Backdoor found in Fortinet firewalls by gonzo on Tuesday January 12, 2016 @06:32PM (#10891237)
you are welcome. thanks for your support.
Re:SSH Backdoor found in Fortinet firewalls by bashtoni on Tuesday January 12, 2016 @03:18PM (#10890030)
Also OpenWRT: https://openwrt.org/
Re:SSH Backdoor found in Fortinet firewalls by xcasex on Tuesday January 12, 2016 @06:00PM (#10891076)
not as long as everything runs privileged as the superuser. running all services as root by default is bad juju.
Re:SSH Backdoor found in Fortinet firewalls by wtallis on Wednesday January 13, 2016 @12:09AM (#10892424)
That's certainly true of servers, but it's way less important for the limited set of services a router typically provides. Aside from the services that really need root because they're changing system settings, you've pretty much got just dnsmasq and hostapd out of the box. Isolating them is nice if you've got the storage space for that extra complexity, but it's not like OpenWRT is a massive attack surface with gaping holes.
Re:SSH Backdoor found in Fortinet firewalls by realkitkat on Tuesday January 12, 2016 @05:51PM (#10891030)
And what guarantees we have that when they ( or any number of other OSS vendors ) include OpenSSH into their product, it isn't some boopytrapped variant? Oh wait, it's open source, so we can go and find out? Anyone?
Re:SSH Backdoor found in Fortinet firewalls by gonzo on Tuesday January 12, 2016 @06:07PM (#10891125)
Re:SSH Backdoor found in Fortinet firewalls by ryanlol on Tuesday January 12, 2016 @11:54PM (#10892385)
Why? pfsense code quality isn't very good either, and if that's not where it defeats fortinet... then where?
Re:SSH Backdoor found in Fortinet firewalls by bcook on Wednesday January 13, 2016 @02:22AM (#10892802)
The BSD tcp/ip stack is well respected. Maybe the most respected?

What is your definition of "quality code"? (Without going in to a huge rant.)

Re:SSH Backdoor found in Fortinet firewalls by ryanlol on Wednesday January 13, 2016 @03:27AM (#10893009)
I was talking about code specific to the pfsense project, their PHP code looks like it was written in the 90s and has several greppable bugs.
Re:SSH Backdoor found in Fortinet firewalls by gonzo on Wednesday January 13, 2016 @04:12AM (#10893149)
a) I hope you're looking at 2.3. I agree than the PHP in previous versions was abhorrent. Going forward, the plan is to eliminate the PHP.

b) if you're serious about greppable bugs, please open bug reports (redmine.pfsense.org) or, failing that, email me with a description. (jim-at-pfsense-dot-org)

Re:SSH Backdoor found in Fortinet firewalls by vex on Tuesday January 12, 2016 @05:12PM (#10890809)
Their software is good, but their hardware? Awful. PFsense doesn't know how to do reliable hardware at all.
Re:SSH Backdoor found in Fortinet firewalls by dgacmu on Tuesday January 12, 2016 @09:32PM (#10891980)
I'm surprised at this - I run four pfSense boxen; my two homebrew ones on repurposed old machines have both died on me at least once, and the two running on purchased pfSense hardware are still up & running. Anecdote != data and all that, but I'd buy their hardware again if I didn't have a large stack of machines I can reuse for "free." (ahem. free does not count my time or that of my students, but sometimes it's fun to admin things a little.)
Re:SSH Backdoor found in Fortinet firewalls by alsetmusic on Tuesday January 12, 2016 @06:09PM (#10891133)
I own the SG-4860 and it's been solid for about eight months. It's the first hardware I've purchased from them and I have no regrets.

https://www.pfsense.org/products/product-family.html

Re:SSH Backdoor found in Fortinet firewalls by snuxoll on Tuesday January 12, 2016 @06:58PM (#10891351)
Do you have any experience with the lower end SG-2220? I'm looking at replacing the Aspire Revo AR1600 I've hacked into a firewall at my aunt's shop running Sophos UTM with something that doesn't require a USB NIC, it looks like a pretty good value at the price.
Re:SSH Backdoor found in Fortinet firewalls by gonzo on Tuesday January 12, 2016 @06:32PM (#10891232)
Thanks. It's what I run at home.
Re:SSH Backdoor found in Fortinet firewalls by gonzo on Tuesday January 12, 2016 @05:30PM (#10890903)
Do you have specific points here?
Re:SSH Backdoor found in Fortinet firewalls by d3c4f on Tuesday January 12, 2016 @05:47PM (#10891004)
Check out https://opnsense.org/ It's a more modern fork of PFSense with a better community behind it.
Re:SSH Backdoor found in Fortinet firewalls by sjwright on Tuesday January 12, 2016 @06:42PM (#10891272)
Are you a sockpuppet? Routers are not a toy to be dicked around with by amateurs and called "modern". Opnsense is a bad fork which focuses on dubious UI tweaks at the expense of testing and validation. As far as I can tell its raison d'être is marketing and spite.

http://m0n0.ch/wall/list/showmsg.php?id=376/07

https://www.google.com/search?q=pfsense+vs+opnsense

Re:SSH Backdoor found in Fortinet firewalls by dang on Wednesday January 13, 2016 @03:10PM (#10897099)
> Are you a sockpuppet?

Accusations of astroturfing, sockpuppetry, and shillage are not allowed in HN arguments unless you have evidence. Someone disagreeing with your view doesn't count as evidence. So please don't do this here.

If you want to understand our thinking on this, I've posted about it many times, e.g. https://news.ycombinator.com/item?id=9277068 and the links back from there.

Re:SSH Backdoor found in Fortinet firewalls by sjwright on Sunday January 17, 2016 @08:14PM (#10921975)
Thanks for the robo-call quality advice.
Re:SSH Backdoor found in Fortinet firewalls by mulander on Tuesday January 12, 2016 @03:04PM (#10889950)
Re:SSH Backdoor found in Fortinet firewalls by htilonom on Tuesday January 12, 2016 @04:31PM (#10890545)
Yes, they do awesome job. Check reddit.com/r/pfsense or check forum.pfsense.org or check their contributions to FreeBSD (both $$$ and code). Don't just link some random stupid thread from trolls.
Re:SSH Backdoor found in Fortinet firewalls by tptacek on Tuesday January 12, 2016 @04:20PM (#10890490)
Tedious drama.
Re:SSH Backdoor found in Fortinet firewalls by gonzo on Tuesday January 12, 2016 @04:30PM (#10890541)
agreed