Felix Fietkau 9493b4aff5 unetd: update to Git HEAD (2026-12-03)
0242b8f3dcae token: fix out-of-bounds read on malformed token input
df1061deae7f stun: zero attribute table before parsing
5bf72f297a2a wg-linux: fix off-by-one in device netlink attribute parse
e46a13de63b7 network: free STUN state before clearing net_config on reload
79db60b61407 host: guard against missing local_host in route check
0df027c3da89 ubus: use a dedicated buffer for the network address list
6c6defc7b125 pex-msg: check allocation in update response handler
8de5cc40bbe8 udht: bail out on socketpair failure
b78ff1cdbae5 cli: reject over-long password before copy
7a2a41cfa5a4 host: clear local_host reference when freeing hosts
80effff35584 host: fix uninitialised meta pointer for dynamic peers
9d58d9549a30 network: fix subnet match in endpoint route check
77e6c43befe0 utils: fix IPv6 UDP checksum calculation
a9a573dfe4ed host: apply direct/indirect peer transitions on reload
bc68bfc42456 wg: advance peer idle accounting once per refresh
1441a76fefb2 wg: ignore the first rx byte counter sample
8be8b29c7209 ubus: fix token buffer leak in token_create
dbb6fc5c8e11 vxlan: set IFLA_MTU outside of the IFLA_LINKINFO nest
7015ec659bf7 bpf: fix off-by-one in skb_ptr() bounds check
43bb934c6c60 udht: keep ubus registrations across ubusd restarts
b457bac85d49 udht: do not flush networks on a failed ubus query
a93ccda5dc94 pex: fix gateway check for dynamic peers in query handler
cc717b23f054 stun: fix FILE handle leak on read failure
def9f6e4c3df pex: read update request version after length check
a836d9c887a4 network: check fork() result before waitpid()
1985dd2daf7e network: remove temporary file when saving dynamic data fails
3687ac07617b main: do not install a truncated hosts file
0c7e7d7ffe99 bpf: report mssfix attach failures
44021f939c10 wg-linux: propagate intermediate netlink request errors
d8b5f4ce138e wg-linux: validate attribute lengths when parsing peers
c6798c2842a2 wg-linux: fix copy-pasted ops name
977ce767d369 cli: harden file loading in sign and verify commands
4f61fe928fbb utils: reject subnet strings with an empty mask
85fb8c0b27cf vxlan: fix cur_forward_ports leak on tunnel free
e326ab380b80 vxlan: fix ifname length check in tunnel lookup
f674ebf5b564 vxlan: handle tunnel creation and renames on service reload
c7b385364fbe rtnl: handle missing socket and failed message allocation
c5f2d01d3286 pex: align message payload structures in packet buffers
20c52de9751b udht: avoid unaligned loads when parsing DHT values
6a747c4dc7d1 enroll: realign message payload before parsing
4c98b9a556f2 udht: drop DHT values without a matching network
89122f7abff6 udht: require the unix socket path option
19cb14428a99 udht: preserve command-line networks across disconnects
d7f501b60f58 udht: match receive buffer to forwarded datagram size
88dd8393a125 bpf: scan the full TCP option space for the MSS option
236fc7666993 treewide: check allocations before use
fa03a5e9c849 udht: fix FILE handle leak when loading nodes
daf184ca706a token: reject tokens from dynamic peers
938be72344ac host: accept non-string values in host meta tables
d2bed8487c46 pex-msg: clear urandom handle on failed open
8f7a11efa076 pex-msg: validate length of forwarded unix datagrams
9493560be374 enroll: clean up state when urandom cannot be opened
f6065a8a30ec udht: handle failed socket handover to unetd
95132c173a9c main: report failure to open the global PEX socket
8fc418895229 treewide: check remaining calloc_a allocations
419dff2945d5 pex: keep interface hosts when the netifd query fails
a45cf254d037 pex: do not orphan retained hosts when closing the socket
2142ca97dc53 host: keep the connect timer running without keepalive
5167dbb1b210 ubus: open firewall for the ports actually in use
e1b5f5036704 pex-msg: unlink request context on init failure
7377e79754f7 cli: detect output write failures
e6653e86532c network: detect flush errors when saving dynamic data
c0ab6efc2f2c pex-msg: do not drop packets when unix socket forwarding fails
f4b83ba82f0f pex-msg: fix response data leak on failed continuation init
9348469045fa pex: do not send peer messages without an open local PEX socket
daa04def5a0b enroll: apply replay protection to accept and confirm messages
8553e53c4884 enroll: do not update peer state from unauthenticated messages
c3b6bfd2cdd9 enroll: verify the confirmation hash in client accept messages
b62a3f270250 vxlan: handle missing local host in tunnel setup
e113c20e6597 enroll: make the attribute table static
2dd6d2156f6c network: cap dynamic data size when loading from disk
7c3213d00225 network: keep in-memory network data when reloading from disk fails
8c05265d07cc pex-msg: open the raw send sockets with IPPROTO_RAW
5284620e082d chacha20.h: add missing includes
3098578a9506 lib: add utility function for getting random data
4f67f3286e17 lib: add sntrup761 code
8a7f17b27d5e sntrup761: add function for deriving public key from secret key
54a2ce7cfe8e cli: add support for generating pq host keys
5ac0f55cb3b7 pex-pqc: add sntrup761-based post-quantum WireGuard PSK exchange
7b9e57468fc7 enroll: transfer a PQC public key from the joining host
a31b42a501b6 pex: announce the local PQC key and report the PQC state
eee829968dfd PEX.md: document the enroll and PQC messages
d8d6148c2692 network: wipe the network secrets before freeing the config

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2026-12-03 20:23:12 +01:00
2026-11-23 09:43:36 +01:00
2021-02-05 14:54:47 +01:00

OpenWrt logo

OpenWrt Project is a Linux operating system targeting embedded devices. Instead of trying to create a single, static firmware, OpenWrt provides a fully writable filesystem with package management. This frees you from the application selection and configuration provided by the vendor and allows you to customize the device through the use of packages to suit any application. For developers, OpenWrt is the framework to build an application without having to build a complete firmware around it; for users this means the ability for full customization, to use the device in ways never envisioned.

Sunshine!

Download

Built firmware images are available for many architectures and come with a package selection to be used as WiFi home router. To quickly find a factory image usable to migrate from a vendor stock firmware to OpenWrt, try the Firmware Selector.

If your device is supported, please follow the Info link to see install instructions or consult the support resources listed below.

An advanced user may require additional or specific package. (Toolchain, SDK, ...) For everything else than simple firmware download, try the wiki download page:

Development

To build your own firmware you need a GNU/Linux, BSD or macOS system (case sensitive filesystem required). Cygwin is unsupported because of the lack of a case sensitive file system.

Requirements

You need the following tools to compile OpenWrt, the package names vary between distributions. A complete list with distribution specific packages is found in the Build System Setup documentation.

binutils bzip2 diff find flex gawk gcc-6+ getopt grep install libc-dev libz-dev
make4.1+ perl python3.8+ rsync subversion unzip which

Quickstart

  1. Run ./scripts/feeds update -a to obtain all the latest package definitions defined in feeds.conf / feeds.conf.default

  2. Run ./scripts/feeds install -a to install symlinks for all obtained packages into package/feeds/

  3. Run make menuconfig to select your preferred configuration for the toolchain, target system & firmware packages.

  4. Run make to build your firmware. This will download all sources, build the cross-compile toolchain and then cross-compile the GNU/Linux kernel & all chosen applications for your target system.

The main repository uses multiple sub-repositories to manage packages of different categories. All packages are installed via the OpenWrt package manager called opkg. If you're looking to develop the web interface or port packages to OpenWrt, please find the fitting repository below.

  • LuCI Web Interface: Modern and modular interface to control the device via a web browser.

  • OpenWrt Packages: Community repository of ported packages.

  • OpenWrt Routing: Packages specifically focused on (mesh) routing.

  • OpenWrt Video: Packages specifically focused on display servers and clients (Xorg and Wayland).

Support Information

For a list of supported devices see the OpenWrt Hardware Database

Documentation

Support Community

  • Forum: For usage, projects, discussions and hardware advise.
  • Support Chat: Channel #openwrt on oftc.net.

Developer Community

License

OpenWrt is licensed under GPL-2.0

S
Description
This repository is a mirror of https://git.openwrt.org/openwrt/openwrt.git It is for reference only and is not active for check-ins. We will continue to accept Pull Requests here. They will be merged via staging trees then into openwrt.git.
Readme BSD-2-Clause BSD-3-Clause GPL-1 GPL-2 ISC Linux-syscall-note MIT
1.2 GiB
0 Stars 1 Watchers 0 Forks
Languages
C 60.5%
Makefile 23%
Shell 8.4%
UnrealScript 2.5%
Perl 2.5%
Other 2.8%