Skip to contentSkip to conversation

Community meetings in September 2019

Openvpn-devel Samuli Seppänen 1 participant 4 messages Sep 4, 2019 – Sep 26, 2019

lore
Share & tools
lore
#0 lore raw

Hi,

Our community meetings will alternate between Wed 11:30 CEST and Thu 20:00 CEST.

Next meetings have been scheduled to

- Wed 4th September 11:30 CEST
- Thu 12th September 20:00 CEST
- Wed 18th September 11:30 CEST
- Thu 26th September 20:00 CEST

The place is #openvpn-meeting IRC channel at Freenode. Meeting agendas and summaries are in here:

<https://community.openvpn.net/openvpn/wiki/IrcMeetings>

Sorry about the "retroactive invite" for the 4th September meeting.

Signature · 5 lines
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc

irc freenode net: mattock
#1 lore raw

[Openvpn-devel] Summary of the community meeting (12th Sep 2019)

Hi,

Here's the summary of the IRC meeting.

---

COMMUNITY MEETING

Place: #openvpn-meeting on irc.freenode.net
Date: Thursday 12th September 2019
Time: 20:00 CEST (18:00 UTC)

Planned meeting topics for this meeting were here:

<https://community.openvpn.net/openvpn/wiki/Topics-2019-09-12>

Your local meeting time is easy to check from services such as

<http://www.timeanddate.com/worldclock>

SUMMARY

cron2, dazo, mattock, ordex and syzzer participated in this meeting.

---

Noted that tomorrow is our usual mini-hackathon. Some tasks for it are listed below.

---

Discussed HLK testing. It turns out that HLK testing / WHQL certification is _NOT_ needed for drivers to load properly on Windows Server 2016/2019, despite_ what Microsoft documentation (clearly) claims. Instead, the usual attestation-signed drivers that load on Windows 10 desktop are sufficient. This was verified by mattock using Windows Server 2019 with Secure Boot turned on. This means we don't _need_ HLK testing after all.

Note from discussion earlier today: going through the HLK test suite occasionally in a virtualised environment would still make sense, but not at all cost.

--

Discussed the VLAN patches which ordex massaged into shape:

https://gitlab.com/ordex986/openvpn/commits/vlan

Ordex and cron will attempt to review this in tomorrow's mini-hackathon.

--

Discussed the auto-token patch set. Dazo will attempt to finish it up in tomorrow's mini-hackathon.

--

Discussed the FIPS patch(set):

https://patchwork.openvpn.net/patch/131/

Noted that it got stuck for no particular reason. Mattock notified the author of the patchset to get the ball rolling again.

--

Full chatlog attached.

