ProtonMail / proton-bridge

Proton Mail Bridge application
GNU General Public License v3.0
1.18k stars 159 forks source link

bridge should listen on / bind to localhost on ipv6 (::1) and ipv4 (127.0.0.1) #501

Open masterflitzer opened 1 month ago

masterflitzer commented 1 month ago

bridge should listen on / bind to localhost on ipv6 (::1) and ipv4 (127.0.0.1)

Expected Behavior

bridge listens on ::1 and 127.0.0.1 (dual stack localhost)

Current Behavior

bridge listens only on 127.0.0.1 (single stack localhost without option to use ipv6)

Possible Solution

change code to listen on ipv6 (::1) and/or ipv4 (127.0.0.1) depending on availability of either

Steps to Reproduce

  1. start proton mail bridge
  2. see only 127.0.0.1 is offered as hostname
  3. confirm with this command: ss -anptu | grep -Fi listen | grep -Fi bridge

Version Information

v3.14.0

Context (Environment)