AdguardTeam / AdguardTeam/dnsproxy

Bind to a link-local IPv6-address

Aperta
#197 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
feature request
Lingua principale
Go
Stelle
3.3k
Fork
343
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I believe, in order to bind to a link-local IPv6 address, either the application needs to find the interface by iterating through all of them, what is does not do at the time:
```
./dnsproxy -l fe80::61*6f
[fatal] cannot start the DNS proxy due to listening to udp socket: listen udp [fe80::61*6f]:53: bind: invalid argument
```
or it must accept the interface ID, which it can't parse at the moment:
```
./dnsproxy -l fe80::61*6f%eth0
[fatal] cannot parse fe80::61*6f%eth0
```
Could you please extend the code to enable binding to link-local IPv6 addresses?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.