Analysis of the Attack Surface of Ubus Inter-Process Communication Mechanism in OpenWRT

Analysis of the Attack Surface of Ubus Inter-Process Communication Mechanism in OpenWRT

01 Introduction Ubus is the inter-process communication mechanism in OpenWRT, which simplifies the implementation of inter-process communication. The foundation of ubus is the UNIX Socket, which is a local socket that is more efficient and reliable compared to traditional network communication sockets. 1.1 Model Architecture UNIX Socket adopts a C/S model architecture, divided into server … Read more

Porting OpenWrt System to rk3568 with RKMMP Hardware Decoding

Porting OpenWrt System to rk3568 with RKMMP Hardware Decoding

• This article attempts to compile ffmpeg from source on an OpenWrt host, as the OpenWrt version of ffmpeg does not support hardware decoding for rk3568 using RKMMP. After resolving several compilation issues, the process is documented here for reference. Configuration First, refer to the native compilation options in the wrt SDK and add support … Read more

OpenWrt Router System New Version Released, Supporting Wi-Fi 7

OpenWrt Router System New Version Released, Supporting Wi-Fi 7

System News The open-source router system OpenWrt 24.10 has released its first stable version, improving Wi-Fi 6 and providing preliminary support for Wi-Fi 7. Users can now upgrade from version 23.05 to 24.10. This version includes numerous improvements and changes in functionality; however, it is recommended to back up your configuration before upgrading. If issues … Read more

OpenWrt System Network Configuration Tutorial

OpenWrt System Network Configuration Tutorial

Router Mode Router mode is the most common wireless mode, which connects to the external network via a wired connection and broadcasts wireless signals to provide a local area network. Since only the LAN interface is available by default, we need to add a WAN interface. Click on the “Add New Interface” button. To differentiate, … Read more

An Article Explaining: What is OpenWrt?

An Article Explaining: What is OpenWrt?

In simple terms, OpenWrt is a soft router. Strictly speaking, OpenWrt (full name Open Wireless Router) is a Linux distribution developed for embedded devices, especially routers, characterized by its openness and customizability. It provides a complete software development environment, allowing users to freely customize, install, and uninstall software packages to meet various network needs. Due … Read more

Setting Up Access in Bridge Mode for Optical Modems with OpenWrt

Setting Up Access in Bridge Mode for Optical Modems with OpenWrt

By default, if you use a router with an OpenWrt-like system to dial into an optical modem in bridge mode, you will not be able to access the modem’s management page, which can be quite inconvenient. There are many ways to fix this, and here we document a method that only requires a web browser. … Read more

OpenWRT Routing Table

OpenWRT Routing Table

Below is the routing table after adding the default route in OpenWRT root@OpenWrt:~# route -A inet6 Kernel IPv6 routing table Destination Next Hop Flags Metric Ref Use Iface 24fe:34:927:af:91:f8:a6:51b5%35/128 ::%35 UC 0016 eth0 24fe:34:927:af::%35/64 ::%35 U 25610 eth0 fe80::%35/64 ::%35 U 25600 eth0 ::%35/0 fe80::d6ee:71f:fe5e:71f2%35 UG 102420 eth0 ::%35/0 ::%35 !n -1110957 lo ::1%35/128 ::%35 … Read more

How to Install CMake on OpenWRT

How to Install CMake on OpenWRT

• OpenWRT’s opkg supports most software packages, but some specific domain packages still require source installation, such as the SRS server (streaming media server). Source programming typically requires CMake. This article attempts to compile and install CMake from source in OpenWRT system based on Host mode, summarizing the problems encountered and their solutions as follows. … Read more

OpenWrt Wireless Repeater, Bridging, and Signal Issues

OpenWrt Wireless Repeater, Bridging, and Signal Issues

1. Wired to NAT HotspotFeatures: The most common internet mode, wired and wireless on different subnets, with wireless being a subnet of wired.Keywords: Wireless Network Card Master Mode/Access Point AP, Wireless Network Card connecting to LAN area:In Master mode, we can connect the router’s WAN port to the optical modem or switch via an Ethernet … Read more