Fails to parse IPv6 addresses in configuration
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- ocaml
- Domain
- networking
Research direction
Start at the com.docker.driver.amd64-linux/slirp/dns configuration parser and inspect how addresses are currently read. Check how Ipaddr.of_string can handle IPv4 and IPv6, then establish how ports and IPv6 zones should be represented; done means the reported IPv6 address parses without the colon error.
Written by the indexing model from the issue text.
Description
@dsheets reports that this error appears:
com.docker.slirp: [ERROR] failed to parse com.docker.driver.amd64-linux/slirp/dns: Failed to parse configuration: Ipaddr.Parse_error("invalid character ':' at 4", "2001:8b0:cb40:3495:3291:8fff:fe02:8cde")
We should use Ipaddr.of_string to parse IPv4 and v6 addresses. Probably the only annoying thing is the specification of the port. Perhaps we should use a separate line for that, rather than stick it on the end of the IP address? Some people use [addr]:port also there exist v6 zones like addr%iface. A newline might be the best terminator.
References:
- Dominant language
- OCaml
- Stars
- 1.2k
- Forks
- 212
- PR merge metrics
- No merged PRs in 30d
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from moby/vpnkit
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
-
Compilation error due to "Unbound module Ethernet__Ethernet_wire"May be free again A pull request for this issue was closed without being merged. Open
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Similar issues
-
dette technique priorité: basse zone: service
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
damiensabau/nexus-lobby#25 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
ZcashFoundation/frost-tools#612 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
triage
Difficulty 1/5 Under an hour Newbie friendliness 74/100
fujiapple852/trippy#1898 · 3 comments ·
Maintainers usually reply within 1 day