Opened 4 months ago

Last modified 3 months ago

#2525 new defect

Signature Type changing to DSA-SHA1 by turning the tunnel off/on

Reported by: anonymous maybe Owned by:
Priority: minor Milestone: undecided
Component: apps/i2ptunnel Version: 0.9.40
Keywords: Cc:
Parent Tickets: Sensitive: no

Description

If i go to my local tunnels:

http://127.0.0.1:7657/i2ptunnelmgr

Then i press for e.g on "I2P HTTP Proxy" then i scroll down to "Signature Type" and i switch it to "Ed25519-SHA-512" if the tunnel Stopped it will switch to it , once i start the tunnel again it will switch back to "DSA-SHA1".

Restarting the router wont fix the issue, and even sometimes if tunnel on "Ed25519-SHA-512" after sometime if someone check the router it will be switched to "DSA-SHA1".

Note: if this is just graphical issue then its minor , but if this is a real reading then this is major issue because thats a manipulation over tunnel configuration.

  • I2P Version and Running Environment
 I2P version:	0.9.40-0-1~trusty+1
Java version:	Oracle Corporation 9-Debian (OpenJDK Runtime Environment 9-Debian+0-9b181-4bpo91)
Wrapper version:	3.5.30
Server version:	9.2.25.v20180606
Servlet version:	Jasper JSP 2.3 Engine
JSTL version:	standard-taglib 1.2.0
Platform:	Linux amd64 4.19.43-1.pvops.qubes.x86_64
Processor:	Haswell Core i3/i5/i7 model 60 (coreihwl)
JBigI status:	Locally optimized library libjbigi-linux-coreihwl_64.so loaded from file
GMP version:	6.1.2
JBigI version:	4
JCpuId version:	3
Encoding:	UTF-8
Charset:	UTF-8
Built By:	debian
  • Router Logs
    6/6/19, 11:01:37 AM DEBUG [nt Runner 58] .i2ptunnel.I2PTunnelHTTPClient: HTTPClient[3/98]: NewRequest header: [GET /favicon.ico HTTP/1.1
         Host: lpsg4x4gdrf7antxcdy47cl6abcqei5ommgzt55retq7go5ku3ba.b32.i2p
         Accept: */*
         Accept-Encoding: gzip, deflate
         DNT: 1
         X-Accept-Encoding: x-i2p-gzip;q=1.0, identity;q=0.5, deflate;q=0, gzip;q=0, *;q=0
         User-Agent: MYOB/6.66 (AN/ON)
         Connection: close
        
         ]
    6/6/19, 11:01:37 AM DEBUG [nt Runner 58] .i2ptunnel.I2PTunnelHTTPClient: HTTPClient[3/98]: Destination: no.i2p
    6/6/19, 11:01:37 AM DEBUG [nt Runner 64] .i2ptunnel.I2PTunnelHTTPClient: HTTPClient[3/99]: Line=[GET http://no.i2p/favicon.ico HTTP/1.1]
    6/6/19, 11:01:37 AM DEBUG [nt Runner 64] .i2ptunnel.I2PTunnelHTTPClient: HTTPClient[3/99]: First line [GET http://no.i2p/favicon.ico HTTP/1.1]
    6/6/19, 11:01:37 AM DEBUG [nt Runner 64] .i2ptunnel.I2PTunnelHTTPClient: HTTPClient[3/99]: NEWREQ: "GET /favicon.ico HTTP/1.1"
    6/6/19, 11:01:37 AM DEBUG [nt Runner 64] .i2ptunnel.I2PTunnelHTTPClient: HTTPClient[3/99]: HOST : "lpsg4x4gdrf7antxcdy47cl6abcqei5ommgzt55retq7go5ku3ba.b32.i2p"
    6/6/19, 11:01:37 AM DEBUG [nt Runner 64] .i2ptunnel.I2PTunnelHTTPClient: HTTPClient[3/99]: DEST : "no.i2p"
    6/6/19, 11:01:37 AM DEBUG [nt Runner 64] .i2ptunnel.I2PTunnelHTTPClient: HTTPClient[3/99]: Line=[Host: no.i2p]
    6/6/19, 11:01:37 AM DEBUG [nt Runner 64] .i2ptunnel.I2PTunnelHTTPClient: HTTPClient[3/99]: Setting host = lpsg4x4gdrf7antxcdy47cl6abcqei5ommgzt55retq7go5ku3ba.b32.i2p
    6/6/19, 11:01:37 AM DEBUG [nt Runner 64] .i2ptunnel.I2PTunnelHTTPClient: HTTPClient[3/99]: Line=[User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0]
    6/6/19, 11:01:37 AM DEBUG [nt Runner 64] .i2ptunnel.I2PTunnelHTTPClient: HTTPClient[3/99]: Line=[Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8]
    6/6/19, 11:01:37 AM DEBUG [nt Runner 64] .i2ptunnel.I2PTunnelHTTPClient: HTTPClient[3/99]: Line=[Accept-Language: en-US,en;q=0.5]
    6/6/19, 11:01:37 AM DEBUG [nt Runner 64] .i2ptunnel.I2PTunnelHTTPClient: HTTPClient[3/99]: Line=[Accept-Encoding: gzip, deflate]
    6/6/19, 11:01:37 AM DEBUG [nt Runner 64] .i2ptunnel.I2PTunnelHTTPClient: HTTPClient[3/99]: Line=[DNT: 1]
    6/6/19, 11:01:37 AM DEBUG [nt Runner 64] .i2ptunnel.I2PTunnelHTTPClient: HTTPClient[3/99]: Line=[Connection: keep-alive]
    6/6/19, 11:01:37 AM DEBUG [nt Runner 64] .i2ptunnel.I2PTunnelHTTPClient: HTTPClient[3/99]: Line=[]
    6/6/19, 11:01:37 AM DEBUG [nt Runner 64] .i2ptunnel.I2PTunnelHTTPClient: HTTPClient[3/99]: NewRequest header: [GET /favicon.ico HTTP/1.1
         Host: lpsg4x4gdrf7antxcdy47cl6abcqei5ommgzt55retq7go5ku3ba.b32.i2p
         Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
         Accept-Encoding: gzip, deflate
         DNT: 1
         X-Accept-Encoding: x-i2p-gzip;q=1.0, identity;q=0.5, deflate;q=0, gzip;q=0, *;q=0
         User-Agent: MYOB/6.66 (AN/ON)
         Connection: close
        
         ]
    6/6/19, 11:01:37 AM DEBUG [nt Runner 64] .i2ptunnel.I2PTunnelHTTPClient: HTTPClient[3/99]: Destination: no.i2p
    6/6/19, 11:02:15 AM INFO [e Jetty-1376] .i2ptunnel.I2PTunnelHTTPClient: close() called: forced = true open = true sockMgr = net.i2p.client.streaming.impl.I2PSocketManagerFull@5ee8d281
    6/6/19, 11:02:37 AM DEBUG [P HTTP Proxy] .i2ptunnel.I2PTunnelHTTPClient: startup 4
         java.lang.Exception: I did it
         at net.i2p.i2ptunnel.I2PTunnelClientBase.startup(I2PTunnelClientBase.java:550)
         at net.i2p.i2ptunnel.I2PTunnelClientBase.startRunning(I2PTunnelClientBase.java:545)
         at net.i2p.i2ptunnel.I2PTunnelHTTPClient.startRunning(I2PTunnelHTTPClient.java:321)
         at net.i2p.i2ptunnel.I2PTunnel.runHttpClient(I2PTunnel.java:982)
         at net.i2p.i2ptunnel.TunnelController.startHttpClient(TunnelController.java:477)
         at net.i2p.i2ptunnel.TunnelController.doStartTunnel(TunnelController.java:438)
         at net.i2p.i2ptunnel.TunnelController.startTunnel(TunnelController.java:395)
         at net.i2p.i2ptunnel.TunnelController$1.run(TunnelController.java:375)
         at java.base/java.lang.Thread.run(Thread.java:844)
         at net.i2p.util.I2PThread.run(I2PThread.java:103)

Subtickets

Change History (4)

comment:1 Changed 4 months ago by anonymous maybe

Component: unspecifiedrouter/general

comment:2 Changed 4 months ago by zzz

Component: router/generalapps/i2ptunnel

comment:3 Changed 3 months ago by zzz

Priority: majorminor
Sensitive: unset
Status: newinfoneeded_new

Cannot reproduce with shared clients disabled in HTTP proxy tunnel.
I presume you have shared clients enabled? If so, you need to stop all shared clients and change the setting on all of them. Yes this is awkward but it's all we have. There's been discussion over the years on making 'shared clients groups' and facilitating configuration for a group, but it would be hard.

Please confirm your shared clients setting.

comment:4 Changed 3 months ago by anonymous maybe

Status: infoneeded_newnew

Yes disabling "shared clients" will make it work. though this is annoying to leave it as like that.

Note: See TracTickets for help on using tickets.