Skip to content
Snippets Groups Projects
Commit 894ff2dc authored by David Goulet's avatar David Goulet :panda_face:
Browse files

dos: Pass transport name on new client connection


For a bridge configured with a pluggable transport, the transport name is
used, with the IP address, for the GeoIP client cache entry.

However, the DoS subsystem was not aware of it and always passing NULL when
doing a lookup into the GeoIP cache.

This resulted in bridges with a PT are never able to apply DoS defenses for
newly created connections.

Fixes #33491

Signed-off-by: David Goulet's avatarDavid Goulet <dgoulet@torproject.org>
parent b9c7c61e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment