Community meetings in May 2020
Hi,
Our community meetings will alternate between Wed 11:30 CET and Thu 20:00 CET.
Next meetings have been scheduled to
- Thu 7th May 20:00 CET
- Wed 13th May 11:30 CET
- Thu 21st May 20:00 CET
- Wed 27th May 11:30 CET
The place is #openvpn-meeting IRC channel at Freenode. Meeting agendas and summaries are in here:
<https://community.openvpn.net/openvpn/wiki/IrcMeetings>
Samuli
[Openvpn-devel] Summary of the community meeting (7th May 2020)
Hi,
Here's the summary of the IRC meeting.
---
COMMUNITY MEETING
Place: #openvpn-meeting on irc.freenode.net
Date: Thu 7th May 2020
Time: 20:00 CEST (18:00 UTC)
Planned meeting topics for this meeting were here:
<https://community.openvpn.net/openvpn/wiki/Topics-2020-05-07>
Your local meeting time is easy to check from services such as
<http://www.timeanddate.com/worldclock>
SUMMARY
cron2, dazo and mattock participated in this meeting.
---
Noted that cloudflare has now been disabled on community.openvpn.net (again) to get IPv6 working. This is hopefully just a stop-gap measure before we get IPv6 enabled in Cloudflare - for community.openvpn.net or for whole openvpn.net domain.
--
Noted that most of OpenVPN Inc. has been working on CloudVPN which has now been released:
<https://openvpn.net/cloud-vpn>
It is not clear if CloudVPN supports IPv6 transport. IPv6 payload seems to be supported. Mattock made some queries during the meeting.
--
Discussed OpenVPN 2.5. Noted that the high-level status has not changed recently:
<https://community.openvpn.net/openvpn/wiki/StatusOfOpenvpn25>
The recent activity was directed at cleaning up the backlog, Trac tickets, etc. which was also needed.
The amount of effort required by most "must have" tasks seems fairly reasonable:
- async-cc stuff
- it's there, it works
- needs polishing, some refactoring and review
- a few days of focused work
- MSI installers
- needs final integration + testing
- 1-2 days of work assuming no major roadblocks
- asymmetric compression
- just needs the final ACK
Effort required by man-page reformatting and IPv6-only server were not discussed.
Ordex is working on the OpenVPN kernel module which is why he's been isolated from OpenVPN 2.5 tasks. However, dazo and lev have some bandwidth for taking over tasks from ordex next week.
Mattock will start work on MSI a.s.a.p. so that if any issues are found rozmansi will have some time to step in. Mattock will also try to locate OpenVPN Inc. MSI experts, if any, to help with potential MSI issues.
--
Noted that syzzer's successor at OpenVPN-NL has been pretty quiet on the community front. Also noted that syzzer said he might be able to do some OpenVPN community work on his free time.
--
Full chatlog attached
(21:00:46) mattock: guten abend
(21:00:54) dazo: ciao!
(21:01:30) cron2: gr�ezi!
(21:04:22) mattock: https://community.openvpn.net/openvpn/wiki/Topics-2020-05-07
(21:04:23) vpnHelper: Title: Topics-2020-05-07 – OpenVPN Community (at community.openvpn.net)
(21:05:25) mattock: IPv6 on community should work now or soon
(21:05:46) cron2: not now, so "soon" :)
(21:05:57) mattock: unfortunately the "IPv6 on all servers" thing had to be postponed - too much stuff going on
(21:06:17) cron2: yeah, it always is
(21:07:20) dazo: Most of the corp folks has been involved in this lately: https://openvpn.net/cloud-vpn/ .... first version finally released
(21:08:23) mattock: yeah, I got dragged into that too
(21:08:34) cron2: does it have IPv6?
(21:08:48) cron2: ah, yes, the web page says so \o/
(21:09:07) cron2: external *and* internal v6?
(21:09:52) dazo: You define all the internal IPs yourself, and I would be surprised if IPv6 was missing
(21:10:11) cron2: that's "internal", but what about IPv6 transport towards the "cloud"?
(21:10:33) cron2: ("--proto udp6")
(21:11:10) dazo: right ... external should be supported, but the ops team knows which IPs has been deployed into production
(21:11:32) dazo: I've not been involved on the production servers, so I dunno
(21:11:41) cron2: mattock: do you know?
(21:14:15) mattock: no, not sure
(21:17:13) mattock: ok, distractions over
(21:17:49) mattock: I would not count on IPv6 transport - knowing that our Cloudflare has IPv6 disabled I would not count on it
(21:18:19) mattock: now, openvpn 2.5 anyone?
(21:18:38) cron2: this is why I'm asking. We've had problems here in DE with client networks behind DS-Lite ("double natted IPv4" plus native IPv6) and "server has no v6" starts being a problem
(21:18:45) cron2: (for all that is not "tcp port 80/443")
(21:19:56) mattock: I asked about IPv6 transport on our ops channel
(21:20:00) mattock: maybe somebody knows
(21:21:45) mattock: as far as OpenVPN 2.5 is concerned - no progress yet on my end unfortunately on MSI
(21:22:00) cron2: not too much progress on my end here either
(21:22:03) mattock: the big internal project I talked about ended today finally
(21:22:15) cron2: I've been digging through patches, working my way through _inline v11 right now
(21:22:16) mattock: the next project is starting but it should not be as involved
(21:22:32) cron2: good, so msi on you and v6-only on me :)
(21:22:59) cron2: (I had to do a quick patch to tcpdump yesterday, hah :-) )
(21:23:17) mattock: doorbell ...
(21:24:44) dazo: I got about 35 min until my next meeting starts
(21:25:17) cron2: dazo: so how's your time availability? (and how's ordex'?)
(21:25:33) cron2: our major stumbling block is "working with plaisthos on async-cc"
(21:26:53) dazo: It is tight ... but it should be possible to squeeze in more community time now
(21:28:40) mattock: should we update the 2.5 status page? it is several months old
(21:28:56) mattock: I've lost track of the status way back when
(21:29:09) mattock: https://community.openvpn.net/openvpn/wiki/StatusOfOpenvpn25
(21:29:11) vpnHelper: Title: StatusOfOpenvpn25 – OpenVPN Community (at community.openvpn.net)
(21:29:19) cron2: I do not think we have completed anything of those points... but let me look
(21:30:00) mattock: I'll make a minor change
(21:31:22) dazo: Do we know if there are any man page changes in the pipe among the last changes we're planning to pull in? Otherwise I can get started on the man page stuff
(21:32:36) cron2: I am not aware of any, but lost track
(21:36:15) cron2: ok, so the "must have" are "unchanged"
(21:36:30) mattock: since months
(21:36:52) cron2: the "try to make it happen" is also unchanged :-(
(21:37:09) mattock: hmm
(21:37:28) mattock: there has been lots of activity recently - I wonder where it was directed then :P
(21:39:38) mattock: well, this is not nice
(21:39:54) cron2: this was in the "trac tickets, floating-around patches, clean up" section, but not one of the major blocks
(21:40:03) mattock: ok
(21:40:16) mattock: so we really need a final push which focuses on the must haves
(21:40:25) mattock: before we start having a backlog of that other random stuff again
(21:41:05) cron2: corp needs to release ordex a bit more :)
(21:41:20) mattock: yep
(21:43:30) mattock: dazo: any idea on how to make the happen?
(21:43:43) mattock: also, any idea of the effort required by the "must haves"?
(21:43:50) mattock: are we speaking of hours, days or week of work?
(21:44:40) cron2: a few days of focused work for the async-cc stuff - it's there, it works, it "just" needs polishing, some refactoring, and review
(21:46:24) mattock: the MSI stuff is probably 1-2 days of work (including testing) assuming there are no major issues
(21:47:06) mattock: asymmetric compression?
(21:47:13) dazo: We have isolated ordex to be able to progress more rapidly on the kernel module ... which will also provide openvpn 2.x support as well .... we know it is not too good for the 2.5 release, but lets see if lev__ or I can try to help on the review side for the async-cc stuff (21:47:15) cron2: needs a final ACK, I think
(21:47:30) cron2: (the asymm compression)
(21:47:44) dazo: review is tagged "syzzer/cron2" ... is that doable?
(21:47:48) cron2: lev__ could certainly do this, I think, as he found quite a few async bugs
(21:48:04) cron2: dazo: review fort aht?
(21:48:23) cron2: ah
(21:48:24) cron2: yes
(21:48:29) cron2: I'll bite
(21:48:32) dazo: :)
(21:49:28) dazo: lev__ is on some training courses this week ... so I hope we can figure out something for next week.
(21:49:50) cron2: I need him to figure out my win7 openvpn problems as well :)
(21:50:14) dazo: heh ... alright, I'll make some notes :)
(21:51:32) cron2: someone who understands crypto could have a look at the tls-groups patch...
(21:52:40) ***dazo got 3-4 minutes until needing to prepare for next meeting
(21:53:10) mattock: quick question: so what is syzzer's availability nowadays?
(21:53:16) cron2: spotty
(21:53:23) mattock: did he get a new job or something?
(21:53:54) cron2: changed department in fox-it
(21:54:23) mattock: where is the bright new guy then?
(21:54:37) cron2: seems to be a bit shy
(21:55:02) mattock: but there is such a thing?
(21:55:52) cron2: supposedly syzzer can now work in his spare time on openvpn, not being all burnt up by work exposure to openvpn :-)
(21:56:09) cron2: and a new guy works on openvpn-nl which we sort of have met before (Karlsruhe?)
(21:57:13) mattock: mkay
(21:57:20) mattock: but there is some hope on the crypto front
(21:57:32) dazo: Just asked lev__, he will try to allocate some time next week
(21:57:37) mattock: \o/
(21:57:48) cron2: nice
(21:58:06) mattock: I will also try to allocate time on MSI next week - at least to see if it is all smooth sailing or if rozmansi will need to work on something
(21:58:16) mattock: I will also try to locate any MSI guys we might have in-house
(21:58:27) mattock: forgot to do that last week
(21:59:06) ***dazo gotta go
(21:59:21) mattock: I think we can call this a day - we did manage to do something useful at least :D
(21:59:26) mattock: ok?
(21:59:36) cron2: yep... good night :)
(22:00:32) mattock: good night!
(22:02:04) mattock: IPv6 was missing the AAAA record
(22:02:08) mattock: should start working shortly
(22:02:45) cron2: community.openvpn.net has no AAAA record
(22:03:07) cron2: ah, now it's there
(22:03:12) mattock: yep
(22:03:14) cron2: local resolver still has the NXDOMAIN cached
(22:03:14) mattock: I just added it
(22:04:05) mattock: I will try to get IPv6 enabled across the board because on the next DoS (and those do happen occasionally) they will just turn on cloudflare and then IPv6 is broken again on community
(22:04:23) mattock: this is just duct tape to cover the problem
(22:12:18) cron2: so v6 is direct, not via cloudflare?
(22:20:12) mattock: yes, direct for now
(22:20:24) cron2: better than nothing and it will quiet my monitoring :)
(22:20:30) mattock: and mine
(22:20:42) mattock: I have IPv6 monitoring for community servers now
(22:21:04) mattock: technically it checks the certificate expiration, but as it does it via IPv6 tranport it will alert on broken IPv6 as well
(22:26:27) mattock: that could of course cause us to not catch IPv4 issues on those servers :D
[Openvpn-devel] Summary of community meeting (13th May 2020)
In reply to Samuli SeppänenHi,
Here's the summary of the IRC meeting.
---
COMMUNITY MEETING
Place: #openvpn-meeting on irc.freenode.net
Date: Wed 13th May 2020
Time: 11:30 CEST (9:30 UTC)
Planned meeting topics for this meeting were here:
<https://community.openvpn.net/openvpn/wiki/Topics-2020-05-13>
Your local meeting time is easy to check from services such as
<http://www.timeanddate.com/worldclock>
SUMMARY
dazo, krzee, lev, mattock, ordex and plaisthos participated in this meeting.
---
Talked about MSI/MSM for OpenVPN and tap-windows6. Mattock is now fighting his way through the MSI/MSM jungle.
---
Talked about improving the buildbot configuration. Agreed that it makes sense to:
1) Upgrade buildbot to a more modern version (better webui etc)
2) Migrate lots of semi-manual testing that is currently internal to OpenVPN Inc. to buildbot
3) Start building openvpn3 on buildbot
4) Testing latest server code through buildbot
After the meeting cron2 reminded us that he has t_server testing framework already - it is just running outside of buildbot.
Krzee and mattock will work together on these buildbot improvements.
---
Discussed OpenVPN 2.5 patches. This week dazo will review plaisthos' three patches and start the epic "man page struggle".
--
Full chatlog attached
(12:28:46) mattock: hello!
(12:28:56) dazo: hey!
(12:30:12) mattock: cron2 said he could not make it
(12:30:26) mattock: it would be nice if rozmansi was here by accident :)
(12:30:42) mattock: I'm working on tap-windows6 MSM and unsurprisingly there have been a number of issues I've had to resolve
(12:30:48) krzee [[email protected].../corp/krzee] è entrato nella stanza.
(12:30:53) mattock: probably related to the build environment, but problems nevertheless
(12:31:59) ordex: ué
(12:32:25) lev__: hello
(12:33:29) plaisthos: hello
(12:34:03) krzee: heyhey
(12:35:21) mattock: hi all
(12:35:23) mattock: so
(12:35:38) mattock: I pretty much reported what I've been up to :)
(12:35:48) mattock: any topics besides openvpn 2.5?
(12:36:16) dazo: plaisthos: what's the status now on the auth-token patches?
(12:36:35) dazo: Lets have a look here: https://community.openvpn.net/openvpn/wiki/StatusOfOpenvpn25
(12:36:37) vpnHelper: Title: StatusOfOpenvpn25 – OpenVPN Community (at community.openvpn.net)
(12:37:15) dazo: I'm planning to start playing with the man page challenge this week
(12:37:32) mattock: \o/
(12:37:39) plaisthos: dazo: err chek patchwork
(12:37:44) mattock: sounds like e-sports
(12:38:51) krzee: id like to understand a little more about our unit tests (using buildbot as i understand), specifically because i think ovpn3 should be added to it when possible and i think that maybe corp and community could use the same tests so that efforts are not duplicated (12:41:19) mattock: +1
(12:42:17) mattock: basically we'd just add openvpn3 build dependencies to a subset of our buildslaves and add a few builders to build openvpn3
(12:42:55) dazo: plaisthos: ahh, found it ... alright, 3 patches missing formal acks ... I'll try to complete that this week then
(12:44:57) dazo: mattock: Hmmm ... can we also please upgrade our buildbot to something more up-to-date? So that it is simpler to get an overview what is being run/tested, split out build errors from test errors, etc
(12:46:23) mattock: yes that is the plan
(12:46:30) mattock: after MSI stuff
(12:46:50) dazo: good! Then I'll keep quite for a bit more :-P
(12:46:51) plaisthos: like jenkins?
(12:46:55) dazo: *quiet
(12:47:06) plaisthos: or newer buildbot?
(12:47:10) mattock: no jenkinses
(12:47:14) mattock: update buildbot
(12:47:16) mattock: :)
(12:47:20) krzee: how many tests are already implemented in buildbot?
(12:47:22) dazo: plaisthos: hehe ....
(12:47:35) dazo: krzee: Only make check
(12:47:36) mattock: not sure as those are created programmatically
(12:47:47) plaisthos: no was a serious question. People might have more experience with jenkin
(12:48:12) mattock: yes, and it is still a piece of crap especially from management perspective
(12:48:37) ordex: :D
(12:48:51) krzee: dazo, i dont understand the answer
(12:49:44) ordex: tests are defined in t_client
(12:49:44) dazo: krzee: buildbot runs 'make check' ... so what is being run is defined in tests/Makefile.am via the TESTS variable
(12:50:04) ordex: the buildbot just runs make check (which executes the unit tests and the various t_* scripts)
(12:50:07) dazo: t_client.sh is one of the defined tests in TESTS
(12:50:31) ordex: right
(12:51:07) mattock: krzee and I also talked about extending t_client to include server-side tests (i.e. connect clients to a server instance built from HEAD)
(12:51:28) mattock: at the moment our servers are static (version <n> of openvpn)
(12:51:36) dazo: https://github.com/OpenVPN/openvpn/blob/master/tests/Makefile.am#L17 .... oh and beware of SUBDIRS too ... so this is also evaluated, recursively
(12:51:38) vpnHelper: Title: openvpn/Makefile.am at master · OpenVPN/openvpn · GitHub (at github.com)
(12:51:40) ordex: yeah, that would be a great improvement
(12:52:26) dazo: I would suggest implementing a t_server.sh test for that ... to avoid complicating t_client.sh further
(12:52:49) mattock: kind of reverse of t_client.sh?
(12:52:57) mattock: as in: static clients, latest server?
(12:53:24) krzee: as well as latest client
(12:53:30) dazo: kinda ... but it could drive also client connections too, but t_client.sh is well defined in what it tests and how it works
(12:53:32) mattock: yeah I was about to add that
(12:53:36) ordex: maybe a coordinated effort of t_server andf t_client ? :D to run combined tests
(12:54:35) mattock: something like that, but I'm not sure how it would look like
(12:54:37) dazo: yeah, t_server.sh cloud use t_client to drive the client side ... but t_client.sh should try to strive to focus on testing the client side code - it can be extended to handle other configs than t_client.rc
(12:54:55) dazo: gee .... cloud -> could
(12:55:26) mattock: basically one buildslave could just build the latest server and make it available before t_client kicks in
(12:55:44) dazo: yeah
(12:56:01) mattock: the only challenge is enforcing the order afaics, but I'm sure that can be done
(12:56:58) krzee: i cant add much to the conversation yet because ill need to catch up to how tests work :)
(12:57:01) mattock: anyhow, buildbot upgrade is the first step - our version _is_ old
(12:57:09) dazo: The test code is not set in stone ... fortunately ;-) .... I'm just advocating keeping t_client.sh to be focused on client configs
(12:57:29) mattock: krzee: once I have MSI/MSM in a reasonable shape (=able to make release packages) I can help you with it
(12:57:39) mattock: dazo: +1
(12:57:44) mattock: it works well now
(12:57:47) krzee: mattock, maybe after MSI stuff we can pivot our meetings to that
(12:57:55) mattock: krzee: +1
(12:58:00) krzee: nice
(12:58:17) krzee: i still need to write this up to get approval from above
(12:58:30) krzee: but if we put our personal meetings into this, screw it we doing it
(12:58:32) krzee: lol
(12:58:44) mattock: be a cowboy like the rest of us :D
(12:58:55) mattock: "lone ranger who does his own thing"
(12:59:03) krzee: dude im in, this is the only logical way
(12:59:37) mattock: I mean, everyone will benefit from this (company and community)
(12:59:41) krzee: the idea of manually testing everything in openvpn, which has more potential configs that ANY other app i have used, is just silly
(12:59:58) mattock: that is what our QA does at the moment
(12:59:58) krzee: than*
(13:00:07) mattock: due to mostly historic reasons
(13:00:10) krzee: oh i know, i have become qa :D
(13:00:15) krzee: just ask ordex
(13:00:22) ordex: :D
(13:00:27) ordex: yeah
(13:00:50) mattock: anyhow, it seems we have a plan
(13:01:11) krzee: yep
(13:01:16) krzee: thanks
(13:01:26) mattock: mattock will fight his way through the MSI/MSM jungle (MSM is still on the winning side) and then he and krzee will move onto automating more testing and making it available via buildbot to the community developers as well (13:01:55) mattock: dazo will check plaisthos' three patches this week, as well as start the epic "man page struggle"
(13:02:12) mattock: anything else that needs discussion/coordination?
(13:02:15) krzee: best of luck with msi https://static2.stuff.co.nz/1401834912/639/10117639.jpg
(13:02:51) mattock: I have to clear the jungle first before I can even get to the MSI
(13:02:52) mattock: :)
(13:07:18) mattock: anything else or are we done?
(13:09:41) krzee: ...
(13:10:12) mattock: I think we're done
(13:10:35) krzee: i doubt ill make it to your morning meeting
(13:10:43) krzee: :D
(13:10:53) mattock: tomorrow?
(13:11:06) krzee: my tomorrow, your tonight
(13:11:07) mattock: (it's not today, so not all hope is lost)
(13:11:20) mattock: Thursday at 7:30 AM PST
(13:11:25) krzee: OHHH
(13:11:28) mattock: yep
(13:11:30) krzee: sweet im in
(13:11:40) krzee: wednesday was unlikely :D
(13:11:48) mattock: definitely, given what time is at your end
(13:34:32) krzee ha abbandonato la stanza (quit: Remote host closed the connection).
(13:37:18) cron2: wrt "automated server side tests" - that is *hard*, but I have it outside buildbot
(13:37:29) cron2: (just to mention it again)
(13:40:28) cron2: ... and please do not start discussing and sort-of-deciding stuff that is not on the agenda
(13:58:54) mattock: that is why we have summaries, so that people can also complain after the fact
(13:59:04) mattock: summary which I am about to send :)
(13:59:45) cron2: yeah, but it's a waste of precious time if you discuss something where I might have answers already (and I'm sure I mentioned my t_server setup like 100 times in the past)
(14:01:47) mattock: I can waste 10 minutes discussing it, but yes, we need to take your t_server setup into account before actually implementing it
(14:02:06) mattock: implementing anything of sorts
[Openvpn-devel] Summary of the community meeting (27th May 2020)
In reply to Samuli SeppänenHi,
Here's the summary of the IRC meeting.
---
COMMUNITY MEETING
Place: #openvpn-meeting on irc.freenode.net
Date: Wed 27th May 2020
Time: 11:30 CEST (9:30 UTC)
Planned meeting topics for this meeting were here:
<https://community.openvpn.net/openvpn/wiki/Topics-2020-05-27>
Your local meeting time is easy to check from services such as
<http://www.timeanddate.com/worldclock>
SUMMARY
cron2, dazo, lev, mattock, ordex and syzzer participated in this meeting.
---
Talked about OpenVPN testing. We have a server-side testing setup which is focused on testing the network side. However, the setup is currently private and not easily reproducible. We agreed that allowing "anyone" to setup server-side testing would be beneficial.
Fox-IT has a bunch of test tools they could possibly share:
- TLS test setup with loopback-like configuration files running on a single node
- A C client to test management-external-key
- Python-based test framework that does regexp matching on OpenVPN connection test logs
Syzzer will make inquiries to see if these tools could be open sourced fully or partially. In the worst case they would provide "inspiration" for the OpenVPN community.
Agreed that tests that are easy and quick to run locally by normal users/developers should be part of our standard "make check" test suite.
Created a new repository in GitHub called "openvpn-tests":
<https://github.com/OpenVPN/openvpn-tests>
This repository will contain server-side tests and other things that do not fit into "make check". Existing test suites like "openvpn-windows-buildtest" may be integrated with it later.
Also created a TestCoverage page in the Wiki:
<https://community.openvpn.net/openvpn/wiki/TestCoverage>
--
Talked about man-page reformatting. In a nutshell it is looking pretty good but will need some work to make it perfect.
--
Syzzer promised to review
<https://patchwork.openvpn.net/patch/1120/>
--
Talked about OpenVPN 2.5.
Dazo will review and ACK plaisthos' INFO_PRE/AUTH patches today.
Cron2 and ordex will try to get the IPv6-only patchset sorted out 15:00-17:00 tomorrow (Thursday).
Mattock has not been able to continue the MSI work but hopes to be able to do that next week.
--
Full chatlog attached
(12:30:01) mattock: hello
(12:31:36) lev__: hi
(12:32:50) cron2: yo!
(12:32:59) mattock: this look promising now! :)
(12:34:28) ordex: hi!
(12:35:39) mattock: ok let's do it
(12:35:52) mattock: https://community.openvpn.net/openvpn/wiki/Topics-2020-05-27
(12:35:54) vpnHelper: Title: Topics-2020-05-27 – OpenVPN Community (at community.openvpn.net)
(12:36:09) mattock: I believe dazo is responsible for some of those topics
(12:37:18) cron2: !blame
(12:37:21) dazo: \o/
(12:37:23) mattock: hi
(12:38:03) eworm [[email protected].../developer/eworm] è entrato nella stanza.
(12:38:23) mattock: topic #1?
(12:39:55) dazo: I think we can all agree this is a great idea to have. But who has something ready? Who will pick up these tasks?
(12:40:36) mattock: krzee was interested in doing this and he should have the bandwidth
(12:40:43) cron2: I do have server side testing, with fairly good "network side" coverage
(12:40:53) cron2: (tun, tap, ipv6, ipv4, ...)
(12:41:10) cron2: it's lacking any sort of management interaction or plugins
(12:41:17) dazo: After haven looked at plaisthos' auth related patches, I do have some kind of ideas how to do some simple automated management based auth testing ... but, the annoying part there is to write some reliable code which does the management interface interaction (12:41:44) syzzer_: hi
(12:41:49) mattock: \o/
(12:41:50) cron2: syzzer! \o/
(12:41:55) dazo: hey! long time, syzzer_!
(12:42:04) syzzer_: Running TLS tests can easily be done on a single host
(12:42:25) syzzer_: Just use loopback-like configs
(12:42:37) dazo: yeah
(12:42:47) cron2: t_lpback.sh and t_cltsrv.sh come to mind :-)
(12:42:48) syzzer_: This is how we do this for OpenVPN-NL too
(12:43:16) dazo: TLS tests are kind of the lowest hanging fruits
(12:43:30) syzzer_: Yeah, but preferrably with less timeouts than t_cltsrv.sh :)
(12:43:55) dazo: and I think krzee would be perfect candidate for those tests, if he got a chance and time for it
(12:43:56) syzzer_: cron2 has reasonable coverage for the network side
(12:44:00) dazo: syzzer_: agreed!
(12:44:42) syzzer_: but having server-side tests that are easier to run "for everyone" would be really nice
(12:44:51) dazo: I did look into reducing those timeouts, the annoying part of that test is testing timeouts .... so that kind of makes it odd to reduce timeouts when testing timeouts
(12:45:23) syzzer_: yeah, but for the other tests, you'd want a flag like "exit with 0 status if connectin setting succeeds" or so.
(12:45:49) syzzer_: Oh, end "immediately exit with exit code non-zero when TLS connection fails"
(12:45:53) syzzer_: *and
(12:46:00) cron2: yep, when adding tests run in the normal "make check" sequence, these should be "a few seconds each", not "2 minutes"
(12:46:45) cron2: (keeping the balance between "test coverage" and "getting work done though a test run takes 473 hours to complete"...)
(12:46:58) dazo: agreed
(12:47:48) syzzer_: Another option would be similar to how we do it for OpenVPN-NL: use a (in our case Python) test framework that just does regex matching on the log output until the expected messages are seen (e.g. "Connection Established", "Certiticate expired", "Invalid key usage", etc) (12:47:57) dazo: that's where you normally split between the various test tiers ... tier 1 are typical quick smoke tests, unit tests which are run regularly (and quickly), tier 2 are more comprehensive tests and tier 3 handles regressions (12:48:37) dazo: syzzer_: could you share that test code? It would be better to build on something which exists rather than to build up something new from the ground up
(12:49:23) syzzer_: I might, but tbh the framework is not exactly nice and quite overengineered for this purpose...
(12:49:43) syzzer_: It's currently internal code, so I'd have to convince people to open source it
(12:50:09) syzzer_: Or at least share with a selected few of you as "inspiration" ;-)
(12:50:21) dazo: syzzer_: well, it might be easier to strip down an over-engineered framework than to write a new one ... if the code is reasonable, which I kind of image you guys normally write (reasonable code, that is) ;-)
(12:50:33) dazo: that would work too
(12:50:52) dazo: ("inspirational sharing")
(12:51:04) mattock: I think insprirational sharing would be fine
(12:51:28) syzzer_: I'll discuss internally. Maybe just sharing the actual tests without the framework (which you really don't want to use anyway ;-) ) helps
(12:51:35) dazo: as long as we all have an understanding that shared code might be re-used and licensed as GPL
(12:52:31) mattock: syzzer: thanks!
(12:52:34) dazo: syzzer_: also, if you have any code which interacts with the management interface ... that would be pretty nice ... that's typically fairly boring and fragile code to write
(12:52:52) syzzer_: I have a small C client to test management-external-key
(12:53:09) dazo: hmmm ... could probably work
(12:53:45) dazo: but thx a lot, syzzer_!
(12:53:51) syzzer_: np
(12:55:32) cron2: so, let me briefly recap how my server tests work today - then you are informed and inspired, and we can see about next steps
(12:55:57) cron2: there's *3* machines involved
(12:56:03) cron2: one is the server machine, which does
(12:56:10) cron2: - update git repo (12:56:12) cron2: - build (12:56:37) cron2: - run local "make check" (with a t_client test vs. the normal reference server, so if we totally botch it, we want to know before looking into "pure server side" fails) (12:57:31) cron2: - use the resulting src/openvpn/openvpn binary to start up ~5 or 6 server instances similar to what runs the "t_client server side" (tun, tap, udp, tcp, ..., p2p, inetd)
(12:58:06) cron2: - then ssh out to machine #2, which basically runs a regular t_client test against these freshly compiled instances
(12:58:49) cron2: machine #2 has a 2.3, 2.4 and git master binary (not "current" but "updated every now and then"), and t_client is run once for each instance, in sequence (because of the "check ifconfig/route before/after" test) (12:59:31) cron2: now, machine #3... for the tap tests with VLANs, you need to make sure that vlan isolation works - so there is an extra tap client which does nothing except "you can ping me if you're in the right vlan" (13:00:53) cron2: the client machines are all FreeBSD, the server is a Gentoo, but it does not really matter - it's just giving me a bit more OS coverage for free
(13:01:14) cron2: (philip = ecrist's test server is a FreeBSD, so we have "Linux and FreeBSD servers")
(13:02:23) cron2: so... any questions so far? Anyone still alive?
(13:02:57) dazo: +1
(13:03:32) cron2: okay :-) - what I propose we should do is:
(13:03:46) cron2: - document "what do we test, and how do we test that?" in our wiki
(13:05:00) cron2: maybe a table with "code path" and "test set" (t_cltsrv, t_lpback, t_client, server) and a second section that describes these test in more detail ("what do I have to do to run this?")
(13:05:23) cron2: - put the test stuff into a git* repo
(13:05:40) cron2: we have mattock's windows testing framework somewhere in github already, but the t_server stuff isn't
(13:06:22) cron2: I do not actually want the t_server stuff in the "openvpn main" tree, because it has sort of a different activity cycle
(13:07:09) mattock: cron2: sounds good
(13:07:10) dazo: Agreed, we could have a separate git repo for test frameworks and scripts
(13:07:22) syzzer_: yeah, make sense
(13:07:51) syzzer_: though quick tests should just be part of "make check" I'd say
(13:08:00) syzzer_: e.g. the TLS tests
(13:08:29) cron2: yes
(13:08:41) mattock: ok, next topic?
(13:08:44) cron2: everything that a normal user can run "just so" should (eventually) end up in the main tests/ tree
(13:08:45) mattock: we have 22 minutes
(13:08:49) cron2: not yet :)
(13:08:56) mattock: ok please continue :D
(13:09:40) cron2: things we want the buildbots to run maybe should also go into the main repo (with the needed config put on the buildbot) - this would be t_client stuff
(13:09:56) cron2: this that need special environments, maybe not
(13:10:23) cron2: but I suggest we start with actually *having* a repo, and then from time to time we look at "what is useful for the main repo".
(13:10:58) ***cron2 wants the servers to also do plugin and management testing :-)
(13:11:17) dazo: there is also nothing wrong about buildbots actually pulling down an openvpn-tests git repo before kicking of tests
(13:11:48) cron2: (oh, as an additional remark: the server test is built with different options depending on the day of the week - like, openssl, mbedtls, ... - so that could be extended to do plugin-auth on some days, script-auth on other days, management-auth on third...) (13:12:30) cron2: yes, we could "run all tests at all days", but the number of instances you need for that gets fairly high, and that directly reflects on t_client config on the reference client
(13:12:37) cron2: I'll go and play with that a bit :-)
(13:12:54) cron2: dazo: right. Let's have a repo, put stuff in there, then see what we can do with it.
(13:13:28) cron2: I just wanted to agree to syzzer that "having test code in the main repo is good, if it's actually somewhat easy to run"
(13:13:52) cron2: I'm done :-) - TODO on mattock: find us a nice repo?
(13:14:02) mattock: you give a name, I will create
(13:14:10) cron2: openvpn-tests
(13:14:13) dazo: agreed ... so, in the main repo we should have tier 1 class of tests, the openvpn-tests repo should have tier 2 and tier 3
(13:15:18) cron2: I'd rather not set this in stone right now, but "get to work first, then look at what we have, and see what we can do with it"
(13:15:55) dazo: sounds good to me
(13:16:00) cron2: *like*
(13:16:01) syzzer_: +1
(13:16:17) mattock: we have "openvpn-windows-test", "openvpn-windows-buildtest" and "easyrsa-unit-tests" under OpenVPN in GitHub
(13:16:47) cron2: mmmh
(13:16:47) mattock: I can create "openvpn-tests" if that name does not sound too generic (unless it _will be_ generic)
(13:17:20) mattock: we don't actually use "openvpn-windows-buildtest" anymore as Buildbot does the same thing now
(13:17:29) mattock: I should mark it as deprecated
(13:17:32) cron2: what do you think? move openvpn-windows-test inside "openvpn-test"? Or keep separate repos?
(13:17:46) cron2: my gut feeling says "a single repo with subdirectories sounds workable"
(13:18:13) mattock: I could work with a subdirectory
(13:18:20) dazo: as things gets going, openvpn-windows-tests can be a git submodule inside openvpn-tests, until we figure out how to merge things
(13:18:58) dazo: with git submodules, it is in a subdirectory ... but handled as a separate git repo when you are inside that directory
(13:19:04) mattock: in any case "openvpn-tests" is a reasonable name given this plan
(13:19:07) syzzer_: the main repo is called "openvpn", so "openvpn-tests" makes sense
(13:19:15) dazo: agreed
(13:19:33) dazo: so ... testing covered?
(13:19:46) cron2: I'm good
(13:19:51) cron2: homework to do :)
(13:19:55) dazo: :)
(13:20:33) dazo: So #2 ... and man page stuff .... I completed converting the whole man page to .rst .... and the preliminary result can be seen here: https://gist.github.com/dsommers/015dfbbca099efb92ebd36236b67e991
(13:20:35) vpnHelper: Title: man.8.rst · GitHub (at gist.github.com)
(13:20:55) dazo: And the .rst source file is here: https://gist.githubusercontent.com/dsommers/015dfbbca099efb92ebd36236b67e991/raw/395fe9cef2db7f03645b60c40e26a7881de3d368/man.8.rst
(13:21:12) mattock: https://github.com/OpenVPN/openvpn-tests/
(13:21:13) vpnHelper: Title: OpenVPN/openvpn-tests · GitHub (at github.com)
(13:21:32) dazo: This is *far* from perfect yet ... With this conversion, I tried to do as little changes as possible to the content itself - but some changes were needed
(13:21:39) cron2: the initial glance says "nice!", the second says "it needs polishing"
(13:21:41) cron2: like
(13:21:42) cron2: --
(13:21:43) cron2: config
(13:21:43) cron2: file
(13:21:53) cron2: being wrapped between "--" and "config"...
(13:22:08) dazo: The biggest challenge with .rst ... is our option parsing is non-standard and way too flexible for most common tools
(13:22:16) cron2: oh, all the longer options are wraped after "--"
(13:22:22) dazo: yeah, there's a lot of editorial work needed to be done
(13:22:55) dazo: the wrapping is more or less a "github rendering feature" ... it seems to wrap of the total length is less than X characters
(13:23:08) dazo: that is out of our control, unfortunately
(13:23:18) dazo: other renderes might do it differently
(13:23:22) cron2: mmmh
(13:24:00) cron2: what is our target for this? github renderer? only manpage? manpage and trac?
(13:24:14) cron2: (I do not care for the github renderer if we're not using it in earnest)
(13:24:22) dazo: Alright ... scroll down, and you see the man page rendering in plain text
(13:24:39) syzzer_: yeah, most interesing to me is "how does this look in man'
(13:24:51) syzzer_: aha!
(13:24:51) dazo: https://gist.githubusercontent.com/dsommers/015dfbbca099efb92ebd36236b67e991/raw/395fe9cef2db7f03645b60c40e26a7881de3d368/man.8.txt
(13:25:08) cron2: the man page rendering looks reasonable (from a quick glance)
(13:25:23) dazo: with a terminal (at least on Linux) also have the proper highlights and underlined text as well
(13:25:47) syzzer_: the man page rendering looks reasonable (from a quick glance)
(13:26:12) cron2: forcing block alignment is something I find silly for a fixed-width font text, but this might be just "groff -man"'s doing
(13:26:52) dazo: yeah, that's groff handling ... when being a proper man page file with 'man' it uses terminal width
(13:27:37) cron2: which is good, but if we can make it left-aligned (or however that is called in english) so it does not fill in lots of blanks into the lines, I would like that better
(13:27:38) syzzer_: so, looking good
(13:27:43) dazo: So I propose I will clean up some minor glitches on the basic formatting (basically incorrect indenting) then I'll push a work branch out and start adding new commits to that branch for the editorial changes (13:28:08) dazo: cron2: that's again some man/groff behaviour
(13:28:20) cron2: dazo: yeah, but can we tell man/groff what we want?
(13:28:33) ***cron2 has not enough clue on that front
(13:29:01) syzzer_: the rst source looks quite reasonable too
(13:29:05) cron2: as for the plan "sounds good to me"
(13:29:06) dazo: What you see in the man.8.txt file is the rendered output .... what we will generate for the openvpn tarballs (at make dist time) will be the groff file itself
(13:29:38) cron2: understood. But in the groff file, can we tell groff "we'd prefer to have it left-aligned, not block-aligned"?
(13:29:47) cron2: or is that a system-level define?
(13:30:00) dazo: I don't think so, to be honest, I think that's system/host rendering settings
(13:30:08) cron2: okay
(13:30:55) ***cron2 sneaks in a "patchwork" item and throws https://patchwork.openvpn.net/patch/1120/ at syzzer_
(13:30:56) vpnHelper: Title: [Openvpn-devel] Switch assertion failure to returning false - Patchwork (at patchwork.openvpn.net)
(13:31:07) cron2: syzzer_: could you have a look a that one?
(13:31:12) dazo: but I agree, the "justified alingment" is kind of odd at times ... looks odd in some cases, other times reasonable
(13:31:39) cron2: (or lev__ maybe) - this is "we ASSERT() in the server depending on timing, sometimes, and the server stops" - it should not do that, but maybe there is a deeper bug lurking
(13:32:08) cron2: dazo: sorry for jumping topics, but when syzzer_ is honouring us with his presence, I need to take advantage of it :)
(13:32:21) dazo: no worries! I agree ;-)
(13:32:22) syzzer_: cron2: I've seen it. Haven't really looked into it.
(13:32:33) cron2: "this is code above my pay grade"
(13:32:57) cron2: so... man page covered?
(13:33:55) dazo: I'm happy and I have a plan moving forward :)
(13:34:04) cron2: good. Short 2.5 update?
(13:34:30) dazo: I'm planning to give the final ACKs to plaisthos INFO_PRE/AUTH patches today
(13:34:39) cron2: my side: reviewing the ipv6-only patch set. Not happy with all the details. Need focused time with ordex to discuss, then new patchset on the list. ordex: can I have a 2h timeslot, please? :-)
(13:34:47) cron2: dazo: nice
(13:34:53) dazo: I've asked lev__ to followup on the compression+async patches as well
(13:34:55) ordex: cron2: can we schedule it this afternoon ? or when ?
(13:35:23) cron2: ordex: full of video conf shit already :-( - what about tomorrow? This is very light on my agenda so far
(13:35:54) cron2: Thu or Fri, basically any time between say 10 am and 5 pm works
(13:35:58) ordex: cron2: afternoon? say around 2pm ?
(13:36:20) cron2: you found the only timeslot that is taken :-) (2pm-3pm). So, 3pm-5pm tomorrow?
(13:36:24) ordex: :D
(13:36:25) ordex: ok
(13:36:27) ordex: 3-5
(13:36:40) cron2: check
(13:36:49) ordex: alright!
(13:36:50) cron2: mattock: how's msi coming along?
(13:37:58) ***dazo brb
(13:38:13) cron2: he fell into a hunger coma, it seems
(13:38:18) mattock: it is not, I have not found enough time to focus on it
(13:38:49) mattock: the cloudvpn stuff obviously pushed everything back and now that cloudvpn is "out" all the other stuff became urgent
(13:39:05) mattock: I hope I could focus on it next week
(13:39:13) mattock: I need a couple of solid days to finish it
(13:39:48) mattock: I expect it to fail in interesting ways as that's how it usually goes...
(13:40:44) cron2: yes :)
(13:41:39) mattock: anything else? 10 minutes overtime
(13:43:17) cron2: I've started on https://community.openvpn.net/openvpn/wiki/TestCoverage
(13:43:20) cron2: nothing there yet
(13:43:30) cron2: but it can be put in the minutes so you can all contribute :)
(13:45:23) syzzer_: nothing else from my side. I'm looking at the patch cron2 threw at me.
(13:46:19) cron2: this test coverage thing needs more brains
(13:46:48) mattock: cron2: I'll mention that page in the summary which is almost done