Fabian Knittel's 802.1q/VLAN tagging support
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi there,
It's been a long time since I contributed to OpenVPN, but I've used it on and off since 2004. I recently wanted to have a single instance of OpenVPN support multiple clients, segregated into separate VLANs based on their credentials. After a little research I found that Fabian Knittel (CCed) had a set of patches from 2010 living in a feature branch that never got merged [1], and that there was an outstanding ticket from 2012 [2] to get these patches into the main release.
Contacting the author (and another member of OpenVPN from [2], also CCed) I found out that he'd been keeping the patches reasonably up-to-date [3] and been using them for a university server for several years. I've both read through, rebased and built the patches and they seem quite straight forward and comprehensible (and having set up a small test rig, they work too!). 5:) There are, however, 22 of them as created by git format-patch.
Given I didn't author most of these patches (I fixed up a tiny bit of documentation at the end), I was wondering how best to supply these so that they could be considered for inclusion in the main tree? Should I submit a pull request from my repo with all the patches applied [4], or post the git format-patches to this mailing list, or is there another method I should be using?
I'm keen to get this added so that a single OpenVPN instance can appropriately segregate traffic without requiring multiple configurations. I'm happy to try and make any changes required (although since my C skills are limited, I'm also hoping the original author may be able to help out). Please just let me know how best to proceed...
Mike 5:)
[1]
http://sourceforge.net/p/openvpn/mailman/openvpn-devel/thread/cover.1270
[email protected].../
[2] https://community.openvpn.net/openvpn/ticket/6
[3] https://github.com/fknittel/openvpn/tree/feat_vlan
[4] https://github.com/ikelos/openvpn/commits/master
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.1
iKYEARECAGYFAlZ+pq5fFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMub3Bl bnBncC5maWZ0aGhvcnNlbWFuLm5ldEZGQjEyM0ZDRDBCRjcwREE1MzA0MjNBREJC QkFENkEyNkMyMDE1N0EACgkQu7rWomwgFXr7TgCfZ7bGRcv3Ho+gno+TFAWW5Pwn VuMAoI69rY3epjRdLaj51wWJmxkqnwbh
=hSPC
-----END PGP SIGNATURE-----
Hi,
On Sat, Dec 26, 2015 at 02:39:49PM +0000, Mike Auty wrote:
[..]
Quoted 6 lines
Given I didn't author most of these patches (I fixed up a tiny bit of documentation at the end), I was wondering how best to supply these so that they could be considered for inclusion in the main tree? Should I submit a pull request from my repo with all the patches applied [4], or post the git format-patches to this mailing list, or is there another method I should be using?
I'm aware of these patches (as is David), but so far the interest has not been high enough to prioritize them and get them properly reviewed and tested. As you have noticed, the patch set is fairly big, and touches quite a bit of code - and since we'll have to maintain that code from that point on, it needs to fulfill "enough interest" and "the currently active maintainers understand it well enough" (for the packet code, that would be mostly Arne and I...)
Process-wise, we do not deal in pull requests but patches need to be sent (with git send-email) to the openvpn-devel list for public review, and merging with a reference to the public list archive.
I'm not saying that these patches won't go in - but it will not happen in the close future. Main focus right now is to get lots of small things fixed, get AEAD, pushable ciphers and iservice in, and release 2.4.0 (so people can enjoy proper dual-stack support, proper IPv6-over-IPv6 support, full peer-id floating, etc.) - and since interest for vlan tagging has not been that high, it's likely not going in.
Sorry if that wasn't the reply you wanted to hear. We're doing our best, but days are short...
gert
Signature · 4 lines
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany [email protected]...
fax: +49-89-35655025 [email protected]...Hiya Gert,
Thanks for the reply. Obviously I'd prefer to see this merged into the main codebase than have to maintain the changes externally as the tree changes, but I understand the nature of volunteer projects. I'm happy to submit the patches individually, but I'm slightly concerned that the original author made corrections as he went along, meaning there are many more patches than actual changes to the code.
I'm not sure how to squash the patches down and maintain the authorship and appropriate comments? Is there a simple way to do this or will I have to have ask the author to recraft and minimize the commits?
If this feature doesn't make it into 2.4, is it significant enough to have to wait for 2.5 before it becomes mainlined or could it see the light of day in a 2.4.x release? I'd primarily like to ensure that all requirements for getting it integrated are met and that it does then get integrated (since the patchset had existed against various trees since 2011 and trying to follow the history it isn't clear why it hasn't been merged earlier other than interest).
I'm not sure how to generate more interest (and I'm slightly surprised more people aren't asking for this feature, given it can reduce multiple instances of openvpn down to a single multi-vlan endpoint). Do you have any suggestions for how to deal with this requirement (given the others are largely technical)?
Thanks for your help,
Mike 5:)
Quoted 44 lines · On Fri, 8 Jan 2016, 18:53 Gert Doering <[email protected]...> wrote:
Hi,
On Sat, Dec 26, 2015 at 02:39:49PM +0000, Mike Auty wrote:
[..]Quoted 6 lines
Given I didn't author most of these patches (I fixed up a tiny bit of documentation at the end), I was wondering how best to supply these so that they could be considered for inclusion in the main tree? Should I submit a pull request from my repo with all the patches applied [4], or post the git format-patches to this mailing list, or is there another method I should be using?
I'm aware of these patches (as is David), but so far the interest has not been high enough to prioritize them and get them properly reviewed and tested. As you have noticed, the patch set is fairly big, and touches quite a bit of code - and since we'll have to maintain that code from that point on, it needs to fulfill "enough interest" and "the currently active maintainers understand it well enough" (for the packet code, that would be mostly Arne and I...)
Process-wise, we do not deal in pull requests but patches need to be sent (with git send-email) to the openvpn-devel list for public review, and merging with a reference to the public list archive.
I'm not saying that these patches won't go in - but it will not happen in the close future. Main focus right now is to get lots of small things fixed, get AEAD, pushable ciphers and iservice in, and release 2.4.0 (so people can enjoy proper dual-stack support, proper IPv6-over-IPv6 support, full peer-id floating, etc.) - and since interest for vlan tagging has not been that high, it's likely not going in.
Sorry if that wasn't the reply you wanted to hear. We're doing our best, but days are short...
gert
--
USENET is *not* the non-clickable part of WWW!//www.muc.de/~gert/
Gert Doering - Munich, Germany
[email protected]...
fax: +49-89-35655025
[email protected]...
Quoted 9 lines · Mike Auty
Hiya Gert,
Thanks for the reply. Obviously I'd prefer to see this merged into the main codebase than have to maintain the changes externally as the tree changes, but I understand the nature of volunteer projects. I'm happy to submit the patches individually, but I'm slightly concerned that the original author made corrections as he went along, meaning there are many more patches than actual changes to the code.
Quoted 3 lines
I'm not sure how to squash the patches down and maintain the authorship and appropriate comments? Is there a simple way to do this or will I have to have ask the author to recraft and minimize the commits?
The best would be if those of you interested in getting these patches into OpenVPN unite forces. Establish a git tree you all can at least clone. And apply needed patches as you fix things. How you do this is entirely up to all of you being involved. This way, more can be involved in this process and you expose this side-project of OpenVPN.
I would even go so far to suggest that you can use the openvpn-devel list for discussing issues and patches too. Then those involved in pulling these things into the mainline will also better be able to see both the interest for these patches and understand better how this is resolved. You might even get some input from the core developers.
Quoted 7 lines
If this feature doesn't make it into 2.4, is it significant enough to have to wait for 2.5 before it becomes mainlined or could it see the light of day in a 2.4.x release? I'd primarily like to ensure that all requirements for getting it integrated are met and that it does then get integrated (since the patchset had existed against various trees since 2011 and trying to follow the history it isn't clear why it hasn't been merged earlier other than interest).
We generally do not want new features into patch-level releases (2.3.x, 2.4.x). With that said, none of us would have thought 2.3.x we would do 10 patch-level releases for 2.3. We generally want to do major releases more often. But many of us have been more time restrained after 2.3 was released, so 2.4 have not had the pace we intended.
Quoted 5 lines
I'm not sure how to generate more interest (and I'm slightly surprised more people aren't asking for this feature, given it can reduce multiple instances of openvpn down to a single multi-vlan endpoint). Do you have any suggestions for how to deal with this requirement (given the others are largely technical)?
As I said, get a published git tree out to the public with some activity ... maybe even do some point-releases with source packages. And use our mailing lists, I think this is important enough that getting a broader public discussion will be beneficial for all. Getting exposure is often the needed detail :)
--
kind regards,
David Sommerseth