Skip to contentSkip to conversation

Community meetings in December 2019

Openvpn-devel Samuli Seppänen 1 participant 4 messages Dec 3, 2019 – Dec 19, 2019

lore
Share & tools
lore
#0 lore raw

Hi,

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

Next meetings have been scheduled to

- Thu 5th December 20:00 CET
- Wed 11th December 11:30 CET
- Thu 19th December 20:00 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

#1 lore raw

[Openvpn-devel] Summary of the community meeting (5th December 2019)

Hi,

Here's the summary of the IRC meeting.

---

COMMUNITY MEETING

Place: #openvpn-meeting on irc.freenode.net
Date: Thursday 5th December 2019
Time: 20:00 CET (19:00 UTC)

Planned meeting topics for this meeting were here:

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

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

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

SUMMARY

cron2, dazo, mattock and Pippin participated in this meeting.

---

Lev now has access to the Windows 10 ARM64 laptop. Mattock will have to do one more check to ensure that the VPN connection will remain alive at all times.

---

Noted that HTTP to forums is broken. This may have something to do with the forum upgrade by ecrist:

<https://forums.openvpn.net/viewtopic.php?f=20&t=29291>

---

Reviewed and updated OpenVPN 2.5 status:

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

No updates on the OpenVPN 2.5 MSI installer (since the hackathon). As that starts to be the last remaining "must have" for the release we need to start poking rozmansi now.

---

Discussed tomorrow's mini-hackathon. Cron2 will be able to join in the afternoon. Mattock will take a stab at configuring the IRC bouncer (finally).

--

Full chatlog attached

