Git Product home page Git Product logo

android-vpnservice-demo's People

Contributors

attect avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

android-vpnservice-demo's Issues

【关于sock5问题请教】

大神,你好,我这边写了一个sock5用vpn代理实现的代码,sock5协商成功后,在发数据阶段,看网上说的应该是要获取tcp发的数据报文。现在有个问题是,我这边应该是要先模拟握手,拿到tcp发的数据报文,然后放到sock5的代理服务器。但是好像不行。能不能麻烦你帮我看一下代码。
1.这个代码,是我模拟握手:packet.updateTCPBuffer(newByteBuffer, (byte) (packet.tcpHeader.ACK | packet.tcpHeader.SYN), 0, packet.tcpHeader.sequenceNumber + 1, 0); 但是总感觉不对。

  1. byte[] sendData = packet.tcpHeader.data。这个代码是我获取数据报文的,感觉也不对。

麻烦大神抽个时间帮忙看一下,困扰了好几天的问题。
项目地址:https://github.com/zhangliangming/Sock5Pro

Compose Compiler和Kotlin 是否不匹配

e: This version (1.1.1) of the Compose Compiler requires Kotlin version 1.6.10 but you appear to be using Kotlin version 1.6.21 which is not known to be compatible. Please fix your configuration (or suppressKotlinVersionCompatibilityCheck but don't say I didn't warn you!).

百度说吧build.gradle设置里1.6.21改成1.6.10也是会报错咋整

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.