View Issue Details

IDProjectCategoryView StatusLast Update
0008418Talerlibeufin (general)public2024-03-07 20:52
ReporterAntoine A Assigned ToAntoine A  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Target Version0.9.4Fixed in Version0.9.4 
Summary0008418: Fix listening on localhost with both ipv4 and ipv6
Descriptionlibeufin-bank should listening on localhost with both ipv4 and ipv6 and not only on ipv4
TagsNo tags attached.


Christian Grothoff

2024-02-18 10:59

manager   ~0021336

The problem is Main.kt, line 312:

 is ServerConfig.Tcp -> {
                            port = serverCfg.port
                            host = serverCfg.addr

We have several possibilities here:

1) Do not specify 'host='. In this case, the server will bind to all interfaces, v4 and v6 ("any").
2) Do specify a host/IP (even 0), in which case you get v4 or v6-only.

For (2) to be dual-stacked, we must specify MULTIPLE "connector" sections. If "host" is a DNS name, a good way to do this would be to do a DNS lookup and
return a 'connector' for each IP address found, and then do a "connector" for each address found in DNS. This is what GNUnet does, btw!

Antoine A

2024-02-18 21:37

developer   ~0021347

Fixed in 084f513305ab7e34fd4d1c9510dceff9553c9f3b using DNS resolution and multiple connector

Issue History

Date Modified Username Field Change
2024-02-16 15:29 Antoine A New Issue
2024-02-16 15:29 Antoine A Status new => assigned
2024-02-16 15:29 Antoine A Assigned To => Antoine A
2024-02-18 10:59 Christian Grothoff Note Added: 0021336
2024-02-18 21:37 Antoine A Status assigned => resolved
2024-02-18 21:37 Antoine A Resolution open => fixed
2024-02-18 21:37 Antoine A Note Added: 0021347
2024-03-07 20:52 Christian Grothoff Fixed in Version => 0.9.4
2024-03-07 20:52 Christian Grothoff Status resolved => closed