Skip to content

Commit ff644de

Browse files
committed
feat: tcp ice candidate
Squashed commit of the following: commit 1020e0f Author: Lukas Herman <[email protected]> Date: Mon Dec 22 10:39:50 2025 -0500 update str0m to fork commit be4ae2b Author: Lukas Herman <[email protected]> Date: Fri Dec 19 18:16:53 2025 -0500 use candidate builder commit 76ee0f7 Author: Lukas Herman <[email protected]> Date: Fri Dec 19 14:38:02 2025 -0500 fix: missing tcp gateway commit 7afc94d Author: Lukas Herman <[email protected]> Date: Fri Dec 19 14:20:08 2025 -0500 initial tcp and udp candidates commit 08d999b Author: Lukas Herman <[email protected]> Date: Fri Dec 19 14:11:03 2025 -0500 restructure transport to strictly candidate type commit 98e7059 Author: Lukas Herman <[email protected]> Date: Thu Dec 18 15:29:25 2025 -0500 add tcptype candidate commit 94c5b81 Author: Lukas Herman <[email protected]> Date: Thu Dec 18 14:41:37 2025 -0500 fix: tcp packet loss commit 5902244 Author: Lukas Herman <[email protected]> Date: Thu Dec 18 12:37:09 2025 -0500 add test for unified socket udp and tcp commit 0f0ee51 Author: Lukas Herman <[email protected]> Date: Thu Dec 18 12:11:55 2025 -0500 tcp candidate working commit 55b1fce Author: Lukas Herman <[email protected]> Date: Thu Dec 18 11:49:26 2025 -0500 compilable tcp socket commit 59f8efa Author: Lukas Herman <[email protected]> Date: Thu Dec 18 11:37:46 2025 -0500 init tcp candidates
1 parent 4a5fa2d commit ff644de

File tree

13 files changed

+621
-140
lines changed

13 files changed

+621
-140
lines changed

Cargo.lock

Lines changed: 28 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ tracing = { version = "0.1", features = ["release_max_level_debug"] }
3535
futures-lite = "2.6.1"
3636
rand = "0.9"
3737
bytes = "1.11.0"
38-
str0m = { git = "https://github.com/PulseBeamDev/str0m.git", branch = "patch/main"}
38+
str0m = { git = "https://github.com/PulseBeamDev/str0m.git", branch = "feat/tcptype"}
3939
# str0m = { git = "https://github.com/algesten/str0m.git", rev = "fe599b7847779e9dfd822daea943fa9e272c71b0", default-features = false, features = ["openssl", "vendored"] }
4040
# str0m = { version = "0.11.1", default-features = false, features = ["openssl", "vendored", "sha1"] }
4141

makefiles/net.mk

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
IFACE ?= lo
2-
3-
.PHONY: all help \
4-
net-tune \
5-
net-apply net-clear net-status net-verify \
6-
net-good-home-wifi net-congested-wifi net-stable-mobile net-lte-1bar \
7-
net-cross-continent net-unusable
2+
IP ?= 192.168.1.63
83

94
all: help
105

@@ -26,6 +21,14 @@ net-tune:
2621
@ethtool -k $(NIC) | grep -E "gro|gso|segmentation|scatter"
2722
@echo "✅ Socket tuning applied successfully."
2823

24+
net-udp-block:
25+
sudo iptables -A OUTPUT -p udp -d $(IP) --dport 3478 -j DROP
26+
sudo iptables -L -n -v
27+
28+
net-udp-unblock:
29+
sudo iptables -D OUTPUT -p udp -d $(IP) --dport 3478 -j DROP || true
30+
sudo iptables -D INPUT -p udp -s $(IP) --sport 3478 -j DROP || true
31+
2932
# net-apply: Applies network simulation with AUTOMATIC handling of localhost double-counting
3033
# Presets should specify TARGET_RTT and jitter as if measuring end-to-end
3134
# This function divides by 2 automatically for localhost since packets traverse rules twice

pulsebeam-runtime/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ metrics = "0.24.3"
3636
loom = { version = "0.7", optional = true, features = ["futures", "checkpoint"] }
3737
event-listener = "5.4.1"
3838
parking_lot = "0.12.5"
39+
dashmap = "6.1.0"
40+
async-channel = "2.5.0"
3941

4042
[dev-dependencies]
4143
criterion = { version = "0.8.1", features = ["async", "async_tokio"] }

0 commit comments

Comments
 (0)