Page MenuHomePhabricator

Advice to help me making aphlict ipv6 compatible
Closed, WontfixPublic

Description

After @epriestley explain me his low interess for T8169: Intermittent issues with Aphlict / Notifications (I fully understand his point, it interess no that much people), I try to change my infra to get :

  • if ipv4 : routing through public ip (DNAT and SNAT) to private_vm:22280
  • if ipv6: driect connection to private_vm:22280

But the probleme is that aphlict currently only listen to an ipv4.

Then I dig into the code ! And I found that it would be fairly easy to implement !
So I decide to code it and provide a patch !

But before can you give me some thought about my expected design.

I plan to :

  • add client-host-ipv6 here and default it to none.
  • modify this so it also listen to client-host-ipv6 if not none. Basicaly it would be :
    • creating a new JX client server client_server_ipv6 here if client-host-ipv6 if not none.
    • make this server listen to client-host-ipv6 if not none.

So ..

var client_server_ipv6 = new JX.AphlictClientServer(server);
...
client_server_ipv6.listen(config['client-port'], config['client-host-ipv6']);

Then it would be possible to start the server with right parameters and make it listen to ipV6

WDYT ??

Event Timeline

tycho.tatitscheff raised the priority of this task from to Needs Triage.
tycho.tatitscheff updated the task description. (Show Details)
tycho.tatitscheff added a project: Aphlict.
epriestley claimed this task.

We aren't interested in supporting IPv6 in the upstream at this time, and don't have the time or resources to help you develop a patch.

I didn't think it would require so much time/help but oki.