2020年11月26日

Linux work线程命名

摘要: https://www.kernel.org/doc/Documentation/kernel-per-CPU-kthreads.txthttps://lkml.org/lkml/2013/3/19/661 根据kernel.org,语法为kworker/%u:%d%s (cpu, id, prio 阅读全文

posted @ 2020-11-26 09:28 sudochen 阅读(154) 评论(0) 推荐(0)

OpenWRT JSON处理方法

摘要: 1 在OpenWrt/LEDE系统中处理JSON的方法,这里记录一下。 2 3 假设有一个JSON文件 4 5 cat /etc/ss.json 6 { 7 "server": "8.8.8.8", 8 "server_port": 443, 9 "local_address": "0.0.0.0" 阅读全文

posted @ 2020-11-26 09:26 sudochen 阅读(422) 评论(0) 推荐(0)

Linux下统计网络速率

摘要: 本文是我在网络发现当时记录在本地,但已不知处处,如有侵权,请联系删除 实现思路: 读取arp文件,列出所有客户的MAC,然后把用户增加到UPLOAD和DOWNLOAD的target中,隔一秒后读取target中流量信息。 1 #!/bin/sh 2 echo "Collecting data..." 阅读全文

posted @ 2020-11-26 09:22 sudochen 阅读(492) 评论(0) 推荐(0)

2019年12月25日

静态库打包成动态库

摘要: 最近打包SDK, 需要把多个*.so文件合并。 *.so文件不能直接合并,因为其中已经没有重定向信息。但多个静态库文件是可以合并成一个动态库文件的。 解决办法: 先把所有要打包的库编译生成静态库,然后使用如下命令把它们合并成一个*.so:gcc -shared -o c.so -Wl,--whole 阅读全文

posted @ 2019-12-25 09:52 sudochen 阅读(2838) 评论(0) 推荐(0)

2019年12月17日

信道表和无线速率集

摘要: 5G信道表 11n 11ac 11ax 阅读全文

posted @ 2019-12-17 17:20 sudochen 阅读(765) 评论(0) 推荐(0)

IEEE80211W

摘要: 80211w概述 1,WLAN网络在设计的时候就容易遭受各种类型的Denial of Service(DOS)攻击, a,射频干扰(RF jamming) b,Spoofed Disconnect(哄骗的断开连接) c,Connection Request Flooding(链接请求使其崩溃) 2, 阅读全文

posted @ 2019-12-17 17:17 sudochen 阅读(1153) 评论(0) 推荐(0)

2019年12月12日

OpenWRT Init (User space boot) reference for Chaos Calmer: procd

摘要: Init (User space boot) reference for Chaos Calmer: procd Analysis of how the user space part of the boot sequence is implemented in OpenWrt, Chaos Cal 阅读全文

posted @ 2019-12-12 17:11 sudochen 阅读(220) 评论(0) 推荐(0)

OpenWRT Filesystems

摘要: Filesystems This article is about file systems in the OpenWrt installation on built-in flash. For general external support for installing file systems 阅读全文

posted @ 2019-12-12 17:08 sudochen 阅读(423) 评论(0) 推荐(0)

OpenWRT Device Support: MAC address setup

摘要: Device Support: MAC address setup Retrieve addresses from stock firmware The first step is to find out which addresses are present in stock configurat 阅读全文

posted @ 2019-12-12 17:03 sudochen 阅读(959) 评论(0) 推荐(0)

OpenWRT Creating packages

摘要: See also → Package Policy Guide, it contains a wealth of extra technical information not covered here. One of the things that we've attempted to do wi 阅读全文

posted @ 2019-12-12 16:59 sudochen 阅读(839) 评论(0) 推荐(0)

导航