elonen / elonen/lanscatter

Make fileserver IP binding address configurable

Open
#30 0 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue
Dominant language
Python
Stars
2
Forks
1
PR merge metrics
No merged PRs in 30d

Description

User may need to override download IP address that peer advertises to master. Auto detecion by `ip_addr = socket.gethostbyname(socket.gethostname())` can fail if, for example, local hostname is pointed to 127.0.0.1 in /etc/hosts on unix variants. Master could also use the address that peer uses to connect websocket, but manual override is the only sure way (think NATs and other exotic situations).

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the fileserver path that computes the advertised address with socket.gethostbyname(socket.gethostname()), then trace how that address is sent from the peer to the master. Identify the existing configuration or entry point where a manual override could fit. Done means a user can override the advertised download IP while automatic detection remains available for other users.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
networking
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.