What is Hackers' Pub?

Hackers' Pub is a place for software engineers to share their knowledge and experience with each other. It's also an ActivityPub-enabled social network, so you can follow your favorite hackers in the fediverse and get their latest posts in your feed.

0
0
2

I just discovered something really subtle about WireGuard... TL;DR if you are adjusting interface MTUs precisely, and you have mismatched MTUs between peers in some cases, make sure your smallest MTU is always a multiple of 16!

WireGuard header overhead is said to be 32 bytes + UDP + IP, so 80 bytes for IPv6 and 60 bytes for IPv4. That's where you get the default MTU of 1420 (1500 - 80, so it works with IPv6).

But that's not precisely true! Actually, WireGuard will add up to 15 bytes of padding to the data, to make it a multiple of 16, as long as it doesn't exceed the MTU on that side of the connection.

So let's say you have a server with the MTU set at 1440, but you also have a client that is using IPv4 over PPPoE. So you set its MTU to 1432, subtracting the PPPoE overhead of 8 bytes. That should be fine, since the client will figure out the right path MTU for any connections, right?

Wrong!

The TCP client and server will negotiate an MSS that gives 1432 byte IP packets within the tunnel. But 1432 is not a multiple of 16! However, the client WireGuard instance knows that there is no headroom, so it will send 1432 + 60 = 1492 byte packets, which is the maximum PPPoE MTU. But on the way back, the server thinks it can go up to 1440! 1432 % 16 == 8, so it will try to round up to 1440. Then, it sends 1500 byte packets, which don't fit in PPPoE!

The fix is to either set both the client and server MTU to 1432, or to round down the client MTU to 1424.

0

Commodore OS 3.0がリリースされた。というかMX Linuxのフォークでただの なんですけど。Commodore64xというCommodore64の筐体に入ったPCを販売している会社があって、それ向けに作ったものらしい。配布サイズが35GBってディスクイメージなのか?

Commodore OS Vision: commodoreos.net/CommodoreOS.as

0
1
1
0
0
0

>神田氏は配偶者や自分も発達障害傾向が見られ、娘もギフテッドであるということをネット上で語っているのだが、この中の誰も医師の診断を受けていない。発達障害の人に見られる傾向というのは定型の人にも見られることがあるもので、それがあるからといって発達障害であると医師でないものが診断できるものではなく、自己診断で発達障害であると思っていた人が実際に診断を受けると違っていたということも普通にあるのである
https://bunkaonline.jp/archives/6779

0
3
0
0
0
0
0
0
3
0
3
0
0
0
2
0
0
0
0
1
0
0
0
1
0
1
1
0
0

As a regular critic of the "decentralized" baloney, been trying not to pile on as yesterday's near total outage makes it clear that it is not, however there is one aspect of the reporting that is confounding.

Supposedly, the outage was due to a DDOS attack on the company's PDSs, and the few users running their own PDSs were not affected. (techcrunch.com/2025/04/24/wait). Does this make any sense?

1/

Apparently has one centralized service, the "relay", which did not go down, but it has distributed its users across multiple PDSs (and users can roll their own PDS). The idea is that any individual PDS can go down and so long as the relay keeps working all the other users are OK.

But, ALL of the company's PDSs went down. 🤔

We are being told that a DDOS attack targeted ALL of 's PDSs and they all went down simultaneously. Suppose this is possible, but it does seem odd.

0
0
0
0
1
0
0
0
0
0
0
1
0