This patch adds IPv6 support to debugserver. It follows a similar pattern to the changes proposed for LLDB/Host except that the listen implementation is only with kqueue(2) because debugserver is only supported on Darwin.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 5392 Build 5392: arc lint + arc unit
Event Timeline
Comment Actions
Looks fine as long as all of the old modes work. :
- "*:1234" that will accept a connection from any host on port 1234
- "foo.bar.com:1234" only accept connections from "foo.bar.com" on port 1234
- "localhost:1234" where make sure not to lookup "localhost" since people have been known to edit some config file and this no longer works, we currently just substitute "127.0.0.1" IPv4, and now we should or "::1" for IPv6
- can't remember what used to happen when you only specify a port number, but that shouldn't change either
Can you ensure you tests catch these things? Any change here can affect many users, so we should be careful here to not regress.
Comment Actions
when users edit some config file they can have "localhost" map to some other port... Can't remember the unix file for this.