Android - Unable to add a port in destination address when creating a new IRC tunnel #6

Open
opened 2025-04-21 14:44:24 -04:00 by idk · 4 comments
Owner

Hello

Using Android with I2P 2.1.0 version, I go to tunnels-> create a client tunnel -> IRC client and when I add the destination it only accepts an address without the port, so I can add "myIRCaddress.i2p" but I can not "myIRCaddress.i2p:5555".

Once I have created the tunnel with the i2p address (and without port), I have to to select the tunnel -> edit and then I can add the port in Target destination.

Hello Using Android with I2P 2.1.0 version, I go to tunnels-> create a client tunnel -> IRC client and when I add the destination it only accepts an address without the port, so I can add "myIRCaddress.i2p" but I can not "myIRCaddress.i2p:5555". Once I have created the tunnel with the i2p address (and without port), I have to to select the tunnel -> edit and then I can add the port in Target destination.
idk self-assigned this 2025-04-21 14:44:24 -04:00
Author
Owner

Should be fixed by last night's checkin. I'm not going to do a point release to get this out to the main channels, but I will update my nightly build repo tonight.

Should be fixed by last night's checkin. I'm not going to do a point release to get this out to the main channels, but I will update my nightly build repo tonight.
Author
Owner

I'm actually 99% sure that will work and it will be as simple as rewriting the validation function. Not 100% sure without a test though.

I'm actually 99% sure that will work and it will be as simple as rewriting the validation function. Not 100% sure without a test though.
Author
Owner

The IRC server destination that I have added is:

hvmpwwdqm5fpu5y4b6yuzqzb75kkhvnsnbxenbwpru7cjwl4qxla.b32.i2p:5555

When I do another test, just entering "test.i2p" it allows me to create the tunnel even if it won't work. Wouldn't just be a possible solution to just not force to end with "i2p"? (at least for IRC server)

new_image01
new_image02

The IRC server destination that I have added is: hvmpwwdqm5fpu5y4b6yuzqzb75kkhvnsnbxenbwpru7cjwl4qxla.b32.i2p:5555 When I do another test, just entering "test.i2p" it allows me to create the tunnel even if it won't work. Wouldn't just be a possible solution to just not force to end with "i2p"? (at least for IRC server) ![new_image01](/uploads/be9f1961169af87ccb813e6bfaf8bd70/new_image01.png) ![new_image02](/uploads/b4b3d093404b3951acf973bd3affd485/new_image02.png)
Author
Owner

Thanks for the report. First thing to check is if it is easy, the validation method will reject a port, but i2ptunnel itself may accept a port. Step 1 will be to change the way the dest is validated and test with a new IRC tunnel, step 2 may be nothing or it may require more elaboration. Do you mind sharing your IRC server's destination with me for testing purposes?

Thanks for the report. First thing to check is if it is easy, the validation method will reject a port, but i2ptunnel itself may accept a port. Step 1 will be to change the way the dest is validated and test with a new IRC tunnel, step 2 may be nothing or it may require more elaboration. Do you mind sharing your IRC server's destination with me for testing purposes?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: I2P_Developers/i2p.android.base#6
No description provided.