Skip to content

Instantly share code, notes, and snippets.

View love4taylor's full-sized avatar
😅

love4taylor love4taylor

😅
View GitHub Profile
From aa6ba6895b2af23c6b1aca0944d7785af015113d Mon Sep 17 00:00:00 2001
From: love4taylor <i@love4taylor.com>
Date: Mon, 11 Mar 2024 22:42:18 +0900
Subject: [PATCH 1/2] netfilter: nat: add brcm fullcone support
---
net/netfilter/nf_nat_masquerade.c | 193 ++++++++++++++++++++++++++++++
net/netfilter/xt_MASQUERADE.c | 7 ++
2 files changed, 200 insertions(+)
// ==UserScript==
// @name 干掉B站直播P2P传输
// @namespace https://bbs.nga.cn/read.php?&tid=25285579&pid=490022087&to=1
// @version 0.1
// @description 每60秒清理一次P2P相关函数
// @author xfgryujk
// @include /https?:\/\/live\.bilibili\.com\/?\??.*/
// @include /https?:\/\/live\.bilibili\.com\/\d+\??.*/
// @include /https?:\/\/live\.bilibili\.com\/(blanc\/)?\d+\??.*/
// @grant none
From 99c24dd6eb2b39e883431874ccae6eaccc735cea Mon Sep 17 00:00:00 2001
From: love4taylor <i@love4taylor.com>
Date: Thu, 30 Nov 2023 22:51:13 +0900
Subject: [PATCH 1/2] net-tcp_brutal: make it as a built-in kernel module
---
net/ipv4/Kconfig | 9 ++
net/ipv4/Makefile | 1 +
net/ipv4/tcp_brutal.c | 311 ++++++++++++++++++++++++++++++++++++++++++
3 files changed, 321 insertions(+)
# $OpenBSD: ssh_config,v 1.36 2023/08/02 23:04:38 djm Exp $
# This is the ssh client system-wide configuration file. See
# ssh_config(5) for more information. This file provides defaults for
# users, and the values can be changed in per-user configuration files
# or on the command line.
# Configuration data is parsed as follows:
# 1. command line options
# 2. user-specific file
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAq+GhApGexXEptxGQRaZbLPbWVYjSaTwVKZ/FlSrsba
# sshd_config defaults on Arch Linux
KbdInteractiveAuthentication no
UsePAM yes
PrintMotd no
# ---------- > Global Plaform
# > DAZN
server=/dazn-api.com/1.1.1.1
server=/dazn.com/1.1.1.1
server=/dazndn.com/1.1.1.1
server=/indazn.com/1.1.1.1
server=/d151l6v8er5bdm.cloudfront.net/1.1.1.1
server=/d1sgwhnao7452x.cloudfront.net/1.1.1.1
server=/dcalivedazn.akamaized.net/1.1.1.1
server=/dcblivedazn.akamaized.net/1.1.1.1
# https://github.com/gaoyifan/china-operator-ip/blob/7b705a3badea07641525863907849421b594ad1e/china6.txt
IP-CIDR6,2001:250::/30
IP-CIDR6,2001:254::/31
IP-CIDR6,2001:256:100::/48
IP-CIDR6,2001:67c:aec::/48
IP-CIDR6,2001:67c:c28::/48
IP-CIDR6,2001:7fa:5::/48
IP-CIDR6,2001:c68::/32
IP-CIDR6,2001:cc0::/32
IP-CIDR6,2001:da8::/32
PROCESS-NAME,v2ray
PROCESS-NAME,xray
PROCESS-NAME,ss-local
PROCESS-NAME,clash
PROCESS-NAME,ClashX
PROCESS-NAME,trojan
PROCESS-NAME,trojan-go
PROCESS-NAME,privoxy
PROCESS-NAME,cloudflared
PROCESS-NAME,aria2c
mixed-port: 7890
allow-lan: false
mode: rule
log-level: info
ipv6: false
experimental:
sniff-tls-sni: true
profile: