Opened at 2009-07-11T18:12:38Z
Last modified at 2015-03-27T10:43:09Z
#754 closed enhancement
merge manually specified tub location with autodetected tub location — at Version 7
Reported by: | zooko | Owned by: | warner |
---|---|---|---|
Priority: | major | Milestone: | 1.10.1 |
Component: | code-network | Version: | 1.4.1 |
Keywords: | firewall availability usability review-needed | Cc: | chatcannon |
Launchpad Bug: |
Description (last modified by daira)
I'm configuring a laptop which is behind a home NAT to have a specified tub.location which says the IP address of my home network. (As described in docs/configuration.txt.)
However, sometimes I take this laptop to other networks, and it would be nice if it would do the process of auto-detecting its current IP address and advertise both that and the manually-configured IP address that I am putting in, so that if clients can connect to it either way then they win.
Change History (7)
comment:1 Changed at 2009-07-11T22:56:45Z by warner
comment:2 Changed at 2009-07-25T21:35:37Z by robk
I pretty much just asked this question of zooko (he was online at the time)
in part it was because I hadn't found the docs/configuration.txt file - because I naturally go looking for info on the web, hence trac, hence had to go digging to find config instructions. (but that's another matter)
tub.location="some manually crafted stuff" handles the case I'm facing.
but "auto+some_manual_cruft" would be nice.
sign me up for a minor-priority vote in favour ;-)
comment:3 Changed at 2009-07-28T21:53:24Z by warner
maybe tub.location = AUTO,1.2.3.4:1234 since Tub locations are supposed to be comma-separated anyways, and "AUTO" doesn't parse as a valid location (no colon).
robk: maybe we should have a Trac page that points at source:docs/configuration.txt ? Or, we've kicked around the idea of automatically copying the files in docs/ into wiki pages (since most of them use wikiformatting anyways), so maybe it should point at something like docs/configuration.txt? instead.
comment:4 Changed at 2009-09-19T22:10:57Z by zooko
comment:5 Changed at 2009-09-19T22:11:36Z by zooko
Oops that should be #50 (STUNT/ICE).
comment:6 Changed at 2009-12-13T02:01:02Z by davidsarah
- Keywords firewall availability usability added
comment:7 Changed at 2015-02-01T00:55:46Z by daira
- Cc chatcannon added
- Description modified (diff)
chatcannon filed a pull request: https://github.com/tahoe-lafs/tahoe-lafs/pull/139
maybe we could use a magic value, like tub.location = auto+1.2.3.4:1234, which is interpreted to mean "merge 1.2.3.4:1234 with the auto-detected location".