SlipStreamGUI icon indicating copy to clipboard operation
SlipStreamGUI copied to clipboard

[FEATURE] Please add MTU option too.

Open kpopdev opened this issue 8 months ago • 2 comments

Feature Description

MTU is very important for packet loss and connections.

Problem Statement

The https://github.com/masterking32/MasterDnsVPN already uses mtu and it really helps

kpopdev avatar Mar 12 '26 01:03 kpopdev

Thanks for the suggestion. I checked the current code path before adding this:

  • The app does not currently expose a user-configurable MTU setting in the UI.
  • The bundled SlipStream client CLI in this repo also does not expose an --mtu flag, so there is not a clean end-to-end MTU setting to wire up yet.

I'm leaving this open as a valid enhancement request. If MTU support is added in the upstream client, or if we decide to expose it in a supported path, we can wire it into the GUI as well.

mirzaaghazadeh avatar Mar 14 '26 12:03 mirzaaghazadeh

Implemented the part that is actually supported by the current SlipStream stack in commit b081691.

What changed:

  • The GUI now shows the effective SlipStream client MTU under Server Domain.
  • The value updates live from the entered domain.
  • Startup now validates domains that are too long for DNS transport and logs the derived MTU when SlipStream starts.

Why this is not a manual MTU input:

  • Upstream SlipStream currently auto-derives client MTU from domain length instead of exposing a user --mtu flag.
  • The current upstream formula is floor((240 - domain_len) / 1.6), so a manual override in the GUI would be misleading unless the client itself adds real MTU override support.

I'm leaving the issue open only if a future upstream client adds an actual MTU override knob; otherwise the app now surfaces the MTU behavior that SlipStream really uses.

mirzaaghazadeh avatar Mar 14 '26 12:03 mirzaaghazadeh