(21:00:50) mattock: hi
(21:02:51) dazo: Hey!
(21:04:58) mattock: anyone else?
(21:07:19) dazo: hmm
(21:08:01) cron2: ho
(21:09:31) mattock: hi!
(21:09:49) cron2: who broke http to forums.openvpn.net?
(21:09:54) mattock: https://www.mail-archive.com/[email protected]/msg19196.html
(21:09:56) vpnHelper: Title: [Openvpn-devel] Summary of the community meeting (27th November 2019) (at www.mail-archive.com)
(21:09:59) mattock: lollis
(21:10:02) mattock: sorry, wrong link
(21:10:08) mattock: https://community.openvpn.net/openvpn/wiki/Topics-2019-12-05
(21:10:53) mattock: cron2: I did not know it even worked
(21:11:05) cron2: I have monitoring on it, so it worked until a few days ago
(21:11:30) cron2: if it has a v6 address, all services need to work. Otherwise user experience sucks if a poor user happens to have a v6-enabled client
(21:12:27) mattock: I have not touched forums in a long while
(21:12:50) cron2: I think ecrist did updates a few days ago, including a freebsd update... this might have caused firewall changes
(21:12:59) mattock: yeah, sounds likely
(21:13:21) Pippin_: Hi, see: https://forums.openvpn.net/viewtopic.php?f=20&t=29291
(21:13:33) vpnHelper: Title: Server Upgrades December 3, 2019 - OpenVPN Support Forum (at forums.openvpn.net)
(21:13:48) cron2: takes me a while to get there... v6 is not working :)
(21:15:03) cron2: anyway, posted there, let's see :)
(21:16:28) mattock: so, what else shall we discuss today?
(21:16:46) mattock: arm64 "seems stable" and lev has access
(21:17:03) mattock: need to check one more thing to make sure it stays connected
(21:17:18) mattock: IRC bouncer is probably the next on my list
(21:17:40) mattock: I fixed an email delivery issue to gmail from trac, related to urlwatch
(21:17:54) mattock: internal PR is pending
(21:21:37) cron2: nice
(21:21:46) mattock: anything anyone else wants to bring up?
(21:21:50) mattock: tomorrow's mini-hackaton?
(21:22:02) cron2: I have no particulars, except "moar ACKs and speedier discussions needed"
(21:22:17) cron2: my TODO list has argv and ipv6-only
(21:22:31) dazo: Should we have a quick look at the status page? https://community.openvpn.net/openvpn/wiki/StatusOfOpenvpn25
(21:22:32) vpnHelper: Title: StatusOfOpenvpn25 – OpenVPN Community (at community.openvpn.net)
(21:22:37) mattock: yes we probably should
(21:22:40) cron2: but I've been down with flu (or a bad cold) the last week so I didn't get much done :(
(21:23:17) dazo: I know ordex has been discussing ipv6only testing with krzee internally ... krzee will help out testing and provide test env
(21:23:42) cron2: nie
(21:23:44) cron2: c
(21:25:51) dazo: The "​auth-gen-token: Inform client why auth-token was rejected" is replaced with plaisthos patches which should already be merged (the auth-gen-token patches we fiddled with for some time) (21:26:18) dazo: struct argv overhaul is still in review .... can move the responsibility for that one over to me
(21:26:42) dazo: (well, plaisthos volunteered to review it, but I'm following up the development of these patches now)
(21:27:30) cron2: dazo: well, since you did the last round of fixes, someone else can now do the review&ack&merge
(21:27:37) dazo: yeah
(21:27:41) cron2: has been sitting around too long, starts annoying me :)
(21:28:04) cron2: dazo: was the 2fa patchset fully ACKed?
(21:28:33) dazo: Need to double check the status of that
(21:28:38) cron2: patchwork says "no ACK received on v2 of the patch set"
(21:29:14) cron2: on v1, only one ACK on 3/5 ("implement support for signalling IV_SSO")
(21:30:43) dazo: I dunno if there's been an updated set of patches sent to the ML ... I proposed to plaisthos to push out his stuff for review in a git branch, and we'll take it quickly that way ... so the ML patches will just be a formality (21:31:29) cron2: well, what we have on the ML was sent Nov 09, and has no ACKs... so if the patch set is all good now, please re-send and ACK, so I know :-)
(21:31:41) cron2: https://patchwork.openvpn.net/project/openvpn2/list/?series=581
(21:31:43) vpnHelper: Title: OpenVPN 2 - Patchwork (at patchwork.openvpn.net)
(21:34:00) dazo: ahh, so the subject line I was watching changed ... that's why it missed it
(21:34:12) dazo: subject line for the patch set
(21:34:23) cron2: yeah, it lost its "0 introduction" mail
(21:34:30) dazo: yeah
(21:34:44) dazo: alright, I'll spend some time looking at those tomorrow
(21:34:47) cron2: cool
(21:35:16) cron2: I will have to go to a customer tomorrow morning (a job I started in March now needs finishing for real...)
(21:35:21) cron2: but I'll be around afternoon
(21:35:33) dazo: sounds good
(21:36:48) mattock: anything else?
(21:37:40) cron2: days are too short, and flu sucks
(21:37:57) dazo: got 2 kids with cold and fever here :/
(21:38:03) cron2: ewww
(21:38:08) ***cron2 sends over warm milk with honey
(21:38:17) dazo: thx! :)
(21:38:27) dazo: who will update the status page, btw?
(21:38:47) ***cron2 looks
(21:38:49) mattock: not me - I will focus on writing my elaborate meeting summaries :D
(21:39:15) dazo: community manager chilling out :-P
(21:39:23) dazo: I can give it a stab
(21:39:27) cron2: so, how's the MSI installers coming along? :)
(21:39:40) mattock: cron2: asking me?
(21:39:58) ***cron2 looks for anyone else to ask who works on installers :))
(21:40:12) mattock: I don't see rozmansi here :)
(21:40:19) mattock: I have not heard of any updates
(21:40:48) mattock: I'll keep my fingers of MSI as far as possible, until time to actually build them is here
(21:40:50) cron2: what was our release plan? April 1?
(21:40:57) mattock: around that time I believe
(21:40:58) dazo: something like that
(21:43:10) cron2: minor update done
(21:43:47) mattock: thanks!
(21:43:54) dazo: I think we aimed at having all coding done by mid/end of January? So the beta releases can start rolling out ... or did I confuse it?
(21:44:39) cron2: not sure we agreed on a schedule for "how many betas in which time scale", but yes, coding done end of January sounds like a tentative goal to miss :)
(21:45:01) mattock: :)
(21:45:34) dazo: hehe
(21:46:56) mattock: so the MSI installers are starting to be last "must have" that is not yet being reviewed
(21:47:25) mattock: and I believe we decided that it would be ok to run the tap-windows6 NSI installer from within the OpenVPN 2.5 MSI
(21:47:51) mattock: because support for driver installation in WiX toolset was retarded
(21:48:01) mattock: or was it upgrading the driver, can't recall exactly
(21:48:12) mattock: we need to start poking @rozmansi :D
(21:48:16) cron2: yes :)
(21:50:30) mattock: are we good, or is there something else to bring up?
(21:50:36) cron2: I'm fine
(21:50:52) mattock: I will take a stab at the IRC bouncer thing
(21:51:02) mattock: that shall be my personal mini-hackathon
(21:51:03) mattock: tomorrow
(21:51:26) cron2: :)
(21:51:47) dazo: cool! looking fwd to that mattock1! :)
(21:52:18) mattock: yep!
(21:52:23) mattock: so, we'll meet again tomorrow!
(21:52:51) cron2: when shall we three meet again...
(21:52:57) cron2: ... in thunder, lightning, or in rain...
(21:53:17) mattock: I'm sure that is a quote from a song

#2 lore raw

[Openvpn-devel] Summary of the community meeting (11th December 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: Wed 11th December 2019
Time: 11:30 CET (10:30 UTC)

Planned meeting topics for this meeting were here:

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

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

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

SUMMARY

dazo, lev, mattock and plaisthos participated in this meeting.

---

Discussed status of OpenVPN 2.5:

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

Added the "agreed upon in Trento hackathon" code freeze date (January 31st 2020) to that page.

Noted that even though wintun-enabled installers are available on the official download pages we have not really receive much feedback on them. The wintun patches has been ACKed for the most part, but patch 4/7 will require special treatment. Mattock will ask rozmansi and selvanair to join next Thursday's meeting (19:00 UTC):

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

Their review would be very valuable as they know Windows quite well.

--

Full chatlog attached

(12:32:30) mattock: hello
(12:32:44) plaisthos: hello mattock1 and mattock2
(12:33:39) mattock: I will kill one of my duplicates
(12:33:48) mattock2 ha abbandonato la stanza (quit: Quit: IRC for Sailfish 0.9).
(12:33:53) mattock: and there it goes
(12:34:46) mattock: who do we have here today?
(12:36:12) dazo: I'm here
(12:36:24) dazo: cron2 announced on -devel he couldn't make it
(12:37:45) dazo ha scelto come argomento: Next meeting 19/Dec/2019 at 20:00 CET. Agenda at https://community.openvpn.net/openvpn/wiki/Topics-2019-12-19
(12:38:02) mattock: ok
(12:38:18) mattock: once the bouncer I'm working on now works I may notice such messages :)
(12:38:22) mattock: so, topic
(12:38:23) mattock: s
(12:38:29) dazo: anyone heard from rozmanzi lately?
(12:38:51) mattock: https://community.openvpn.net/openvpn/wiki/Topics-2019-12-11
(12:38:52) vpnHelper: Title: Topics-2019-12-11 – OpenVPN Community (at community.openvpn.net)
(12:38:53) mattock: I have not
(12:39:15) mattock: he is known to appear if his name is mentioned
(12:40:33) mattock: so, 2.5?
(12:41:36) mattock: https://community.openvpn.net/openvpn/wiki/StatusOfOpenvpn25
(12:41:38) vpnHelper: Title: StatusOfOpenvpn25 – OpenVPN Community (at community.openvpn.net)
(12:41:39) lev__: what is the code freeze date for 2.5 ?
(12:41:53) mattock: we don't have that afaik
(12:41:59) mattock: "Current tentative planning is "2.5 release on April 1st, 2020". "
(12:42:05) mattock: that is 2.5.0
(12:42:21) mattock: we may want to set a freeze date to get things moving
(12:42:38) dazo: We discussed it briefly in Trento, IIRC we wanted all code to be applied by end of January
(12:42:50) ***lev__ looks for syzzer
(12:43:11) dazo: then have stabilization process (rolling beta releases) until release time
(12:44:18) lev__: we've added wintun-enabled client to download page and made an announcement to -users and -devel, but haven't got much feedback
(12:44:54) dazo: lev__: is everything you wanted merged in regards to wintun?
(12:44:58) mattock: I'll mention the January deadline on the planning page
(12:45:31) lev__: dazo: of course not :)
(12:45:49) lev__: 3 out of 7 is merged
(12:46:18) mattock: we may get more lucky with wintun testing during the stabilization phase
(12:46:21) lev__: 4 is most intrusive one, current version is v5
(12:46:44) lev__: mattock1: but that requires it to be merged into master
(12:46:44) mattock: while wintun installers are available on the download page "normal users" would just get the topmost release that opens up directly in their browsers (12:46:49) plaisthos: client connect is waiting
(12:47:22) dazo: lev__: what are the risks of merging those patches to non-wintun users?
(12:50:00) lev__: good question
(12:51:01) lev__: while default option is tap-windows6 and users _should not_ be affected unless they explicitly set --windows-driver wintun, I have changed certain code paths (12:52:21) lev__: I would say the goal of review is to make sure that overall code quality hasn't been made (much) worse
(12:54:29) lev__: but well, wintun bumps performance from 390 to 730 mbit/s, so I would say that is a huge step forward for Windows users
(12:55:43) dazo: I'm looking for a risk assessment, if we should consider applying the lazy-ack policy on these patches ... but then we need to have a better understanding of the risks associated with it (12:58:01) lev__: the follow-up patches (5-7, or most of them) have been acked by Simon, they're mostly about interactive service
(13:01:35) dazo: I've updated the status page a swell with a few more corrections etc
(13:01:56) mattock: so the follow-up stuff could be merged?
(13:02:53) dazo: well, patch 5-7 might depend on changes from 1-4 ;-)
(13:03:44) lev__: 5-6 are acked (just checked)
(13:04:47) lev__: I can ask Simon to have a look at 7/7 and ack it
(13:04:59) lev__: (this is small one)
(13:05:46) lev__: essentially we need 4/7, this is the "core" of that patchset
(13:06:34) lev__: dazo: plaisthos feel free to review :)
(13:07:07) mattock: what kind of testing would give us confidence in 4/7?
(13:07:17) mattock: can we do some targeted testing?
(13:07:19) dazo: lev__: I find it hard to have to come with a valuable review on a platform I have no development experience on
(13:08:01) mattock: could we maybe coordinate a session with Selva and Simon about 4/7? Or ask them to join next week's meeting?
(13:08:15) lev__: well, the code is not windows specific
(13:08:16) dazo: that would definitely be much better
(13:08:36) lev__: although used by windows
(13:08:43) mattock: I can ask Selvan and Simon if they could join next week, with the goal of reviewing 4/7
(13:08:48) mattock: Selva :)
(13:09:31) lev__: sure
(13:09:37) dazo: lev__: wintun requires windows to start with .... so it would require to understand that driver
(13:09:59) dazo: mattock1: that sounds like a good idea; their review will be much more valuable for all of us
(13:10:16) mattock: ok, I'll do that
(13:11:19) mattock: anything else on 2.5?
(13:14:00) mattock: I'm itching to test my IRC bouncer (not on it yet)
(13:23:48) mattock: I'm lazy-ACKing the statement that "this IRC meeting is over"
(13:23:52) mattock: writing the summary :)
(13:23:59) dazo: sounds fine

