Repository navigation
fix(linux): enforce com.docker.network.bridge.enable_icc=false - #1000
Draft
Panahifarah wants to merge 157 commits into
Draft
Panahifarah wants to merge 157 commits into
Panahifarah wants to merge 157 commits into
Conversation
…lied (libracoder#378) Co-authored-by: sundarshahi <shahithakurisundar@gmail.com>
…sting cannot drop the VM (libracoder#463) Co-authored-by: Đoàn Phương Nam <120766900+DPhngNam@users.noreply.github.com>
Co-authored-by: Jonnyan404 <jonnyan404@users.noreply.github.com>
…ebus-emulator unpacks (libracoder#618) Co-authored-by: Masih Moloodian <masihmoloodian@gmail.com>
…ocker does (libracoder#594) Co-authored-by: Randy Fay <randy@randyfay.com>
…ces (libracoder#420) Co-authored-by: Urdemonlord <hasrinata@gmail.com>
Co-authored-by: Andre Kurait <akurait@amazon.com>
Co-authored-by: Chukwuebuka (Gaus Octavio) <56232734+Chukwuebuka-2003@users.noreply.github.com>
…coder#668) Co-authored-by: Karthik P <karthikparam10@gmail.com>
…#529) Co-authored-by: AnandNair4 <dazzanova1@gmail.com>
…ibracoder#648) Co-authored-by: talaatmagdyx <talaatmagdy75@gmail.com>
… and two build notes (libracoder#361) Co-authored-by: Alex Alvord <325058966+cloudlabworks@users.noreply.github.com>
…racoder#131) Co-authored-by: Andre Kurait <akurait@amazon.com>
… blank (libracoder#587) Co-authored-by: Antony Nyagah <tony.m.nyagah@gmail.com>
…tworks, as Docker does (libracoder#727) Co-authored-by: Anmol Sharma <anmol2512s@gmail.com>
… recreate keeps its volumes (libracoder#610) Co-authored-by: Elyter <eliottbreg@gmail.com>
…hand over on disconnect (libracoder#381) Co-authored-by: Supersynergy <true@supersynergy.de>
…coder#620) Co-authored-by: JEONG KITAE <wjdrlxo2013@gmail.com>
… runs in a user namespace (libracoder#597) Co-authored-by: Randy Fay <randy@randyfay.com>
…pplied, as on Docker (libracoder#523) Co-authored-by: Nguyễn Đức <nguyenminhduc230903@gmail.com>
… runs (libracoder#669) Co-authored-by: Urdemonlord <hasrinata@gmail.com>
…ts (libracoder#537) Co-authored-by: grvwy <147989282+grvwy@users.noreply.github.com>
… requested stops (libracoder#474) Co-authored-by: meutex <342316034+meutex@users.noreply.github.com>
…eouts (libracoder#715) Co-authored-by: Chukwuebuka (Gaus Octavio) <56232734+Chukwuebuka-2003@users.noreply.github.com>
…ibracoder#515) Co-authored-by: Ersin KOÇ <ersinkoc@gmail.com>
…on odd input (libracoder#965) Co-authored-by: Ersin KOÇ <ersinkoc@gmail.com>
…ger ulimits (libracoder#966) Co-authored-by: Ersin KOÇ <ersinkoc@gmail.com>
…, resolve cifs addr= (libracoder#967) Co-authored-by: Ersin KOÇ <ersinkoc@gmail.com>
…ibracoder#969) Co-authored-by: Hakan K. <vorlaxenlabs@gmail.com>
… menu & Linux speed (libracoder#776) Fixes macOS VM disk reclaim accounting for ext4 static metadata overhead, shares the numbered log console component with Kubernetes Pod logs, strips native AppKit WKWebView menus on macOS, optimizes Linux container creation/startup hot paths, and adds the head-to-head Kiri vs Docker Linux benchmark workflow (Closes libracoder#776).
…. on the drive (libracoder#972) Co-authored-by: Ersin KOÇ <ersinkoc@gmail.com>
…ain wsl.exe pipes, keep one [boot] command (libracoder#973) Co-authored-by: Ersin KOÇ <ersinkoc@gmail.com>
… and keep watch events intact (libracoder#974) Co-authored-by: Ersin KOÇ <ersinkoc@gmail.com>
Co-authored-by: Cesar Roberto Pamplona Filho <cesarpamplonafilho@gmail.com>
Co-authored-by: Victor Borja <vborja@apache.org>
…ain-thread/worker stalls, and persist Windows VHDX overhead
…libracoder#975) A `kiri machine` keeps its work in its container's writable layer, so a routine `docker system prune` with the machine stopped deleted it and everything in it. container_prune now leaves containers labelled dev.kiri.machine out, as OrbStack's prunes leave its machines alone; `kiri machine delete` and `docker rm machine-NAME` still remove one. The window's prune goes through the same endpoint. Unit test in daemon/ops.rs, e2e check machine-prune-keeps, listed in tests/regressions.tsv; docs/features.md says prunes keep machines.
…and system prune (libracoder#975)
…h, and Docker config healing (libracoder#982, libracoder#984)
…bracoder#568, libracoder#538) Kiri's window, menus and Windows setup now come in Uzbek (Oʻzbekcha, in standard official Uzbek Latin) and Nepali (नेपाली), bringing Kiri to 40 languages (39 translation files, 2,037 keys each). - lang/uz.json: all 2,037 keys in official Uzbek Latin (Oʻ/oʻ, Gʻ/gʻ with U+02BB, tutuq belgisi U+02BC, Sh/sh, Ch/ch). - lang/ne.json: all 2,037 keys in everyday Nepali developer register, with Noto Sans Devanagari first in index.html and Nirmala UI in setup.html. - lang.rs & langstep.js: uz (uz, uz-UZ, uz-Latn-UZ, uz_UZ) and ne (ne, ne-NP, ne_NP) resolution, native names, greetings and Uzbek search aliases. - UI tests & README: updated for 40 languages. Co-authored-by: Behruz Bahodirov <bbahodirov.dev@gmail.com> Co-authored-by: sundarshahi <shahithakurisundar@gmail.com>
… and hide off/paused local domains (libracoder#386, libracoder#401) - lang/hy.json & lang/az.json: add Armenian (Հայերեն, libracoder#386) and Azerbaijani (Azərbaycanca, libracoder#401) at 100% key parity (2,038 keys across 41 translation files), tightening verbose Azerbaijani labels so narrow cards and tabs fit. - lang.rs, langstep.js, index.html, setup.html: register hy (hy, hy-AM, hy_AM) and az (az, az-AZ, az-Latn-AZ, az_AZ), Armenian font fallbacks (Noto Sans Armenian, Mshtakan, Sylfaen), and Latin search aliases (azeri, azerbaycanca, hayeren). - Settings → About: add Community row (Discord + @runkiri on X) with .soc-i icons and idiomatic 'Community' translations across all 41 language files. - Domains: return empty string from localUrl() when the active router reports running: false or serving: false so dead .kiri.local/.kiri.localhost links are hidden while published host ports remain clickable. Co-authored-by: Shahen Hovhannisyan <shahen.hovhannisyan.94@gmail.com> Co-authored-by: Míng hàn <mahirmehtizade@outlook.com>
…libracoder#989), and add kiri engine (libracoder#983) (libracoder#996) * Start: evict stale VmLink::layers cache and re-send missing unpacked layers * Engine & CLI: fix macOS k8s idle CPU (libracoder#989) and add kiri engine commands (libracoder#983)
com.docker.network.bridge.enable_icc=false was accepted and shown in inspect but never applied, so containers on the network still reached each other. Each container's host-side veth on such a network is now an isolated bridge port (IFLA_BRPORT_ISOLATED), set in the same netlink request that creates it, at start and on network connect. The gateway, embedded DNS, published ports and egress keep working. A value that is not a boolean is refused at network create, as Docker does. Refs libracoder#213
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
com.docker.network.bridge.enable_icc=falsewas accepted and shown indocker network inspect, but not enforced: containers on the network still reached each other (confirmed on main in #213).What changed
IFLA_BRPORT_ISOLATED), in the same netlink request that creates it, both at start and ondocker network connect. Isolated ports can't reach each other (IPv4, IPv6, ARP); the gateway, embedded DNS, published ports and egress still work. If isolation can't be applied, the attach fails.ParseBool); a value that is not a boolean is refused atdocker network createinstead of leaving traffic allowed.enable_icc=falseare enforced from their containers' next start.How it was tested
network.rs), the isolation message's layout (netlink.rs).tests/e2e.shchecksicc-off-no-peer,icc-off-connect-no-peer,icc-off-names,icc-off-bad-value, listed intests/regressions.tsv. On a Linux host (Ubuntu 22.04, kernel 5.15) they fail on main and pass with this change; also passing on Ubuntu 24.04 (kernel 6.8), where the full suite shows no new failures against main.Refs #213 (item 3;
--cgroup-parentand userns remap stay open)