Git Product home page Git Product logo

ku-ua's Introduction

ku-ua

用于修改数据包中User-Agent字段的内核模块(类似于ua2f,但他是在内核中完成的)

优点:

  1. 相对于ua2f来说他理论上不会太影响网速(特别是对于低端的路由来说)
  2. 也许不会影响多拨和acc硬件加速?
  3. 不会影响xbox和b站、微博等软件的使用(他并不会修改所有的包,只是针对性的修改携带设备信息的包)
  4. 可以自定义你想要的User-Agent,这需要你同时安装luci-app-ku-ua(这并不会太麻烦)
  5. 这个模块仅仅依赖netfilter,而这是大多Linux包括openwrt都会自带的网络框架,因此编译时并不需要你去勾选太多依赖项和因此带来增加内存负担的烦恼(我真牛逼)

。。。情人眼里出西施,在我眼里他的优点不仅于此,但是打字太费手

缺点:

  1. 这是一个内核模块,众所周知,如果内核模块出现问题,那么系统就可能宕机,虽然重启能解决百分之九十九的问题,但我仍不能保证这个模块的安全性(虽然我没有遇到过死机的情况)
  2. 由于内核模块需要内核版本与模块的版本一致,多以大部分情况下仍需要去手动编译(做这个插件的初衷是为了能直接安装ipk包,但是发现不能实现这个目标时我立马转变了思维:不能让科技的门槛变得太低。。。开玩笑)
  3. 目前只能处理IPv4的数据包,不知道IPv6的协议与IPv4是否相同
  4. 欢迎补充

##食用方法

#进入openwrt源码所在目录
git clone https://github.com/lucikap/ku-ua.git package/ku-ua

make menuconfig
#勾选内核模块
Kernel modules  --->
	Other modules  --->
		<*> kmod-ku-ua
#勾选界面支持(如果不需要自定义可以不选)
LuCI  --->
	3. Applications  --->
		<*> luci-app-ku-ua
#开始编译
make -j12 V=99

如果你有精力,甚至可以帮我写个更为精美和实用的README.md(我的邮箱[email protected]

##欢迎充电

微信图片_20240505214303

微信图片_20240505214253

ku-ua's People

Contributors

lucikap avatar

Stargazers

 avatar  avatar  avatar Elaina avatar  avatar  avatar 哭哭睦头人 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.