News for hackers. Stuff that matters.
Re:Ubiquiti all but confirms breach response iniquity by xvector on Sunday April 04, 2021 @05:21PM (#26692966)
Ubiquiti has lost my business. And with the recent issues with Netgate/PfSense [1], it looks like OpnSense is the way to go.

[1]: https://arstechnica.com/gadgets/2021/03/buffer-overruns-lice...

Re:Ubiquiti all but confirms breach response iniquity by de6u99er on Sunday April 04, 2021 @07:59PM (#26693927)
This reads like a horror story, but reminds me of a guy my boss hired once against my objections.
Re:Ubiquiti all but confirms breach response iniquity by tediousdemise on Sunday April 04, 2021 @08:09PM (#26694000)
Indeed. Even more terrifying is using an unsafe language like C rather than Rust or C++ for systems development. shudders
Re:Ubiquiti all but confirms breach response iniquity by bogwog on Sunday April 04, 2021 @10:57PM (#26694861)
C++? Safe??
Re:Ubiquiti all but confirms breach response iniquity by tediousdemise on Monday April 05, 2021 @07:53AM (#26697840)
Smart pointers? Automatic memory management?
Re:Ubiquiti all but confirms breach response iniquity by UncleMeat on Monday April 05, 2021 @08:29AM (#26698099)
They help a little. But there are so many more ways of introducing vulns to C++ programs than just double frees and use-after-free. Replacing all your pointers with shared_ptr won't give you a safe program. Not even close.
Re:Ubiquiti all but confirms breach response iniquity by jessebarton on Sunday April 04, 2021 @05:33PM (#26693037)
why would you not just run OpenBSD with PF.
Re:Ubiquiti all but confirms breach response iniquity by posguy on Sunday April 04, 2021 @05:41PM (#26693078)
Does OpenBSD with PF have a nice web interface to administrate the firewall, DHCP server, WLANs, etc from?
Re:Ubiquiti all but confirms breach response iniquity by hyperpl on Sunday April 04, 2021 @06:18PM (#26693323)
I switched from pfsense + Ubiquiti to OpenBSD + Ruckus and couldn't be happier. While the web UIs were cool for a day, with the command line I feel as though I understand exactly what I have setup a bit better. Ruckus UI is also much more friendly than Ubiquiti's - I had to actually install mongo db + VM/dock just to configure my Ubiquiti WAP? Seriously?

I just wish I had completely deleted my Ubiquiti account when I sold my WAP.

Re:Ubiquiti all but confirms breach response iniquity by ridiculous_fish on Sunday April 04, 2021 @06:59PM (#26693580)
What hardware are you using?
Re:Ubiquiti all but confirms breach response iniquity by apple4ever on Sunday April 04, 2021 @08:05PM (#26693967)
What Ruckus gear are you running? Last I looked it was pretty expensive.
Re:Ubiquiti all but confirms breach response iniquity by amluto on Sunday April 04, 2021 @09:34PM (#26694471)
eBay. The secondary market for high-end network switches is excellent if you’re a buyer.
Re:Ubiquiti all but confirms breach response iniquity by apple4ever on Monday April 05, 2021 @01:18AM (#26695589)
Ya I did some research and it's not bad at all. And ruckus is pretty good with their firmware options.

In fact I'm buying two new R710s to replace my very old UAC AP Pros. Was going to get the new AP 6 LR but after UIs current woes (and them dropping support for my APs way too early) I'm done with them.

Re:Ubiquiti all but confirms breach response iniquity by wcfields on Monday April 05, 2021 @09:43AM (#26698837)
I ran into issues with firmware on a ZoneDirector 1200 and some R610's that were out of support contract. Totally functional and all, but couldn't bring them current.

Though, After using Ruckus in Corp/Enterprise they've sold me on how capable their APs are, it's real deal high density stuff.

Re:Ubiquiti all but confirms breach response iniquity by bpye on Sunday April 04, 2021 @05:56PM (#26693182)
Why should I choose OpenBSD over FreeBSD or even Linux with nftables?
Re:Ubiquiti all but confirms breach response iniquity by dijit on Sunday April 04, 2021 @06:14PM (#26693295)
If you’re really asking, and not making a point;

PF is created and primarily maintained by OpenBSD

OpenBSD’s base system (without extra packages) includes PF and has a focus on security.

PF in freebsd is several major versions old.

nftables (like iptables before it) is rule based and not bucket based. So high numbers of rules will not affect pf’s performance like it does with nftables.

But, for home users, probably not noticeable. Though I prefer the syntax of PF personally.

Re:Ubiquiti all but confirms breach response iniquity by hyperpl on Sunday April 04, 2021 @06:21PM (#26693345)
Wireguard has also been stable on OpenBSD which helped me with my throughput on my apu2d router hardware.
Re:Ubiquiti all but confirms breach response iniquity by fuzzy2 on Sunday April 04, 2021 @06:27PM (#26693375)
Could you expand on what you mean by "bucket based"? Maybe the so-called "tables"? They sound pretty identical to ipset on Linux.
Re:Ubiquiti all but confirms breach response iniquity by dijit on Sunday April 04, 2021 @06:53PM (#26693543)
Here's how a packet flows through netfilter[0], and here's how it flows through pf[1].

[0]: https://upload.wikimedia.org/wikipedia/commons/3/37/Netfilte...

[1]: http://mailing.openbsd.misc.narkive.com/jtIB9W3w/pf-packet-f...

Re:Ubiquiti all but confirms breach response iniquity by ta20210405 on Monday April 05, 2021 @03:30AM (#26696249)
>nftables (like iptables before it) is rule based and not bucket based.

What does this even mean? Do you have any documentation to explain?

>So high numbers of rules will not affect pf’s performance like it does with nftables.

This is wrong. From OpenBSD documentation:

"More lines being evaluated for each packet will result in slower performance."

[0]https://www.openbsd.org/faq/pf/perf.html

It's not 2001 any more. Nftables and Linux have left the BSDs in the dust.

Re:Ubiquiti all but confirms breach response iniquity by dijit on Monday April 05, 2021 @05:31AM (#26696952)
The key is “for each packet”, because it’s bucket based it will entirely skip evaluation for packets that do not match. This is due to how the rule set is compiled, but I can see how it could be confusing if you’re used to iptables and only think in those terms.

I posted the architectural diagrams of both in another comment on this thread yesterday, I think you missed that.

Re:Ubiquiti all but confirms breach response iniquity by ta20210405 on Monday April 05, 2021 @07:20AM (#26697603)
>The key is “for each packet”, because it’s bucket based it will entirely skip evaluation for packets that do not match.

That is how it works in nftables.

>but I can see how it could be confusing if you’re used to iptables and only think in those terms.

Considering you're misunderstanding some basics about nftables and iptables here, I think you need to look in the mirror.

>I posted the architectural diagrams of both in another comment on this thread yesterday, I think you missed that.

I saw, and it only reenforced the fact that that's how nftables works. Hilariously enough, the OpenBSD webpage crashed and wouldn't load, giving various 500 and 42X errors.

Re:Ubiquiti all but confirms breach response iniquity by ta20210405 on Tuesday April 06, 2021 @12:35PM (#26713975)
Here is an article that covers performance between Linux and FreeBSD, and it leaves BSD in the dust: https://matteocroce.medium.com/linux-and-freebsd-networking-...

Also, it specifically outlined how more rules slow down of on FreeBSD, and how poor multicore support is on pf.