i2pd-qt icon indicating copy to clipboard operation
i2pd-qt copied to clipboard

Qt: wtf strange with tunn.conf options? [Issue purely for Qt, doesn't affect i2pd kernel]

Open nonlin-lin-chaos-order-etc-etal opened this issue 3 years ago • 2 comments

[pop3_postman]
destinationport=0
cryptoType=0
i2cp.leaseSetEncType=
i2cp.leaseSetPrivKey=
i2cp.leaseSetAuthType=0

deleted all of these for now. With these options present, pop3_postman didn't work due to invalid localhost port setting or due to these options... testing.

[Further comments will be as edits of this comment]

UPDATE1. Port setting in pop3 client seems to be valid, will now perform postman HQ instructions for testing POP3.

UPDATE2.

telnet localhost 7660
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
[HERE THE telnet WAITS FOREVER; expected "+OK ready" from postman pop3 is not received during a few minutes; I timed out as a human tester.]
^]
telnet> q
Connection closed.
Ok
echo see also " http://hq.postman.i2p/?page_id=11 6. Using the POP3 Services "

UPDATE.

Quitting non-grace and restarting i2pd_qt after having deleted all of the above lines from tun conf.

Then, tested that port was closed:

telnet localhost 7660
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
Ok

Then, lauched i2pd_qt and the first test was successful:

telnet localhost 7660
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK Hello there.
quit
+OK Better luck next time.
Connection closed by foreign host.
Ok

Then, full pop3 test was successful:

telnet localhost 7660
Trying 127.0.0.1…
Connected to localhost.
Escape character is ‘^]’.
+OK Hello there.
user testuser1
+OK Password required.
pass thepassword
+OK logged in.
quit
+OK Bye-bye.
Connection closed by foreign host.

Then, tested mutt: mutt reported no new mail in the pop3 postman box. Success.

Bottomline:

  1. wtf with tunconf options of [pop3_postman] section - the following lines were deleted to succeed with pop3 working okay:
destinationport=0
cryptoType=0
i2cp.leaseSetEncType=
i2cp.leaseSetPrivKey=
i2cp.leaseSetAuthType=0
  1. wtf with i2pd_qt wrt this issue. Is this a defect? If yes, where in the hell is this a defect?