1
00:00:00,280 --> 00:00:05,623
If you have ever tried running a native
TCP client inside a Linux sandbox and

2
00:00:05,643 --> 00:00:08,605
watched it fail because it had no idea how
to talk to a proxy,

3
00:00:09,565 --> 00:00:10,886
this update is for you.

4
00:00:11,846 --> 00:00:15,368
Thanks to Jellypod AI for sponsoring this
episode of The Codex Changelog.

5
00:00:16,509 --> 00:00:23,092
Today we are looking at Codex CLI version
0.171.0, which shipped on November 20,

6
00:00:23,092 --> 00:00:28,756
2026, and specifically pull request 61372.

7
00:00:29,056 --> 00:00:33,278
It introduces opt in transparent TCP
routing for Linux sandboxes,

8
00:00:33,518 --> 00:00:36,640
and it solves a pretty annoying networking
bottleneck.

9
00:00:37,442 --> 00:00:38,943
Here is what actually changed.

10
00:00:39,623 --> 00:00:43,725
Previously, if you ran a native TCP client
inside a Linux sandbox,

11
00:00:44,186 --> 00:00:48,268
that client needed to implement its own
proxy support to reach managed network

12
00:00:48,328 --> 00:00:49,068
destinations.

13
00:00:50,089 --> 00:00:54,571
If the tool did not respect proxy
environment variables or speak SOCKS natively,

14
00:00:54,811 --> 00:00:55,711
you were kind of stuck.

15
00:00:56,592 --> 00:01:03,515
With PR 61372, Codex CLI adds a new flag
called dash dash transparent tcp to

16
00:01:03,555 --> 00:01:04,896
the Linux sandbox command.

17
00:01:05,736 --> 00:01:10,539
On top of that, if you are running codex
exec server, it now exposes two new flags:

18
00:01:10,839 --> 00:01:16,662
dash dash linux sandbox transparent tcp
and dash dash tcp upstream proxy.

19
00:01:17,343 --> 00:01:20,965
Let us talk about how this works under the
hood, because the architecture is

20
00:01:21,105 --> 00:01:22,086
actually pretty clean.

21
00:01:23,527 --> 00:01:28,710
When you enable transparent TCP routing,
Codex spins up a bundled TCP stack,

22
00:01:28,990 --> 00:01:32,712
a private TUN interface, and a DNS stub
inside the sandbox.

23
00:01:33,753 --> 00:01:39,596
Any native IPv4 or IPv6 connection your
client makes gets intercepted at that TUN

24
00:01:39,656 --> 00:01:44,279
interface and routed automatically through
Codex's attributed managed SOCKS proxy.

25
00:01:45,240 --> 00:01:49,302
Your client thinks it is just opening a
normal socket, no proxy configuration

26
00:01:49,362 --> 00:01:50,623
required on the client side.

27
00:01:51,360 --> 00:01:57,064
Even better, original hostnames are
preserved for proxy policy checks.

28
00:01:57,905 --> 00:02:02,608
That means your network rules still see
the actual domain name being requested,

29
00:02:03,128 --> 00:02:05,210
not just a resolved IP address.

30
00:02:06,991 --> 00:02:10,994
And if a native socket closes while a
connection is still waiting for approval,

31
00:02:11,594 --> 00:02:14,856
Codex automatically cancels that pending
approval connection.

32
00:02:15,997 --> 00:02:20,020
It keeps things tidy and prevents stale
approval prompts from hanging around.

33
00:02:20,778 --> 00:02:22,399
Now, how do you actually use it?

34
00:02:23,280 --> 00:02:27,782
If you are invoking the Linux sandbox
command directly, you pass dash dash

35
00:02:27,942 --> 00:02:29,043
transparent tcp.

36
00:02:30,083 --> 00:02:35,286
If you are using codex exec server, you
pass dash dash linux sandbox transparent

37
00:02:35,346 --> 00:02:35,706
tcp.

38
00:02:36,687 --> 00:02:42,090
And if you want to enforce a mandatory
HTTP CONNECT next hop with zero direct

39
00:02:42,130 --> 00:02:47,293
fallback, you add dash dash tcp upstream
proxy on codex exec server.

40
00:02:48,233 --> 00:02:51,775
That last part is important: there is NO
direct fallback.

41
00:02:52,235 --> 00:02:56,458
If that upstream proxy is unavailable, the
connection will fail rather than bypass

42
00:02:56,498 --> 00:02:56,918
the proxy.

43
00:02:57,735 --> 00:03:03,318
Before you flip this on in production,
there are a few caveats and system

44
00:03:03,378 --> 00:03:04,858
requirements to watch out for.

45
00:03:06,979 --> 00:03:12,482
Transparent TCP routing requires private
network and PID namespaces,

46
00:03:12,842 --> 00:03:19,165
private procfs, system bwrap, which is
bubblewrap, and access to slash dev slash net

47
00:03:19,265 --> 00:03:19,946
slash tun.

48
00:03:21,666 --> 00:03:25,068
If your container or host environment
restricts any of those,

49
00:03:25,248 --> 00:03:26,629
it is not going to work.

50
00:03:28,469 --> 00:03:33,792
Also, Codex will reject incompatible
launcher options and untrusted proxy ports

51
00:03:33,952 --> 00:03:39,495
right at startup, so double check your
sandbox configuration if you hit an immediate

52
00:03:39,535 --> 00:03:39,735
error.

53
00:03:40,348 --> 00:03:44,730
Beyond the headline networking feature,
there are several smaller quality of life

54
00:03:44,750 --> 00:03:51,673
updates from 0.171.0 and the main branch
between November 20 and November 23 that

55
00:03:51,693 --> 00:03:52,534
are worth knowing about.

56
00:03:53,334 --> 00:03:59,697
First up, in 0.171.0, PR 61195 fixes an
annoying issue with permission

57
00:03:59,757 --> 00:04:01,758
profiles when you change your working
directory.

58
00:04:02,699 --> 00:04:06,600
Previously, changing directories rebuilt
permission profiles through the legacy

59
00:04:06,721 --> 00:04:07,681
sandbox policy.

60
00:04:08,441 --> 00:04:11,683
Now, your active profile and workspace
roots are preserved,

61
00:04:11,843 --> 00:04:14,744
while runtime workspace roots update for
the new directory.

62
00:04:15,345 --> 00:04:19,667
It still denies writes to dot git slash
config and your previous workspace,

63
00:04:19,887 --> 00:04:21,828
so your safety boundaries stay intact.

64
00:04:22,798 --> 00:04:29,782
Next, on the main branch on November 23,
PR 63377 fixed a subtle project config

65
00:04:29,842 --> 00:04:30,803
diagnostics bug.

66
00:04:31,663 --> 00:04:35,946
If your project config had an unknown key
sitting right before an invalid setting,

67
00:04:36,166 --> 00:04:41,589
like an invalid tui dot vim mode default,
deserializing the effective config

68
00:04:41,649 --> 00:04:44,851
directly could mask the actual type error
you needed to fix.

69
00:04:45,692 --> 00:04:50,515
Codex now reuses the TOML validation
deserializer when diagnosing effective config

70
00:04:50,555 --> 00:04:54,977
layers, with ignored field path collection
disabled, so the real error still

71
00:04:55,037 --> 00:04:55,518
surfaces.

72
00:04:56,280 --> 00:05:01,443
If you use the TypeScript SDK, PR 62884
landed on November 21.

73
00:05:01,883 --> 00:05:05,725
The WebSearchMode type now accepts indexed
alongside cached.

74
00:05:06,426 --> 00:05:10,328
At the same time, codex exec now tracks
whether an explicit web search setting

75
00:05:10,408 --> 00:05:13,690
matches the effective mode after applying
configuration requirements.

76
00:05:14,811 --> 00:05:20,094
And for macOS users, PR 62648 on November
20 fixed standalone release pruning.

77
00:05:20,834 --> 00:05:25,597
If you have GNU coreutils stat shadowing
slash usr slash bin slash stat on your

78
00:05:25,597 --> 00:05:29,999
PATH, the installer now explicitly calls
the system stat for device checks before

79
00:05:30,019 --> 00:05:31,020
pruning old releases.

80
00:05:31,717 --> 00:05:38,681
Finally, just a quick note on pre release
activity: 0.173.0 alpha 1

81
00:05:38,881 --> 00:05:44,965
through 0.173.0 alpha 4 were tagged on
November 20 and 21,

82
00:05:45,445 --> 00:05:51,249
alongside 0.172.0 alpha 2.1.

83
00:05:51,249 --> 00:05:54,771
Plenty of movement on the main branch, so
keep an eye on your local installs.

84
00:05:56,992 --> 00:05:57,892
That is it for today.

85
00:05:58,413 --> 00:06:02,695
Go try out dash dash transparent tcp if
you are running native Linux tools in a

86
00:06:02,755 --> 00:06:05,497
sandbox, and we will catch you on the next
episode.

