Changing I2PSnark's tunnel allocation overrides dynamic allocation #335

Open
opened 2025-04-21 15:07:30 -04:00 by idk · 1 comment
Owner

Opened 15 months ago

Last modified 15 months ago

#2689newdefect

Changing I2PSnark's tunnel allocation overrides dynamic allocation

Reported by:ReportageOwned by:zzz
Priority:
minor
Milestone:
undecided
Component:
apps/i2psnark
Version:
0.9.44
Keywords:
i2psnark, tunnel count, configuration
Cc:

Parent Tickets:

Sensitive:
no

Description

When configuring the tunnel count in I2PSnark, the existing tunnel count determined by number of peer connections is ignored, and the full amount of configured tunnels is immediately activated.

Configuring tunnel count should take into account active peer connections and only configure the tunnel count ceiling, not the actual tunnel count.

Subtickets

Opened [15 months ago](/timeline?from=2020-02-18T13%3A03%3A51Z&precision=second "See timeline at Feb 18, 2020 1:03:51 PM") Last modified [15 months ago](/timeline?from=2020-02-18T14%3A22%3A26Z&precision=second "See timeline at Feb 18, 2020 2:22:26 PM") ## [\#2689](/ticket/2689)[new](/query?status=new)[defect](/query?status=!closed&type=defect) # Changing I2PSnark's tunnel allocation overrides dynamic allocation Reported by:[Reportage](/query?status=!closed&reporter=Reportage)Owned by:[zzz](/query?status=!closed&owner=zzz) Priority: [minor](/query?status=!closed&priority=minor) Milestone: [undecided](/milestone/undecided "No date set") Component: [apps/i2psnark](/query?status=!closed&component=apps%2Fi2psnark) Version: [0.9.44](/query?status=!closed&version=0.9.44) Keywords: [i2psnark](/query?status=!closed&keywords=~i2psnark), [tunnel](/query?status=!closed&keywords=~tunnel) [count](/query?status=!closed&keywords=~count), [configuration](/query?status=!closed&keywords=~configuration) Cc: Parent Tickets: Sensitive: [no](/query?status=!closed&sensitive=0) ### Description When configuring the tunnel count in I2PSnark, the existing tunnel count determined by number of peer connections is ignored, and the full amount of configured tunnels is immediately activated. Configuring tunnel count should take into account active peer connections and only configure the tunnel count ceiling, not the actual tunnel count. ### Subtickets
idk added this to the undecided milestone 2025-04-21 15:07:30 -04:00
idk added the #2689appsi2psnarkundecided labels 2025-04-21 15:07:30 -04:00
Author
Owner

comment:1 Changed 15 months ago by zzz

very minor.

SnarkManager?.updateConfig() would have to wakeup IdleChecker? rather than having Util send the updated options to the router. Might be tricky to get right.

[comment:1](https://trac.i2p2.de/\#comment:1) Changed [15 months ago](https://trac.i2p2.de//timeline?from=2020-02-18T14%3A22%3A26Z&precision=second "See timeline at Feb 18, 2020 2:22:26 PM") by zzz very minor. SnarkManager?.updateConfig() would have to wakeup IdleChecker? rather than having Util send the updated options to the router. Might be tricky to get right.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: I2P_Developers/i2p.i2p#335
No description provided.