Skip to content

fix: UDP_FORWARDERが無関係なリクエストを受信しないようにする#233

Merged
funa-tk merged 1 commit intoDeNA:masterfrom
toku-sa-n:fix/udp-forwarder-upstream-socket
Mar 10, 2026
Merged

fix: UDP_FORWARDERが無関係なリクエストを受信しないようにする#233
funa-tk merged 1 commit intoDeNA:masterfrom
toku-sa-n:fix/udp-forwarder-upstream-socket

Conversation

@toku-sa-n
Copy link
Contributor

UDP_FORWARDERがリクエスト転送のために内部で作成するUDPソケットが受信元のIP:portを制限していなかったため、これをupstreamのIP:portからのみ受信するよう制限しました。

Connect the UDP socket to the configured upstream so packets from unexpected sources are ignored. Keep the regression test readable by extracting fixture helpers around the UDP packet flow.

Made-with: Cursor
@toku-sa-n toku-sa-n force-pushed the fix/udp-forwarder-upstream-socket branch from 3f3ae1a to 9fea774 Compare March 10, 2026 01:35
@toku-sa-n toku-sa-n marked this pull request as ready for review March 10, 2026 09:25
@funa-tk
Copy link
Contributor

funa-tk commented Mar 10, 2026

ありがとうございます!
マージさせていただきます。

@funa-tk funa-tk merged commit 8fd3cdd into DeNA:master Mar 10, 2026
1 check passed
@toku-sa-n toku-sa-n deleted the fix/udp-forwarder-upstream-socket branch March 10, 2026 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants