首页 > 其他分享 >buildroot --- 通过 tsocks 代理下载 package 速度快

buildroot --- 通过 tsocks 代理下载 package 速度快

时间:2024-11-14 15:34:24浏览次数:1  
标签:buildroot package 0.0 192.168 server --- 255.255 socks tsocks

 tsocks 配置文件 /etc/tsocks.conf

# This is the configuration for libtsocks (transparent socks)
# Lines beginning with # and blank lines are ignored
#
# The basic idea is to specify:
#    - Local subnets - Networks that can be accessed directly without
#              assistance from a socks server
#    - Paths - Paths are basically lists of networks and a socks server
#          which can be used to reach these networks
#    - Default server - A socks server which should be used to access 
#               networks for which no path is available
# Much more documentation than provided in these comments can be found in
# the man pages, tsocks(8) and tsocks.conf(8)

# Local networks
# For this example this machine can directly access 192.168.0.0/255.255.255.0 
# (192.168.0.*) and 10.0.0.0/255.0.0.0 (10.*)

local = 192.168.106.0/255.255.255.0
local = 10.0.0.0/255.0.0.0
local = 192.168.61.0/255.255.255.0

# Paths
# For this example this machine needs to access 150.0.0.0/255.255.0.0 as 
# well as port 80 on the network 150.1.0.0/255.255.0.0 through
# the socks 5 server at 10.1.7.25 (if this machines hostname was 
# "socks.hello.com" we could also specify that, unless --disable-hostnames
# was specified to ./configure).

path {
    reaches = 150.0.0.0/255.255.0.0
    reaches = 150.1.0.0:80/255.255.0.0
    server = 10.1.7.25
    server_type = 5
    default_user = delius
    default_pass = hello
}

# Default server
# For connections that aren't to the local subnets or to 150.0.0.0/255.255.0.0
# the server at 192.168.0.1 should be used (again, hostnames could be used
# too, see note above)

server = 192.168.61.15
# Server type defaults to 4 so we need to specify it as 5 for this one
server_type = 5
# The port defaults to 1080 but I've stated it here for clarity 
server_port = 10810

 

标签:buildroot,package,0.0,192.168,server,---,255.255,socks,tsocks
From: https://www.cnblogs.com/god-of-death/p/18546132

相关文章

  • 《Django 5 By Example》阅读笔记:p76-p104
    《Django5ByExample》学习第4天,p76-p104总结,总计29页。一、技术总结1.环境变量管理这里作者使用的是:python-decouple,本人在实际项目中使用的是python-dotenv,这里只是简单的使用,感觉两者差不多。2.评论功能评论功能设计的时候主要考虑两个方面:是否需要登录才能发表评论,评论......
  • elementPlus中的el-tree
    将接口返回的数据整理成组件支持的数据结构接口返回的数据格式:[{"id":767947,"appName":"生生世世","appBundle":"cds","appStore":2,"link":"www.baidu.com","accountId":"3,68","......
  • 2024鹏城杯-misc
    网安第一课改zip解压找到key1key26iMmn76ucYG9PDtsvu解压之后上脚本fromPILimportImageimages=[Image.open(f"{i}.png")foriinrange(1,38)]qr_code=Image.new("RGB",(128,128),(255,255,255))foriinrange(37):img1=images[i]......
  • 2024鹏城杯-re
    Rafflesia先去花指令a='H@^jHwpsH)[jH{M/\\tBBK_|-O{W.iJZ7\\)|~zaB^H+Lwv{SS|-j@\\_[Y'flag=''foriinrange(len(a)):flag+=chr(ord(a[i])^0x18)print(flag)PXFrPohkP1CrPcU7DlZZSGd5WcO6qRB/D1dfbyZFP3ToncKKd5rXDGCA接着是tls改了表H......
  • [QT][NCNN][YOLOV8-SEG]使用ncnn框架部署yolov8-seg,外加qt进行界面可视化操作,用于图片
    yolov8seg_qt_ncnn使用ncnn框架部署yolov8-seg,外加qt进行界面可视化操作,用于图片和视频实例分割推理。Github地址:https://github.com/zhahoi/yolov8seg_qt_ncnn起一直以来自己做算法部署或者是模型推理,最后总是需要在命令行敲各种命令,然后通常借助opencv进行可视化。老......
  • 第十三:BurpSuite模拟器安装Burp Suite证书(一)-重点
    一.模拟器安装BurpSuite证书抓取安卓应用(使用协议为http/https的数据包)1.下载逍遥模拟器地址:https://www.xyaz.cn/2.注意:安装程序一直下一步注意:目录(文件夹)不要出现中文(防止出现错误,无法正常安装成功)!!!3.windows+R-cmd-config//查看本机ip地址4.为模拟器......
  • 第十二:BurpSuite安装下载浏览器代理插件(一)-重点
    一.BurpSuite下载浏览器代理插件1.浏览器代理插件名:SwitchyOmega2.设置代理规则3.设置代理端口:8080设置代理ip:127.0.0.1(本地地址)......
  • 第十一:BurpSuite安装浏览器安装Burp Suite证书(一)-重点
    一.浏览器安装BurpSuite证书(BurpSuite抓取浏览器https协议需要安装BurpSuite的证书)1.浏览器设置-搜索:证书-点击:安全2.点击:管理设备的证书3.为受信任的根证书颁布机构(安装证书)3.1.为中间证书颁发机构(安装证书)注意:为什么要给两个都安装证......
  • 【跟着阿舜学音乐-笔记】1.09音程与协和度
    音程音程是指两个音之间的距离,即一个音到另一个音经过了多少个音高的音高单位。其中,所经历的音高单位的数量叫做音数。具有不同音数的音之间的距离叫做度。音程的下方较低的音称为根音(该说法也用于和弦中,指原位中最低的音),上方较高的音称为冠音。以下给出各音程的说明:音程的......
  • 2024鹏城杯-re
    Rafflesia先去花指令a='H@^jHwpsH)[jH{M/\\tBBK_|-O{W.iJZ7\\)|~zaB^H+Lwv{SS|-j@\\_[Y'flag=''foriinrange(len(a)):flag+=chr(ord(a[i])^0x18)print(flag)PXFrPohkP1CrPcU7DlZZSGd5WcO6qRB/D1dfbyZFP3ToncKKd5rXDGCA接着是tls改了表H......