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
1
0
0
0

雖然我也知道自己身為香港人,從小就有機會住在公屋本身是一件很幸運的事
但跟人說在公屋住真的要麼惹來別人說「死窮鬼」,要麼就是「吃政府資源」的,不說還以為我是什麼騙政府錢的腥香港人一樣 :sacabambaspis_coerce:

各有各住不好嗎,非要吵架或者歧視真是煩死人了

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

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