ISH-801
Created by melontini
7 months ago
Jun 11 2025, 12:27 GMT+2
Updated by Laura Hausmann
6 months ago
Jun 19 2025, 18:19 GMT+2
media is not proxied for i2p and tor

Iceshrimp always serves media using clearnet addresses, local media is also not proxied at all (uses public s3 address). this results in all media failing to load with an i2p/tor config without an outproxy/exit node.

Avatar

The likely optimal solution for this is to add two new configuration options:

  • ProxyAllMedia (defaults to false)
  • ProxyBaseUrl (defaults to https://{webDomain}

After these have been added, we need to make MediaProxyService respect these options, both for drive files and for emoji. Even after this, there still are a couple other parts in the codebase that rely on the web domain - for example the identicon endpoint - so it may be more optimal to have a baseurl specified in the main instance configuration section instead, and replacing all mentions of https://{webDomain} (and similar) in the codebase with this new overridable-but-computed-by-default option.

Definitely something to think about.

Project
Iceshrimp.NET
Priority
Low
L
Type
Bug
B
State
Triaged
T
Assignee
Laura Hausmann
Avatar
Subsystem
Backend
B
Component
Core services
C
Affected version
v2025.1-beta5
V
Target version
v2025.2
V
Released in version
Unreleased