News for hackers. Stuff that matters.
Re:Ask HN: Is Public WiFi Dangerous? by goodpoint on Friday March 18, 2022 @02:15PM (#30725637)
WireGuard is much much more secure than algo. Stay away from IPSEC: it's a very complex protocol and implementations have vulnerabilities as a consequence.
Re:Ask HN: Is Public WiFi Dangerous? by vetinari on Friday March 18, 2022 @03:24PM (#30726418)
While there are many footguns in the ipsec, if you have set ip up, you can have better performance with ipsec than with wireguard.

Many devices include ipsec hardware acceleration, while wireguard ciphers are purely in software. With your typical Ubiquiti or Mikrotik device you can have much more performant connection encrypted with aes+sha than with chacha+poly.

Re:Ask HN: Is Public WiFi Dangerous? by goodpoint on Monday March 21, 2022 @06:00AM (#30752196)
> Many devices include ipsec hardware acceleration,

This led to serious vulnerabilities and backdoors.

> while wireguard ciphers are purely in software

This is a feature, not a bug. It's quite difficult to trust commercial routers.

> you can have better performance with ipsec than with wireguard

Citation needed. Modern CPUs are very cost-efficient at this.

Re:Ask HN: Is Public WiFi Dangerous? by vetinari on Tuesday March 22, 2022 @05:26AM (#30764166)
> This led to serious vulnerabilities and backdoors.

This is a matter of implementation; not whether the implementation is in hw or sw. Do you have any examples, where there was a such issue for example in Cavium Octeon (used by Ubiquiti in their USG routers), Qualcomm IPQ-xxx or Marvel Armada SOCs (used by multitude of other vendors)?

> This is a feature, not a bug. It's quite difficult to trust commercial routers.

It is difficult to trust many routers; even if they are open source, their maintenance might be not exactly transparent.

> Citation needed. Modern CPUs are very cost-efficient at this.

Typical routers do not have desktop or server class modern CPU. They run on 700-1400 Mhz, and they are busy with things like firewall rules (why do you thing that Fasttrack on Mikrotiks exists?) or, when a beefier CPU is available, with BGP. You can test it for yourself and see, that with hw accelerated AES and SHA you can saturate your available bandwidth and with Wireguard you can saturate only a fraction (unless you have low enough bandwidth...).

Re:Ask HN: Is Public WiFi Dangerous? by 7ewis on Friday March 18, 2022 @02:29PM (#30725777)
algo offer WireGuard too.
Re:Ask HN: Is Public WiFi Dangerous? by goodpoint on Sunday March 20, 2022 @03:13PM (#30745639)
You don't need ansible at all to configure WireGuard