Commit Graph
16 Commits
Author SHA1 Message Date
kulikov0 a735b4176e erase fingerprints (#177)
* add external modules and patches

* migrate pion webrtc to vendored headlessclient, drop local pion replaces

* use chrome ice credentials, one webrtc api per peer connection

* send one user agent everywhere, use the vendored websocket

* route the telemost joiner through headlessclient, drop the dead keylog

* answer telemost dtls without a hello verify round trip

* follow the headlessclient dtls 1.3 mimicry rename

* follow the headless-client rename and apply the profile before the caller settings

* build every webrtc api through relay/headlessapi

* register chrome rtp header extensions for every pion consumer

* dial vk webtransport signaling through the headless quic profile

* dial dion and wb stream through the headless chrome profile

* announce chrome's http/3 settings on the vk webtransport signaling

* send chrome header blocks on bitrix http and livekit websocket

* send chrome's webtransport connect headers on vk signaling

* stop passing invented track names to the library

* move wbp http paths onto the headlessclient profile

* migrate to a published headlessclient

* dedup go.mod
2026-09-12 20:39:06 +02:00
kulikov0 88a0b5f1b9 repair ack, refactor e2e tests 2026-09-12 20:36:19 +02:00
kulikov0 c3070210bc extend vp8 idle keepalive 2026-09-10 17:53:06 +02:00
kulikov0 b2cb0cbd42 cleanup dead code, update gitignore 2026-08-31 23:36:16 +02:00
kulikov0 da3bf64efc Merge branch 'main' of github.com:kulikov0/whitelist-bypass 2026-08-31 23:05:10 +02:00
kulikov0 7f603bdb24 add dual track support for tm 2026-08-31 22:58:17 +02:00
06866244cb Stop two idle tickers from spinning when there is nothing to send (#170)
* tunnel: stop spinning idle tickers in the vp8 writer and kcp update loop

Two hot loops woke the CPU constantly even with no traffic in the tunnel.

vp8tunnel writerLoop: sampleInterval is (1s / fps) / pacedBatch, so the
default fps=24 batch=30 gives 1.54ms - 648 ticks per second. With an empty
send queue the loop still woke on every tick just to bump idleTicks; a real
frame only goes out every keepaliveEvery ticks (~9/s), so ~639 wakeups per
second did nothing but keep the core out of deep sleep. With dualTrack there
are two such writers.

The loop now has two phases. While data flows nothing changes - the ticker
holds the frame pace and the traffic shape is identical. After 40 consecutive
empty ticks (~60ms) the ticker stops and the goroutine blocks on a select over
the send queue and a keepalive timer; incoming data returns it to pace at once.
Gaps shorter than 60ms are still ridden out on the ticker, so bursty transfers
do not flap between modes.

multi_track_kcp_tunnel updateLoop: same shape, a fixed 10ms ticker calling
Update 100 times a second regardless of traffic. While idle WaitSnd() is zero
across every session, so there is nothing to retransmit. The loop keeps 10ms
while segments are in flight and drops to 500ms once idle; sends and receives
nudge it back through a buffered channel, so the first packet after silence is
not delayed.

Measured with relay/benchidle (single track, 30s of pure idle):

                        before   after
  vp8 only              2.47 %   0.14 %
  vp8 + reliable KCP    2.95 %   0.15 %

The second row is the typical mobile client configuration.

* tunnel: add an idle emission-rate test

Measures both halves of what an idle tunnel costs: frames put on the wire per
second, and CPU burned by the writer. The frame rate is the number that matters
on a phone, since every frame is a packet that keeps the radio awake.

Single track, 30s idle window:

                              frames/s   cpu
  original                    7.9        2.155 %
  patched, same keepalive     7.7        0.154 %
  patched, keepalive 3-8s     0.2        0.007 %

The middle row is the limit of the loop fix on its own - CPU drops 14x while
the packet rate barely moves, because idle traffic is driven by the keepalive
period rather than by the ticker.

* avoid waking the kcp update loop on udp sends, cleanup

---------

Co-authored-by: jynk0 <106554291+Jynk0_btw@users.noreply.github.com>
Co-authored-by: kulikov0 <19497634+kulikov0@users.noreply.github.com>
2026-08-30 10:54:41 +02:00
kulikov0 2bad03c542 fix config ack, add randomness for keyframes and interframes 2026-07-26 20:30:48 +02:00
kulikov0 2dbc6ea1eb fix vpn notification, add more logs under debug flag 2026-07-25 12:23:41 +02:00
kulikov0 d66be97922 reduce logs for non-debug runtime 2026-07-25 09:15:10 +02:00
kulikov0 a0229885ca bring kcp over vp8 (#160)
* bring kcp over vp8 for wbstream

* add multitrack kcp

* make kcp configurable param

* fix lingered kcp tunnel after switch into raw vp8 tunnel

* add reliable setting into ios and desktop joiners
2026-07-24 13:38:08 +02:00
kulikov0 c9538d4193 port pr 106 stateful udp socks5, dedup nack, drop send queue to 128 2026-05-28 20:43:32 +02:00
kulikov0 b48b0cb927 VP8 pacing + traffic obfuscation in headless 2026-05-08 16:26:24 +02:00
kulikov0 265da4579c telemost reanimation 2026-05-07 14:56:33 +02:00
kulikov0 1b2d6bc5d3 v0.2.1 (#53)
* ios proxy app, tune vp8 tunnel

* refactor go modules, move headless joiner android to a go captcha

* restore emojis in vk bot keyboard

* headless support in vk bot

* remove telemost dc hooks, update cretor-app ui and bot

* remove telemost support from go code, add fallback to video if mode == dc in joiners

* fix headless creators in windows

* update vk call creation autoclick

* force desktop useragent for creator app

* kick disconnected user in headless vk creator immediately when connection is lost

* update README.md

* update SETUP.md

* update release version

* add fallback for link creation in vk bot
2026-04-19 17:47:36 +02:00
029b536250 V0.2.0 (#37)
* refactor go files, add headless telemost support

* js crap -> ts crap

* docker-build (#32)

Co-authored-by: Mimocro <suzumagefag@gmail.com>

* add headless telemost for creator app

* UX improvements (#39)

* Add search in split tunneling app list

* Add captcha detection

* Add autoclick settings

* headless vk joiner

* add headless telemost joiner

* refactor go modules

* redesign settings dialog

* headless option in settings

* headless joiner support in MainActivity

* display headless vk status in statusBar

* update ux for headless in creator app

* fix double log render for headless mode in creator

* unicode for cyrillic

* add socks auth

* put socksPort inf prefs, verify that port is free on start

* proxy only mode

* mask addresses in go network errors

* update docker build, add file write logic for headless

* increment release version, add make-release script

---------

Co-authored-by: kulikov <user@Mac.lan>
Co-authored-by: Mimocro <67226986+Mimocro@users.noreply.github.com>
Co-authored-by: Mimocro <suzumagefag@gmail.com>
Co-authored-by: senya <76913432+senya-sh@users.noreply.github.com>
2026-04-12 17:14:51 +02:00