udptunnel icon indicating copy to clipboard operation
udptunnel copied to clipboard

Question about magic value - disabling or minimizing PacketMagic to reduce overhead?

Open LindaFerum opened this issue 2 years ago • 0 comments

Hi! From my very cursory and inexperienced observation it appears that magic value can be specified directly in the config

a-la "PacketMagic": "stuff",

Assuming any adversarial action against the tunnel is not a problem (long story, I'm planning to tunnel it through another connection), could I specify something like

"PacketMagic": "i",

to minimize overhead (IIRC strings are supposed to be UTF-8 so a single ASCII character would "eat up" one byte) ?

I am not a Go pro :) but it does seem like it just gets appended to a packet verbatim, correct?

LindaFerum avatar Jul 15 '23 17:07 LindaFerum