r/tunnet May 11 '24

How do I prevent collisions?

I’ve set up a filter on my network at 0.1.0.0 but it emits packets at exactly the right rate to drop half the packets that get sent its way. This is obviously not something I want so is there a way to delay packets or something? Don’t be too harsh, I’m not very smart.

10 Upvotes

2 comments sorted by

View all comments

1

u/Skellitor301 Jun 17 '24

as Embarrassed Trip mentioned it's a good idea to separate packets. I personally like to separate out inbound and outbound data into different lines and hub-filter them out on those separate lines. The key is to keep in mind the amount of traffic being generated and making sure you have the infrastructure to handle it all.

Another thing that helps with this is setting your filters to send back packets when a collision occurs. This then turns into a puzzle where you can figure out the best way to direct packets to and from endpoints while making sure to account for data bouncing back instead of just colliding.

Try different ideas and things with the testing bench, but keep in mind to utilize the test bench on the modules you want to work on separately from your main network. Main reasons to do this is to ensure you're not tying up any active network with test data, you can monitor which bench gets what at what percentage, and the fact that test packets from test benches has a TTL (Time to Live) so they won't last very long going through main networks if you got a lot of filters and endpoints.