#3 lore raw

[Openvpn-devel] Summary of the community meeting (19th December 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: Thurday 19th December 2019
Time: 20:00 CET (19:00 UTC)

Planned meeting topics for this meeting were here:

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

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

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

SUMMARY

cron2, lev, mattock and rozmansi participated in this meeting.

---

Discussed the status of wintun patches. The original patches have been merged, with some improvements like support for multiple tunnels. What remains is refactoring and improvements.

The OpenVPN 2.5 MSI installer code needs to be updated to include wintun support. Rozmansi is working on it.

--

Discussed moving from netsh to ipapi on Windows. And, by default, using ipapi via iService. While netsh is easier to debug, using ipapi is much faster, which has a big effect with a large number of routes. Also noted that netsh set/add can use "validate=no" to speed up DNS provisioning.

--

Agreed that in the short term having a thin command-line launcher that allows running OpenVPN with iService from the command-line. The iService is required to use Wintun with OpenVPN.

--

Noted that IPv6 on forums was still unreachable. Cron2 and mattock debugged and fixed this during the meeting.

--

Full chatlog attached

(20:54:28) mattock: almost time
(20:55:23) rozmansi [[email protected].../web/irccloud.com/x-wjeamthsozplmfwu] è entrato nella stanza.
(20:55:35) rozmansi: hi
(20:58:24) mattock: hi!
(20:58:33) lev__: hello
(20:58:57) mattock: selvanair said he won't make it, but promised to check the chatlog
(20:59:04) mattock: cron2 said he'd be a bit late
(20:59:19) mattock: maybe we can start with wintun, if there is anything left to be discussed there :)
(21:00:43) lev__: original wintun patch series is merged
(21:00:59) lev__: next we have refactorings and improvements
(21:01:08) rozmansi: exactly
(21:01:17) lev__: some are acked, some are sent but not acked, some are not yet sent
(21:01:29) rozmansi: nothing drastical. just bits and odds (I suppose)
(21:01:46) lev__: IMO the most important is support of multiple tunnels
(21:01:58) lev__: functionality-wise
(21:02:02) rozmansi: oh, I can ack one right now. Tested it on my hardware today before I left for home...
(21:02:44) lev__: that's your patch :)
(21:02:58) mattock: btw. "official" topic list is here: https://community.openvpn.net/openvpn/wiki/Topics-2019-12-19
(21:03:00) vpnHelper: Title: Topics-2019-12-19 – OpenVPN Community (at community.openvpn.net)
(21:03:04) lev__: the one with --dev-node support
(21:03:20) cron2: eww
(21:03:21) cron2: I'm here
(21:04:45) rozmansi: hi
(21:05:06) lev__: about installer - so far wintun support is in patch to openvpn-build, but that's NSIS installer
(21:05:20) mattock: hi cron2!
(21:05:21) lev__: is it so that we plan to use MSI for 2,5
(21:05:27) mattock: yes
(21:05:29) lev__: guten aben
(21:05:33) rozmansi: lev__: yes
(21:06:09) lev__: so maybe we need wintun support there, too
(21:06:45) rozmansi: I have a PR to add MSI packaging on openvpn-build open a loong time now. But it's dusty and a lot of things changed in the meanwhile. I plan to get it in shape for 2.5
(21:07:41) rozmansi: That PR dates long before Wintun was created. So it has TAP-Windows6 driver install only.
(21:07:47) cron2: we want all the goodness in 2.5 :-)
(21:08:24) rozmansi: Adding Wintun to the MSI is easy, as Wintun is shipped as ready-to-use MSI merge module...
(21:09:24) rozmansi: What needs more work is to make something similar for the TAP-Windows6. The Wix's plugin used to install drivers (Difx) didn't perform very well on upgrades the last time I tested it. (21:09:40) lev__: I've sent a patch today with removes 5s route-delay for non-dhcp IP set method. By default we use DHCP (expected wintun) and I was wondering, cannot we switch to IPAPI as a default to make connection 5 seconds faster (21:10:18) rozmansi: Wintun should work with ipapi - WireGuard is using winipcfg to configure it.
(21:10:36) cron2: yes, we should be using ipapi via iservice by default
(21:10:41) lev__: as I mentioned in -devel, openvpn3 uses netsh and doesn't have that delay
(21:10:47) cron2: Selva has been talking about this for a long time
(21:11:06) cron2: netsh is easier to debug than ipapi ("because you can run the commands by hand") but ipapi is faster
(21:11:17) cron2: which makes a difference if you're isntalling like 10.000 routes
(21:11:24) cron2: valdikss does this
(21:12:03) lev__: but that is relevant when you don't use iservice
(21:12:09) rozmansi: another delay, I fixed (but not sent a patch yet) with netsh is that netsh ipv4 dns set/add should have validate=no (as per IPv6). This speeds DNS provisioning considerably. I recon that's because routes are not set _before_ the DNS. (21:12:25) cron2: we can use IPAPI without iservice
(21:12:52) cron2: and ACK to rozmansi :)
(21:13:02) lev__: cron2: yes, but we cannot use wintun without service, after rozmansi will send his patch :)
(21:13:35) lev__: expect when openvpn is running as system
(21:14:02) cron2: is this equal to "run as administrator" or do you need even higher privileges?
(21:14:10) rozmansi: selva insisted on this, and I think she has a point
(21:14:11) lev__: even higher
(21:14:35) cron2: what is the rationale for wintun to enforce this?
(21:14:50) cron2: (as in "why is 'network administrator' not good enough?")
(21:15:03) rozmansi: wintubn was designed for wireguard, and wireguard always runs its tunnels as SYSTEM service.
(21:15:13) rozmansi: And security model was tightened around this.
(21:15:55) rozmansi: I don't make decisions with Wintun and WireGuard. You should talk to the boss. :)
(21:16:05) cron2: the boss does not like me
(21:16:53) cron2: so how does "steal system permissions from login service" work?
(21:16:58) cron2: why does it work?
(21:17:11) lev__: for those who wants to run openvpn via command line with wintun, we were thinking of utilizing iservice for that, make something like command-line openvpn-gui
(21:17:21) cron2: (I have seen the code, but wonder why that's allowed...)
(21:18:01) rozmansi: Windows' security. A lot of things is allowed. Some to allow backward compatibility, others for convenience.
(21:18:24) cron2: lev__: yeah, some sort of run-openvpn.exe wrapper that does the iservice callout
(21:18:33) cron2: shouldn't be too hard actually
(21:19:41) lev__: maybe just add this functionality to openvpn.exe - detect that we are not run by iservice and have no system privilege -> switch to command-line gui mode
(21:20:08) cron2: there is too much stuff inside openvpn.exe --some-special-option already
(21:20:55) rozmansi: how many people are running openvpn.exe from command line/batch in Windows?
(21:20:55) lev__: I proposed to add --enable-system-elevation, but no-one liked it :(
(21:21:01) cron2: do not call it "command-line gui" mode, that will just confuse people (as the gui *has* a command-line itnerface)
(21:21:31) cron2: rozmansi: any question that starts with "how many people are running openvpn <in a funny way>" will not have a happy ending :-)
(21:21:46) rozmansi: lev__: because the SYSTEM hack machine code would still be present in the binary and antiviruses might trigger false alarms. But, does "might" justify not doing it?
(21:21:48) lev__: openvpn-gui-nogui.exe
(21:22:05) cron2: run-openvpn.exe
(21:22:18) lev__: that works, too
(21:22:23) rozmansi: openvpn-tui
(21:22:29) cron2: haha :)
(21:24:01) lev__: rozmansi: what does antivirus alarm mean exactly "this app wants system elevation" - well thanks, I know, because I run it from command line with wintun -> continue
(21:24:33) rozmansi: does just telling the people: "If you want to use openvpn.exe this way, you do SYSTEM elevation yourself, or switch to TAP-Windows6" not suffice?
(21:25:37) lev__: but yeah, we will solve it with run-openvpn.exe (or whatever)
(21:26:25) cron2: having a CLI is actually nice for testing in development (and I do not want to work as SYSTEM, however I would do that in the first place)
(21:26:39) cron2: (how *do* I "elevate myself", anyway? I know how to "run as Administrator"...)
(21:27:00) rozmansi: lev__: take my previous remark only as the suggestion for 1st version
(21:27:01) lev__: you need to download a tool from MS site
(21:27:18) lev__: https://docs.microsoft.com/en-us/sysinternals/downloads/psexec
(21:27:19) vpnHelper: Title: PsExec - Windows Sysinternals | Microsoft Docs (at docs.microsoft.com)
(21:27:46) lev__: psexec -s -i openvpn.exe
(21:27:50) rozmansi: maybe Selva and I are just paranoid about this SYSTEM elevation. psexec have it too.
(21:28:40) lev__: also with psexec the whole process will run as system, not just single API call
(21:29:22) cron2: we do not want that
(21:29:25) cron2: for obvious reasons
(21:30:19) rozmansi: then maybe we just leave this SYSTEM token hack in the OpenVPN and see if it causes any issues in the testing stage of the 2.5?
(21:30:20) lev__: I am not against having elevation code in openvpn
(21:30:30) cron2: rozmansi: no
(21:30:55) cron2: if Selva says no and you feel "uneasy" about it, then we shouldn't go there
(21:31:21) rozmansi: true
(21:35:15) rozmansi: in some future, probably openvpn.exe should always be run via iservice on Windows. If ran directly, it's just behave as an openvpn-tui.exe and ask iservice "call me back baby!"
(21:35:16) lev__: so we agreed that we'll make command-line launcher
(21:36:01) cron2: rozmansi: that's what lev__ suggested, but I do not like this, tbh. We have too many special-cases already - and the launcher would really be very small and trivial (and easier to review) (21:36:10) cron2: lev__: at least I agree :)
(21:37:02) rozmansi: yes, I agree this is currently the best option
(21:39:36) lev__: can we switch to ipapi/netsh as a default way to set IP address ? then we make connection 5sec faster
(21:39:59) cron2: send a patch, see what Selva says
(21:40:04) cron2: I think it's reasonable
(21:41:50) mattock: more on these topics?
(21:41:59) mattock: 19 minutes left
(21:42:29) lev__: ok, so path is clear with wintun - need to merge 2 acked patches, one more ack and patches from rozmansi
(21:43:09) cron2: I'm not sure I understand the "tun.c: do not add/remove routes on tun" patch
(21:43:30) cron2: if we do not need to do so, why has your patch added that just a few patches ago?
(21:43:38) lev__: that basically removes uneeded code I've added in merged patch
(21:44:17) lev__: I didn't have enought knowledge how routing is set in openvpn back then :) now I do
(21:44:18) cron2: this is not actually a good thing
(21:45:01) cron2: I do not think check_add_routes() will do the on-link prefix
(21:45:06) cron2: only what you have in "route" commands
(21:46:32) cron2: so this is worrying me
(21:46:43) cron2: we have added *and ACKed* code that seems to be unneccessary
(21:46:53) cron2: and are removing *and ACKing* it based on a commit message that is wrong
(21:48:09) lev__: well I got this route:
(21:48:11) lev__: 10.8.0.0 255.255.255.0 On-link 10.8.0.2 261
(21:48:41) cron2: this is a consequence of running the windows equivalent of "ifconfig eth0 10.8.0.2/24"
(21:48:47) rozmansi: i always get the on-link route too on my windows
(21:48:48) cron2: it will configure IP address and add the on-link route
(21:49:34) cron2: we never needed to explicitly do this for IPv4 for any --ip-win32 method on windows - but we accepted the necessity "if you say this is needed, it seems to be necessary"
(21:49:40) lev__: I don't think commit message is wrong?
(21:49:56) cron2: of course it is, because check_add_routes() specifically does *not* do the on-link route
(21:50:05) cron2: (because it is never needed)
(21:50:59) cron2: check_add_routes() walks the route_option list, which is filled from "route" commands in the config/pushed
(21:51:03) lev__: well it doesn't mention on-link stuff
(21:51:09) lev__: (commit message)
(21:51:21) cron2: yes, but it removes stuff that only handles on-link routes
(21:51:43) cron2: so the commit message should say "it turns out this is not needed" not "this is handled by check_add_routes()" because it is not
(21:53:15) lev__: ah I got it now, true
(21:53:33) cron2: (if you have *no* "route" in your config and nothing pushed, check_add_routes()->...->add_routes() will actually do "just nothing" - which was a regression we had when adding IPv6 support ("send no ipv4 routes and openvpn crashes") :) (21:54:36) lev__: do you want me to resend with fixed commit message or would you be willing to amend it yourself, having already ack for v1 ?
(21:54:52) cron2: so - I'll adjust the commit message accordingly ("turns out that is not needed at all, windows automatically adds connected v4 subnet")
(21:55:11) cron2: we have the discussion in the meeting notes and that's on the list
(21:55:41) lev__: danke
(21:55:56) cron2: (just as a side note, the "refactor tun.c" hit the repos like 15 minutes ago)
(21:56:09) cron2: so, before mattock runs away...
(21:56:35) cron2: mattock: can you and ecrist *please* get together and fix IPv6 to forums? It *pings*, but TCP connects go unanswered - looks firewalled
(21:56:35) mattock: yes
(21:56:52) mattock: ok
(21:56:59) lev__: I remember a while ago I've already sent the patch with correct fix but incorrect explanation in commit message :)
(21:57:24) cron2: since I monitor this (because it needs to work!) I get about 6 mails per day to remind me of that fact, and that annoys me into action :-)
(21:57:34) cron2: mattock: so what OS is running forums, and who is tending the OS?
(21:57:47) cron2: lev__: yes, you like to do that, just to see me run in circles :-)
(21:58:35) mattock: the OS is FreeBSD, and ecrist is the one doing the tending
(21:58:45) mattock: my role is just to have functional base configurations in there
(21:58:47) cron2: *sigh* he was pointing your way
(21:58:55) cron2: what sort of firewalling does it run?
(21:59:02) mattock: that said, I'm checking to make sure somebody has not broken our EC2 security groups
(21:59:12) mattock: I've never touched the firewall there
(21:59:23) mattock: probably whatever is the default in freebsd
(21:59:39) cron2: freebsd by default has "no firewall"
(21:59:42) cron2: maybe EC2 then
(22:00:01) cron2: if you look in /etc/rc.conf and find no mention of "pf" or "ipfw" or such, no firewall
(22:00:38) mattock: let me check now
(22:00:54) mattock: EC2 security groups do allow traffic from any IPv4/IPv6 to 80/443
(22:00:56) mattock: so that's not it
(22:01:30) mattock: pf_enable="YES"
(22:01:36) cron2: ah, here we go :)
(22:02:01) cron2: if you have 5 more minutes, we can get this fixed
(22:02:12) cron2: is there a pf_rules=... setting?
(22:02:46) cron2: if yes, this is the file to use, if not, it's /etc/pf.conf
(22:03:12) mattock: looks reasonable without any knowledge in pfctl:
(22:03:12) mattock: pass in proto tcp from any to <self> port = http flags S/SA keep state
(22:03:12) mattock: pass in proto tcp from any to <self> port = https flags S/SA keep state
(22:03:36) cron2: <self> is a "list", that should be defined further up
(22:03:50) cron2: I tend to just use
(22:04:02) cron2: pass in proto tcp from any to em0 port = ...
(22:04:16) cron2: with "em0" being "my address on the outside interface"
(22:04:19) mattock: how would I list the lists?
(22:04:34) cron2: where have you been looking? in the file, or in "pfctl -s rules"?
(22:04:42) mattock: pfctl -s
(22:05:06) cron2: pfctl -t self -T show
(22:05:25) mattock: also /etc/pf.conf seems to have the "stuff"
(22:05:51) cron2: there should be a definition of "self" in the beginning, like
(22:06:02) cron2: table <self> { 1.2.3.4, 2001::1 }
(22:06:31) mattock: if you give me your IPv6 IP I can tcpdump and see if your packets arrive there
(22:06:41) mattock: to rule out some obscure EC2 SG issue
(22:06:58) cron2: 2001:608:4::ce:c0f
(22:07:05) mattock: ok
(22:07:13) cron2: Trying 2600:1f1c:702:ae00:57df:e63:fbd0:a360...
(22:07:18) cron2: (port 80)
(22:08:24) mattock: they do arrive there
(22:08:33) cron2: so not EC2
(22:08:47) cron2: so what's in "pfctl -t self -T show"?
(22:09:24) mattock: what if I PM you the whole /etc/pf.conf? there is nothing really sensitive in there
(22:09:56) cron2: fine
(22:12:07) mattock: in the meanwhile I will send out the summary
(22:12:25) cron2: mmmh, this is interesting. <self> { self } should be some sort of magic that does "all addresses assigned to the interface(s)"
(22:12:58) mattock: and it is not working for IPv6 or?
(22:13:20) cron2: I've never used "self", staring at the manpage now
(22:14:40) cron2: pass in on $in_if proto tcp to any port {80, 443}
(22:14:49) cron2: argh, mixing channel and PM
(22:16:06) cron2: maybe { self } only works if the addresses are present at pf load time - so if you just do "pfctl -f /etc/pf.conf" on the file as it is now, it works
(22:17:19) cron2: where is ordex anyway? and dazo? and plaisthos? already on vacation y'all?
(22:17:35) cron2: Trying 2600:1f1c:702:ae00:57df:e63:fbd0:a360...
(22:17:35) cron2: Connected to forums.openvpn.net.
(22:17:37) cron2: whee \o/
(22:18:09) cron2: peace of mind is comming
(22:18:22) cron2: so, sofa time for me
(22:18:32) cron2: patches merged, grumbled at, pushed
(22:19:02) rozmansi: good night everyone :)
(22:21:29) mattock: good night!