(20:59:18) cron2: meow
(21:01:28) mattock: hi
(21:01:33) syzzer: hi :)
(21:02:49) cron2: wow :)
(21:03:28) mattock: anyone else in our merry team?
(21:04:00) syzzer: *crickets*
(21:04:39) cron2: do we have an agenda? :)
(21:05:07) dazo: hey!
(21:05:40) dazo: https://community.openvpn.net/openvpn/wiki/Topics-2019-09-12
(21:05:42) vpnHelper: Title: Topics-2019-09-12 – OpenVPN Community (at community.openvpn.net)
(21:06:23) cron2: oh, so dazo is the new agenda-keeper now :)
(21:07:12) dazo: hehe ... nah, just stumbled across it :)
(21:07:19) mattock: good work dazo!
(21:07:22) syzzer: so, #! ?
(21:07:27) syzzer: #1
(21:07:30) mattock: yes
(21:07:34) mattock: it seems we don't need HLK
(21:07:44) mattock: contrary to what microsoft says
(21:07:53) ***dazo facepalms
(21:07:59) syzzer: I read the backlog on -devel, totally confused now
(21:08:05) cron2: dazo: yes...
(21:08:16) mattock: so, basically Windows 10 attestation-signed drivers seem to load just fine on Windows Server 2019 with secure boot turned on
(21:08:29) syzzer: can you summarize for mere mortals what you *do* have to do to sign the drivers?
(21:09:10) syzzer: is that just the "upload to MS for cross-signature"?
(21:09:20) cron2: I think there's a wiki page even... :-) - mattock1: I'm still a bit confused about the "pre win10" and "win10" signing, what is done differently?
(21:11:07) mattock: syzzer: yes, except for the 25 minor details
(21:11:26) syzzer: :')
(21:11:28) mattock: with pre-windows 10 you can use cross-signing, i.e. get an EV cert and sign the driver with that
(21:11:39) mattock: you don't contact microsoft all
(21:12:06) mattock: with windows 10 you either go through the HLK tests, submit the test results and the driver in an ev-signed package, and get back a microsoft-signed river
(21:12:39) mattock: or, you just create a driver package, ev-sign it, then sent it to microsoft for "attestation signing" and get a microsoft-signed driver back
(21:13:46) mattock: anyways, MS documentation was horribly misleading, but the bright side is that it seems that we don't actually _need_ HLK for anything
(21:13:48) cron2: why is it called "cross" signing? Seems to be pretty straightforward-signing to me...
(21:14:08) mattock: you use a cross-certificate whatever that meant :P
(21:14:34) syzzer: it's a CA certificate that's signed by both a 'regular' CA and Microsoft
(21:14:47) mattock: that
(21:14:52) syzzer: a special code-signing CA
(21:14:56) cron2: ah
(21:15:24) mattock: going through the HLK tests was a good exercise, but the cost was terrible
(21:16:37) mattock: anyways, done with tap-windows6 / HLK? for "good" maybe? :)
(21:16:56) syzzer: that would be very nice
(21:17:08) cron2: yep :-) - next meeting should have "which tap6 PRs to merge, and when to ship a new release" on the agenda :-)
(21:17:13) cron2: maybe together with 2.4.8
(21:17:26) syzzer: sounds like a plan
(21:18:00) mattock: yeah together with 2.4.8 if possible
(21:19:28) cron2: ok... #2 - ordex has put out a tree full of vlan patches
(21:19:37) mattock: noticed \o/
(21:20:16) cron2: I've skimmed the list and nothing of this makes sense to me, yet, so I plan to give this some thoughts and discuss tomorrow ("mini-hackathon day"). I won't have all day, but about half a day should be possible... (21:20:40) cron2: (like, "what is a maddr object and why do I want to populate it" :-) )
(21:21:12) cron2: where's plaisthos these days...?
(21:23:58) mattock: no idea
(21:24:10) mattock: so vlan patch review tomorrow?
(21:24:37) cron2: yes, if ordex and I happen to be on IRC at the same time
(21:24:49) mattock: ordex: doable?
(21:27:48) cron2: meeting feels a bit strained today...
(21:27:59) cron2: dazo: how's your schedule wrt auto-token patch set?
(21:27:59) mattock: yeah
(21:28:25) dazo: cron2: picking up the last things tomorrow, at least that's the plan
(21:28:32) cron2: nice
(21:28:47) cron2: a mini-hackathon day spent on "finish a patch set" is definitely a good day :-)
(21:28:54) dazo: :)
(21:29:24) mattock: +1
(21:30:55) mattock: anything else for tomorrow's mini-hackathon?
(21:32:03) mattock: 2.5 planning?
(21:32:13) cron2: there's lots of stuff in patchwork, but I haven't really kept track on what is waiting for whom (like, "have we answered and the submitter hasn't responded")
(21:32:44) mattock: we have not done "Review patches on Patchwork" in ages (in meetings, at least)
(21:33:26) mattock: should we take a stab at it now?
(21:34:30) cron2: I don't really feel like it, I want to clean up first :-) (merge patches with ACKs, look at the 2.4 patches that are backports of master and either merge them or complain) (21:34:36) syzzer: I don't have much brains left today - so won't work for me
(21:34:51) cron2: I was about to suggest "I'm not going to stop syzzer or dazo if they feel like it" ;-)
(21:35:01) mattock: we're short on brains today
(21:35:16) mattock: maybe call it a day?
(21:35:24) mattock: gather strength for tomorrow
(21:35:28) cron2: I call this "Thursday"!
(21:35:46) syzzer: hehe
(21:35:54) dazo: I've ack'ed a few pathces on the ML ... forgot what it was though :-P
(21:36:19) cron2: patchwork keeps track :-) (TUN_PASS_BUFFER and tun_set() void)
(21:36:45) mattock: oh one thing
(21:36:54) mattock: what was our plan regarding FIPS patchset?
(21:37:01) cron2: I'm not totally happy with the TUN_PASS_BUFFER thing, though - the net effect is the same, but the #ifdef in combination with the function names makes this less than clear (21:37:04) mattock: the author/committer asked about that
(21:37:09) mattock: a week ago or so
(21:37:17) cron2: mattock1: "have someone who understands crypto review and merge it" :-)
(21:37:51) mattock: that means syzzer?
(21:38:29) syzzer: do we find the fips patch set important?
(21:38:49) syzzer: I personally don't care much, but am willing to review if other believe it is
(21:39:58) mattock: what is/was its maintenance status? I know it has been in production for some years at least in the patch author's environment
(21:40:18) mattock: but did and can the author maintain the patchset in the long run?
(21:40:19) cron2: I do not care, but it seems to be a requirement in "certain environments"
(21:40:30) cron2: not sure how complex that patchset is, anyway...
(21:41:03) cron2: syzzer: you already reviewed it anyway, 21 Jan 2018 :-)
(21:41:10) syzzer: oh :')
(21:41:17) syzzer: well, "done" then :p
(21:41:42) mattock: reviewed and acked?
(21:41:45) cron2: well... the submitter sent a new version...
(21:41:48) cron2: nah, asked for fixes
(21:42:12) cron2: mmmh
(21:42:18) cron2: no new version, the thread sort of died
(21:42:31) mattock: okay, that is something at least
(21:42:41) cron2: https://www.mail-archive.com/[email protected]/msg16021.html
(21:42:42) vpnHelper: Title: [Openvpn-devel] [PATCH 1/2] Added support for OpenSSL FIPS Object Module v2.0 validated encryption (at www.mail-archive.com)
(21:43:16) cron2: so - from a quick skim, feedback was given, and no new patch came forward. But this is all I could find with "FIPS" in *my* mail heap
(21:43:46) cron2: there's also https://community.openvpn.net/openvpn/ticket/725 but I haven't checked if there is a newer patch in there
(21:43:47) vpnHelper: Title: #725 (Consider to add FIPS support in OpenVPN) – OpenVPN Community (at community.openvpn.net)
(21:44:26) mattock: where is patch 2/2?
(21:45:32) cron2: ah, and the review got stuck anyway, syzzer's mail ends with
(21:45:35) cron2: > I hope to look into this patch more, and run some test later.
(21:45:52) syzzer: yeah, just read the thing back
(21:46:50) syzzer: I kind of expected to receive a patch update with the discussed improvements
(21:47:16) cron2: you got an "here's two extra hunks" and a bit of discussion, which then just ended :-)
(21:49:16) mattock: what if I poke the author and say please update the patch and let's continue discussion?
(21:49:18) syzzer: okay, starred converstion and will look at it later
(21:49:39) syzzer: mattock1: that would work too
(21:49:43) mattock: ok
(21:49:51) cron2: mattock1: that sounds like a plan
(21:49:59) cron2: and we poke syzzer if he doesn't discuss :)
(21:50:07) mattock: ok :)
(21:51:19) mattock: anything else for today?
(21:52:55) syzzer: not from me
(21:53:23) cron2: nah... my TV is calling :-)
(21:53:29) mattock: ok
(21:53:46) mattock: that's it then, I will wrap up the summary and notify the author of the VLAN patchset
(21:53:59) syzzer: great, good night!
(21:54:09) cron2: FIPS :)
(21:54:22) cron2: I hope the author of the current VLAN patchset will read the backlog on his own accord ;-)
(21:55:07) cron2: and a good night, indeed
(21:55:43) mattock: good night!
(21:57:29) ordex: sorry guys - got a situation to deal with today and totally missed the meeting
(21:57:34) ordex: :(
(21:58:12) mattock: ordex: will you be able to go through the VLAN patchset tomorrow with cron2?
(21:58:19) ordex: yeah just reading the backlog
(21:58:27) ordex: I'll try to coordinate with him
(21:58:49) ordex: cron2: just ping me when you are online and getting onto the patches and I'll try to schedule myself around that :D

#2 lore raw

[Openvpn-devel] Summary of the community meeting (18th September 2019)

In reply to Samuli Seppänen

Hi,

Here's the summary of the IRC meeting.

---

COMMUNITY MEETING

Place: #openvpn-meeting on irc.freenode.net
Date: Wednesday 18th September 2019
Time: 11:30 CEST (9:30 UTC)

Planned meeting topics for this meeting were here:

<https://community.openvpn.net/openvpn/wiki/Topics-2019-09-18>

Your local meeting time is easy to check from services such as

<http://www.timeanddate.com/worldclock>

SUMMARY

cron2, dazo, lev, mattock, ordex, plaisthos and rozmansi participated in this meeting.

---

Discussed performance test results provided by Lev:

<https://patchwork.openvpn.net/patch/824/>

Based on this data we should start compiling OpenVPN and its dependencies on Windows with Visual Studio: this provides a ~25% performance improvement compared to MinGW builds.

Mattock will take a stab at generating NSIS installer from msvc artefacts for the OpenVPN 2.4.8 release.

--

Discussed tap-windows6 pull requests:

<https://github.com/OpenVPN/tap-windows6/pulls>

Mattock will produce a test installer which comes with these fixes. Lev will run it through some tests. If testing goes well and Selva gives his ACK on

<https://github.com/OpenVPN/tap-windows6/pull/86>

we will include the new driver in the OpenVPN 2.4.8 installer.

--

Talked about the VLAN patches which ordex massaged into shape:

https://gitlab.com/ordex986/openvpn/commits/vlan

This has not moved forward because of unrelated challenges with Buildbot.

--

Talked about the build issues on the buildslaves. Fedora 29 and Ubuntu 18.04 are consistently failing the first t_client test. There are also build issues on the Arch Linux builder. These need to be fixed.

--

Talked about the --disable-server option in OpenVPN 2.x. Nobody seems to be (really) using it, and the "smaller executable size" argument is not as important as it was in the distant past. Based on practical tests by plaistos the stripped binary size with --disable-server is 562k and without it 668k (~19% larger).

Mattock sent email to our mailing lists asking if somebody still needs --disable-server. If not, we will kick it out in OpenVPN 2.5.

--

Full chatlog attached.

(12:29:59) mattock: hello
(12:30:05) cron2: just in time!
(12:30:11) cron2: and good morning :-)
(12:30:25) mattock: that as well :)
(12:31:25) lev__: guten morgen
(12:31:58) mattock: hyvää huomenta
(12:32:27) mattock: https://community.openvpn.net/openvpn/wiki/Topics-2019-09-18
(12:32:28) vpnHelper: Title: Topics-2019-09-18 – OpenVPN Community (at community.openvpn.net)
(12:32:38) mattock: hmm we can probably consider removing topic #1 now
(12:32:49) cron2: bah, non-7bit letters in IRC, that ruins the efefct
(12:33:24) mattock: then we can do either "hyvaa huomenta" or "hyvaeae huomenta"
(12:33:31) mattock: anyways
(12:33:45) mattock: no tap-windows6 updates as the HLK requirement disappeared overnight
(12:34:06) dazo: morning!
(12:34:16) cron2: #1 - well, not really yet. We have a few PRs, if I remember right, and we need to agree on a release (like, "which bits go in", "which version number", "togehter with 2.4.x")
(12:34:33) cron2: it will be much less painful, tho
(12:35:33) ordex: !!
(12:35:36) mattock: yes, tap-windows6 was tied with 2.4.x release
(12:35:55) lev__: for the next Windows release we need to build with VS, since it produces code which is 25% faster comparison to mingw when using tap-windows6 (425Mbit/s vs 340Mbit/s)
(12:36:19) mattock: interesting
(12:36:32) lev__: (see my mail)
(12:37:17) mattock: it may have been lost through the cracks
(12:37:25) mattock: is it a public or private email?
(12:37:33) dazo: public
(12:37:36) lev__: https://patchwork.openvpn.net/patch/824/
(12:37:37) vpnHelper: Title: [Openvpn-devel,1/7] Visual Studio: upgrade project files to VS2019 - Patchwork (at patchwork.openvpn.net)
(12:37:38) ordex: what a difference
(12:38:49) mattock: quite significant
(12:38:55) dazo: lev__: have you looked into compiler optimization flags and differences there?
(12:38:59) mattock: I was about to ask
(12:39:46) ordex: I guess they are completely different compilers, no? or do they use the same software under te hood ?
(12:39:48) ordex: *the
(12:39:53) cron2: yeah, I find this highly amazing and wonder what makes such a huge difference
(12:40:01) cron2: ordex: mingw is gcc, MSVC is MSVC
(12:40:07) ordex: oh gcc
(12:40:08) ordex: ok
(12:40:23) dazo: it's different compiler ... but an optimized VC and an unoptimized GCC will also cause more extreme differences
(12:40:26) ordex: this said: the difference may not be exposed by some compiler flags, as the two compilers may just make different decisions
(12:40:29) lev__: dazo: not really, I used "release" configuration in VS and ./build-complete script in windows-nsis directory
(12:40:54) cron2: gcc is not like 30% worse in general, so it might be mingw runtime, adding *latency*, or possibly something in OpenSSL assembly which doesn't work out when cross compiled, or whatnot
(12:41:06) ordex: yap
(12:41:28) ordex: I'd dare to say that compiling with a real windows compiler is not a bad idea ;p
(12:41:38) cron2: dazo: even if unoptimized we don't actually *do* very much inside the OpenVPN packet loop
(12:42:27) dazo: I haven't looked into the CFLAGS for our build script ... but if do builds without -O flags and adds various debug helpers, that may have an impact
(12:42:42) cron2: dazo: it doesn't
(12:44:45) cron2: so while I'm curious why this is happening, I suspect it's somewhat outside our control (mingw runtime, OpenSSL cross-build).
(12:45:01) cron2: lev__: is this cpu bound, as in "while the test runs, OpenVPN is using 100% of one core"?
(12:45:01) ordex: yap, likely
(12:45:38) lev__: cron2: I haven't looked at CPU usage, just checked iperf stats
(12:45:39) cron2: if it's CPU bound, compiler optimization / openssl assembly / ... would be my guess. If not, it's more like "something is adding latency, and TCP performance tests tend to be very sensitve to that"
(12:46:16) dazo: yeah, it's not openvpn code ... this is compiler and build optimization related
(12:46:16) cron2: it would be interesting to know ("differences in latency" and "CPU usage while iperf is running")
(12:46:49) cron2: dazo: yes, but my gut feeling is "nothing inside OpenVPN can be optimized in a way that makes such a difference". OpenSSL, yes :-)
(12:47:33) cron2: our packet loop is small and doesn't really do much, except "call out to SSL library" plus a few if() statements here and there... (on the client)
(12:48:03) cron2: plus driver/socket read()/write(), which do not lend themselves to compiler optimization
(12:48:31) cron2: but anyway... mattock1: what do you say wrt "using MSVC to do release building"?
(12:48:44) dazo: lev__: which openssl library build did you use with your msvc build?
(12:48:45) cron2: we discussed this anyway for the .msi installers
(12:49:21) mattock: well
(12:49:45) mattock: does it help to build just openvpn with msvc, or would we have to build all the dependencies with msvc as well?
(12:49:55) mattock: also, does openvpn-build/msvc work nowadays?
(12:51:39) lev__: dazo: 1.0.2p built with Visual Studio
(12:51:46) lev__: mattock1: yes it does
(12:52:34) lev__: mattock1: it builds openssl etc, we use it in appveyor
(12:53:09) mattock: ok
(12:53:16) mattock: what about NSI?
(12:53:59) mattock: we're not ready for MSI for 2.4.x, so integrating openvpn-build/msvc and openvpn-build/windows-nsis may require some surgery
(12:54:43) lev__: mattock1: it just builds openvpn binary and dependencies
(12:55:02) dazo: I'd say we have focus getting 2.4.x out asasp ... so if msvc isn't fixed quickly, we build with mingw for this first release and improve for the next one
(12:55:11) mattock: I tend to agree
(12:55:32) dazo: we could also do a separate windows update release switching to msvc .... just increasing the build number instead of version
(12:55:41) mattock: adding some semi-ad-hoc stuff to package build artefacts from msvc build may be doable
(12:55:44) lev__: mattock1: I can look into MSI support, if it could be done with mingw it could surely be done with VS
(12:56:19) lev__: would be nice if someone could verify my performance results
(12:56:21) cron2: I'd go for "stick to nsis installer for the next 2.4.x release, and then see if msi works for the next (or for 2.5)"
(12:56:22) mattock: lev__: rozmansi has MSI installer code for OpenVPN, but the tap-windows6 installation part requires refactoring
(12:56:24) dazo: lev__: rozmansi and mattock1 has been working on MSI stuff already ... but there's still some missing pieces, I believe
(12:56:40) cron2: having new installers, new build system, new tap driver at the same time sounds like "support effort"
(12:57:07) dazo: yeah, lets take this in a few separate steps
(12:57:26) mattock: +1
(12:57:44) rozmansi: @lev__: MSI support was done with Visual Studio then potred to mingw.
(12:57:47) mattock: now, is there any easy way to test if adjusting mingw parameters could produce significant improvements in performance
(12:57:51) lev__: I don't have a strong opinion on installer we use, but I care about performance gain provided by VS
(12:57:54) rozmansi: hi everyone
(12:57:57) mattock: hi rozmansi!
(12:58:08) dazo: sorry to wake you up, rozmansi! :-P
(12:58:31) cron2: mattock1: wrt "adjusting mingw parameters", that depends a bit on "is it CPU bound or latency"
(12:58:48) rozmansi: dazo: I really should put those meeting appointments to my calendar. I have missed all September ones. Thanks for bumping me.
(12:58:57) dazo: ;-)
(13:01:13) mattock: anyways, I'll check how easy/difficult it would be to produce an NSIS installer from the build artefacts of the msvc build
(13:01:44) mattock: NSIS does run on Windows so there would be no need to hop between Linux and Windows during the build
(13:02:03) rozmansi: mattock1: if you put all the binaries in the same folder layout as produced by openvpn-build and copy them in the right place, nsis builder should work fine.
(13:02:16) mattock: if the names match, yeah
(13:02:44) mattock: windows-nsis assumes that it is doing the build itself, so the NSIS step would probably have to be separated
(13:02:46) rozmansi: btw, doesn't VS build use different SSL library (ssleay)?
(13:03:29) dazo: is ssleay still alive?
(13:03:32) cron2: ssleay sounds like the 0.5 name of openssl
(13:04:09) mattock: yeah
(13:04:34) lev__: rozmansi: it produces libeasy32.dll and ssleay32.dll which are openssl
(13:05:07) rozmansi: exactly, that's what I had in mind... File names are different, so this will be a problem for NSIS packager.
(13:05:41) rozmansi: but they're just different files to copy. Nothing fancy they'd require.
(13:06:16) mattock: yep, it is definitely doable
(13:07:21) mattock: lev: we currently bundle openssl 1.1.0 in our windows installers
(13:07:27) mattock: can msvc build build openssl 1.1.0?
(13:08:54) lev__: mattock1: I think so, just have to set OPENSSL_VERSION env var
(13:09:37) lev__: assuming openssl hasn't changed their nmake build scripts
(13:11:21) mattock: there's one glitch I had when moving from openssl 1.0.2 to 1.1.0 in windows-nsis, but that might not be present in msvc builds
(13:11:23) mattock: anyways
(13:12:37) mattock: I will take a stab at generating NSIS installer from msvc artefacts
(13:12:50) mattock: for the next 2.4.x release
(13:13:53) mattock: so we have two tap-windows6 PRs: https://github.com/OpenVPN/tap-windows6/pulls
(13:13:55) vpnHelper: Title: Pull Requests · OpenVPN/tap-windows6 · GitHub (at github.com)
(13:16:04) mattock: do we need a test tap-windows6 installer of those prior to next 2.4.x?
(13:16:48) dazo: depends on how brave you are ;-)
(13:19:07) mattock: I'm very brave if I can avoid one round of building and signing tap-windows6 :)
(13:19:27) mattock: that said, if we are fine with just attestation signed (=Windows 10) test version then its not too bad
(13:20:13) mattock: I suspect that even if we have test installers available on 1-2 people will actually test them
(13:20:26) mattock: one of them being me :)
(13:20:57) lev__: mattock1: I can surely test it
(13:21:03) mattock: ok good
(13:21:34) mattock: then I shall produce tap-windows6 which includes those two PRs - or does https://github.com/OpenVPN/tap-windows6/pull/86 require further work/discussion?
(13:21:36) vpnHelper: Title: constants.h: make driver not halt on suspend by lstipakov · Pull Request #86 · OpenVPN/tap-windows6 · GitHub (at github.com)
(13:23:05) lev__: wintun doesn't halt on suspend, so I was thinking maybe tap-windows6 shouldn't too
(13:24:50) mattock: should I read selva's comment "If halt on suspend is not needed let's get rid of it." as an ACK?
(13:24:55) mattock: the last comment
(13:25:50) cron2: mattock1: well, let's have the test driver out, and ask Selva explicitly for "can you test and ack"
(13:26:06) mattock: +1
(13:26:23) cron2: the comment is a conditional ACK on the condition on "we agreed that we do not need halt-on-suspend", but I'm confused on whether we agree :)
(13:26:34) mattock: :)
(13:26:37) mattock: yeah
(13:26:51) mattock: 4 minutes left
(13:27:06) mattock: topic #2 quickly?
(13:27:26) cron2: #2 is easy - "we got distracted by buildbot failures"...
(13:27:59) mattock: ok good
(13:28:19) dazo: #3 would be nice to have some discussion around ... --disable-server
(13:28:22) cron2: so, no progress on the vlan patchset itself, and limited progress on the buildbots - we still have arch, fedora-29 and ubuntu-18 consitently(!) fail t_client test 1 - for every single run since inception (ubuntu-18) and for every single run since June 06 (fedora-29 and arch), so this is something that needs fixing (13:28:23) dazo: plaisthos: you around?
(13:29:09) cron2: ordex and I have tried to reproduce on ubuntu 18.04 lts and 19.04, but couldn't, so it's not "just this particular distro" (recent kernels, whatnot) but also "something else"
(13:30:26) cron2: tincantech has offered access to the arch buildslave, so maybe we can figure out why "TCP + net30" is failing there
(13:30:27) plaisthos: oops completely missed the community meeting sorry :(
(13:30:56) plaisthos: yeah
(13:31:01) cron2: plaisthos: well, now you're here :-) - maybe we can quickly discuss #3
(13:31:04) mattock: plaisthos: you will be mentioned in the summary
(13:31:52) plaisthos: I spend way to long to fix auth-token for disable-server and found out that even with --disable-server a lot of stuff of server is pulled in
(13:31:54) cron2: I have no strong opinion on --disable-server. Ordex checked OpenWRT: they do not(!) build with --disable-server, so "these embedded folks" wouldn't all be impacted
(13:32:18) plaisthos: and apart from my client I don't know of anything that actually uses disable-server
(13:32:39) cron2: ah, it would break Android! So we cannot do it! *duck*
(13:32:50) plaisthos: and since we are already short on time etc, supporting this feature that basically no one uses seems to be a bit much
(13:33:01) dazo: I also believe the argument of "reduced binary code size" is not as relevant now as it was 15 years ago, esp. for embedded devices
(13:33:17) plaisthos: and the embedded devices we talk about don't seem to exist
(13:33:19) cron2: mattock1: can you ask on the openvpn-users + openvpn-devel lists? If nobody answers, kick it out for 2.5...
(13:33:22) ordex: well, few hundred KB makes a difference though
(13:33:37) dazo: is it such a big difference?
(13:33:37) ordex: I build for systems with 4MB of flash :p
(13:33:48) cron2: ordex: do you build with --disable-server?
(13:33:52) ordex: no
(13:33:56) ordex: only --enable-small
(13:33:56) cron2: dazo: ~150kbyte
(13:33:59) plaisthos: in the mac build it is 685k vs 815k
(13:34:09) cron2: ordex: so it doesn't really make enough of a difference :-) - point made!
(13:34:52) mattock: cron2: yep, I will
(13:34:53) dazo: so roughly 15-18% code reduction
(13:35:42) cron2: I'm surprised it's so much difference in size... plaisthos: code or data size?
(13:36:17) cron2: quot a few options strings, option-combination warning messages and --help output and such will go, though
(13:36:20) cron2: quite
(13:36:25) dazo: the difference plaisthos references is 130kb :-P
(13:36:53) plaisthos: binary size
(13:37:08) plaisthos: as in ls -lh src/openvpn/openvpn
(13:37:10) cron2: plaisthos: "size $binary"...?
(13:37:17) cron2: maybe 100kbyte of it is "debug information"
(13:37:23) dazo: yeah, I think OpenVPN 2.5 is a reasonable release to kick it out .... 2.4 will still be supported for some time forward after the 2.5 release ... so users with scarce space can use a reduced 2.4 build; and we hope those smaller devices gets more space before the the 2.4 support runs out (13:37:57) mattock: email about --disable-server sent
(13:38:01) dazo: plaisthos: can you try to do a build with --enable-small and strip it .... and compare a build with --enable-small --disable-server which is also stripped?
(13:39:54) plaisthos: data/text: 634880 12288, stripped binary 673k
(13:40:41) plaisthos: damn the last patch in the series was not disble-server clean
(13:40:45) plaisthos: *bites into desktop*
(13:41:04) plaisthos: okay again with master
(13:42:16) plaisthos: 524288/12288, stripped binary: 562k
(13:44:10) mattock: 14 minutes overtime
(13:44:13) plaisthos: 630784/12288, stripped binary: 668k
(13:44:37) plaisthos: mattock1: got to run?
(13:44:46) mattock: no, but we don't do overtime :D
(13:45:03) mattock: or try not to
(13:45:55) mattock: I say we end the official part here
(13:45:57) mattock: any objections?
(13:46:00) cron2: mmmh, unix "size" splits this up more nicely into "code" and "data" size (so you can see how much of it is "less strings" and "less code"). but anyway. Looks like this is not truly worth the contortions
(13:46:33) cron2: well
(13:46:35) cron2: used to
(13:46:49) cron2: nowadays strings seem to be all in "text"... *scratch head*
(13:47:10) plaisthos: yeah
(13:47:23) plaisthos: basically text is readonly and data is readwrite
(13:47:27) plaisthos: globals etc
(13:47:41) cron2: yep
(13:48:05) dazo: so roughly 100kb saved with --disable-server .... that doesn't really sound like it's worth our effort and troubles
(13:48:09) ***cron2 needs to feed wife and kid now, so "official end"

#3 lore raw

[Openvpn-devel] Summary of the community meeting (26th Sep 2019)

In reply to Samuli Seppänen

Hi,

Here's the summary of the IRC meeting.

---

COMMUNITY MEETING

Place: #openvpn-meeting on irc.freenode.net
Date: Thursday 26th September 2019
Time: 20:00 CEST (18:00 UTC)

Planned meeting topics for this meeting were here:

<https://community.openvpn.net/openvpn/wiki/Topics-2019-09-26>

Your local meeting time is easy to check from services such as

<http://www.timeanddate.com/worldclock>

SUMMARY

dazo, lev, mattock, ordex and zx2c4 participated in this meeting.

---

Discussed broken buildslaves/builds and noted that they still need to be fixed.

---

Discussed relative merits of Buildbot and Jenkins. Dazo has had some strange issues with Buildbot and upgrading Buildbot might be a worthy effort. Migrating to Jenkins would be a big effort and it is unclear if it would be a better solution in our particular use-case.

---

Noted that mattock still needs to produce a tap-windows6 test installer with PRs from here:

<https://github.com/OpenVPN/tap-windows6/pulls>

As mentioned in last week's meeting summary if testing of that installer goes well and Selva gives his ACK on

<https://github.com/OpenVPN/tap-windows6/pull/86>

we will include the new driver in the OpenVPN 2.4.8 installer.

--

Discussed the problem of OpenVPN Inc. people getting dragged into internal projects due to internal pressure and thus unintentionally deprioritizing community work. The OpenVPN 3 team has recently tried to allocate Friday for community work. Mattock will attempt to follow suit going forward.

--

Agreed that we want wintun in OpenVPN 2.5 installers. According to zx2c4 the upcoming Wintun 1.0 API version will be stable. As far as Wireguard is concerned the API needs no changes at the moment, but zx2c4 is still waiting for input from external parties.

Wintun installation can be handled either as Merge Modules (MSM) in an MSI installer. Or a silent wintun MSI installer can be embedded into an MSI installer.

--

Full chatlog attached.

(20:52:58) L'argomento di #openvpn-meeting è: Next meeting 18/Sept/2019 at 11:30 CEST. Agenda at https://community.openvpn.net/openvpn/wiki/Topics-2019-09-18
(20:52:58) L'argomento per #openvpn-meeting è stato impostato da [email protected].../batman/ordex a 13:04:22 su 17/09/2019
(21:01:25) ***dazo is here
(21:01:53) mattock: good evening!
(21:02:05) mattock: who are the merry participants today?
(21:03:24) dazo: cron2 couldn't make it, I heard ... technically, plaisthos is some kind of holiday iirc, but he has been online earlier today :-P
(21:03:45) dazo: rozmansi said last week he needed a ping :-P
(21:04:49) mattock: rozmansi: ping if you want to join the meeting
(21:05:00) ***dazo pinged ordex and lev__ internally
(21:05:03) mattock: ok
(21:06:15) lev__: hellou
(21:06:44) dazo: \o/ one of three pings responded! :-P
(21:06:49) mattock: that's not all bad
(21:06:57) mattock: so let's see our topic list
(21:07:15) mattock: https://community.openvpn.net/openvpn/wiki/Topics-2019-09-26
(21:07:17) vpnHelper: Title: Topics-2019-09-26 – OpenVPN Community (at community.openvpn.net)
(21:07:25) mattock: tap-windows6: no progress whatsoever
(21:07:43) mattock: that may be something for tomorrow's mini-hackathon though
(21:07:48) dazo ha scelto come argomento: Next meeting 2/Octt/2019 at 11:30 CEST. Agenda at https://community.openvpn.net/openvpn/wiki/Topics-2019-09-26
(21:07:51) dazo ha scelto come argomento: Next meeting 2/Oct/2019 at 11:30 CEST. Agenda at https://community.openvpn.net/openvpn/wiki/Topics-2019-09-26
(21:08:24) dazo: mattock1: we also need to get some focus on the missing build slaves, though
(21:08:31) mattock: and that one
(21:08:38) dazo: now the buildbot machinery is kinda crippled
(21:09:27) lev__: dazo: can we delegate it to our ops team
(21:09:36) dazo: mattock1: ^^^
(21:10:05) mattock: well, all of us in the ops team have boatload of work at any given time
(21:10:35) mattock: there's not help there tbh
(21:10:45) lev__: so it is about prioritization
(21:11:01) dazo: actually we should have a serious discussion if we want to continue with buildbot .... or if we should consider switching to Jenkins. The "force build" feature works fairly ad-hoc for me; usually only the first time but not the second one (which might be needed because some non-code related failures) (21:11:01) mattock: yes, and at the moment community stuff tends to get deprioritized way too much
(21:11:35) mattock: I'm not sure why force building fails for you - I have not had issues
(21:11:52) dazo: yeah, that isn't ideal at all ... which is why Core team tries to allocate at least Fridays for these mini-hackathons
(21:12:17) mattock: I may need to do the same, because there's no end in sight for the flow of work at ops
(21:12:33) mattock: even if worked 24/7 the work would never end :|
(21:12:36) dazo: mattock1: try forcing a rebuild with the same commit after the prior one failing .... 5 of 5 times, those requests went to /dev/null
(21:13:05) mattock: failing because of what?
(21:13:27) dazo: mattock1: I also know Nick would like to help out on the community side; not sure if his priorities has shifted ... but worth considering
(21:13:36) dazo: mattock1: I dunno ... it just doesn't happen
(21:13:46) mattock: uh, I abhor jenkins personally
(21:14:13) mattock: I see lots of pains in getting it even running on all the operating systems we support
(21:14:22) mattock: slash test with buildbot at the moment
(21:14:31) dazo: Jenkins has been working quite well from a devs perspective for Core team
(21:15:19) mattock: I'm sure it is possible to make it work, I'm just not sure it is the best solution given all the corner-cases we have in buildbot due to OS differences and all that
(21:15:24) dazo: and I can force and re-run jobs as much as I want, I see what is piled up in the work queue before it starts working on it (also something I don't see in buildbot, so I don't know if jobs have been accepted or is deliberately ignored)
(21:15:31) ordex: sorry was on dinner
(21:15:45) dazo: ordex: just bring the wine now! ;-)
(21:15:53) ordex: hehe
(21:16:10) lev__: at least builds for various linux distos can be easily handled by jenkins+docker
(21:16:32) mattock: we have solaris, openbsd, freebsd, netbsd plus something like 7 linux distros
(21:16:58) mattock: as for nick - I doubt he could pull this off given his workload
(21:17:21) mattock: also, is doing a big migration really what we should be doing if we're already struggling to even fix simple stuff?
(21:17:25) ordex: dazo: are you sure you are pushing the right button ?
(21:17:40) ordex: sometimes I accidentally go for "cancel these builders" rather than "build with these builders"
(21:17:41) mattock: also, I can see what work is queued in buildbot
(21:17:45) ordex: thus doingnothing
(21:18:03) dazo: ordex: well, it worked the first time ... and going to the same place the second time doesn't give any results ... so, I believe I do it on the right spot
(21:18:18) ordex: hmm ok
(21:18:32) dazo: but the webui is horrendous, it is easy to not scroll far enough down ... but the last runs I'm fairly sure I've done the right thing
(21:18:45) mattock: note that our buildbot installation is fairly old
(21:19:07) mattock: upgrading it would almost certainly be much easier than switching to completely different system
(21:19:25) mattock: I won't give my opinion on the Jenkins webui here though :D
(21:19:34) dazo: we can sure do that as a first step, to see if these annoyances disappears
(21:19:37) ordex: upgrading is good, until it breaks everything :P
(21:19:45) mattock: as is switching systems :D
(21:20:10) ordex: hehe yes
(21:20:22) dazo: it's just that we have broader company knowledge about Jenkins these days .... buildbot knowledge is mostly mattock1 nowadays, I think
(21:20:46) mattock: and if we could get the company to work on community that might help :D
(21:20:55) mattock: that is the first and foremost problem we seem to have
(21:20:59) dazo: mattock1: if you use the "Blue" interface in Jenkins, it's pretty neat
(21:21:12) mattock: I've only seen the default (crappy) one
(21:21:24) mattock: internally jenkins is pile of poop
(21:21:27) mattock: imho
(21:21:37) dazo: that I don't know much about :)
(21:21:41) mattock: lucky you :)
(21:21:48) mattock: anyhow
(21:21:51) mattock: move on maybe?
(21:21:57) ordex: so, should we fix the current problematic slaves for starters ?
(21:22:01) ordex: or are we dropping the ball ?
(21:22:02) mattock: yes we should
(21:22:03) mattock: no
(21:22:08) ordex: oky
(21:22:21) mattock: I need to cut myself loose from "generic" ops work, at least on a weekly basis
(21:22:30) mattock: get these long overdue things fixed one at a time
(21:22:49) mattock: buildslaves -> tap-windows6 test build -> builder instance -> and so forth
(21:23:00) ordex: just get a day like we do and focus on community things ;p
(21:23:10) dazo: that would certainly help (not that I should claim Core team has been that much better)
(21:23:29) mattock: well, there's so much internal pressure piling up at all times that I can't blame you, only myself
(21:23:41) mattock: and not really myself, either, except for not prioritizing a bit
(21:24:05) mattock: so fridays are your "try to work on community things" days?
(21:24:15) dazo: yes, it is
(21:24:22) mattock: that sounds reasonable
(21:24:49) mattock: I will start tomorrow - I can hopefully focus for three hours or so
(21:25:04) mattock: due to appointments and meetings not more than that this Friday
(21:25:12) ordex: that's a good start
(21:25:16) mattock: yep
(21:25:19) ordex: maybe you can fix one or two buildslaves in 3 hours
(21:25:24) ordex: and cron2 will be happy
(21:25:25) ordex: :D
(21:25:30) mattock: well it can be 10 minutes or 2 hours per buildslave
(21:25:35) mattock: depends :P
(21:26:21) ordex: :D
(21:26:23) ordex: right
(21:26:53) mattock: so, what else?
(21:26:55) mattock: 2.5?
(21:27:19) lev__: I really want to get wintun support into 2.5
(21:28:11) mattock: that is a good goal
(21:28:18) lev__: I have been using client with wintun for a week and did some performance / stress testing
(21:28:51) lev__: we need someone to review those patches
(21:29:03) dazo: lev__: but we should really ensure we package things correctly, so a wintun driver upgrade via a wg install/update breaks openvpn's wintun integration
(21:29:51) gcoxmoz: (Is there | can there be) a list of known things blocking 2.5 going out?
(21:30:11) mattock: the openvpn2.5 status page on trac is the closest one there is
(21:30:18) ordex: https://community.openvpn.net/openvpn/wiki/StatusOfOpenvpn25
(21:30:19) vpnHelper: Title: StatusOfOpenvpn25 – OpenVPN Community (at community.openvpn.net)
(21:30:26) mattock: the MSI installer rozmansi needs to be revamped
(21:30:30) ordex: but is not up to date
(21:30:31) lev__: dazo: yeah that is something we should decide - do we rely on community wintun driver (supported by wintun) or use our "own" by changing device id not to conflict with "official" one
(21:30:32) ordex: will update now
(21:31:23) ordex: mattock1: Purge NSIS installers << is this done ?
(21:32:09) mattock: lemme check
(21:32:09) lev__: can I add wintun support to that page?
(21:32:37) ordex: dazo: struct argv overhaul << was this done ?
(21:32:50) mattock: well, purging NSIS installers can't be done until we have new MSI installers
(21:32:53) ordex: dazo: auth-gen-token: Inform client why auth-token was rejected << how about this ?
(21:32:57) ordex: mattock1: ok
(21:33:00) mattock: plus it's more like "do not build NSIS for 2.5 anymore"
(21:33:29) dazo: ordex: I need to double check the struct argv overhaul, but I do know I sent things for review long time ago
(21:33:38) ordex: ok, so still kinda pending
(21:33:39) ordex: okok
(21:33:50) dazo: ordex: the auth-token-hmac stuff, there is one patch missing review ... everything else should have an ack by now
(21:33:55) ordex: ok
(21:36:57) ordex: just updated some text in the table :)
(21:37:02) ordex: anything else?
(21:37:35) dazo: not from my side :)
(21:37:47) mattock: what is the status of the FIPS patches? did we get updated patches to ml?
(21:37:56) ordex: i don't think so
(21:39:29) dazo: lev__: in regards to wintun support ... it would be a really nasty user experience if users experiences openvpn breaking if wireguard updates are installed with newer drivers with incompatible APIs. I dunno enough about if Windows has mechanisms to avoid this except of having multiple, non-colliding drivers installed in parallel (21:39:44) dazo: mattock1: what ordex says ... not heard anything in regards to FIPS
(21:40:42) dazo: I wouldn't put too much stress on FIPS currently ... seems to be a fairly scarce user case .... even thought it could probably help getting a bigger footprint within government environments, where such certifications are much more common
(21:41:21) mattock: does wintun have some sort of auto-update thing going on?
(21:41:36) dazo: it's bundled with wireguard install
(21:41:44) lev__: mattock1: not wintun, but wireguard client does
(21:42:59) lev__: are there companies/products which depend on our tap-windows6? how do they solve this problem? (we may update driver and break their software)
(21:43:29) dazo: I don't think we've ever added any API changes to our driver
(21:43:52) mattock: hmm
(21:43:57) dazo: the biggest change was when switching to tap-windows6 ... and I don't even think that required any changes in openvpn
(21:44:08) mattock: perhaps we need a customly named driver just like with tap-windows6
(21:44:35) mattock: yeah tap-windowsX has been extremely stable / stale
(21:44:40) mattock: we don't break it because we don't develop it
(21:44:42) mattock: :P
(21:45:01) ***dazo leaves the proper needed magic to the Windows wizards :)
(21:46:19) mattock: yeah it is not a big deal
(21:46:26) mattock: just a change in the inf file if I recall correctly
(21:47:04) mattock: then even if somebody has OpenVPN Wintun and Wireguard Wintun side-by-side they should not collide
(21:47:14) mattock: nor would wireguard auto-update cause issues for OpenVPN
(21:47:43) dazo: that would be the ideal setup, yes
(21:47:50) lev__: yep, there is tap-windows6, tapos, fsfreedometap you name it. there is "wintun" and could be "openvpnwintun"
(21:47:57) lev__: *tapoas
(21:48:36) dazo: tapas? :-P
(21:49:32) zx2c4: Youre doing it wrong
(21:49:52) zx2c4: We specifically designed the wintun msm to be installable by multiple parties
(21:50:01) dazo: nice!
(21:50:02) zx2c4: With installation reference counting
(21:50:08) zx2c4: So we dont uninstall eachother
(21:50:18) zx2c4: It only gets removed on the uninstallation of the last user
(21:50:34) zx2c4: So just bundle the msm into your installer
(21:50:42) mattock: technically we're not yet doing anything, we're just planning, so it's good you brought this up :)
(21:50:44) zx2c4: Simon knows exactly what to do there
(21:51:01) lev__: zx2c4: but what happens if you guys update wireguard client with new wintun driver with different API ?
(21:51:09) zx2c4: We designed it so that it's 1 line to add to your wix and 1 line to add to our wix
(21:51:33) zx2c4: 1.0 release means we'll keep the api
(21:51:37) zx2c4: Otherwise its chaos
(21:51:49) zx2c4: Easy to make ioctls versioned internally too
(21:52:24) zx2c4: So use the period now to test the hell out of the thing and figure out the complete breadth of ovpn requirements
(21:52:34) zx2c4: And when its ready we'll stamp the 1.0 on it
(21:52:49) zx2c4: Sound good?
(21:54:16) lev__: as mattock1 said, we haven't started working on installer and at the moment we rely on a version provided by wireguard
(21:54:19) dazo: zx2c4: Do you have an idea when the 1.0 release would arrive? Are there any other big changes happening?
(21:55:01) dazo: (before the 1.0 release)
(21:56:01) zx2c4: dazo: from WireGuard's end, requirements are done. Im waiting to learn of you all need anything and for a review of the codebase from some third parties
(21:56:46) dazo: zx2c4: cool! Sounds good! lev__ is the one who would have such input though, as he has been working on both openvpn 3 and openvpn 2 code bases for wintun support
(21:56:57) zx2c4: lev__: if you want to ship your own more intermediate msi before your final one, take a look at the msi example. You should be able to churn something acceptable out in 5 minutes using that
(21:57:42) zx2c4: dazo: yes well aware. I generally prefer to talk to him about it rather than get embroiled in your openvpninc deceptive stuff
(21:58:38) lev__: zx2c4: I think openvpn still uses NSIS installer, but I can probably make it work there by extracting install.dll from msm module and call rundll to install/uninstall
(21:58:57) zx2c4: lev__: mattock1 so anyway - the installer situation should be fine without the need to rename it internally. Just let me know when your driver requirements start to solidify and ill get the scheduling for third party code review stuff underway
(21:59:04) zx2c4: lev__: no!!!!!!
(21:59:07) lev__: but we're moving to msi in 2.5, so naturally we could use msm module there
(21:59:23) zx2c4: Read the docs and also our private conversation again
(21:59:32) zx2c4: Do not use installer.dll directly EVER
(21:59:34) mattock: at the moment we rely on rozmansi's MSI work, and the previous MSI incarnation can't be used for reasons I can't exactly remember
(21:59:54) zx2c4: Reference counting is done by the msm component
(22:00:09) zx2c4: But! Lots of people shipping wintun use nsis
(22:00:24) zx2c4: And for this its trivial to embed a wintun-only silent msi
(22:00:34) lev__: zx2c4: I see
(22:00:37) zx2c4: Whose lifetime is attached to that of the nsis install item
(22:01:26) zx2c4: Check out the docs for the example msi thing
(22:01:38) zx2c4: People are already using that in production
(22:01:56) lev__: zx2c4: that is good to know, thanks
(22:02:00) zx2c4: And if you encounter sharp corners we can refine it too of course
(22:03:21) mattock: we're 3 minutes overtime
(22:03:32) mattock: enough discussion for today?
(22:03:34) mattock: :P
(22:04:02) dazo: I don't have anything else
(22:04:04) zx2c4: lev__ feel free to message me as always while coding
(22:05:08) mattock: ok good, I'll send the summary in a few minutes
(22:05:10) lev__: zx2c4: hehe thanks, I will when I start looking into installer part
(22:05:15) mattock: see you in tomorrow mini-hackathon
(22:05:23) mattock: I'll join around 11:15 EEST