-
Notifications
You must be signed in to change notification settings - Fork 2
IPv6 support patch rebased and enhanced #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
Thanks. I haven't looked at this closely yet, but some initial thoughts:
|
I applied the original commit against the version it was written for but yes this type of work doesn't translate well to a PR. We could coordinate on that or I could redo as a rebased version of the original commit with the conflict resolution squashed into it!
Oh did they Have IPv6 support included? Sounds like a good idea!
Yes, I tested all modes! |
|
If you look at https://github.com/openwall/popa3d/network you can see the merge graph! Actually that doesn't look right, will check later. |
written against v0.5.1, applied against v0.5.0 then rebased to 1.0.3+. Sourced from: https://www.openwall.com/popa3d/contrib/popa3d-0.5.1-ipv6-patch-1.diff.gz
7e55d2f to
10b30d9
Compare
|
Hi, on a proper computer again. Previous graph looks as it was meant to (apply original patch on intended base version then merge forward to current) to me but I've rebased the original patch onto Here's an example transcript for I'm afraid I don't see the IPv6 support in the OpenBSD patches although I do see it in their man pages, so I must be looking in the wrong place! I am pretty confident with my update of the patch for Linux (IPv6 used to be an obsession of mine...) but it is other OS compatibility that is the risk area, I agree. |
You're looking at ports, but popa3d was for some years in OpenBSD base system. They dropped it from there as part of removal of services that accept plaintext communication and especially passwords. Maybe I could have avoided that by introducing built-in TLS support in time, or maybe not.
I meant not so much compatibility, but just general improvements, bug fixes, and cleanups, since itojun was contributing to OpenBSD. |
|
Converted to draft: I don't think this is ready; I don't like the change to tracking sessions by textual version of remote address, generously fitted into 500 * NI_MAXHOST (1025) bytes. I'll rework and probably squash the result, or rewrite. USP of this server is minimalism so better keep to that! |
Also fixes IPv6 build with POP_VIRTUAL
For easy future reference for me or anyone else, here's a link to the old OpenBSD code. It doesn't look like it got synced to 'upstream' since 0.6.2. FYI The Debian package has now been refreshed. |
Hi,
I promise I don't have a backlog of other PRs planned... I have been contributing to a refresh of the Debian package and this is the other change I would be interested in getting in if there were another release!
This PR takes the v0.5.1 IPv6 support patch by Jun-ichiro itojun Hagino from the popa3d download page, fixes it up for the latest codebase and adds the following:
-46is specified.getaddrinfo()or default toIPV6_V6ONLYoff. Happy to rework the PR without this behaviour if preferred.I take no offence if you decide not to include this patch in a prospective upstream release and you are welcome just to put a squashed version of the patch in the contrib section if you like (happy to prepare such a patch by e-mail).
Thanks!
Andrew