Comments (5)
Agree, and I relized that, the client index
could not be placed inside the encrypted portion of packet.
We need the private key to decrypt the packet. But we cannot get the private key until we get the client index.
from netcode.
I like this idea, would you be willing to make a PR that implements this, including an extension to the standard from 1.02 -> 1.03?
from netcode.
OK, I'll try my best
from netcode.
I've thought about this more, the bandwidth cost and complexity of the change to add the client index to packets, is too high a price to pay, for something which could be implemented via a hash table look up on client id instead.
This also has the benefit that implementing it this way will also not require any changes in the protocol version.
So if you would like to add this feature, please implement a hash table lookup from client id -> client index, instead of including the client index in packets.
Thanks!
from netcode.
Yes this is another good point.
from netcode.
Related Issues (20)
- Why is the browser plugin archived? HOT 2
- [Question] Connect Token private part HOT 1
- [Question] Is it possible to handle direct IP connections without a matchmaker service? HOT 1
- Assert on NULL user_data in netcode_generate_connect_token() HOT 1
- Up-to-date rust implementation of netcode HOT 1
- Windows: Connecting to server is delayed if some previous clients do not shutdown by the right way HOT 25
- Wait upon certain time for incoming packets HOT 1
- libsodium is /MT HOT 1
- Question: Connect Token Design HOT 5
- Connect Token Sniffing HOT 11
- DoS by Abusing Replay Protection HOT 5
- netcode.io support x32? HOT 1
- Settings #define's HOT 14
- MinGW linker error introduced in #66 HOT 1
- Fiy, found Socketify https://socketify.net/
- Switching between carrier and wifi when a connection has been established HOT 2
- netcode.io connect tokens fail when letting the system assign a server port. HOT 2
- Reporting security vulnerabilities HOT 1
- Single project c file HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from netcode.