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
1

I think I'm prepared to tempt Murphy and call my #FreeBSD vnet jail renovation a huge success. It uses the new FreeBSD-15+ vlan-aware bridge system. It is simpler, MUCH faster to start, and so far: reliable + robust. I am really liking the bridge/vlan overhaul.

Background: Long ago, I overdid my home network vlan setup with 16 vlans. The servers have trunked ports. My jail hosts have vnet jails that exist in one or more of several vlans.

Originally, I'd create vlan interfaces and attach to the trunked ethernet port. Then one bridge per vlan. And the jail epairs would be attached to the appropriate bridge. Management was error prone. The structure was jail epairs <-> vlan100bridge <-> host vlan100 -> ethernet. The host vlan100 had the ethernet as a parent and was added as a member to the bridge.

Later on I switched to SR-IOV VFs by giving each vnet jail its own VF. This was fragile to put it mildly. A parallel jail start was practically guaranteed to cause several VFs to brick and require a restart. Slow sequential starts with lots of sleeps mostly avoided this. It still broke occasionally at runtime when the driver and/or firmware would break. I've given up on this.

Now: I'm using the new vlan-aware bridge system. It now has jail epairs <-> bridge0 <-> ethernet. The ethernet is a member of the bridge. The vlan interfaces for the host have the bridge as a parent device, not a member. Tag encapsulation, access control etc is now a first class function of bridge0. There's one single bridge for the switching domain instead of one bridge per vlan.

I like it!
0
1
0
0
0
0
0

ๆœ€่ฟ‘ๅ…ถๅฏฆๆœ‰ๅœจ็ ”็ฉถๆณฐๅœ‹๏ผŒๅ‰›็œ‹ๅˆฐ้€™ๅ€‹่‡ชๅช’้ซ”๏ผŒๆ„Ÿ่ฆบๅฅฝ้…ท
facebook.com/visionthai

ๆƒณ่ชชๆˆ‘ไพ†ๅผ„ไธ€ๅ€‹ๅฐๅฐผ็”Ÿๆดปๆ—…้Š็š„ไธญๆ–‡ๅช’้ซ”๏ผŒๅ…งๅฎนๅ…จ้ƒจไพ†่‡ชๅ‰ฝ็ซŠ่‹ฑๆ–‡ๅช’้ซ”ๅŠ ไธŠๆฉŸ็ฟป๏ผŒๅฅฝๅƒๆœ‰้ปžๆž้ ญ XD?

0
0
0
0
0
0
0

ใ‚‚ใตใ‚‚ใตChikoใกใ‚ƒใ‚“๐Ÿ’–๐ŸŒ™โ›ฉ๏ธ

๐ŸŒธSkebใƒชใ‚ฏใ‚จใ‚นใƒˆใ‚ใ‚ŠใŒใจใ†ใ”ใ–ใ„ใพใ—ใŸ๐ŸŒธ

0
0
0
0
0
0
1
0
1

Despite living in Sweden for 13 years, I still find it extremely funny that many people here go on vacation outside the country during the few months where it's basically perfect (or at least, high chance of) weather.

There are literally 4 different renovations going on in my building right now. The ones using hammers start at 7.

0
0
0
0
0
0

This should be obvious, but just in case it isn't, the loneliness epidemic is highly advantageous to the rich and powerful. The less of a social security net we have, the easier it is to divide and conquer us. This is also why they hate unions with a passion.

And if they can make money by giving us AI "friends" to "solve" this epidemic, even better, especially as it'll make us even more dependent on things that they directly control.

0
0
1

macไธŠใฎEmacsใŒใชใ‚“ใ‹tree-sitterใง่ฝใกใ‚‹ใ‚ˆใ†ใซใชใฃใฆ๏ผˆใ“ใ‚Œ็ขบใ‹Emacs 30่ฉฆใ—ใŸๆ™‚ใซใชใฃใŸใ‚“ใ ใ‘ใฉใ€29ใงใ‚‚็™บ็”Ÿใ™ใ‚‹โ€ฆ๏ผ‰ใ€brewใงๅ…ฅใ‚ŒใฆใŸใฎใงไธ€ๅบฆuninstallใ—ใฆinstallใ—ใชใŠใ—ใŸใ‚‰ใชใœใ‹ใƒ•ใ‚ฉใƒณใƒˆใฎ่กจ็คบใŒๅค‰ใ‚ใ‚Šใ€ๆฌงๆ–‡ใฏ่กŒ้–“ใŒใคใพใ‚Šๅ’Œๆ–‡ใŒๅบƒใŒใฃใฆใ—ใฐใ‚‰ใๅ››่‹ฆๅ…ซ่‹ฆใ—ใฆใ„ใŸใ‘ใฉ

* ใ“ใ‚ŒใพใงใฎSource Code Pro ExtraLight + ใƒ’ใƒฉใ‚ฎใƒŽ่ง’ใ‚ดใ‚’ใ‚„ใ‚ใฆใ€Source Han Code JPใ ใ‘ใซๅค‰ๆ›ด
* ใใ‚Œใ ใจ่กŒ้–“ใŒใ‚ใกใ‚ƒใฟใฃใ—ใ‚Šใชใฎใงใ€line-spacingใ‚’0.35ใซ่จญๅฎš

ใฃใฆใ“ใ‚Œใ ใ‘ใ‚„ใ‚‹ใฎใซ2ๆ™‚้–“ใใ‚‰ใ„ใ‹ใ‹ใฃใŸโ€ฆEmacsใฎใƒ•ใ‚ฉใƒณใƒˆ่จญๅฎšใ€ๆ˜”ใ‚ˆใ‚Šใฏใƒžใ‚ทใ ใ‘ใฉๆฒผใ€‚ใ“ใ“10ๅนด่ฟ‘ใใ„ใ˜ใฃใฆใชใ‹ใฃใŸใฎใ ใŒ

ใ‚ใจๆ˜”ใ‚ˆใ‚Š่‰ฏใ„ใฎใฏSource Han Code JPใฟใŸใ„ใชๅ’Œๆ–‡ใจใƒ—ใƒญใ‚ฐใƒฉใƒŸใƒณใ‚ฐๅ‘ใ‘ๆฌงๆ–‡ใŒใ‚ปใƒƒใƒˆใฎใƒ•ใ‚ฉใƒณใƒˆใŒๅ‰ฒใจใ‚ใ‚‹ใ“ใจใ€‚ใ“ใ‚Œใ ใจๆททๆคใฎ่จญๅฎšใƒใƒฅใƒผใƒ‹ใƒณใ‚ฐๆฒผใ‹ใ‚‰้€ƒใ‚Œใ‚‰ใ‚Œใ‚‹

0
0

12๋…„ ์ „ ๊ทธ๋„ ํƒœ์•ˆ์˜ ๋ฐ”๋‹ค์— ์žˆ์—ˆ์Šต๋‹ˆ๋‹ค. ์—ด์—ฌ๋Ÿ์˜ ์—ฌ๋ฆ„, ์‹œ๊บผ๋จผ ๋ฐ”๋‹ค์—์„œ ์นœ๊ตฌ ๋‹ค์„ฏ์„ ์žƒ์—ˆ์Šต๋‹ˆ๋‹ค. ์‚ถ๊ณผ ์ฃฝ์Œ์˜ ๊ฒฝ๊ณ„์—์„œ ์‚ด์•„ ๋Œ์•„์˜จ ์†Œ๋…„์—๊ฒŒ ๊ทธ๋‚ ์˜ ๊ธฐ์–ต์€ ๊ฐ€ํ˜นํ•œ ๊ฒƒ์ด์—ˆ์Šต๋‹ˆ๋‹ค. ์„œ๋ฅธ์‚ด์˜ ์ฒญ๋…„์ด ๋œ ์ง€๊ธˆ๊นŒ์ง€๋„ ๊ทธ ๊ณ ํ†ต์€ ๋ฌธ๋“ โ€œ๋ถ„๋…ธ์™€ ์Šฌํ””โ€์œผ๋กœ ๋•Œ๋ก  โ€œ๊ณตํ—ˆํ•จ๊ณผ ๋ฌด๋ ฅ๊ฐโ€์œผ๋กœ ๊ทธ์˜ ๊ณ์„ ๋งด๋Œ๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค.

ํ•ด๋ณ‘๋Œ€์บ ํ”„ ์ฐธ์‚ฌ 12์ฃผ๊ธฐโ€ฆ30์‚ด ๋œ ์นœ๊ตฌ๋Š” ์˜ค๋Š˜๋„ ๊ทธ ...

0
1
0
0
0
0
0
1

ใ‚„ใฃใฑใ‚Šไบฌ้ƒฝ้ง…ใฎๅˆ‡ใ‚Š็ตตใ€‚ๆŽ›ใ‘ใŸๆ‰‹้–“ใฎๅˆ†ใ€ๆ„›็€ใŒใ‚ใ‚‹ใ€‚

1

[๋‹จ๋…] SGI์„œ์šธ๋ณด์ฆ ๋žœ์„ฌ์›จ์–ด, ๊ธˆ์œต๋ณด์•ˆ์›์ด ํ’€์—ˆ๋‹ค... โ€˜๋ชธ๊ฐ’โ€™ ์—†์ด ์„œ๋น„์Šค ์žฌ๊ฐœ ์ž…๋ ฅ : 2025-07-18 16:2 ๊ธˆ์œต๋ณด์•ˆ์›์—์„œ ๋ณตํ˜ธํ™” ํ‚ค ์ถ”์ถœ...ํ˜‘์ƒ ์—†์ด ํ•ด๊ฒฐ ์•…์„ฑ์ฝ”๋“œ ๊ฒฐํ•จ ์ด์šฉํ•ด ํ•ด๊ฒฐ ์‹ค๋งˆ๋ฆฌ ํฌ์ฐฉ...์œค๋ฆฌ์  ๋…ผ๋ž€๋„ ํ”ผํ•ด www.boannews.com/media/view.a...

[๋‹จ๋…] SGI์„œ์šธ๋ณด์ฆ ๋žœ์„ฌ์›จ์–ด, ๊ธˆ์œต๋ณด์•ˆ์›์ด ํ’€์—ˆ๋‹ค....

0
2
1
1
1