Opened 3 weeks ago

Last modified 9 days ago

#2356 infoneeded_new defect

Unable to set Website Hostname field on some routers

Reported by: slumlord Owned by:
Priority: minor Milestone: undecided
Component: apps/i2ptunnel Version: 0.9.37
Keywords: hidden service, http, website hostname, spoofedhost Cc: zzz
Parent Tickets:

Description (last modified by slumlord)

I2P version:	0.9.37-0
Java version:	Oracle Corporation 1.7.0_161 (OpenJDK Runtime Environment 1.7.0_161-b01)
Wrapper version:	3.5.34
Server version:	9.2.25.v20180606
Servlet version:	Jasper JSP 2.3 Engine
JSTL version:	standard-taglib 1.2.0
Platform:	FreeBSD amd64 11.2-RELEASE-p4
Processor:	Ryzen 7 (athlon64)
JBigI status:	Locally optimized library libjbigi-freebsd-none_64.so loaded from file
GMP version:	6.0.0
JBigI version:	3
JCpuId version:	3
Encoding:	UTF-8
Charset:	UTF-8
Built By:	zzz

I have a number of HTTP hidden services configured in a router, I am unable to set the Website Hostname field for any of them. I have also tried manually setting the tunnel.$INT.spoofedHost field in ~/.i2p/i2ptunnel.config which does not seem to work either. This is happening on a FreeBSD system, I can set & change the Website Hostname setting on a Linux (Fedora) system without issue, though that could just be a coincidence.

Edit: The logs do not show any error when I try to add in a hostname through the router console.

Subtickets (add)

Change History (4)

comment:1 Changed 3 weeks ago by slumlord

  • Description modified (diff)

comment:2 Changed 2 weeks ago by zzz

  • Status changed from new to infoneeded_new

works for me on linux, don't have a BSD to test with.
Manual setting in i2ptunnel.config requires hidden services manager or full router restart, did you do that? There's no automatic reload like there is for router.config.
I assume you're putting in some regular ASCII chars for the hostname and not something that might get caught in the XSS filter... although non-ASCII chars should work fine too.
Can you change anything else on the form, or is this specific to the host name field?

comment:3 Changed 2 weeks ago by slumlord

  • Status changed from infoneeded_new to new

Hm, no I did not try restarting the router as it is currently hosting services. I will see if I can test that in the near future.

Yes, I am using regular ASCII text for the hostname - e.g. bobthebuilder.i2p - and any other change that I try to make is successfully saved.

comment:4 Changed 9 days ago by zzz

  • Status changed from new to infoneeded_new

Still trying to understand exactly what happened and what didn't.
So you made the change via the GUI, correct?. Did the change get reflected in i2ptunnel.config? Did it get reflected in the GUI? Did the server see the change?

You said in the OP you were "unable to set" it, so that to me sounds like the change didn't take effect anywhere, not even in the GUI?

Note: See TracTickets for help on using tickets.