Git Product home page Git Product logo

Comments (6)

klzsysy avatar klzsysy commented on June 17, 2024 1

@sky0014 是 ./netspeeder venet0 "tcp and ! tcp port 1723"
而你是你写的 ./netspeeder venet0 "tcp and tcp port ! 1723"
这个语法是有区别的

from net-speeder.

klzsysy avatar klzsysy commented on June 17, 2024

这个很简单 ./net_speeder venet0 'tcp and ! tcp port 1723'
跟tcpdump的规则是一样的

from net-speeder.

sky0014 avatar sky0014 commented on June 17, 2024

配合ss效果比较好,如果还想连pptp的话,可以看我的文章
解决net-speeder与pptp不兼容的问题

from net-speeder.

sky0014 avatar sky0014 commented on June 17, 2024

@klzsysy 可以稍加解释下吗,谢谢。
我开始是用tcp and ! tcp port 1723的,发现不行我才换了下试试。

from net-speeder.

klzsysy avatar klzsysy commented on June 17, 2024

@sky0014 这里用的是BPF过滤器规则
"tcp and ! tcp port 1723" 表示 (tcp协议 与 (非 tcp 端口1723)) ,就是除了1723端口之外的所有TCP会话。如果你还想排除某端口可以在后面加上 "and ! protocol xxx" 这里protocol可以是tcp或者udp。
具体语法可以 google "bpf规则"

from net-speeder.

sky0014 avatar sky0014 commented on June 17, 2024

@klzsysy 好的,感谢!

from net-speeder.

Related Issues (20)

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.