Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
50 most recent check-ins
|
2026-12-03
| ||
| 04:18 |
The old uderouter becomes udeslirp, representing a more accurate name for its purpose. A new uderouter program is introduced that acts as a true router between switches.
leaf check-in: 9cb8c7cbbd user: chungy tags: trunk
| |
|
2026-12-02
| ||
| 22:09 |
Tests for uderouter and udeslirp --route.
run_tests.sh section 19, on three switches: pings across the router (TTL 63) and to its far address, udeping -t 1 getting time exceeded and -t 2 getting through, network unreachable, host unreachable for a silent host and a silent gateway, the statistics on SIGINT, --no-icmp-errors, -q, refused interfaces and routes (exit 2), and a configuration file (both arrays, a MAC, a default route, no --swi... closed check-in: da55305886 user: grok tags: uderouter | |
| 22:09 |
Documentation for uderouter, and a how-to for several networks.
| |
| 22:09 |
uderouter: a user-space IPv4 router between switches; udeping -t.
tools/uderouter.c joins two or more switches, each a subnet of its own, and forwards IPv4 between them, with no privileges:
| |
| 21:40 |
udeslirp: --route NET/LEN:GATEWAY for hosts behind another router.
So that udeslirp can be the "ISP" of a larger network: a router on its switch joins other subnets and uses it as the default gateway. With --route 192.168.1.0/24:10.0.2.15 (repeatable, up to 16, and the route array of the [udeslirp] table):
| |
| 21:36 |
libude-ipv4: static routes, forwarding whole packets, and ARP failure callbacks.
What a router or a NAT gateway serving several subnets needs from the library:
| |
| 21:35 |
Rename uderouter to udeslirp.
The SLIRP-style NAT gateway gets a name that says what it is, so that uderouter can become a generic IPv4 router between switches. Everything moves with it: tools/udeslirp.c, the binary (and udeslirp.exe), docs/udeslirp.8, www/tools/udeslirp.md, the [udeslirp] table of the configuration file, the README, ude.7, ude.conf.5, the www pages, auto.def, Makefile... check-in: 4b641c7c50 user: grok tags: uderouter | |
| 20:54 | Add new uderouter and udetftpd commands check-in: 516301fde3 user: chungy tags: trunk | |
| 20:43 | Document the configuration of udetftpd, uderouter and the boot options of udedhcpd. docs/ude.conf.5 lists the programs and the keys of the udetftpd and uderouter tables, plus next_server and boot_file of udedhcpd, with an example that boots a machine and gives it the Internet. udetftpd(8) and uderouter(8) gain -C/--configuration, --instance, --check-config and --print-config, an ENVIRONMENT section for UDE_CONFIG an... closed check-in: faa2b61d5c user: grok tags: merge | |
| 20:43 |
Read the configuration file in udetftpd and uderouter, and add next_server and boot_file to udedhcpd. Both programs take -C/--configuration, --instance, --check-config and --print-config and read UDE_CONFIG, as the others do: defaults, then the global table, the program's table, an instance table, then the command line.
| |
| 20:34 | Allow _rmdir in the Windows import list. test_config removes its temporary directory since trunk 72d0c6edb8, and _rmdir is in every msvcrt.dll (Windows 95 and NT 4.0 too), like _mkdir beside it; without the line make test of the i686-w64-mingw32 cross build failed in tests/check_imports.sh with "test_config.exe: msvcrt.dll _rmdir". check-in: 4de0cec0e8 user: grok tags: merge | |
| 20:34 |
Merge uderouter into the branch, after udetftpd. uderouter, the libude-tcp deferred accept (ude_tcp_listen_ex()), the libude-ipv4 route and proxy-ARP hooks, the socket helpers of lib/net_compat, uderouter(8) and the routing, internet and uderouter pages come in as they were.
Conflicts:
| |
| 20:28 |
Merge udetftpd into the branch started from trunk 72d0c6edb8 (which already has the configuration file and extsrc). udetftpd, the TFTP engine, udedhcpd's -B/--next-server and -b/--boot-file, udetftpd(8) and the netboot page come in as they were.
Conflicts:
| |
| 17:03 | tests: remove the temporary ude-cfg-test directory check-in: 72d0c6edb8 user: chungy tags: trunk | |
| 16:48 | Remove unnecessary --help text in udeswitch to an old option name check-in: 7a81a333a3 user: chungy tags: trunk | |
| 16:47 | extsrc: reduce the noise in README to just the facts check-in: 20f0dddf61 user: chungy tags: trunk | |
| 16:45 | Introduce a configuration file to provide defaults for ude’s programs check-in: a2490e7458 user: chungy tags: trunk | |
| 15:48 |
Merge extsrc: drop the SHA-256 checks for the vendored tomlc17 sources.
SHA256SUMS, the sums in extsrc/README and extsrc/check-hashes.sh are gone. make check-extsrc still compiles tomlc17.c with the project's full warning flags, including -Werror. The pin remains tag R261116, commit bfc5b9cd953daa07d095dc7e893954b2115ee8e0. closed check-in: a99ae46101 user: grok tags: config | |
| 15:47 |
Drop the SHA-256 checks for the vendored tomlc17 sources.
Fossil already records the exact bytes, and a zip or tar.gz of the tree would show a change just as clearly, so SHA256SUMS, the sums in extsrc/README and extsrc/check-hashes.sh are gone. make check-extsrc still compiles tomlc17.c with the project's full warning flags, including -Werror, even if the tree was configured with --disable-werror; ordinary make does not, so the target is kept. The pin remains tag R261116, commit bfc5b9cd953daa0... closed check-in: f131433260 user: grok tags: extsrc | |
| 15:16 |
Change port forwards to listen on 0.0.0.0 by default, as in QEMU's SLIRP, and add -b/--bind so outgoing sockets and implicit forwards can use a chosen host address.
A forward that omits HOSTADDR now listens on 0.0.0.0, or on the -b address if one was given. A single warning, in the same style as udeswitch's "not bound to a loopback address" line, is printed when any forward is not on loopback, once per run rather than once per forward. -b/--bind ADDR binds outgoing host TCP and UDP sockets, the... closed check-in: fa9a8e1e93 user: grok tags: uderouter | |
| 14:59 |
Make efi64 match both client architectures 7 and 9, and drop the separate efi-bc class.
| |
| 05:25 |
Add uderouter, a NAT router from a UDE network to the host's network in the manner of QEMU's user-mode networking (SLIRP), with the library hooks it needs. It joins a switch as the gateway (default 10.0.2.2/24) and carries guest traffic out through ordinary host sockets, with no privileges, TAP device or routing rules. One thread around select().
TCP: guest connections are terminated by a transparent libude-tcp listener and spliced to non-blocking host connect() sockets, with half-close both wa... check-in: 3616691f18 user: grok tags: uderouter | |
| 05:11 |
Document configuration for udectl, udedump, udetap, udeping and udenc.
docs/ude.conf(5) lists their keys and notes that udenc has no short -C for a file. The five manpages, the www concept page and the tool pages follow, and udectl and udedump examples use -A for the switch policy. check-in: 03ff47f47e user: grok tags: config | |
| 05:11 |
Wire udectl, udedump, udetap, udeping and udenc to the configuration loader.
Each program reads --configuration or UDE_CONFIG, expands the file into long options, and supports --instance, --check-config and --print-config. udectl, udedump, udetap and udeping also get the short form -C. udenc keeps -C as an unsupported OpenBSD nc option (TLS/CRLF) and accepts only the long option --configuration, implemented as a distinct option value so it cannot be confused with that flag. udeping may take it... check-in: 109977985e user: grok tags: config | |
| 05:06 |
Add udetftpd, a read-only TFTP server, and network boot options for udedhcpd, with a tested example that boots the Debian installer in QEMU.
| |
| 05:01 |
Fix the Windows import check for the configuration loader.
ude_config looks up UDE_CONFIG with getenv, which every msvcrt including 9x and NT 4 already has; tests/win_imports.txt now allows it. test_config.c was using _putenv_s, which those old C runtimes do not provide. It now uses _putenv, and the allowlist gains _putenv, _mkdir and _getpid, the three CRT calls that test uses on Windows. check-in: 7376e5a1c3 user: grok tags: config | |
| 04:57 |
Add ude.conf(5) and a www page for the configuration file.
docs/ude.conf.5 describes how a file is found (-C wins over UDE_CONFIG, no implicit path), the precedence of defaults, the global table, the program table, an instance and the command line, underscore key names, --check-config and --print-config, relative paths and durations. It lists the keys for udeswitch, udedhcpd and udelink, DHCP reservations, and impairment presets, and notes that the other program tables are recognized but those ... check-in: c2cb41d3d3 user: grok tags: config | |
| 04:57 |
Wire udedhcpd and udelink to the configuration loader.
udedhcpd reads -C, --configuration or UDE_CONFIG and expands the file into long options: --subnet, --range, --lease, --leases, --router, --dns, --reserve, --quiet / --no-quiet, and the existing network options. Reservations come from the udedhcpd.reservations table. A relative leases path is resolved against the configuration file's directory. udelink does the same, with --name, --local-a, --local-b, --keepalive, --retry, --impair, --impai... check-in: 49ed9299c4 user: grok tags: config | |
| 04:48 |
Wire udeswitch to the configuration loader, and rename its policy option.
| |
| 04:44 |
Add an internal TOML configuration loader, not yet used by any program.
| |
| 04:30 |
Vendor tomlc17 R261116 in extsrc/, compiled with every make but not yet linked.
| |
| 04:22 | Add a new skeleton documentation check-in: caa2afaf0c user: chungy tags: trunk | |
| 01:46 | ignore the udelink binary check-in: f28acd0b7b user: chungy tags: trunk | |
| 01:32 |
Start the documentation: manual pages in docs/, a www/ tree of guide templates, and optional make html and make pdf targets.
| |
| 00:49 | Move udecat to be an internal testing program only, not an installed end-user program. check-in: e4ad216a8e user: chungy tags: trunk | |
| 00:29 |
Make udecat an internal test helper that is not installed, and remove the python3 dependency of the end-to-end tests.
udecat is no longer a user tool. tools/udecat.c moved to tests/udecat.c (fossil mv). It is out of PROGRAMS, so make install and uninstall skip it, and out of TARGETS, so plain make no longer builds it. It is in TEST_BINS: make test builds it, with its build-tree wrapper (.libs/ud... closed check-in: acff68bc73 user: grok tags: udecat-internal | |
|
2026-12-01
| ||
| 23:55 |
Remove udecat.
udecat was a low-level scripted Ethernet client (send, wait, listen, hello, quit) used mainly as a debug and test injector. Its name is easy to confuse with udenc, the netcat equivalent, while it does not provide equivalent functionality. This removes tools/udecat.c, its Makefile.in and auto.def targets, and the install, uninstall and clean rules for it. The README tools table, quick start, program ... closed check-in: dcc5a253a9 user: grok tags: remove-udecat | |
| 21:54 | Do not warn about non-127.0.0.1 loopback addresses in udeswitch check-in: 9063d4ceb2 user: chungy tags: trunk | |
| 21:13 |
Treat the whole of 127.0.0.0/8 as loopback when warning about a bind address.
udeswitch used to warn "not bound to 127.0.0.1; anyone who can reach this port..." whenever the bind address was not exactly INADDR_LOOPBACK (127.0.0.1). The entire 127.0.0.0/8 block is loopback, so binding 127.0.0.2 (or any other address in that prefix) was a false warning. The check now lives in one helper, ude_inaddr_is_loopback() / ude_endpoint_is_loopback() in net_compat: a numeric test of the ... closed check-in: 65b25d52bb user: grok tags: loopback-warn | |
| 19:39 | fix 32-bit builds of UDE check-in: 08714e6910 user: chungy tags: trunk | |
| 19:24 |
Fix 32-bit builds of ude_impair.c under -Werror.
| |
| 18:58 | Add a udelink program, bridging UDE and/or VDE switches, and optionally introduce packet loss, duplication, corruption, delay, jitter, and rate-limiting. check-in: 1b388f73b3 user: chungy tags: trunk | |
| 18:21 |
Fix a shell error in run_tests.sh section 15 (and any other wait_log caller): bash reports [: : integer expected.
| |
| 18:05 |
Merge trunk (introspection and port management, plus version 0.2.0 and the udenc --version fix) into impair.
| |
| 17:53 |
Add switch introspection and port management through udectl
check-in: c78d7f1caa user: chungy tags: trunk
| |
| 06:33 |
Merge link into impair: trunk's udenc --version fix (version 0.2.0) and the section 14 test fix for the classic vde-2 vde_plug, which takes a socket path, not a vde:// URL. Section 15 now also waits for udelink's "connected" lines instead of a fixed sleep. README: test counts (172 end-to-end checks, 181 with valgrind).
check-in: 3bf85b31a7 user: grok tags: impair
| |
| 06:30 |
Merge trunk (the udenc --version fix and version 0.2.0) into link, and fix the dpipe/vde_plug test of run_tests.sh section 14 on hosts with the classic vde-2 tools.
| |
| 05:46 |
Fix a udenc --version crash
check-in: 21ddf3f176 user: chungy tags: trunk
| |
| 05:37 |
Fix a crash of udenc --version (and any long option of udenc) that depended on the compiler, flags and environment.
| |
| 05:25 | Update version to 0.2.0 check-in: ceb4779897 user: chungy tags: trunk | |