-
Notifications
You must be signed in to change notification settings - Fork 938
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TECHNICAL ROAD TO 3.2 #857
Comments
In addition to the four hook scripts above, I have thought that it would be nice to have The use case I see here is for the case where the default route is via the n2n device. Any new peer (or supernode) that gets added would need to have a host route added to access it, so these script hooks could let that happen. |
We could try to make it happen. I will add it to the list as additional item because implementation might differ from the others (parameters, called from deep inside the main loop). @hamishcoleman , I would be glad if we found an opportunity to talk or chat about future features sometime soon. Are you aware of ntop's Discord server? |
I am not often on discord, so I had not previously looked - however, I joined the libera.chat irc channel as soon as it was created (and basically nobody else joined it :-S) |
You can find the Discord server linked to on ntop.org 's community page. That would be the official forum including a helpful bot channel to keep an eye on repository's changes. |
Some people claim that the transmission speed of n2n is not as good as other similar software. I think the next version can consider increasing the transmission rate of n2n. |
I will put it as "transmission-critical code path optimization". |
It also implies that we need some clear and reproducible benchmark numbers that we can start tracking |
mmmm... a reference setup. |
thanks for keeping this item in list -- |
I think that some additional functions can be moved into a separate thread, including: port mapping, domain name resolution, MgmtSocket, update supernode reg, etc., to minimize the burden on the main thread, maybe it helps to increase the transmission rate. the additional thread does not need to be opened too much, |
👍 This is exactly the lead idea behind the ongoing threadification over at f96b08c.
Not sure about one though. |
Looking back at the issues we have discussed, up to now, most of the functions have been completed, but there are still many areas that need to be improved. |
We want to keep the protocol compatible in the 3.x series. A higher degree of p2p-ification will not work without notable changes to protocol. Hence, 4.0 is the more likely to be the appropriate target for it. So, there is a lot time left for discussion. And we will need it because it indeed is a big change and has not been discussed in-depth yet. It does not necessarily need to end up in KAT whose native routing is bad for network performance which would require to add separate routing. Not only doubling complexity, KAT would only serve for peer look-up then. Would it be worth the effort? But basically yes, the 4.x series shall move more towards p2p plus merge the supernode and edge functions into one executable. |
When to support ipv6? #465 |
I think it would be very good to add IPv4+IPv6 support, because IPv6 basically has no NAT, which can increase the success rate of hole punching a lot |
I actually am doing some trials to support IPv6. It requires a lot of adaptions to the code and data structures. Let's see for far we get. So I will add IPv6 support as optional item. From what I have seen so far, IPv6 does not necessarily increase the p2p-success rate because home routers's firewall still watch connections and try to make sure that only remote addresses/ports seen in outgoing packets are eligible for incoming ones. The firewall plays not an unimportant role here, no matter if v4 or v6. Don't get me wrong, I do no want to turn down IPv6 support, I even think it is time to add it soon for technological reasons anyway. It might just not help as much as one may expect. |
What new features will you add to ipv6,sir? |
+1 for |
Fengdaolong
)--pre-up
,--post-up
,--pre-down
,--post-down
CLI options to run scripts Would like to have wireguard-like feature in N2N #694 support multi address per node and same address for multi node #743 (assigned:-
)--pre-add-new-peer
and--post-flush-old-peer
CLI options to run scripts (assigned:-
)Logan
)-
)Logan
)Optional:
-
)-
)This is about what technical features to include / change for a future n2n 3.2 release. This post will regularly be updated to reflect current changes.
The list above is absolutely not carved in stone. Please share your thoughts for discussion and do not hesitate to propose any of your ideas!
If you want to contribute to some of the listed features such as upnp support, or to a not-yet-listed feature... just let us know!
The text was updated successfully, but these errors were encountered: