Skip to contentSkip to conversation

Topics for next Thursday's (23rd Oct 2014) community meeting

Openvpn-devel Samuli Seppänen 1 participant 7 messages Oct 20, 2014 – Feb 2, 2015

lore
Share & tools
lore
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

We're having an IRC meeting on Thursday, starting at 18:00 UTC on #[email protected]... Current topic list is here:

<https://community.openvpn.net/openvpn/wiki/Topics-2014-10-23>

If you have any other things you'd like to bring up, respond to this mail, send me mail privately or add them to the list yourself.

In case you can't attend the meeting, please feel free to make comments on the topics by responding to this email or to the summary email sent after the meeting. Whenever possible, we'll also respond to existing, related email threads.

NOTE: It's required to use a registered Freenode IRC nickname to join #openvpn-devel - look here for details:

<https://community.openvpn.net/openvpn/wiki/GettingHelp#DeveloperIRCchannel>

- --
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc

irc freenode net: mattock
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlRE0LMACgkQwp2X7RmNIqNSfACfVpdZ3s37DBOe5Jkt5vIzWDcE LGwAoIHnyGWHBcQnDJcqI8jPmN585tNa
=4xWf
-----END PGP SIGNATURE-----

#1 lore raw

[Openvpn-devel] Summary of the IRC meeting (23rd Oct 2014)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Here's the summary of the previous IRC meeting.

- ---

COMMUNITY MEETING

Place: #openvpn-devel on irc.freenode.net
Date: Thursday 23rd Oct 2014
Time: 18:00 UTC

Planned meeting topics for this meeting were on this page:

<https://community.openvpn.net/openvpn/wiki/Topics-2014-10-23>

Next meeting has not been scheduled but will be on the same weekday and time. Your local meeting time is easy to check from services such as

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

or with

$ date -u

SUMMARY

cron2, Hes, lev, jamesyonan and mattock participated in this meeting.

- --

Discussed the OpenVPN 2.3.5 release.

Cron2 will integrate the tap-windows6 fixes a.s.a.p. after which mattock will make the release.

- --

Discussed the "session-id implementation" patch:

<http://thread.gmane.org/gmane.network.openvpn.devel/8403>

Agreed that session-id should be renamed peer-id. The patch got a feature-ACK. Jamesyonan will give the patch a thorough code review (and hopefully code-ACK it).

Decided to implement server-side floating in a separate patch if/when it's required to keep things simple.

- --

Discussed the upcoming Munich hackthon:

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

There are several things that should be discussed, such as

- - OpenVPN 2.4
- - OpenVPN 3.x + CLA
- - Multithreading
- - AEAD

Full chatlog is attached.

- --
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc

irc freenode net: mattock

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlRJWlgACgkQwp2X7RmNIqOopACgsr8UPqcfxhgcJimcGz6F4Pcz nxQAoIy2BD45Iw13vr7ESrdhg4Foxv+5
=KKw8
-----END PGP SIGNATURE-----

(21.03.55) mattock: ready?
(21.04.02) lev__: yep
(21.04.10) mattock: who do we have here today?
(21.04.22) mattock: lev, cron2, me...
(21.04.32) mattock: syzzer won't be
(21.04.41) mattock: james should be here soon
(21.05.45) audience_x [[email protected]] è entrato nella stanza.
(21.07.08) Hes: Boing, me.
(21.07.23) mattock: I'll remind James
(21.09.43) jamesyonan [[email protected]] è entrato nella stanza.
(21.09.43) modalità (+o jamesyonan) da ChanServ
(21.09.47) cron2: hi james
(21.09.56) jamesyonan: hi cron2
(21.10.06) mattock: session ID patch first?
(21.10.20) ***cron2 looks for the agenda
(21.10.35) mattock: https://community.openvpn.net/openvpn/wiki/Topics-2014-10-23
(21.10.37) cron2: found
(21.10.38) vpnHelper: Title: Topics-2014-10-23 – OpenVPN Community (at community.openvpn.net)
(21.13.29) cron2: I think we can handle 2.3.5 first, because that's quick and easy :-) - I'll integrate the windows tap fixes ASAP (planned to do yesterday, tax paperwork got in the way), then I'll tag and you release
(21.13.59) cron2: the new stuff in there is all minor, but useful, so no major test effort needed - quick smoketest before publishing the windows installers
(21.14.06) cron2: (and make sure you have the $PATH fix :) )
(21.14.25) mattock: sounds good
(21.14.32) mattock: the path fix is there
(21.14.39) mattock: in the fixed mingw packages that is
(21.14.41) mattock: sorry, nsis
(21.14.55) cron2: great :)
(21.15.11) mattock: next topic then :)
(21.15.35) cron2: --tls-version-max is out, as syzzer isn't here to argue the point
(21.15.52) cron2: leaves session id, I think - is plaisthos around?
(21.17.18) mattock: james: have you had a look at the session id patch?
(21.17.28) mattock: http://thread.gmane.org/gmane.network.openvpn.devel/8403
(21.17.32) vpnHelper: Title: Gmane Loom (at thread.gmane.org)
(21.17.39) cron2: mattock: is 8403 the one from today?
(21.17.47) lev__: has anyone tried it (besides me) ?
(21.18.01) cron2: lev__: this is why I was asking for plaisthos :)
(21.18.20) mattock: cron2: probably not
(21.18.44) cron2: lev__: but what we need is buy-in from James :-) - so maybe you could quickly explain what you did (which isn't exactly what we envisioned, but with reason) as James would have to add it to OpenVPN 3 clients for it to make sense
(21.19.24) lev__: sure
(21.19.47) lev__: so I added P_DATA_V2, with 1 byte opcode and 3 bytes for session_id
(21.20.29) lev__: server has int array[MAX_CLIENTS] of sessions
(21.21.12) cron2: it should be pointed out that this is "just a numeric ID" and not the TLS ID
(21.21.14) lev__: when client connects, server assigns next free session_id (0, 1, 2.. max-clients-1) and sends it with push_reply
(21.22.12) jamesyonan: just so I understand this, the net cost of this approach is that we are adding 3 more bytes to every packet?
(21.23.04) cron2: my idea was to send the +3byte packet only every now and then, but the initial implementation does it for every packet, yes
(21.23.16) cron2: lev__: only for client->server packets, or *every* packet?
(21.23.33) jamesyonan: or are we only adding the 3 bytes to P_DATA packets?
(21.23.43) cron2: P_DATA -> P_DATA_V2
(21.24.22) jamesyonan: so then P_DATA_V2 packets are the only packets that have the extra 3 bytes?
(21.24.43) lev__: then client uses P_DATA_V2 for every data packet. When packet arrives to the server, it gets session by array lookup (instead of hash lookup) and checks if client ip/port changed. If yes, then server verifies hmac and, if success, updates client ip/port in internal structures
(21.25.06) lev__: p_data_v2 for client->server only
(21.25.27) lev__: I assume that server won't float :-/
(21.25.43) cron2: reasonable assumption :)
(21.25.46) jamesyonan: it's not unheard of :)
(21.26.18) Hes: Back. Silly LTE.
(21.26.22) audience_x ha abbandonato la stanza (quit: Remote host closed the connection).
(21.27.14) lev__: I have tested with mobile client and it switches seamlessly between wifi/3g, also UDP NAT timeout is not an issue anymore
(21.28.22) lev__: implementation is backward compatible with old (well, existing) clients/servers
(21.29.16) jamesyonan: originally I was thinking that it sort of sucks to have to be bloating the protocol with 3 more bytes for every data channel packet, but I do like the way that it solves alignment issue, and I'm also thinking that because of other unrelated changes (such as availability of AEAD ciphers) we might be able to make up the 3 bytes in other ways so we don't have a net increase (21.30.51) Hes: With the mobile clients, and UDP/NAT, floating between networks is pretty common, sending the session ID very often (or always) makes for really smooth sessions.
(21.31.45) cron2: remind me again: what is an openvpn "ping" packet? Is that data or control?
(21.32.02) cron2: (read: if there is no activity on the client side except --ping, will that work, or not)?
(21.32.17) Hes: I've been reviewing the patch, found the bytesex bug which would have broken it when talking between different endianness machines. But that's now fixed.
(21.32.49) jamesyonan: I'm actually leaning more towards the approach of, if we include the session ID, of always sending it rather than having the added complexity of an adaptive algorithm that decides whether or not to send it
(21.33.10) Hes: The "ping" packet is sent on the same ipaddr:port <> ipaddr:port tuple as data.
(21.33.22) cron2: Hes: yes, but is it a control packet or P_DATA?
(21.33.33) cron2: (inside OpenVPN)
(21.33.36) jamesyonan: ping packet is P_DATA
(21.33.55) Hes: In case of a quick NAT timeout, a quick ping timeout seems to help in keeping NAT sessions open. But that consumes battery.
(21.33.56) cron2: james: thanks. So that would also nicely work out
(21.34.05) jamesyonan: it's a special sequence of magic numbers that can't be confused with an IP or eth packet
(21.34.57) Hes: With the session ID, and a "normal mobile device" use case, the ping timer can be increased. It'll still be needed to figure out things like a server restart or other need to switch to another server.
(21.34.57) cron2: Hes: understood. Thing is that if the client isn't actually sending anything (so no "P_DATA_V2 with session ID") the pings would still have the desired effect, instead of getting lost due to other packet format -> non-issue
(21.35.09) cron2: as far as bytesex goes: this is *not* the right fix in the current patch:
(21.35.12) cron2: + sess = htonl(((P_DATA_V2 << P_OPCODE_SHIFT) | ks->key_id) << 24 |
(21.35.16) cron2: +(multi->vpn_session_id & 0xFFFFFF));
(21.35.18) cron2: + ASSERT (buf_write_prepend (buf, &sess, 4));
(21.35.47) cron2: or will it?
(21.35.54) cron2: rollback, ignore what I said
(21.36.34) cron2: it was too complicated for me, but indeed, doing the bit shifting inside and the htonl outside will ensure the opcode will always end on byte[0]
(21.36.43) cron2: sorry for the noise
(21.36.55) Hes: It is a bit hairy indeed. But it seems like it does the right thing.
(21.37.26) jamesyonan: I believe if you do an htonl on the leading 4 bytes of the raw ovpn packet, that the leading op byte will be the high part of the uint32 and the lower 24 bits will be the session id
(21.37.43) jamesyonan: so that works out
(21.37.44) lev__: jamesyonan: could you clarify "we should send session ID always"
(21.38.07) cron2: jamesyonan: ACK, this is what I believe now as well, spoke too fast
(21.38.28) jamesyonan: i.e. don't switch between P_DATA_V1 and V2 in the same session
(21.39.31) cron2: I was the one who had complicated switch back and forth plans, but the argument "less complexity" is convincing :)
(21.39.52) lev__: but this implementation is not supposed to switch
(21.40.16) Hes: + "immediate remedy when needed" instead of "try to recover a bit later with a retry"
(21.40.16) cron2: lev__: no, this was based on the concept model we discussed before you went coding
(21.40.22) lev__: ah ok
(21.40.38) mattock: will be away for 10-15 mins...
(21.40.50) cron2: your patch definitely looks like "if it switches, it will stay there", trading 3 bytes vs. algorithmic heuristics
(21.40.57) lev__: it is always good to start coding before familarizing with concept!
(21.41.00) jamesyonan: the problem is if you switch, you then have to deal with the alignment issue more adaptively because you don't know until you've read the packet whether it's V1 or V2
(21.41.04) L'account è stato disconnesso e non si è più in questa conversazione. Sarà possibile ritornare nella conversazione automaticamente quando l'account verrà riconnesso.
(21.53.38) L'argomento di #openvpn-devel è: OpenVPN developers channel | For configuration and user support, please go to #openvpn | See !git, !snapshots or !meetings for more info | cron2_> mmmh, this openvpn thingie is actually useful
(21.53.38) Argomento per #openvpn-devel impostato da krzee!~k@openvpn/community/support/krzee alle 02.10.21 il 01.10.2014
(21.53.38) ***: Buffer Playback...
(21.53.38) jamesyonan: so I would tend to lean against adaptive switching
(21.53.38) jamesyonan: so with typical usage of AES CBC mode with HMAC-SHA1 our overhead will be 4 (op + session ID) + 20 (HMAC) + 16 (IV) + 4 (packet ID) = 44 bytes
(21.53.38) lev__: small correction - I said that server sends session ID with push_reply. Surely it is peer info.
(21.53.38) cron2: no, it's push reply
(21.53.38) lev__: hm
(21.53.38) cron2: peer info is client->server with "IV_PROTO=2"
(21.53.38) lev__: oh right, I was looking on client part
(21.53.38) cron2: push.c, send_push_reply :-) "if peer_info contains IV_PROTO and proto >=2"
(21.53.38) jamesyonan: also, be careful about session ID and push, because there's already a session ID in OpenVPN that's used for a different purpose
(21.53.38) cron2: maybe rename it? "client-id"?
(21.53.38) Hes: does it need some terminology / variable name adjustment then
(21.53.38) cron2: "instance-id"
(21.53.38) jamesyonan: how about peer_id
(21.53.38) Hes: +1 for peer_id
(21.53.38) jamesyonan: since it's being used in P_DATA_V2 which could conceivably be generated by either client or server
(21.53.38) jamesyonan: and there's no existing peer_id symbol in OpenVPN code right now
(21.53.38) cron2: we might end up supporting floating servers one day :)
(21.53.38) lev__: it is currently generated by server, meaning is position in sessions array
(21.53.38) cron2: peer_id is good for me
(21.53.38) Hes: Hm, if the server would be improved to float, I suppose an unmodified client might just support that with this code? :)
(21.53.38) Hes: right, client does not have the equivalent array
(21.53.38) cron2: Hes: no, as the "who does this packet belong to?" logic isn't called in client mode
(21.53.38) cron2: some extention might be needed ("P_DATA_V2, not who I expected to talk to? hash ok? update peer!")
(21.53.38) Hes: but, in the now-common world of dualhomed IPv4/IPv6 mobile devices, where IPv6 is a globally routable public IP address and IPv4 is NATed, floating between those might actually be cool later
(21.53.38) cron2: lev__: understood, thing is, there is TLS session ID, so "session id" will cause confusion eventually. "instance-id" describes the current implementation, but "peer_id" is more neutral regarding "what is in there, what does it reflect"?
(21.53.38) Hes: in case one or the other has a hickup, would be nice to be able to switch, like SCTP
(21.53.38) cron2: Hes: ack. Eventually :)
(21.53.38) Hes: Eventually.
(21.53.38) lev__: cron2: right, I should rename those in my wetware
(21.53.38) ***: Playback Complete.
(21.53.47) Sei ora conosciuto come mattock
(21.57.58) mattock: have we reached some sort of conclusion?
(21.57.59) mattock: :P
(21.58.00) cron2: so, how do we proceed with this patch? I think it warrants a re-spin renaming "session-id" to "peer-id" in push and C structs, and then "someone" needs to review...
(21.58.14) cron2: mattock: good timing. Always the impatient one :)
(21.58.18) lev__: I can do the first part
(21.58.25) mattock: even more impatient than you?
(21.58.27) mattock: :)
(21.59.37) cron2: Jamesyonan: can you review the hash-relevant code path changes? I'm fine with the push/option/peer_info stuff (skimmed through it, looked good, will do a more thorough review on the next round) but do not feel fully comfortable with the "inside workings" there
(21.59.41) Hes: I've reviewed, but it's a rather involved change set, needs a good set of reviews. And maybe some tests in a test suite.
(21.59.59) audience_x [[email protected]] è entrato nella stanza.
(22.00.36) lev__: about server floating - should this be implemented to get ACK? or can it be done as a separate patch?
(22.00.36) cron2: Hes: the fun of it... "use --bind, change NAT rules while test is running"... t_client.sh is not smart enough yet to do that :)
(22.00.57) jamesyonan: cron2: yes, I'm looking at the patch now
(22.01.15) jamesyonan: I think server floating should be a separate patch
(22.01.17) cron2: lev__: separate, not right now. This one is a big step that solves an immediate need, we can do the next round when the use case exists
(22.03.00) audience_x ha abbandonato la stanza (quit: Remote host closed the connection).
(22.03.12) Hes: yeah, would be nice to get this forward without making it any bigger than it already is
(22.09.39) jamesyonan: I'm going to need more time to review, but I assume we'll be seeing another iteration shortly with the session_id -> peer_id change...
(22.11.02) cron2: lev__: you turn :)
(22.11.05) cron2: your
(22.11.45) lev__: sure, I can do it tomorrow
(22.12.02) lev__: (getting too dark today)
(22.12.26) mattock: ok
(22.12.30) mattock: munich next?
(22.12.53) cron2: yeah, this is cool, progress :-)
(22.12.56) cron2: Munich next
(22.13.05) cron2: http://community.openvpn.net/openvpn/wiki/MunichHackathon2014
(22.13.07) vpnHelper: Title: MunichHackathon2014 – OpenVPN Community (at community.openvpn.net)
(22.13.13) mattock: cron2: the stage is yours
(22.13.33) cron2: did I put it onto the agenda?
(22.13.36) cron2: anyway.
(22.13.53) mattock: so basically goals and plans is what I wrote there
(22.14.05) mattock: what's the goal besides meeting and having useful discussions?
(22.14.09) cron2: munich coming up soon, room is booked, wife knows what is coming up :-)
(22.14.35) cron2: I really want to get the windows interactive service done, but d12fk has not formally confirmed that he'll come
(22.14.59) cron2: and besides that - meet, have useful discussions, hack on the code, enjoy food & drinks :)
(22.15.02) mattock: yep, the interactive service thing is quite a bit overdue
(22.15.20) mattock: suppose that d12fk won't be there, and interactive service won't be there
(22.15.32) mattock: shall we go and release 2.4 without it?
(22.16.05) lev__: any sessi(grrr.. peer) ID related things planned for Munich? It is mentioned on a trac page
(22.16.20) cron2: I assume he'll be there or we'll at least get his code (and if I have to haunt him personally, it's just a 3-hour drive)
(22.16.36) mattock: stalking is one option, yes
(22.16.37) mattock: :P
(22.16.49) cron2: lev__: nah, *that* goes in "as soon as reviewed!" now, as we seem to be all in agreement that the approach is fine
(22.17.11) cron2: lev__: so I think you have your feature-ACK (after renaming) just need the code-ACK as well :-)
(22.17.21) ***lev__ dances
(22.17.33) mattock: nice!
(22.17.52) cron2: mattock: there will be work to do, things to clarify (like, the CLA), ideas to bounce around (like, multithreading :) or AEAD)
(22.18.11) cron2: and if we run out of things to do, I'll just distribute trac tickets
(22.18.15) mattock: yeah, world won't be ready by then
(22.18.31) mattock: actually trac tickets alone would be enough to keep everyone occupied
(22.18.40) mattock: so no worries about having to just eat and drink
(22.18.42) mattock: :)
(22.18.54) cron2: yeah, but face-to-face time is too valuable to start with trac
(22.19.07) mattock: yep, it's a bit boring
(22.19.17) mattock: and does not make best use of face-to-face communications
(22.20.15) lev__: is that event still limited to "active developers that are also regularily contributing"
(22.21.37) cron2: well, it's not a user meeting :-) - this was the intention of the quoted statement
(22.22.32) cron2: but "regularily" is a very vague term (*look at d12fk*) :-) - so if you feel like coming, you're welcome
(22.22.55) lev__: thanks, let's see if I could make it
(22.24.57) cron2: the meeting room can comfortably take about 7-8 people "with gear", but Sat/Sun we have the whole office area for us, so we'd form smaller sub-groups or such to focus
(22.28.19) cron2: that's from me for munich - anyone else?
(22.29.56) jamesyonan: I think I'll be able to make it
(22.30.03) cron2: cool :)
(22.31.31) lev__: maybe while people are here, I can ask - what about using inotify to get result of auth-user-pass-verify (and client-connect) instead of checking acf files on incoming request / timeout
(22.31.50) mattock: lev: it would great if you could make it!
(22.31.55) mattock: the more the merrier
(22.33.12) cron2: lev__: spontaneously I'd say "portability" given that not all supported OSes have this and/or it needs extra libraries. But I'm too tired today to really think through it and understand the picture (sorry)
(22.33.48) lev__: http://sourceforge.net/p/openvpn/mailman/message/32906587/
(22.33.49) vpnHelper: Title: OpenVPN / Mailing Lists (at sourceforge.net)
(22.34.15) mattock: that said, most of the guys are here on a daily basis
(22.34.55) mattock: so this is not like the last chance to get an answer :)
(22.35.12) cron2: lev__: yeah that thread is still sitting in my mailbox :-) - dazo is the one to think about the async plugin stuff, and I'm the one to worry about portability and adding #ifdefs and the implication of that for testing
(22.35.44) lev__: yep I understand. I have sent this patch some time ago, would be nice if someone could take a look
(22.36.45) ***cron2 calls it a day and gives up - sorry, it was a really tough day, falling asleep. But this was a good meeting.
(22.37.13) mattock: lev: you probably have to push a bit
(22.37.38) mattock: when we don't immediately find time to review patches they often are forgotten about by mistake
(22.37.49) mattock: so sending a friendly reminder usually helps

#2 lore raw

[Openvpn-devel] Summary of the IRC meeting (24th Nov 2014)

In reply to Samuli Seppänen

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Here's the summary of the previous IRC meeting.

- ---

COMMUNITY MEETING

Place: #openvpn-devel on irc.freenode.net
Date: Monday 24th Oct 2014
Time: 20:00 CET (19:00 UTC)

Planned meeting topics for this meeting were on this page:

<https://community.openvpn.net/openvpn/wiki/Topics-2014-11-24>

Next meeting has not been scheduled but will be on the same weekday and time. Your local meeting time is easy to check from services such as

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

SUMMARY

andj, cron2, dazo, lev, mattock, plaisthos and syzzer participated in this meeting.

- ---

Discussed the "--enable-password-save" option. Decided to enable the feature by default and remove the associated #ifdef.

- --

Discussed the the peer-id patch (v7):

<http://thread.gmane.org/gmane.network.openvpn.devel/9270>

The patch has received a fair share of review. However, as the patch is fairly invasive it was decided to give James a chance to comment on the latest incarnation. If he has no complaints in a few days the patch will go in. As discussed earlier the full patch will go into 2.4. The client-side part of the patch will also go into 2.3 releases for compatibility reasons.

- ---

Discussed OpenVPN 2.4 release. Some small pieces are still missing:

<http://thread.gmane.org/gmane.network.openvpn.devel/9232>
<http://article.gmane.org/gmane.network.openvpn.devel/9238>
<http://sourceforge.net/p/openvpn/mailman/message/32945354>
<http://article.gmane.org/gmane.network.openvpn.devel/9222>
<https://community.openvpn.net/openvpn/wiki/MunichHackathon2014>

+ stuff in Trac aimed at milestones 2.3.6 and 2.4
+ OpenVPN-GUI NSI installer

The biggest piece of code still missing from 2.4 is the Windows interactive service:

<http://sourceforge.net/p/openvpn-gui/openvpn/ci/interactive_service/tree>

The IPv4 part of the service has been in production for some time, but some IPv6 bits may be broken. In Munich we agreed that even if d12fk (the author) does not have time to fix IPv6, somebody else will do it. Samuli can help with testing the patch. Samuli will also make experimental Windows builds with the Interactive Service so that the patch gets the testing coverage it needs before the 2.4 release.

- ---

Discussed scrapping ENABLE_SSL as a separate option. We had asked about this on openvpn-users and openvpn-devel and received no response/objections. It seems that nobody cares, so out it goes.

- ---

Full chatlog is attached.

- --
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc

irc freenode net: mattock

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlRzlRsACgkQwp2X7RmNIqPkJACgwQxOmhUGc0W1VzNatpd1Gdnp 0u8AoKrm/sx6itVm11gSvkWfW+0qZOko
=cW70
-----END PGP SIGNATURE-----

(21.01.48) mattock: ready for the meeting?
(21.01.56) ***dazo is ready
(21.01.59) ***syzzer too
(21.02.00) dazo: james?
(21.02.04) ***andj too
(21.02.16) syzzer: just to get things started: http://blog.halon.org.uk/2014/11/barbie-the-debian-developer/
(21.02.18) vpnHelper: Title: Barbie the Debian Developer - Liberal Murmurs (at blog.halon.org.uk)
(21.04.11) mattock: indeed
(21.04.25) ***dazo wonders if syzzer tries to block his systemd patches .....
(21.04.45) mattock: you'll become friends again in about 2 years :P
(21.04.51) dazo: hehe
(21.04.53) syzzer: hahaha
(21.04.56) mattock: ok, so
(21.05.00) mattock: "--enable-password-save - drop #ifdef, make always on? change default? Patch from Yegor Yefremov "
(21.06.28) andj: haha
(21.06.37) syzzer: I don't like the feature, but pragmatically "always on" seems to make sense...
(21.06.46) mattock: yeah
(21.06.47) dazo: I've been pondering if there has been some misunderstanding from Yegor's mails ... I might have missed that he pointed out that the --help screen said it was enabled by default, while it was disabled in reality ... and he tried to fix this confusion (21.07.09) dazo: but instead of fixing --help, he actually flipped the switch
(21.07.31) plaisthos: I was the one suggestion that we also could drop the #ifdef and always enable the feature
(21.07.31) dazo: And that would again be NACK from me ... as then --enable needs to be changed to --disable
(21.07.54) syzzer: plaisthos: yes, if we enable it by default let's get rid of the #ifdef's too
(21.08.06) syzzer: I'll just throw it out hard in OpenVPN-NL ;)
(21.08.25) dazo: I'd like to hear what james has to say about this, tbh
(21.08.40) plaisthos: do we actually make sure that password are removed/overwritten after using them?
(21.08.41) dazo: as it's something which has been configurable since the very beginning
(21.08.59) syzzer: someone else must have disliked the feature ;)
(21.09.15) dazo: plaisthos: we can't do that ... it's the user which does --auth-user-pass /path/to/my/username+passwrd_file.txt
(21.10.10) mattock: isn't having a key/cert without a password as bad as having a password file, provided both have strict permissions?
(21.10.41) andj: the key tends to be longer, and isn't sent over the line
(21.10.41) dazo: --enable-password-save is only affecting --auth-user-pass
(21.11.06) dazo: and what andj said
(21.11.35) mattock: andj: ok, fair point
(21.11.50) syzzer: andj: this can also be used to provide the private key password
(21.11.54) dazo: but keys themselves are used for the encryption ... certificates are used for authentication, just as username/passwords ... and certs are by def. public
(21.12.08) andj: but indeed, the option means something else :)
(21.13.01) dazo: (however, you can't use a cert with openvpn with the wrong key, so they are coupled)
(21.14.20) andj: we're talking about two different types of key here, I think
(21.14.37) andj: there's the static key, and the private key
(21.15.00) dazo: right ... and neither of them are related to --enable-password-save
(21.15.37) andj: learnt somthing today, thought it was also used for private keys
(21.15.41) plaisthos: btw. auth-user-pass caches password by default unless you also specify auth-nocache
(21.16.07) andj: and static keys
(21.16.32) plaisthos: enable-password-save only affects the ability to specify a file-name after auth-user-pass
(21.17.31) syzzer: yeah, which is actually different from what ./configure --help claims: "--enable-password-save allow --askpass and --auth-user-pass passwords to be path to systemd-ask-password utility"
(21.18.35) andj: in that case, I agree with syzzer, just get rid of the option, and enable it
(21.18.38) dazo: btw ... if we decide to remove any #ifdefs ... only one single #ifdef ENABLE_PASSWORD_SAVE exists in the code
(21.19.08) mattock: so no major code cleanups then :P
(21.19.22) dazo: nope :)
(21.19.29) mattock: I was getting hopeful
(21.19.34) andj: one down, couple'o'thousand to go
(21.19.46) mattock: ok, so enable it by default, remove #ifdef
(21.19.50) mattock: next topic?
(21.20.00) cron2: mattock: you want to finish by 20:30 today?
(21.20.08) mattock: if I can, yes :)
(21.20.11) plaisthos: We could do more useless ifdefs :D
(21.20.13) cron2: well, the next topic is "peer-id patch"
(21.20.15) mattock: #2 "peer-id v7 / peer-id client-only v2 "
(21.20.37) mattock: two parts: anyone else wants to review before commiting?
(21.20.44) cron2: i put it on the agenda because I want to be sure that "we all" agree that it goes in now - syzzer has reviewed, but I'd like to hear James opinion
(21.21.09) cron2: (it has been tested, it has been reviewed, we agree on the principle, so we're nearly there - but it is *big* and should be done right)
(21.21.15) plaisthos: I looked at both patches, did not find anything wrong, but haven't done a proper enough look to say "ACK"
(21.21.19) plaisthos: so go from me :0
(21.21.34) dazo: So the patch from cron2 complements the patch from lev__?
(21.21.40) plaisthos: yes
(21.21.42) lev__: both - second one is client only ?
(21.21.49) cron2: dazo: my patch is "client side only"
(21.21.50) plaisthos: what lev__ said
(21.21.52) dazo: and the first is server only?
(21.22.01) cron2: no, lev__'s is "all of it"
(21.22.19) cron2: my patch is about 1/3 of the changes from lev__ for 2.3, while lev__'s is the full thing for 2.4
(21.22.31) dazo: ehm ... why do we need the second patch if the first patch has everything?
(21.22.33) cron2: so a 2.3 client can float, while a 2.3 *server* will not get that
(21.22.41) dazo: aaahh
(21.22.43) cron2: because the patch is far too intrusive to go into 2.3 :)
(21.22.50) dazo: :)
(21.23.06) mattock: no words from james (mailed him 10 mins ago)
(21.23.08) plaisthos: and since we probably will have another 2.3 release ...
(21.23.16) dazo: so the cron2's patch goes into release/2.3 ... while lev__'s goes into master ... right?
(21.23.24) cron2: client-side stuff is fairly contained - a new option here, a new IV_ value there, and "in the critical path", it only has very few lines of easy code
(21.23.27) cron2: yes
(21.23.35) dazo: ACK to the approach!
(21.23.48) cron2: server-side touches all the hardcore multi stuff :-) (congrats to lev__ for this, anyway)
(21.23.58) cron2: mattock: any word from James?
(21.25.09) mattock: no (see ^^^)
(21.25.19) dazo: As the patch has been reviewed by cron2 and syzzer, and james was involved in the discussions ... I think we can pull it in unless james disagrees within a few days
(21.25.28) mattock: agreed
(21.25.58) andj: nice! good news for mobile users :)
(21.25.59) cron2: yeah, I'll just mail james a reminder "we think this is good, do you want to wait for us and review?"
(21.26.17) mattock: cron2: thanks!
(21.26.28) lev__: so, is it going to master now?
(21.26.56) andj: yes, unless James gives a nack in the next few days
(21.27.03) dazo: lev__: version 6 is golden :)
(21.27.09) cron2: lev__: I'd like to give James the chance to comment
(21.27.14) dazo: you can do another dance, lev__ ;-)
(21.27.15) cron2: dazo: we're at v7 :)
(21.27.19) dazo: oh, sorry!
(21.27.25) andj: haha
(21.28.28) cron2: mailed james
(21.28.33) lev__: v7 is basically v6 with minor code reorganizing
(21.29.33) dazo: lev__: anyhow, v7 is what counts for us :)
(21.29.41) andj: next topic?
(21.29.54) cron2: mattock's
(21.30.14) mattock: not really mine, but "OpenVPN 2.4"
(21.30.33) mattock: basically I put that on the agenda so that we can discuss what's missing
(21.30.38) mattock: _still_ missing
(21.31.02) andj: haven't had much time to look at the CRL patch
(21.31.02) dazo: do we have a summary of the blockers for 2.4 from hackathon?
(21.31.09) mattock: dazo: possibly
(21.31.14) cron2: dazo: in the hackathon page on the wiki
(21.31.22) dazo: duh!
(21.31.35) syzzer: an easy one (I think): http://sourceforge.net/p/openvpn/mailman/message/32945354/
(21.31.37) vpnHelper: Title: OpenVPN / Mailing Lists (at sourceforge.net)
(21.31.54) mattock: https://community.openvpn.net/openvpn/wiki/MunichHackathon2014
(21.31.56) vpnHelper: Title: MunichHackathon2014 – OpenVPN Community (at community.openvpn.net)
(21.32.20) dazo: syzzer: for normal people, anything SSL/TLS usually isn't defined as "easy" ;-)
(21.32.23) cron2: syzzer: amazing that you can always remember your old stuff :)
(21.33.13) mattock: maybe syzzer uses some advanced system, like Post-It notes? :P
(21.33.16) syzzer: cron2: git log ;)
(21.34.01) lev__: about 2.4, I think we agreed that someone will ask Fabian to resend async-connect patch with fixed whitespaces
(21.34.13) mattock: I think we did decide that
(21.34.49) cron2: syzzer: I'm not sure if anyone of us understands the intricacies of not calling tls_ctx_load_dh_params()...
(21.35.04) dazo: lev__: I probably have misunderstood, but I thought you would ask/check with Fabian ... but I don't mean to dump things unto you, but feel free to do so :)
(21.35.13) lev__: ok I can do that
(21.35.17) mattock: nice!
(21.35.57) cron2: mattock: I'm not letting you go before netbsd51 stops erroring on me!
(21.36.22) plaisthos: syzzer: does OpenSSL fallback to non PFS or does it throw an error if you don't add DH paramters?
(21.36.44) plaisthos: (error as in no common cipher)
(21.36.47) dazo: syzzer: how will this patch work on a non-EC --server setup where we need --dh today .... but the user forgets to include --dh?
(21.37.16) cron2: if it's not included, it will not change the code
(21.37.21) syzzer: plaisthos: no. it needs other stuff to do non-PFS, and I already got rid of that stuff in master
(21.37.22) cron2: it still checks for "--dh set"
(21.37.40) cron2: the only new case is "--dh none", with explicitely calling it "none"
(21.37.49) syzzer: dazo: the code will still complain if you don't set --dh, you have to specify '--dh none' to not use DH
(21.38.29) dazo: right, and if --dh none is given then ... as the user tries to ignore the dhparam file?
(21.38.43) dazo: (that's the first thing newbies on #openvpn will do)
(21.39.20) cron2: that is about the same thing I asked - what will "not calling tls_ctx_load_dh_params()" actually *do*, behind the scenes?
(21.39.55) cron2: (all the rest of the patch is good for me)
(21.39.56) dazo: sorry ... didn't see that
(21.40.04) dazo: agreed
(21.40.39) syzzer: cron2, dazo: I will dive in again (too long ago, I don't dare to state anything without looking at it again)
(21.41.19) mattock: cron2: re: netbsd51: yeah, life got in the way today
(21.41.56) mattock: the netbsd builldslave is fairly trivial, so I can finish it after the meeting
(21.43.24) mattock: has anyone had time to review d12fk's interactive service code?
(21.43.52) plaisthos: is it already in a reviewable state?
(21.44.22) mattock: good question
(21.44.37) mattock: I think so, but could be wrong
(21.45.07) dazo: he has pushed out his tree ... it's one large commit, which he said would be crazy to try to split up into smaller chunks
(21.45.23) cron2: he mentioned something about "not compiling" - the thing sophos is shipping is ipv4-only, but he hacked ipv6 into it and that might be unfinished
(21.45.35) mattock: ah
(21.45.46) syzzer: I did not yet look at it
(21.45.49) dazo: git://git.code.sf.net/p/openvpn-gui/openvpn ... in the interactive_service branch
(21.45.54) plaisthos: so the v4 code is actually already in producttion?
(21.46.21) cron2: yes
(21.46.37) cron2: in the astaro/sophos UTM client
(21.47.04) dazo: Anyone got some time to look at my query-user patches? http://thread.gmane.org/gmane.network.openvpn.devel/9232
(21.47.07) vpnHelper: Title: Gmane Loom (at thread.gmane.org)
(21.47.29) dazo: Or my down-root plug-in patches? http://article.gmane.org/gmane.network.openvpn.devel/9238 http://article.gmane.org/gmane.network.openvpn.devel/9247
(21.47.31) vpnHelper: Title: Gmane -- PATCH down root plugin: Replaced system calls with execve (at article.gmane.org)
(21.48.56) mattock: did d12fk say when he'd have the IPv6 bits in place?
(21.49.11) syzzer: dazo: no, lev__ kept be busy recently ;)
(21.49.15) cron2: d12fk gave us what he has, because we claimed "someone will make it work"
(21.49.22) mattock: ah
(21.49.30) mattock: who is this mythical "someone", then? :P
(21.49.36) dazo: syzzer: fair enough ... his stuff is more important anyhow :)
(21.49.38) mattock: hmm, IPv6... I wonder
(21.49.44) cron2: (and that was mostly because we didn't have anything before - d12fk was way too busy...)
(21.49.53) cron2: mattock: I've heard you're into windows
(21.49.58) mattock: lol
(21.50.22) mattock: well, I can do testing of course
(21.50.56) mattock: just let me know what I should test for
(21.51.34) cron2: well... all in good order :) - peer-id, that other patch, release 2.3.6, ...
(21.52.13) cron2: as far as releasing 2.3.6 goes: I'll do a tarball on friday/saturday and send syzzer and mattock the locations, and then official push on monday 20:00?
(21.52.38) dazo: cron2: I'd like to get the updated systemd unit files into 2.3.6 ... (yet another patch)
(21.53.14) plaisthos: cron2: with peer-id client stuff
(21.53.15) dazo: http://article.gmane.org/gmane.network.openvpn.devel/9222
(21.53.16) plaisthos: ?
(21.53.16) cron2: dazo: are they on the list?
(21.53.17) vpnHelper: Title: Gmane -- PATCH systemd: Reworked the systemd unit file to handle server and client configs better (at article.gmane.org)
(21.53.25) syzzer: cron2: could you send me the output of git format-patch v2.3.5 perhaps?
(21.53.29) cron2: plaisthos: yes!
(21.53.33) plaisthos: great!
(21.53.34) dazo: yes, all my stuff has been pushed out
(21.53.40) cron2: syzzer: ok
(21.53.45) dazo: mailed to the ML, that is
(21.53.57) cron2: ah, there it is
(21.54.41) mattock: cron2: re: 2.3.6 schedule sounds good
(21.55.00) dazo: cron2: The client side stuff has been tested, quite successfully even
(21.56.00) dazo: (server side part should be functional too, but not so much tested as the client side)
(21.56.56) mattock: regarding interactive service
(21.57.18) mattock: perhaps we should consider making special OpenVPN builds for it
(21.57.37) mattock: I think we could get a fair amount of testers that way, given how useful it is to many people
(21.57.41) dazo: mattock: that sounds like a good idea ... at least have it as an experimental download
(21.57.47) mattock: exactly
(21.57.48) dazo: on the community pages
(21.57.57) mattock: and advertise it like hell
(21.58.05) cron2: "master" windows builds will have it, "2.3" might get it if it turns out to be stable and way cool
(21.58.37) mattock: it's already way cool compared to what we have :P
(21.58.38) vpnHelper: RSS Update - gitrepo: systemd: Reworked the systemd unit file to handle server and client configs better <https://github.com/OpenVPN/openvpn/commit/3341a98c2852d1d0c1eafdc70a3bdb218ec29049>
(21.58.42) dazo: I'd say we should aim this for 2.4+ ... as I think the patch set is a bit too big, tbh
(21.58.50) dazo: (for a 2.3 backport that is)
(21.59.05) cron2: right, forgot that it's much more than "just the service side"
(22.00.27) mattock: Trac's view of what's missing from 2.3.6 and 2.4:
(22.00.27) mattock: https://community.openvpn.net/openvpn/query?status=accepted&status=assigned&status=new&status=reopened&milestone=release+2.3.6&col=id&col=summary&col=milestone&col=status&col=type&col=priority&col=component&order=priority
(22.00.27) mattock: https://community.openvpn.net/openvpn/query?status=accepted&status=assigned&status=new&status=reopened&milestone=release+2.4&col=id&col=summary&col=milestone&col=status&col=type&col=priority&col=component&order=priority
(22.00.29) vpnHelper: Title: Custom Query – OpenVPN Community (at community.openvpn.net)
(22.00.30) vpnHelper: Title: Custom Query – OpenVPN Community (at community.openvpn.net)
(22.00.40) mattock: the 2.4 part probably needs a bit cleaning
(22.01.56) cron2: I'll look into the 2.3 stuff
(22.02.12) mattock: cron2: I squashed a few trivial documentation bugs already
(22.02.20) mattock: there are a couple more
(22.02.44) cron2: yep, merged one of them :)
(22.02.46) mattock: oh, just for the record, the NSI stuff for 2.4 is still wip
(22.02.58) mattock: I'll note that in the summary
(22.03.49) mattock: are we covered for now?
(22.04.31) cron2: I think that's good enough, I'm not really very much awake today... let's redo a short and focused meeting in two weeks or so
(22.04.39) mattock: agreed
(22.04.58) mattock: Monday 8th Dec it is
(22.05.02) mattock: any objections?
(22.05.05) lev__: so to be sure: peer-id will go to master in few days if James won't say NACK
(22.05.05) syzzer: yeah, sounds ok
(22.05.10) andj: sounds good
(22.05.12) dazo: lev__: yes
(22.05.19) cron2: lev__: yes
(22.05.28) dazo: lev__: I said you could do your dance ;-)
(22.05.28) cron2: mattock: go for it :)
(22.05.33) syzzer: one more question: did we wait long enough to remove ENABLE_SSL ?
(22.05.46) cron2: syzzer: did you get *any* response?
(22.05.51) syzzer: no, none at all
(22.06.00) mattock: then people don't care probably
(22.06.00) cron2: out with it
(22.06.11) syzzer: good, I'll send a patch soon :)
(22.06.12) dazo: syzzer: there was one from #openvpn .... /me digs it up
(22.06.14) mattock: they will scream when it's gone, but that should be fairly limited
(22.07.03) plaisthos: and then provide no valid use case
(22.07.10) mattock: :)
(22.07.22) plaisthos: (like people requesting that they really need binding to port < 1024 on Android)
(22.07.32) dazo: <dazo> <Eugene> I can't imagine anybody seriously missing that one, except maybe the Debianites
(22.07.32) dazo: <dazo> <Eugene> Or that one Gentoo lunatic(there's always one...)
(22.07.34) dazo: syzzer: ^^^
(22.07.46) dazo: ;-)
(22.08.01) mattock: ok, so a "lunatic" might object
(22.08.05) mattock: I think we can live with that :P
(22.08.08) dazo: :)
(22.08.29) plaisthos: IT RUNS FASTA without SSL which I DO NOT NEED! FIX It You M0R0NS!
(22.08.36) mattock: just to make sure: syzzer asked about this on ml?
(22.08.47) cron2: mattock: both on -users and -devel lists
(22.08.49) syzzer: yes, mailed to -users, BCC'ed -devel
(22.08.51) mattock: ok, good
(22.09.28) plaisthos: I sucks at bash script
(22.09.36) dazo: syzzer: kick it out :)
(22.09.39) plaisthos: I cannot get an if (IV_PROTO >= 2) right
(22.09.41) dazo: plaisthos: who doesn't?
(22.10.16) syzzer: dazo: more than happy to!
(22.10.20) dazo: plaisthos: try -ge instead of >=
(22.10.26) cron2: plaisthos: if [ -n "$IV_PROTO" -a "$IV_PROTO" -gt 1 ] ; then ...
(22.10.28) cron2: suchish
(22.10.52) plaisthos: cron2: thanks
(22.11.36) mattock: are we done?
(22.11.44) mattock: I have a netbsd buildslave to fix
(22.11.45) mattock: :)
(22.11.46) cron2: mattock: good night :)
(22.11.58) mattock: cron2: not that fast
(22.12.06) syzzer: yep, done
(22.12.29) mattock: ok, see you guys in two weeks
(22.12.39) andj: see you

#3 lore raw

[Openvpn-devel] Summary of the IRC meeting (29th Dec 2014)

In reply to Samuli Seppänen

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Here's the summary of the previous IRC meeting.

- ---

COMMUNITY MEETING

Place: #openvpn-devel on irc.freenode.net
Date: Monday 29th Dec 2014
Time: 20:00 CET (19:00 UTC)

Planned meeting topics for this meeting were on this page:

<https://community.openvpn.net/openvpn/wiki/Topics-2014-12-29>

Next meeting has not been scheduled but will be on the same weekday and time. Your local meeting time is easy to check from services such as

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

SUMMARY

cron2, jamesyonan, mattock. plaisthos, segoon and syzzer participated in this meeting.

- ---

Discussed the "​Add Mac OS X keychain support" patch:

<http://thread.gmane.org/gmane.network.openvpn.devel/9320>

Agreed that it's best to keep this functionality outside OpenVPN core. In practice this means integrating the functionality with the de facto OpenVPN GUI for MacOS X, Tunnelblick. Segoon, the patch author, will take a stab it this new approach.

.--

Briefly discussed the "Make OpenVPN set routes on Windows Vista and later" patchset:

<http://thread.gmane.org/gmane.network.openvpn.devel/9237>

This topic could not be covered in depth as d12fk was not present. It was decided to revisit this topic later when d12fk is present and when the changes have been reviewed in more depth (in two weeks or so). Mattock will provide experimental Windows installers with this patchset after the code has passed initial review.

- ---

Discussed the "Openvpn with cryptodev on FreeBSD does not work" patch:

<https://community.openvpn.net/openvpn/ticket/480>

The patch can't be included as-is, because it will break existing OpenVPN configurations. Syzzer will try to find a cleaner solution to the problem.

- ---

Full chatlog is attached.

- --
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc

irc freenode net: mattock

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlShvjQACgkQwp2X7RmNIqOpNACfR70gFBY3FkZbB2Lp9RVj6ZFi CDYAnj/sgP09PvoUJdf8GIO7bS4YiIQa
=NJ7D
-----END PGP SIGNATURE-----

(20.50.39) segoon: hi, I'm Vasily Kulikov, the author of OS X keychain patch
(20.51.30) syzzer: segoon: hi!
(20.53.14) mattock: hi segoon!
(20.53.51) mattock: is d12fk here today?
(20.54.24) mattock: I don't know if James will be present, but he has not responded to my emails
(20.54.29) mattock: he might be on vacation
(21.00.58) mattock: ok, meeting time
(21.01.01) mattock: who is here?
(21.01.13) ***syzzer reporting in
(21.02.04) syzzer: haven't seen dazo for a while, he's not even in the channel?
(21.02.05) cron2: yo
(21.02.08) mattock: hi cron2!
(21.02.17) mattock: d12fk?
(21.03.38) cron2: haven't seen him in a while
(21.03.53) syzzer: plaisthos: we need you for osx stuff!
(21.05.37) mattock: no word from James, so I suppose he's not coming
(21.05.43) mattock: I'll shoot him an email just in case
(21.08.05) mattock: sent
(21.09.28) mattock: I think the current attendees are what we'll get today
(21.09.33) mattock: shall we start?
(21.09.41) jamesyonan [[email protected]] è entrato nella stanza.
(21.09.41) modalità (+o jamesyonan) da ChanServ
(21.09.59) cron2: hi james :)
(21.10.08) jamesyonan: hi cron2
(21.10.11) syzzer: I'll poke plaisthos on whatsapp, but I think we can start in the mean while
(21.10.29) mattock: hi james!
(21.10.35) mattock: let's begin
(21.10.42) mattock: ok, so today's agenda: https://community.openvpn.net/openvpn/wiki/Topics-2014-12-29
(21.10.43) vpnHelper: Title: Topics-2014-12-29 – OpenVPN Community (at community.openvpn.net)
(21.11.12) plaisthos: syzzer: YEAH i HAVE TIME
(21.11.18) mattock: first topic is segoon's patch: ​http://thread.gmane.org/gmane.network.openvpn.devel/9320/focus=9346 ("Add Mac OS X keychain support")
(21.11.20) vpnHelper: Title: Gmane Loom (at thread.gmane.org)
(21.11.23) mattock: plaisthos: :)
(21.11.23) plaisthos: sorry for caps
(21.11.41) mattock: plaisthos: I thought you got annoyed about being pulled to the meeting :P
(21.11.48) syzzer: oh, nvm :p
(21.12.17) mattock: jamesyonan: doesn't OpenVPN Connect have OS X keychain support?
(21.12.58) jamesyonan: yes it does, but it's implemented by the Connect management interface client
(21.13.12) mattock: any thoughts on segoon's approach in general?
(21.13.27) jamesyonan: overall the patch seems okay
(21.14.04) plaisthos: I unfortenately had not really time to look into it yet in detail
(21.14.25) mattock: the patch is pretty big, but only seems to add stuff, not touch existing things
(21.14.31) mattock: mostly
(21.14.52) syzzer: in general I'd say this should preferably be implemented outside of the openvpn core, but since we already have windows in there too we might move those out later on if we really want that (21.15.27) segoon: the number of changes to the old code is limited to "if (keychain arg is set) { ... }"
(21.15.45) cron2: there are a few bits in there that look unrelated, like the patch to compat.h
(21.16.58) jamesyonan: I think the more modern thinking about keychain support is to have the keychain ops be implemented outside the core in the app-level process (like a UI) that is controlling the OpenVPN daemon (21.17.47) jamesyonan: because then the user can use their own user-level keychain, rather than having to use the keychain that is accessible to the OpenVPN daemon which is probably running in root/admin context (21.19.32) segoon: jamesyonan: OpenVPN under Tunnelblick is started under root, but it has an access to the user's keychain
(21.20.05) segoon: fwiw, I ported the patch to the current OpenVPN version by the Yandex company request, they use the patched OpenVPN under Tunnelblick
(21.21.06) jamesyonan: does Tunnelblick run OpenVPN as root?
(21.21.10) plaisthos: yes
(21.21.24) syzzer: (I never used tunnelblick, so maybe I'm asking the obvious here) tunnelblick itself has no support for the key chain?
(21.21.34) plaisthos: no unfortenately not
(21.21.59) jamesyonan: but how does OpenVPN, running as root, know which user's keychain to use?
(21.22.00) mattock: I believe tunnelblick is the de facto OpenVPN GUI for OS X... there's the Viscosity thing, but that one is proprietary
(21.22.51) plaisthos: yeah. Tunnelblick calls the openvpn binary as root and does the management+other paramter stuff
(21.22.51) jamesyonan: or does it require that certs/keys be in the system keychain?
(21.23.00) plaisthos: like the windows version
(21.23.11) segoon: syzzer: the thing is that private key can be configured non-exportable, so openvpn calls Keychain API each time to decrypt the data, it would be problematic if implemented in Tunnelblick (21.23.33) plaisthos: segoon: not that would worke fine
(21.23.35) jamesyonan: no, that's not how it works
(21.23.46) syzzer: segoon: I don't think so, the management interface has the 'rsa_sign' command to request a new sigature
(21.23.55) jamesyonan: RSA offload only requires one call per TLS negotiation
(21.24.34) jamesyonan: so having the RSA sign operation run in a different process has negligible impact on performance
(21.24.42) plaisthos: the situation is similar to android where an application also does not get access to the private key
(21.24.58) segoon: ok, probably it is not that hard to do, nevermind
(21.25.51) syzzer: segoon: did you have contact with the tunnelblick guys? they might be very interested in your code too
(21.26.47) cron2: I'm not sure I understand what the patch does - does it offload RSA signing, or does it just request the key+cert from the store, and do everything locally? (21.27.04) segoon: syzzer: I was emailed by "Jonathan K. Bullard" <[email protected]>, he asked what specific code parts are related to TB, I've answered him and that's all, I haven't heard him since that time (21.28.12) segoon: cron2: please look at signData() -- it doesn't request the key, it uses SecKeyRawSign()
(21.28.50) mattock: segoon: jkbullard is the correct guy to contact... he's usually pretty responsive
(21.28.56) jamesyonan: right, so it's offloading the signing
(21.29.40) cron2: well, tls_ctx_load_keychain() claims "/* Load Certificate and Private Key */"
(21.30.16) segoon: jamesyonan: as to the keychain selection: on my testing machine the specific cert+key are in login keychain, not in system one
(21.30.48) jamesyonan: doesn't the management interface support RSA signing offload so that tunnelblick could do the signing in the context of the end user, so that the user's keychain would be used? (21.31.28) segoon: jamesyonan: I cannot answer this question, I haven't looked at the Tunnelblick code
(21.31.48) jamesyonan: segoon: but how does OpenVPN daemon running as root know which user's login keychain to use?
(21.32.50) segoon: cron2: the "private key" part is about requesting the identity handle, it doesn't explicitly copies priv_key contents
(21.33.00) segoon: probably the comment is misleading
(21.33.21) cron2: yep, some more explanatory comments for people unfamiliar with the keychain stuff would be welcome
(21.33.28) plaisthos: with the management interface approach you would have to read user certificate+ca certifcate and put that into the config file
(21.35.33) segoon: plaisthos: and what about the private key (which might be not extractable)?
(21.35.51) plaisthos: segoon: you get the callback via management interface
(21.36.55) plaisthos: https://github.com/OpenVPN/openvpn/blob/master/doc/management-notes.txt
(21.36.56) vpnHelper: Title: openvpn/management-notes.txt at master · OpenVPN/openvpn · GitHub (at github.com)
(21.36.59) plaisthos: under rsa-sig
(21.37.17) plaisthos: basically you replace --key with --management-external-key
(21.37.37) plaisthos: and get BASE64 data you have to sign
(21.40.23) segoon: so that's about moving all keychain stuff out of the main OpenVPN process to a helper process that only signs the data
(21.40.31) segoon: this process can be run even under another user
(21.40.36) plaisthos: yeah
(21.40.55) segoon: and it can be started/stopped via config hooks
(21.40.57) plaisthos: the process which opens the management connection
(21.42.42) segoon: I'm trying to find cons of this solution compared to the current implementation..
(21.43.25) syzzer: well, the con is that it would mean there's more work to do...
(21.43.45) segoon: the code will be a bit bigger due to management send/receive code, but all code is executed outside of the main openvpn process
(21.44.32) plaisthos: OpenVPN for Android has this implemented
(21.44.39) segoon: is it possible to include such helper into the official openvpn distro, if implemented?
(21.45.01) cron2: well, the "helper" would have to go into the Gui that talks to the management interface anyway (single-user API)
(21.45.15) cron2: like Tunnelblick
(21.45.24) syzzer: segoon: actually, I think it would be very nice to have a simple helper that does just that in contrib/
(21.45.28) plaisthos: if you want to look an existing implementation
(21.46.38) segoon: the main goal of Yandex here is to push the keychain stuff to upstream to stop supporting it themselves (IOW, myself)
(21.46.46) plaisthos: it is also not unrealistic to have somehting like a plugin or external command that can do the same as the management-key
(21.46.49) syzzer: if we have a reference implementation testing becomes easier and it can be used by people who want osx keychain support, but do not need/want a gui
(21.46.57) segoon: if it is accepted by Tunnelblick instead of OpenVPN it is OK too, I think
(21.48.02) syzzer: and from that perspective, you probably achieve better support if it gets integrated into tunnelblick, since those guys have shorter lines to the osx users (21.48.10) cron2: from my perspective as, well, call it "core maintainer", having all OS specific bits in an OS-specific application makes the bits *I* get to maintain easier to manage (21.48.32) syzzer: segoon: yes, just integrated into tunnelblick would be fine too
(21.48.50) cron2: (and what syzzer said - if something in OSX changes, the Tunnelblick guys would be the ones to hear about it first)
(21.50.09) segoon: from the technical POV I like the idea of the helper out of the main openvpn process, from the social POV tunnelblick upstream'ing looks good too
(21.50.35) cron2: a helper / plugin would also be interesting. No idea if the plugin interface can do it today
(21.50.35) segoon: however, I'm not sure whether keychain is supposed to work from the terminal without GUI like Tunnelblick
(21.50.50) segoon: *is supposed by Yandex
(21.51.45) segoon: cron2: what do you mean by "plugin" interface? Is it a yet another interface?
(21.51.51) plaisthos: segoon: yeah :)
(21.52.07) plaisthos: plugins can be called at/for certain events
(21.52.22) segoon: looking into https://github.com/OpenVPN/openvpn/blob/master/doc/README.plugins...
(21.52.24) plaisthos: they are basically library with some functions that are called
(21.52.24) cron2: segoon: welcome to the wonderful world of OpenVPN extensibility :-)
(21.52.38) segoon: :-)
(21.53.19) plaisthos: we would "simply" add a --key-plugin option
(21.53.34) cron2: (but as far as I can see in README.plugins, we don't support the RSA stuff)
(21.53.45) plaisthos: and add a tls_rsa_sign function in the plugin interface
(21.53.55) cron2: that :)
(21.54.54) syzzer: *but* plugins run as the same user as the openvpn daemon, which is less favourable in this case I think
(21.54.58) segoon: are plugins run in the main openvpn process?
(21.55.10) syzzer: segoon: yes
(21.55.35) segoon: so it is worse than via management interface
(21.55.52) syzzer: yes, I think management interface is better in this case
(21.56.23) plaisthos: yeah we don't win much %)
(21.56.54) mattock: are slowly moving towards a consensus on what needs to be done? :)
(21.57.10) segoon: Qs about management interface:
(21.57.42) segoon: 1) the only secure local communication channel among the supported is unix socket, isn't it?
(21.58.30) syzzer: plaisthos might know better, but I think so yes
(21.58.55) plaisthos: well yes
(21.59.11) plaisthos: you can also bind to 127.0.0.1 and do tcp
(21.59.28) plaisthos: and can do user+pass authentication to the mgm interface
(21.59.41) plaisthos: which is cleartext but that does not matter on localhost
(22.00.06) segoon: re: user+pass -- understood
(22.00.41) segoon: 2) the client connects to openvpn's server socket, registers on rsa-sign event and then should wait for the server's rsa-sign request, right?
(22.00.53) plaisthos: I don't know if tunnelblick uses the management interface at the moment
(22.00.56) plaisthos: segoon: yes
(22.01.19) plaisthos: you can have only one client connected the interface at the time iirc
(22.01.38) segoon: i think it can be implemented with config file changes like 'management', 'management-external-key', 'pre-up', etc.
(22.01.58) segoon: AFAICS, no actions from Tunnelblick are needed
(22.02.19) plaisthos: segoon: tunnelblick might already use the management interface
(22.02.25) mattock: I would guess so
(22.02.32) plaisthos: just do a ps aux when openvpn is running
(22.02.44) segoon: plaisthos: ah, do you mean that it connects to the management interface and I cannot do it again?
(22.02.54) plaisthos: iirc tunnelblick adds a ton of options to openvpn via command line
(22.03.00) plaisthos: segoon: yes
(22.03.52) plaisthos: pretty sure it does
(22.04.10) segoon: no, 'ps aux | grep openvpn | grep mana' shows nothing
(22.04.18) plaisthos: Acutally thinking about it, since it displays traffic statistics which you only get via management interface
(22.04.26) segoon: oh, wait
(22.06.38) segoon: nevermind, have problems with Mac :) rebooting
(22.07.08) segoon: is it possible to setup management interface for >1 client?
(22.07.10) plaisthos: I am at the moment at my windows pc but I can get my Mac out to check
(22.07.37) plaisthos: hm
(22.07.47) plaisthos: I don't think so
(22.07.49) cron2: segoon: no
(22.08.01) plaisthos: but I would have to look at the code again
(22.08.56) segoon: plaisthos: can you check it on your Mac, please?
(22.09.48) plaisthos: lets see if I have a working Tunnelblick installation
(22.11.27) segoon: ok, I checked it -- it does use --management
(22.12.05) plaisthos: my tunntelblick crashes with sigsev
(22.12.05) segoon: so management is not an option, at least with TunnelBlick
(22.12.09) syzzer: so that would mean integrating the keychain code into tunnelblick itself
(22.12.36) plaisthos: or do a tunnel to your program porxy
(22.12.43) plaisthos: in tunnelblick
(22.13.51) syzzer: plaisthos: i guess you could, but that sounds a bit hacky. do you think that would be easier than integrating into tunnelblick itself?
(22.14.22) plaisthos: syzzer: if you want to have the functionaitaliy without tunnelblick
(22.14.29) segoon: plaisthos: sorry, I don't understand your proxy idea
(22.14.43) segoon: proxy/tunnel
(22.15.09) plaisthos: segoon: when tunnelblick gets a a rsa_sign it sends it to your program instead of cyring and knowing what to do :)
(22.16.02) segoon: as I completely don't know TB's internals I cannot say how extensible it is
(22.16.29) segoon: OK, I should look at TB's way of --management handling
(22.16.39) segoon: am I right that the patch for openvpn is NACK for now?
(22.16.39) plaisthos: be warned
(22.16.48) plaisthos: building tunntelblick is hellish
(22.17.33) cron2: segoon: yeah, sort of "we like the feature, but it might be better done in Tunnelblick"-NAK
(22.17.47) syzzer: segoon: I think, but as far is I'm concerned just "for now", as the a solution outside of the openvpn core looks as a beter option
(22.19.54) segoon: OK, I'll look at TB. If I'll need openvpn-devel feedback again, how should I ping you guys?
(22.20.03) plaisthos: yes
(22.20.09) cron2: here, or on the list
(22.20.16) plaisthos: if you have question to all the rsa-sign stuff just ping me
(22.20.16) cron2: Jonathan Bullard also reads openvpn-devel list
(22.20.33) segoon: oh, mailing list, I forgot about it :-)
(22.20.48) mattock: :)
(22.20.54) mattock: next topic?
(22.21.10) segoon: okay, thanks guys!
(22.21.41) syzzer: segoon: thank you too!
(22.21.44) mattock: you're welcome!
(22.22.12) mattock: next topic would be "​Make OpenVPN set routes on Windows Vista and later", i.e. the interactive service from d12fk
(22.22.20) syzzer: mattock: no, d12fk, so towards the cryptodev patch than?
(22.22.28) syzzer: *then
(22.22.34) mattock: has anyone reviewed the d12fk's code?
(22.22.50) cron2: not me, sorry
(22.23.00) syzzer: I started out a bit, but definitely not done
(22.23.16) mattock: once the code has seen some review I can generate special Windows installers based on it
(22.23.24) mattock: for testing
(22.24.02) syzzer: it's on my list to look into it a bit more
(22.24.15) mattock: anyhow, let's talk about this when d12fk is here... and hopefully some of you has had time to review the code by then
(22.24.26) mattock: maybe retry two weeks from now?
(22.24.40) cron2: mattock: yes. But we can cover cryptodev (BSD)
(22.24.46) mattock: definitely
(22.24.48) mattock: "Openvpn with cryptodev on FreeBSD does not work"
(22.24.53) mattock: https://community.openvpn.net/openvpn/ticket/480
(22.24.55) vpnHelper: Title: #480 ([PATCH] Openvpn with crytpodev on FreeBSD does not work) – OpenVPN Community (at community.openvpn.net)
(22.25.09) mattock: so "looks innocent, but could break things"
(22.25.12) syzzer: yes, so, I looked into this a bit
(22.25.26) plaisthos: yes
(22.25.56) plaisthos: like how I broke certain obscure chroot configuration with init reordering
(22.26.00) cron2: the patch, simple as it is, doesn't sound good to me if it has side-effects
(22.26.08) syzzer: the thing is, because the patch pulls the daemon() call forward, some stuff won't work like it used to
(22.26.14) cron2: this, yes
(22.26.33) syzzer: for example, if you have relative paths in your config file
(22.26.35) cron2: so can we just move the cryptodev init after daemon()? I haven't checked where that is actually initialized
(22.27.17) syzzer: if that is possible, that would be the preferred solution
(22.27.44) syzzer: I just assumed the cryptodev would be automatically initialized when we init openssl
(22.28.01) ***cron2 has no idea
(22.28.48) syzzer: I don't know either, I don't use freebsd...
(22.29.12) cron2: I do, but "man cryptodev" doesn't particularily help here ("it will provide crypto primitives")
(22.29.57) plaisthos: isn't cryptodev for hw crypto acclerators?
(22.29.58) syzzer: yeah, sounds like openssl opens /dev/crypto, openvpn forks, pid changes, /dev/crypto refuses to answer to the new pid
(22.30.09) cron2: plaisthos: yes
(22.30.21) syzzer: plaisthos: yes, including stuff like aes-ni iirc

(22.30.29) cron2:      The crypto driver provides a device-independent framework to support
(22.30.29) cron2:      cryptographic operations in the kernel.  The cryptodev driver provides
(22.30.32) cron2:      userland applications access to this support through the /dev/crypto
(22.30.34) cron2:      device.  This node primarily operates in an ioctl(2) based model, permit-
(22.30.37) cron2:      ting a variety of applications to query device capabilities, submit

(22.30.39) plaisthos: (which is stupid for aes-ni)
(22.30.40) cron2: transactions, and get results.
(22.31.17) segoon ha abbandonato la stanza (quit: Quit: WeeChat 0.3.7).
(22.31.21) cron2: so - can we easily move just openssl init to "after daemon()"?
(22.32.16) plaisthos: yeah
(22.32.16) syzzer: cron2: don't think so, we currently load certs etc there
(22.32.27) plaisthos: see syzzer
(22.32.38) syzzer: and the problem is those paths no longer work after daemon()
(22.32.39) cron2: oh
(22.33.32) syzzer: but I have to dig a bit deeper, I just wanted to hear your thought on whether it's bad if relative patch no longer work when using --daemon without --cd (22.33.32) jamesyonan ha abbandonato la stanza (quit: Ping timeout: 244 seconds).
(22.33.50) cron2: this will break user configs, so "yes"
(22.34.52) cron2: I see inside possibly_become_daemon() a pkcs11_forkFixup ();
(22.34.59) syzzer: ok, in that case it's a NAK for now, I'll look into it a bit more
(22.35.10) cron2: maybe there is an openssl_forkFixup()?
(22.35.19) syzzer: yeah, some magic inside pkcs11-helper (I didn't really look into it more)
(22.38.53) cron2: mmh, googling suggests that there is cryptodev for linux, and openssl can talk to it
(22.41.18) syzzer: I doing multiple things at the same time now, will look into it later
(22.41.41) mattock: ok, meeting concluded?
(22.42.16) cron2: plaisthos: when you have time, could you look at my bikesheds?
(22.43.04) mattock: meeting concluded, sending out the summary
(22.43.07) mattock: :)
(22.43.12) cron2: g'night
(22.43.20) syzzer: ok, good :)

#4 lore raw

[Openvpn-devel] Summary of the IRC meeting (12th Jan 2015)

In reply to Samuli Seppänen

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Here's the summary of the previous IRC meeting.

- ---

COMMUNITY MEETING

Place: #openvpn-devel on irc.freenode.net
Date: Monday 12th Jan 2015
Time: 20:00 CET (19:00 UTC)

Planned meeting topics for this meeting were on this page:

<https://community.openvpn.net/openvpn/wiki/Topics-2015-01-12>

Next meeting has not been scheduled but will be on the same weekday and time. Your local meeting time is easy to check from services such as

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

SUMMARY

cron2, d12fk, mattock. plaisthos and syzzer participated in this meeting.

- ---

Discussed the "​Make OpenVPN set routes on Windows Vista and later" patch:

<http://sourceforge.net/p/openvpn-gui/openvpn/ci/8195efc0d8841b52217643a43d486cda2e171fea>

The changes that affect non-Windows platforms look good, but some modifications were proposed and will be implemented. The actual worked code needs to be reviewed in another meeting, which is scheduled for next Monday.

Merging this patch into OpenVPN 2.4 will break Windows XP service support. However, this is not considered a big loss for several reasons:

- - Windows XP is end of life already
- - Windows XP does not support NDIS6 either (=would be more work to maintain)
- - OpenVPN 2.3.x will be available for the remaining Windows XP users

- ---

Full chatlog is attached.

- --
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc

irc freenode net: mattock

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlS0N1MACgkQwp2X7RmNIqMy0ACZAcUMOLEFRefFIBTh/LqnJsrK 7fwAn1foSUXpZav/uDnoqAJwh7cPzW/2
=qbL/
-----END PGP SIGNATURE-----

(21.00.58) mattock: meeting time
(21.01.32) d12fk: yes
(21.01.32) mattock: who do we have here today?
(21.02.19) cron2: moh
(21.02.22) mattock: hi!
(21.03.41) syzzer: hi :)
(21.04.00) d12fk: hey all
(21.04.06) d12fk: here's the commit
(21.04.10) d12fk: http://sourceforge.net/p/openvpn-gui/openvpn/ci/8195efc0d8841b52217643a43d486cda2e171fea/
(21.04.10) mattock: hi guys!
(21.04.11) vpnHelper: Title: OpenVPN GUI / OpenVPN / Commit [8195ef] (at sourceforge.net)
(21.04.56) syzzer: anything changed since you sent it to the ml?
(21.05.02) d12fk: nope
(21.06.26) cron2: is plaisthos here?
(21.07.49) plaisthos: yes
(21.08.50) cron2: I'm looking at "add_route" for android, and I see
(21.08.53) cron2: management_android_control (management, "ROUTE", buf_bptr(&out));
(21.08.58) cron2: is "management" a global variable?
(21.09.09) plaisthos: yes
(21.09.32) cron2: so that's how you managed to do that without carrying an extra "options" variable...
(21.09.44) plaisthos: :)
(21.10.01) plaisthos: there are other instances in the code that use this global variable
(21.10.10) plaisthos: iirc the proxy-query stuff does it too
(21.12.00) cron2: d12fk: I'm not really happy with the "route_ipv6_clear_host_bits()" change - add_route_ipv6() should not overwrite data passed to it
(21.13.05) cron2: (and I'm not really happy with all the extra "const struct options *o", but whether introducing a new global is *better*...? phew...)
(21.14.59) syzzer: ^^ yes, that was partly my reaction too, see (1) from my 'preliminary review' mail
(21.15.18) d12fk: i did not change the semantics of route_ipv6_clear_host_bits iirc
(21.16.16) cron2: d12fk: well, you introduced that function :)
(21.16.28) d12fk: o_O
(21.16.29) cron2: my function was called "route_ipv6_print_network_bits()"
(21.16.57) d12fk: all too long ago is seems, checking
(21.17.01) cron2: but I see why you wanted that - I only had to deal with ASCII "netbits", not with a cleared binary representation
(21.20.27) ***cron2 wonders
(21.20.47) cron2: add_route() (etc.) carries a "flag" parameter today that is used to encode ROUTE_OPTION_FLAGS (options)
(21.22.28) d12fk: ok checked and will only modify a copy
(21.22.38) ***d12fk takes note
(21.22.38) cron2: we cheat in tun.c and do not pass it on non-windows platforms (all others do not have it)
(21.24.41) cron2: only bits 0+1 of "flags" are ever used (flags & ROUTE_METHOD_MASK). But then, overloading this with the message channel isn't *exactly* clean either...
(21.25.59) cron2: uh... is_on_link() checks "flags & ROUTE_REF_GW" but I have the suspicion that this wants to be rgi->flags
(21.26.10) cron2: argh
(21.26.10) cron2: no
(21.26.20) cron2: my head spins
(21.26.52) cron2: add_bypass_routes() calls add_route3( ..., flags | ROUTE_REF_GW, ...)
(21.29.20) plaisthos: :)
(21.29.32) plaisthos: that bypass_route is really head spinning stuff
(21.30.08) d12fk: wonder why i changed the function in the first place
(21.30.50) cron2: d12fk: so you can get rid of it in delete_ipv6_route(), I'd say, because that now nicely has a clean binary structure :)
(21.31.00) cron2: plaisthos: can you explain ROUTE_DELETE_FIRST to me?
(21.34.43) ***syzzer is fighting virtualbox to get my windows vm started...
(21.36.43) plaisthos: cron2: yes
(21.36.44) plaisthos: it is a hack instead of def1
(21.36.56) plaisthos: you first delete the old default route and then add a new default route
(21.36.58) plaisthos: for example
(21.37.55) cron2: plaisthos: that is the theory, but the only place ROUTE_DELETE_FIRST is ever used is in add_routes()/delete_routes(), and if it is set, it is used for *all* routes - and as far as I can see, nobody ever *sets* it... (21.38.15) plaisthos: cron2: yeah
(21.38.16) cron2: add_routes() only
(21.38.21) plaisthos: probably old/dead code
(21.38.48) cron2: lemme check something...
(21.40.48) cron2: definitely not a merge accident, it's like that in james' svn...
(21.41.25) harshar ha abbandonato la stanza (quit: Ping timeout: 252 seconds).
(21.46.28) cron2: there is an amazing number of /* GLOBAL */ comments in our code
(21.47.03) trispace [~trispace@unaffiliated/trispace] è entrato nella stanza.
(21.47.37) ***cron2 throws "what about 'static HANDLE msg_pipe; /* GLOBAL */' in win32.c in the discussion
(21.47.48) cron2: just trying the waters
(21.48.14) d12fk: global vars considered lazy
(21.48.30) plaisthos: (windows something, no idea ;))
(21.48.41) cron2: indeed, but "passing everything around everywhere" is not exactly pretty either
(21.50.20) cron2: (especially as this is something only a single platform uses today. Now, OTOH, we might see more use of that on other platforms...)
(21.53.38) syzzer: yeah, this is tricky...
(21.57.24) syzzer: finally, VM booting
(21.57.55) syzzer: my first thought was to put it in struct tuntap
(21.58.56) plaisthos: I already put is_utun as member on osx only in there
(21.59.01) cron2: hacky :-) but also less intrusive, and available everyhwere
(21.59.41) cron2: otoh quite in line with what is there today...
(21.59.44) cron2: struct tuntap_options { /* --ip-win32 options */ bool ip_win32_defined;
(22.00.34) syzzer: yes, it is not very pretty either, but 'struct tuntap' is basically the network stuff context anyway
(22.00.49) cron2: oh, this is so brilliant actually :-) - tuntap_options is fully inside #if defined(WIN32), and all other platforms have a MUCH simpler variant
(22.01.51) cron2: (tun.h)
(22.03.20) d12fk: || android ...
(22.03.27) d12fk: strange
(22.04.16) ***cron2 leaves that to plaisthos, but I think the underlying reason might be similar - lots of pushed dhcp-* etc. options work on android as well
(22.04.46) cron2: ah, specifically, the pushed dhcp-option stuff, which is stored in there
(22.04.46) plaisthos: d12fk: well, only windows parses the dhcp-options
(22.04.54) cron2: #if defined(WIN32) || defined(TARGET_ANDROID) else if (streq (p[0], "dhcp-option") && p[1])
(22.05.09) plaisthos: all other platforms relay on script and env stuff and parse the options in the script
(22.06.23) plaisthos: On Android I let OpenVPN parse that stuff and let OpenVPN decide on dns server
(22.06.23) plaisthos: just like on Windows
(22.07.16) d12fk: ah ok
(22.08.39) plaisthos: windows and android are simmilar in the regard that some strange alien thing (tap driver/android gui) configure the network :)
(22.09.17) d12fk: the HANDLE could be ifdef'd WIN32 in there again
(22.09.58) d12fk: syzzer: where's that mail you were talking about
(22.10.07) d12fk: must have missed it
(22.12.00) syzzer: it's from 14 dec
(22.13.45) syzzer: http://thread.gmane.org/gmane.network.openvpn.devel/9237
(22.13.48) vpnHelper: Title: Gmane Loom (at thread.gmane.org)
(22.14.15) cron2: that mail was actually a bit cryptic IIRC :)
(22.16.05) cron2: (and does not mention the tuntap idea)
(22.16.23) syzzer: yeah, I tend to do that... but that one wasn't that bad, was it?
(22.16.40) syzzer: no, I think I thought of that later on
(22.17.11) ***cron2 is absolutely thrilled by that idea - it will perfectly well transport the handle *and* avoids global *and* is quite in line with what we currently have :-)
(22.19.41) d12fk: ok i'll change the code accordingly
(22.20.39) mattock: how far into the patch are we now?
(22.21.02) cron2: mattock: we covered the bits that affect "common" code
(22.21.10) mattock: ah, nice!
(22.21.13) cron2: we didn't touch the actual windows specific bits at all yet :)
(22.21.18) mattock: ok :)
(22.21.35) mattock: just wondering if we should not even try to review all of it today, the patch is pretty huge
(22.21.40) mattock: we = you :)
(22.22.19) cron2: but that stuff is really quite modularized, so even if it were buggy (of course we assume its perfect) it will not affect non-windows builds or even windows without service handle (22.23.19) mattock: windows without service handle = ?
(22.23.28) syzzer: yeah, I want to at least have it running, and figure out how the permission stuff is working, but otherwise I'd actually vote to just get it in and improve it along the way if needed (22.24.01) roentgen ha abbandonato la stanza (quit: Remote host closed the connection).
(22.24.13) mattock: if we merge it into "master" then nobody will see it in practice until 2.4 release
(22.24.32) mattock: and I can start building "master" snapshot for Windows, which will include the interactive service
(22.25.02) syzzer: yes, that :)
(22.25.10) mattock: meaning we get some amount of live testing before the actual 2.4 release
(22.25.32) cron2: mattock: "classic windows - gui, no interactive service"
(22.25.38) mattock: cron2: ok
(22.25.50) mattock: how does one activate the interactive service?
(22.26.00) cron2: hehe
(22.26.05) pekster ha abbandonato la stanza (quit: Ping timeout: 265 seconds).
(22.26.09) cron2: I was just typing "some installer work will be needed to cover the service" :)
(22.26.23) mattock: achso
(22.26.34) mattock: "some" = "tons"? :P
(22.26.49) roentgen [~none@openvpn/community/support/roentgen] è entrato nella stanza.
(22.26.49) modalità (+v roentgen) da ChanServ
(22.26.50) mattock: some is no problem
(22.28.06) d12fk: mattock: only thing is you have to start the interactive service instead of the classic one
(22.28.16) d12fk: installation is done by the current command
(22.28.27) d12fk: it the two services in one binary
(22.28.50) d12fk: when the interactive one is started it is used by the gui
(22.28.54) d12fk: if not, not
(22.29.07) syzzer: but how do I start it? how do I know what to pass to --msg-channel?
(22.29.12) mattock: is the currently available GUI patched for interactive service?
(22.29.22) d12fk: mattock: yes
(22.29.27) mattock: nice!
(22.29.53) d12fk: syzzer: just start it and the gui will take care, the service itself will pass the respective option to openvpn
(22.30.05) cron2: d12fk: in tun.c, do_address_service(), AF_INET - this confuses me a bit, why is netbits always 32?
(22.30.24) syzzer: d12fk: ah, good. so I need to figure out how to build the gui then :p
(22.30.41) syzzer: d12fk: could you maybe add --msg-channel to the man page, and the option descriptions in options.c ?
(22.31.36) d12fk: cron2: because this one sets the adapter address
(22.32.03) cron2: d12fk: how is the subnet mask set?
(22.32.05) mattock: syzzer: you can build the gui with openvpn-build, if you have that setup
(22.32.24) d12fk: syzzer: should be document it there? it's nothing users really use
(22.32.37) ***cron2 can't find the call to do_address_service() for AF_INET anyway
(22.34.28) d12fk: cron2: ah subnet mode probably didnt have that on my screen while writing the code
(22.35.15) syzzer: d12fk: you do have a point there, but I think it should be documented somewhere
(22.35.16) cron2: d12fk: I could argue that on windows, there is nothing but subnet mode :)
(22.35.51) cron2: d12fk: seems the "set ipv4 address + netmask" bits are not there yet :-) - relying on DHCP always
(22.36.12) d12fk: it's on my list now anyways
(22.36.20) cron2: thanks
(22.37.40) ***cron2 has not looked at the changes to the service yet, but the other changes to the openvpn src tree look good to me - so "ACK with the discussed changes" :-)
(22.38.15) d12fk: i'll commit the canges to the repo, do you insist on one single commit while reviewing
(22.38.22) mattock: so the consensus is: "common bits with proposed modifications -> ACK"
(22.38.38) mattock: and also "merge into master and improve if bugs are found"?
(22.38.55) d12fk: i think we should not merge into master yet
(22.39.30) d12fk: if you need to build i can rebase to master until the feature is totally acked
(22.39.48) d12fk: but then your clone breaks of course
(22.39.48) mattock: ah, ok, so it does not even merge cleanly at this point
(22.40.04) d12fk: it might
(22.40.16) cron2: d12fk: for reviewing the impact on existing openvpn code, actually a single commit would be good (because otherwise we have one commit adding tons of *o and then another getting rid of them again) (22.40.21) d12fk: think i based it on a recent commit before our meeting
(22.41.02) d12fk: well for that we can produce a single one when we're satisfied with the branch
(22.41.06) pekster [~rewt@openvpn/community/support/pekster] è entrato nella stanza.
(22.41.06) modalità (+o pekster) da ChanServ
(22.41.06) syzzer: I did not had much issues when applying iirc
(22.41.24) syzzer: I have a version based on master in my tree, which I could publish to github if that makes sense
(22.41.25) cron2: chances are good that it will merge nicely as we didn't change anything in route.* or tun.* recently
(22.43.01) d12fk: i think the way options are passed to the service could use some eyeballs
(22.43.26) harshar [[email protected]] è entrato nella stanza.
(22.43.39) cron2: d12fk: we could use a primer on how this works in general, and what to look for :)
(22.43.40) d12fk: cureently it's a \0 terminated list due to lack of other ideas
(22.43.51) ***cron2 has NO ideas how windows services work
(22.44.32) d12fk: that's not the interesting part really. once it runs it listens for commands on a named pipe
(22.45.26) d12fk: so for reviewing the actual worker code knowledge of threads, asyc IO and IPC are needed rather
(22.46.03) d12fk: so everything in interactive.c is rather service agnostic code
(22.46.48) d12fk: do we support XP in 2.4?
(22.47.02) cron2: not with the iservice
(22.47.21) syzzer: d12fk: I think we settles for now, because it would lead to nasty code in the interactive service
(22.47.23) cron2: XP users can run gui+openvpn.exe without service
(22.47.30) syzzer: *settled for no
(22.47.31) mattock: maybe we should get James to review the worker code?
(22.47.58) mattock: next week or so maybe
(22.48.46) ***cron2 has no time next week, but as I'm not a windows/thread/... expert, don't let that stop you?
(22.50.02) syzzer: I have time next week, but my calender it quite full, so I might not find the time to look into it further before then
(22.50.43) mattock: I'll ask James if he could attend next Monday
(22.50.47) mattock: d12fk: what about you?
(22.51.18) d12fk: problem is that the service will not even start if there are symbols linked that XP doesn't have
(22.51.45) d12fk: mattock: should work out for me
(22.51.52) mattock: d12fk: ok
(22.51.56) syzzer: d12fk: but the service is not needed for the gui to work, right/
(22.52.07) cron2: d12fk: "we don't care". If someone insists on using service+xp, they can use 2.3
(22.52.10) d12fk: nope, but if the installer tries to start it...
(22.52.17) mattock: cron2: +1
(22.52.32) d12fk: then the installer need to check if XP and not start/install the service there
(22.52.33) cron2: (or use the other service alternative that was just proposed, which actually seems to work more robust anyway)
(22.52.35) mattock: winxp has been obsolete for a while, and 2.3 will still work
(22.52.42) syzzer: I guess the installer should just not install the service on XP
(22.52.58) cron2: XP -> old tap driver, no service
(22.53.03) d12fk: ok
(22.53.05) mattock: another good point
(22.53.06) cron2: Vista and up -> new tap driver, new service
(22.53.15) d12fk: i'll remove the XP cruft then
(22.53.20) mattock: let's forget about Windows XP for 2.4
(22.53.22) cron2: +1
(22.53.26) syzzer: ack
(22.53.49) d12fk: in XP you don't need the servie anyway
(22.53.53) cron2: it will not be a major loss anyway, as XP has no privilege separation anyway
(22.53.57) cron2: what he said :)
(22.54.05) d12fk: =)
(22.54.18) d12fk: ok i'll drop out then
(22.54.29) cron2: good night :)
(22.54.30) cron2: (I
(22.54.31) d12fk: cu next monday latest
(22.54.41) cron2: I'll be sitting in a bus next monday, let's see how good their Internet works!
(22.54.48) mattock: good night guys!
(22.54.54) syzzer: good night!
(22.54.55) d12fk: night
(22.56.10) segoon: now http://thread.gmane.org/gmane.network.openvpn.devel/9392 i guess :)
(22.56.11) vpnHelper: Title: Gmane Loom (at thread.gmane.org)
(22.56.31) syzzer: yes, let's review that too :p
(22.58.19) syzzer: segoon: you've been hiding good until now
(22.58.35) syzzer: just to make sure - you are the author, right?
(22.58.37) harshar ha abbandonato la stanza (quit: Ping timeout: 264 seconds).
(22.58.41) segoon: yep
(22.58.55) syzzer: I'm not sure if plaisthos is still around
(23.00.34) segoon: uh, stupid mistake
(23.01.03) segoon: I returned from afk when 1st question was discussed, didn't want to break it
(23.01.07) plaisthos: oh sorry
(23.01.10) plaisthos: was afk
(23.01.51) syzzer: segoon: yeah, that first question took a bit longer than expected...
(23.02.50) mattock: segoon: the first topic was a bit heavy

#5 lore raw

[Openvpn-devel] Summary of the IRC meeting (19th Jan 2015)

In reply to Samuli Seppänen

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Here's the summary of the previous IRC meeting.

- ---

COMMUNITY MEETING

Place: #openvpn-devel on irc.freenode.net
Date: Monday 19th Jan 2015
Time: 20:00 CET (19:00 UTC)

Planned meeting topics for this meeting were on this page:

<https://community.openvpn.net/openvpn/wiki/Topics-2015-01-19>

Next meeting has not been scheduled but will be on the same weekday and time. Your local meeting time is easy to check from services such as

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

SUMMARY

cron2, d12fk, jamesyonan, mattock. novaflash, plaisthos and segoon participated in this meeting.

- ---

Discussed the "​Mac OS X Keychain management client" patch:

<http://thread.gmane.org/gmane.network.openvpn.devel/9392>

Some technical changes to the patch are required. Segoon will make the changes after which the patch is reviewed again.

- ---

Discussed the "​Make OpenVPN set routes on Windows Vista and later" patch:

<http://sourceforge.net/p/openvpn-gui/openvpn/ci/8195efc0d8841b52217643a43d486cda2e171fea>

The changes that affect non-Windows platforms were approved (with some changes) last week. This week the Windows-specific parts (mostly interactive.c) were partially reviewed. So far no outstanding issues were found.

Review will continue as soon as possible - possibly next Monday.

- ---

Full chatlog is attached.

- --
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc

irc freenode net: mattock

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlS9cmgACgkQwp2X7RmNIqNEaQCg0NWa36I9D6YkLuWssxr27IL6 AucAoLfEyZRCIiVTyA7VnYBCoGvvy2Xh
=Xb0e
-----END PGP SIGNATURE-----

(20.50.37) segoon: hi, I'm the author of keychain patch
(20.53.39) mattock_: hi!
(20.54.30) mattock_: 6 minutes and we go live
(21.01.20) mattock_: okay
(21.01.38) plaisthos: I am here
(21.01.48) mattock_: hi plaisthos!
(21.01.55) mattock_: who else?
(21.03.19) mattock: jamesyonan, d12fk, cron2?
(21.03.40) jamesyonan: hi guys
(21.04.47) Envil [[email protected]] è entrato nella stanza.
(21.04.52) d12fk: hi
(21.06.12) mattock_ ha abbandonato la stanza (quit: Ping timeout: 244 seconds).
(21.06.37) mattock: hi
(21.06.44) mattock: let's start
(21.06.55) mattock: cron2 might join us if his connectivity on the train is good enough
(21.07.32) mattock: topics here: https://community.openvpn.net/openvpn/wiki/Topics-2015-01-19
(21.07.34) vpnHelper: Title: Topics-2015-01-19 – OpenVPN Community (at community.openvpn.net)
(21.07.49) mattock: first topic is segoon's "Mac OS X Keychain management client"
(21.07.56) mattock: second version of the keychain patch
(21.08.15) mattock: we simply did not have time to review this last week, so now it's topic #1
(21.13.28) mattock: plaisthos, jamesyonan: any thoughts?
(21.13.46) mattock: http://thread.gmane.org/gmane.network.openvpn.devel/9392
(21.13.49) vpnHelper: Title: Gmane Loom (at thread.gmane.org)
(21.14.41) jamesyonan: segoon: so does this iteration of the patch query the management interface to do the RSA signing?
(21.15.34) segoon: jamesyonan: right
(21.22.28) mattock: jamesyonan: how does that patch look?
(21.22.49) jamesyonan: looking at it now -- seems okay
(21.23.13) mattock: ACKable?
(21.23.22) jamesyonan: so you've added management-external-cert directive as well
(21.23.42) segoon: yes
(21.24.00) segoon: it would look better if it looked like rsa-sign
(21.24.13) segoon: (multiline argument)
(21.24.31) jamesyonan: how is the client certificate actually selected from the keychain?
(21.24.43) segoon: but I hesitated to add specific cmd for that
(21.24.56) segoon: absolutely the same way as in the first revision of the patch
(21.25.45) jamesyonan: so the config file has to identity the cert?
(21.25.57) segoon: look at findIdentity(): SecItemCopyMatching()+SecIdentityCopyCertificate()
(21.26.19) segoon: what do you mean by 'config file'?
(21.26.38) jamesyonan: openvpn config file
(21.27.04) AnCron [~gert@openvpn/community/developer/cron2] è entrato nella stanza.
(21.27.04) modalità (+o AnCron) da ChanServ
(21.27.24) segoon: I've implemented keychain stuff as an external daemon, cert template is passed as a cmdline arg
(21.27.29) mattock: AnCron: welcome :)
(21.27.50) segoon: if you run it automatically when openvpn is started then yes, config contains this cert template string
(21.28.12) AnCron: Whee, this works :)
(21.28.16) mattock: yep
(21.28.41) mattock: we've been discussing the MacOS X keychain patch:
(21.28.41) mattock: http://thread.gmane.org/gmane.network.openvpn.devel/9392
(21.28.43) vpnHelper: Title: Gmane Loom (at thread.gmane.org)
(21.32.11) jamesyonan: So when keychain-mcd is doing the SecItemCopyMatching to find the identity, what criteria is it using, i.e. how is the identity configured?
(21.35.05) segoon: user passes an identity template, like 'subject:c=ru'
(21.35.25) segoon: findIdentity() iterates over all identities and tries to match this template with current identity
(21.35.59) segoon: if >0 identities are matched, then the freshest identity is chosed
(21.36.02) segoon: *chosen
(21.36.43) segoon: if no identity matches the template, it is an error, obviously
(21.36.50) jamesyonan: For example, if I'm implementing a UI, I might want to show the user a list of possible identities and allow them to choose one
(21.37.35) jamesyonan: that UI would then need to interact with keychain-mcd in some way to do this?
(21.37.50) segoon: I think UI can iterate over all identities itself and choose any identity, save its SHA hash and pass it to keychain-mcd as a template
(21.38.22) segoon: MD5 or SHA1 hash
(21.38.48) segoon: via 'SHA1: 30 F7 3A ...' or "MD5: D5 F5 11...' template
(21.38.55) jamesyonan: so UI could choose a specific identity from keychain and then pass it to keychain-mcd using its hash?
(21.39.39) segoon: right, it is possible to choose a specific identity by its hash, serial number or any other unique property
(21.40.31) segoon: or, alternatively, user is able to choose an identity by subject:cn= and issuer:*anything*
(21.42.22) AnCron ha abbandonato la stanza (quit: Ping timeout: 240 seconds).
(21.43.08) jamesyonan: a couple more points… looking at cert_to_pem function. I'm not very comfortable with too much arithmetic in the size argument of malloc that, if wrong, might generate a buffer overflow later on.
(21.43.53) jamesyonan: can you use some kind of wrapper when constructing the string that guarantees that no buffer overflow can occur, such as by using struct buffer?
(21.45.09) jamesyonan: I think that's better than writing to a buffer without constraint, on the assumption that the size parameter passed to malloc is exactly correct
(21.45.10) segoon: yes, it would look much better
(21.47.27) jamesyonan: another thing: you've bumped up USER_PASS_LEN from 128 to 12800 -- that's quite a large increase.
(21.47.52) segoon: right, that's one thing that I'm not proud of
(21.48.05) segoon: I'd prefer a kind of dynamic buffer
(21.48.42) jamesyonan: agreed -- dynamic buffer would be better
(21.49.10) jamesyonan: why did you need to increase it so much?
(21.49.44) segoon: or -- moving from needok cmd to something else that doesn't use struct user_pass
(21.50.14) segoon: 12800 is an arbitrary number, but the old limit was too low for certificate passing
(21.50.46) segoon: certificate is passed as base64-encoded string, in a second argument of needok
(21.51.03) segoon: needok cert big-string
(21.51.05) jamesyonan: you also increased OPTION_PARM_SIZE quite a bit
(21.51.17) segoon: right, I had to increase several limits
(21.51.50) jamesyonan: all of these will negatively affect memory consumption even in cases where your code is not used
(21.52.50) segoon: I tried to find anything with no hardcoded data limit like rsa-sign, but failed
(21.53.09) segoon: rsa-sign is quite nonextendable to other usages
(21.53.42) segoon: rsa-sign's format is ideal for me -- the same big base64 string divided into multiple lines
(21.57.25) jamesyonan: so you are actually transmitting full certs via user/pass struct?
(21.57.55) segoon: yes
(21.58.27) jamesyonan: why not just transmit the fingerprint?
(21.58.47) segoon: for what?
(21.59.03) segoon: to make it possible for openvpn to obtain the cert from keychain?
(22.00.02) segoon: the thing is that keychain query is 80% of the code
(22.00.18) jamesyonan: I think I see -- you need the whole cert for managment-query-cert not just for cert selection?
(22.00.46) jamesyonan: there are existing pathways in the management interface for dealing with multi-line queries
(22.02.05) jamesyonan: for example client-auth and client-pf are multi-line queries
(22.02.56) ender` [krneki@2a01:260:4094:1:42:42:42:42] è entrato nella stanza.
(22.03.17) jamesyonan: it just seems wrong to expand USER_PASS_LEN by 100x because you want to pass new data types that are not really user/pass data.
(22.04.12) segoon: agreed, I looked at Android stuff, it uses user_pass but the param length was very short
(22.04.16) segoon: looking into client-auth..
(22.04.53) ender| ha abbandonato la stanza (quit: Ping timeout: 272 seconds).
(22.09.28) segoon: I don't fully understand how params are passed, simply via p[]?
(22.09.45) segoon: up to 'END' line, right?
(22.11.03) segoon: no, I'm wrong
(22.13.42) segoon: ah, callback is called for each line until man->connection.in_extra == NULL
(22.14.06) jamesyonan: see #ifdef MANAGEMENT_IN_EXTRA stuff
(22.16.04) segoon: yes, it is much simplier than current approach
(22.16.27) segoon: but it need another command type
(22.17.41) segoon: like 'NEED-CERT' as a server request and 'certificate' as client answer
(22.17.55) jamesyonan: I think it would be cleaner to add another command type because passing certs in the managment interface isn't something we've done before
(22.18.18) jamesyonan: agreed, NEED-CERT seems like a better approach
(22.18.27) segoon: I like the idea
(22.19.16) segoon: in this case no limits (line, param, pass, etc.) should be increased
(22.19.42) segoon: I'll fix this in the next patch version
(22.19.58) jamesyonan: okay, sounds good
(22.20.22) segoon: any other questions to discuss?
(22.21.00) jamesyonan: no, I think we can move on
(22.21.10) mattock: ok :)
(22.21.12) mattock: good discussion
(22.21.22) mattock: d12fk: still there?
(22.21.29) segoon: okay, thank you for the critique
(22.21.30) d12fk: jup
(22.21.39) mattock: segoon: good you could make it!
(22.21.48) mattock: http://thread.gmane.org/gmane.network.openvpn.devel/9237
(22.21.50) vpnHelper: Title: Gmane Loom (at thread.gmane.org)
(22.21.55) cron2: +1
(22.22.21) mattock: jamesyonan: as I mentioned, d12fk's patch was reviewed except for the Windows-specific bits
(22.22.22) segoon: good night everybody
(22.22.27) mattock: good night!
(22.22.31) d12fk: night
(22.22.53) mattock: so now we'd need to have a look at the Windows part
(22.23.30) segoon ha abbandonato la stanza (quit: Quit: WeeChat 0.3.7).
(22.24.43) d12fk: jamesyonan: mostly what's happening in interactive.c
(22.26.04) jamesyonan: do you have a link to the latest patch?
(22.27.51) d12fk: do you want the code or a patch (patch is huge)
(22.28.12) jamesyonan: patch is fine
(22.28.28) d12fk: http://sourceforge.net/p/openvpn-gui/openvpn/ci/8195efc0d8841b52217643a43d486cda2e171fea/
(22.30.50) jamesyonan: how do you ensure that the pipe can't be hijacked by another process?
(22.31.46) d12fk: do you mean the pipe between the service and openvpn?
(22.31.56) jamesyonan: yeah
(22.32.41) d12fk: let me check, it has been a while
(22.34.12) cron2: iirc user access rights
(22.35.57) novaflash: NO WAY
(22.36.06) novaflash: this was totally a coincidence
(22.36.20) novaflash: but i'm glad to see the admin rights issue is on the table :-D
(22.36.46) jamesyonan: for example, could a rogue process impersonate openvpn.exe and get the service to do stuff that would normally not be allowed for non-admin processes to do, like add a default route to the routing table?
(22.37.07) mattock: novaflash is referring to a feature request he just made to me, without knowing anything about d12fk's patch :)
(22.37.15) novaflash: amazing coincidence
(22.37.28) d12fk: the handle for the pipe is inherited by the child process (openvpn) and ovpn duplicates it so it so it can use it. other processes cannot duplicate the handle because they cannot access openvpn's memory
(22.38.19) d12fk: the trick is that ovpn is run as the user that requested it to run, but the process owner is the service
(22.38.19) cron2: anonymous pipe
(22.38.53) d12fk: so no one but the system user can modify the DACL
(22.38.56) jamesyonan: so the service actually spawns openvpn.exe but impersonating the creds of the UI client?
(22.39.12) d12fk: yes
(22.39.52) jamesyonan: do you check that openvpn.exe cannot have been moved or modified by non-admin user?
(22.40.59) d12fk: no currently i trust that ProgramFiles\* is not modifyable by users (it is by default)
(22.42.02) mattock: d12fk: or "Program Files (x86)" I presume?
(22.42.21) d12fk: mattock: depends on how you built it =P
(22.43.05) cron2: ok, i'm off again... bus arriving, go find hotel
(22.43.19) d12fk: bye
(22.43.23) mattock: cron2: bye!
(22.43.59) novaflash: for a guy with the nickname for a scheduling program, he has bad timing
(22.44.22) cron2: :-P
(22.48.47) mattock: jamesyonan: reviewing the patch?
(22.49.00) mattock: reading I mean
(22.49.28) jamesyonan: I assume you're aware of the popular CreateProcess vulnerability where if you forget to quote the exe path, you can end up executing c:\Program.exe ?
(22.49.42) jamesyonan: yes, so far the patch looks fine
(22.49.49) mattock: great!
(22.50.21) mattock: I will have to check out in 10 minutes, but my presence is hardly necessary
(22.52.13) d12fk: jamesyonan: not sur what you are refering to but i've read the man page back then and made sure all the pitfalls do not apply
(22.52.33) jamesyonan: I've gotta run too -- so far patch looks good, though.
(22.52.33) d12fk: *msdn page
(22.52.50) jamesyonan: what are the specific changes you wanted me to review wrt. windows routing?
(22.52.54) d12fk: yes keep on reviewin in silent moments and we talk again another monday
(22.53.05) mattock: next monday I hope
(22.53.12) mattock: so that we don't forget the details
(22.53.32) novaflash: d12fk: basically, if you do something like: start c:\program files (x86)\openvpn client\bin\openvpngui.exe, and you have a file called program.exe in c:\, then it will run that instead of assuming it should go to the folder and run the program in that folder. that's the vulnerability. the solution is to enclose with quotes. (22.53.56) jamesyonan: CreateProcess has a well-known vulnerability if you don't quote exe names that have spaces, as most Program Files exe names do
(22.54.33) jamesyonan: ok, sound good
(22.54.39) d12fk: but you have to quote c strings anyway. dont get it...
(22.54.51) jamesyonan: no, quote inside a quote
(22.55.20) jamesyonan: If I called CreateProcess with c:\program files\fooapp
(22.55.22) novaflash: d12fk: i was oversimplying things but createprocess has a bug/vulnerability in it that leaves out the quotes you put around it, treating your quoted input as unquoted
(22.55.50) jamesyonan: then c:\program.exe would be executed if it exists
(22.56.08) d12fk: was that appying to the unicode version of it?
(22.56.15) jamesyonan: not sure
(22.56.18) novaflash: iunno
(22.57.07) d12fk: it's years ago i wrote that code. i'll check the docs again
(22.59.56) d12fk: ah it only appies if the first param id NULL and you have the path to the binary in the second arg
(23.00.02) d12fk: *applies
(23.00.32) d12fk: The lpApplicationName parameter can be NULL. In that case, the module name must be the first white space–delimited token in the lpCommandLine string. If you are using a long file name that contains a space, use quoted strings to indicate where the file name ends and the arguments begin; otherwise, the file name is ambiguous. (23.00.59) d12fk: not doing anything that dirty
(23.03.31) krzee: o/
(23.04.11) mattock: ok guys, let's try to resume the review next month
(23.04.18) d12fk: k
(23.04.26) mattock: sorry, next _week_ :P
(23.04.33) mattock: we will eventually get this merged

#6 lore raw

[Openvpn-devel] Summary of the IRC meeting (2nd Feb 2015)

In reply to Samuli Seppänen

Hi,

Here's the summary of the previous IRC meeting.

---

COMMUNITY MEETING

Place: #openvpn-devel on irc.freenode.net
Date: Monday 2nd Feb 2015
Time: 20:00 CET (19:00 UTC)

Planned meeting topics for this meeting were on this page:

<https://community.openvpn.net/openvpn/wiki/Topics-2015-02-02>

Next meeting has not been scheduled but will be on the same weekday and time. Your local meeting time is easy to check from services such as

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

SUMMARY

cron2, d12fk, lev, jamesyonan, mattock and segoon participated in this meeting.

---

Discussed the "​Mac OS X Keychain management client" (v3) patch:

<http://thread.gmane.org/gmane.network.openvpn.devel/9421>

The patch was given an ACK by jamesyonan on the condition that the changes affecting existing codebase are tested on Android. We will ask if plaisthos could help with the testing.

---

Discussed the "​Make OpenVPN set routes on Windows Vista and later" patch:

<http://sourceforge.net/p/openvpn-gui/openvpn/ci/8195efc0d8841b52217643a43d486cda2e171fea>

Jamesyonan agreed the general approach used in interactive.c is the best one. Although some potential improvements were identified, the patch was given an ACK by cron2 in order to get it into the wild in form of Git "master" Windows snapshots. Incremental improvements will be made based on user feedback and practical tests.

---

Discussed the "Account for peer-id in frame size calculation" patch:

<http://thread.gmane.org/gmane.network.openvpn.devel/9418>

Decided to delay the link-mtu calculation until after options have received. This fixes the issue at hand and should not bring up new surprises. More discussion is needed to figure out the best long-term plan regarding protocol negotiations in general.

---

Full chatlog is attached.

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

irc freenode net: mattock

(19.47.01) d12fk: mattock: yes I can stick around
(20.19.45) segoon [[email protected]] è entrato nella stanza.
(20.19.57) segoon: hi
(20.58.11) mattock: hi guys
(20.58.25) mattock: and james is here also
(20.58.31) cron2: ho!
(21.00.38) mattock: topic list: https://community.openvpn.net/openvpn/wiki/Topics-2015-02-02
(21.00.39) vpnHelper: Title: Topics-2015-02-02 – OpenVPN Community (at community.openvpn.net)
(21.00.58) mattock: is the topic order ok for everyone?
(21.01.05) mattock: anything to add to the agenda?
(21.01.20) cron2: wfm
(21.02.35) mattock: in english? :P
(21.02.41) cron2: works for me
(21.02.48) mattock: ah :)
(21.03.00) mattock: so first topic: "​Mac OS X Keychain management client (v3)"
(21.03.16) mattock: does this one get an ACK from somebody?
(21.03.32) mattock: http://thread.gmane.org/gmane.network.openvpn.devel/9421
(21.03.35) vpnHelper: Title: Gmane Loom (at thread.gmane.org)
(21.04.53) d12fk: hi
(21.05.13) segoon: nope, and i'm afraid it got no comments
(21.05.32) segoon: I hope it is kind of "no objections" :)
(21.05.35) mattock: hi d12fk!
(21.05.40) mattock: yeah, I hope so too
(21.05.56) cron2: segoon: unfortunately, more "nobody reviewed it yet"
(21.07.49) mattock: jamesyonan: any thoughts on the v3 of the MacOS X keychain patch?
(21.08.13) jamesyonan: it's going to take me a while to digest this all
(21.09.02) jamesyonan: but overall I think the NEED-CERTIFICATE approach is a big improvement
(21.10.04) d12fk: i can stay until until 2100h, need to get sleep. superbowl took 4 hour of my night
(21.10.19) mattock: d12fk: 50 minutes?
(21.10.28) cron2: segoon: it's more intrusive than I expected, so I can't say "good" or "no good" on this easily. The direction looks good.
(21.10.35) d12fk: mattock: roughly
(21.10.37) mattock: ok
(21.11.17) segoon: cron2: I tried to group all similar stuff from existing code and my code to limit code duplication
(21.11.35) segoon: all changes to existing code should be rather simple
(21.12.14) cron2: segoon: yes, but it's code paths that I'm absolutely not familiar with, so I do not feel comfortable judging this off-hand
(21.12.24) cron2: (the networking paths, I would :) )
(21.16.20) jamesyonan: what is the rationale for buffer_list_aggregate_separator?
(21.18.48) segoon: it shrinks a list to a string adding "\n" between list items
(21.18.57) segoon: like "\n".join(list)
(21.19.05) segoon: (I use it this way)
(21.19.27) jamesyonan: why did we not need it before but we need it now?
(21.21.04) segoon: I joined char** manually which is error-prone
(21.21.33) segoon: I was told to use buffer API for such kind of actions
(21.21.46) jamesyonan: right
(21.24.30) jamesyonan: so it looks like you wrote a more general management_query_multiline_flatten and then refactored some existing functions like management_query_rsa_sig to use it
(21.24.45) segoon: right
(21.25.32) jamesyonan: how much testing did you do on this and buffer_list_aggregate refactor to ensure that there's no breakage of existing code that uses these methods?
(21.27.38) segoon: well, I started openvpn with and without keychain, pushed data via tunnel
(21.28.37) jamesyonan: did anyone test this with Android to ensure that there's no breakage caused by the refactoring?
(21.28.38) segoon: I haven't tested buffer_list_aggregate specifially
(21.29.26) mattock: plaisthos: ^^^
(21.32.45) mattock: jamesyonan: so android in particular could have issues?
(21.32.57) cron2: mattock: plaisthos said he has no time today
(21.33.05) mattock: ok
(21.33.24) jamesyonan: well android uses the external PKI methods, so it uses some of the same code that was refactored
(21.33.33) jamesyonan: I think it would make sense to test that
(21.33.34) mattock: so it would be good test
(21.33.49) mattock: we could ask plaisthos to do some testing
(21.33.57) mattock: what in particular would need to be tested?
(21.35.13) jamesyonan: overall the patch looks good -- the issues I had last time have been largely resolved, but I think the refactors justify more testing, especially of code that exercises the refactored functions
(21.35.39) mattock: excellent!
(21.36.07) mattock: so provided nothing breaks it's an ACK?
(21.36.25) jamesyonan: yes
(21.36.44) mattock: so some work for plaisthos and we're done :)
(21.37.03) segoon: great!
(21.37.06) jamesyonan: who else has acked this so far?
(21.37.13) mattock: nobody
(21.37.17) mattock: as a whole, at least
(21.37.43) cron2: we gave segoon guidance how we want this to look like (so, feature-wise I think we agree on this), but nothing code-wise yet
(21.41.53) mattock: shall we move on?
(21.42.05) mattock: d12fk needs to split soon
(21.44.24) cron2: d12fk: did you find time to revamp the openvpn side to use tuntap_options?
(21.44.45) d12fk: nope not yet
(21.45.12) d12fk: i have to notes from two week stored safly on disk =)
(21.48.42) mattock: where did stop two weeks ago?
(21.48.59) d12fk: right before the windows service
(21.49.00) mattock: didn't we get the windows-specific bits partially reviewd?
(21.49.01) mattock: ok
(21.49.29) cron2: I think we agreed (three weeks ago?) on using tuntap_options for the pipe id, and I think james and d12fk did some discussion on the service architecture two weeks ago
(21.50.11) cron2: but i have no idea what the next steps should be - I'm fine merging the amended openvpn code, because that's pretty self-contained (so, future-ACK here :) )
(21.50.58) d12fk: yeah the service could use some review as well
(21.51.22) cron2: do we all agree on the general architecture? Jamesyonan?
(21.51.36) mattock: a very brief summary of the previous meeting here: https://sourceforge.net/p/openvpn/mailman/message/33244201/
(21.51.37) vpnHelper: Title: OpenVPN / Mailing Lists (at sourceforge.net)
(21.51.41) mattock: nothing technical, though
(21.51.57) mattock: (gmane seems to be dropping quite a lot of messages, like that one)
(21.57.07) jamesyonan: I think this is the right approach for Windows, i.e. using a Windows pipe and have the server "impersonate" the credentials of the client
(22.00.46) mattock: what about the windows service code itself?
(22.00.52) mattock: any comments?
(22.01.26) d12fk: i personally don't like how the parametrs are passed from the gui to the service
(22.03.41) cron2: if I remember right, it's 0-separated strings passed along a pipe?
(22.03.47) d12fk: yes
(22.04.33) cron2: can a windows filename include 0-bytes (due to character encoding)?
(22.04.37) d12fk: the the command line params are just the string. I would rather have a tlv list so that only predefined options are allowed to be passed. easier to lock down
(22.05.35) cron2: so that would just be "--config $there"? What other arguments are passed (maybe --setenv IV_GUI_VER ...)?
(22.05.51) d12fk: cron2: no, it it's wide chars it's still 0x0041 and not 0x0000
(22.06.14) cron2: d12fk: ah, so it's *all* wide chars and you parse it as wide only
(22.06.22) d12fk: yes
(22.06.30) cron2: (this is what I hate about UTF8 - variable length surprises)
(22.07.19) cron2: so, what options do you pass? haven't looked into the gui code yet
(22.07.20) d12fk: ... but never 0
(22.07.37) cron2: ok, good :)
(22.07.40) d12fk: all kinds of stuff. mgmt itf things
(22.08.02) d12fk: proxy config
(22.08.32) cron2: oh, so gui fetches windows system proxy settings and uses that?
(22.10.10) d12fk: http://sourceforge.net/p/openvpn-gui/code/ci/master/tree/openvpn.c#l685
(22.10.12) vpnHelper: Title: OpenVPN GUI / OpenVPN-GUI / [a449f6] /openvpn.c (at sourceforge.net)
(22.10.27) cron2: thanks
(22.10.43) d12fk: yes, it passes the mgmt itf option so proxy info is queried during rnutime
(22.12.03) d12fk: currently you could also pass --route and defeat the purpose of the service
(22.12.21) d12fk: at least all the security wizardry
(22.13.04) cron2: well, you can also put --route into your .ovpn (unless you lock that one down, which I understand is an option depending on installation)
(22.13.39) d12fk: in general it is under program files which is read only in later windows versions
(22.13.45) cron2: well, you could certainly go TLV here, it's only a handful of flags, basically the variables in line 686-692 plus managge-password
(22.14.11) d12fk: yes that would make it more robust
(22.15.40) cron2: I'm not sure I grok the code, though
(22.15.46) cron2: you build "cmdline" (line 686)
(22.16.14) cron2: *if* service pipe succeeds, you build startup_info, which only has manage info + config dir in it
(22.16.31) cron2: and only startup_info is sent to the pipe
(22.16.35) cron2: or am I misreading that?
(22.16.58) cron2: ok, found it - "options" = "cmdline +8"
(22.18.16) cron2: so, going for TLV would be more robust against local attackers trying to mess up routing via help of openvpn + openvpn service but not having a server to help them with that
(22.18.36) cron2: (but having a valid .ovpn in place, because if openvpn can't connect it won't set up routes either)
(22.19.10) cron2: I'd call that pretty obscure :-) - but robust is good, if we can get this actually done... So how's your available time?
(22.19.31) d12fk: not so good currently
(22.20.07) cron2: so maybe we should go for "merge what we have + amendments, and the incrementally make it better, while people can start testing and breaking it with git-master-on-windows snapshots"?
(22.20.44) mattock: sounds good to me
(22.20.59) mattock: as long the code is in snapshots and git master only, there's not that much of a risk
(22.23.26) mattock: also, the "no need for admin privs on Windows" is probably good enough motivator for people to actually use the snapshots
(22.23.35) mattock: usually they would not bother
(22.25.44) cron2: d12fk: does that work for you?
(22.31.16) mattock: did sleep deprivation due to superbowl take him down?
(22.32.32) cron2: seems so :-) - let's tell him good night and continue another week (I would guess "kid woke up, dad has to go and cuddle" :) )
(22.32.39) mattock: yep
(22.33.04) mattock: did everyone else drop off already?
(22.33.18) lev__: how abt the mtu thing
(22.33.20) cron2: jamesyonan: you still around? The next one is really for you :)
(22.33.23) mattock: ah hi lev!
(22.33.33) cron2: lev__: exactly this
(22.33.58) jamesyonan: yes
(22.34.19) cron2: ok, let me summarize the issue quickly
(22.34.33) cron2: peer-id -> TPACKET_V2 increases packet overhead by 3 bytes
(22.34.42) cron2: (we all knew this)
(22.35.36) cron2: we overlooked to change the MTU / overhead calculation inside OpenVPN to take this into account, aka "make the buffers big enough". Syzzer discovered that uncompressed/non-compressible full-1500 byte packets would get dropped, sent a patch, I merged it. Patch here:
(22.35.40) cron2: http://thread.gmane.org/gmane.network.openvpn.devel/9418
(22.35.42) vpnHelper: Title: Gmane Loom (at thread.gmane.org)
(22.36.05) cron2: this is all logical and straight forward, but now something came up that we need to decide on a strategy
(22.36.52) cron2: we have --tun-mtu and --link-mtu inside OpenVPN. --link-mtu can be set via command line, or, if not, is calculated as "--tun-mtu + (option-dependent) overhead" (like, compression adds +1 for the compression opcode)
(22.37.28) cron2: with syzzers patch, calculated --link-mtu goes up by +3 (to be expected), but now when talking to a server with --opt-verify, OCC check blows up
(22.37.44) d12fk: nope it's mother in law with windows problem =)
(22.37.50) d12fk: but yeah i'm ok
(22.38.42) jamesyonan: but wouldn't server need to do the same adjustment on its side so the link-mtu would be consistent?
(22.38.43) cron2: because one side sends --link-mtu 1542 and the other side has --link-mtu 1545
(22.39.06) cron2: yeah... *if* you talk "peer-id capable server to peer-id capable client"
(22.39.21) cron2: but if you have an old client -> new server, or new client -> old server --> boom
(22.39.54) cron2: when testing old<->new compatibility, we didn't have the mtu adjustment patch, so this didn't show up
(22.40.12) cron2: lev__: what did you do to your server? It's not mismatching anymore
(22.40.18) jamesyonan: I see what you're saying -- opt-verify is acting too soon, it needs to wait until after options push before the parameters that affect MTU are finalized
(22.40.46) lev__: cron2: let me check
(22.41.22) cron2: jamesyonan: this is one way to phrase it - right now, we have always increased the MTU by +3, not depending on peer-id
(22.41.57) cron2: so that would be one option to tackle it - when going to --opt-verify, use the TPACKET_V1 calculation, and adjust link-mtu +=3 if we receive a pushed option peer-id
(22.42.47) jamesyonan: actually in ovpn3 I had to disable opt-verify because ovpn3 does a lot more intensive negotiation (such as negotiatiing crypto mode) and some of these negotiations alter the MTU parameters
(22.43.26) jamesyonan: I think to fix these issues, opt-verify needs to be delayed
(22.43.32) lev__: cron2: I have an old version now without mtu patch
(22.43.55) cron2: that would work for *this* corner case (someone needs to code it and I have the suspicion that it's me), but what if a server pushes --link-mtu... oh, wait, that would actually work if we calculate this based on peer-id option set-or-not (so a new server would know what to expect, and an old server wouldn't see a difference) (22.45.47) jamesyonan: but opt-verify happens early, before the server has decided which options to push
(22.45.50) cron2: jamesyonan: I don't think we can easily do this, that is, delay OCC until after push/push-reply. There is a trac bug about some OpenVPN service providers that parse the opt-verify options to *build* the push-reply options in a way that they do option negotion... (22.46.18) cron2: that's it, today some servers depend on the order of things - so turning it around might cause larger incompatibilities
(22.47.26) jamesyonan: what if we have the server treat the OCC string the same way it treats the IV_ parameters, i.e. as a declaration of client capabilities
(22.48.07) jamesyonan: not something that needs to strictly match between peers
(22.49.16) lev__: would it make sense to send V2 packets only if they fit in MTU and V1 otherwise?
(22.49.56) jamesyonan: but a lot of packets wouldn't fit in MTU if even one byte was added
(22.50.32) cron2: jamesyonan: using it for negotiation seems to be what these people do, but it would break existing installations
(22.51.39) cron2: as for sending TPACKET_V2 - there's always ACKs and such which are small, so that could be done, but it would make it harder to decide "no more v1 packet support" one day
(22.52.43) jamesyonan: well I think that going forward, opt-verify and OCC need to evolve to deal with a higher level of negotiation. The question is how to structure a graceful upgrade path for this.
(22.53.04) cron2: yeah, that's basically the options I see - "revert syzzer's +3 patch, stick to the old link-mtu and if the packet does not fit, set V1", and "use the old-calculation link-mtu for OCC, and adjust to +3 later if peer-id is pushed"
(22.53.15) cron2: (and rework the whole thing long time :))
(22.53.29) cron2: I'm mostly worried about short time compatibility right now, without breaking long-term evolution
(22.57.30) jamesyonan: what if we deprecate OCC but provide compatibility by generating it based on default options, i.e. don't modify the OCC string based on MTU changes caused by negotiation such as proto V2?
(22.58.42) cron2: yes, this is what I had in mind - calculate "occ-transmitted" link-mtu based on default options, adjust later, use that for actual packet handling
(22.59.03) jamesyonan: right
(22.59.11) cron2: how do you do OCC in OpenVPN 3? "just do not send it at all"?
(22.59.53) jamesyonan: I do send it, but I generate it using default options, before any negotiation occurs.
(23.00.35) cron2: good, that sounds like a workable way forward. I'll do a patch for 2.x and test with lev__.
(23.01.31) cron2: one more question on this: if a .ovpn config has a --link-mtu setting in it, and both client and server get upgraded to peer-id capable versions, still using the same .ovpn, all of a sudden that would reduce the effective tun-mtu by -3 (hard upper bound, 3 bytes extra overhead) (23.02.21) cron2: question 1: how common is explicitely setting --link-mtu? q2: how should we deal with it? Just silently bump up --link-mtu, or put a warning ("peer-id has been pushed, you have a static --link-mtu in your config, except mtu issues! we told you so!")
(23.03.12) jamesyonan: can we not incur the 3 byte overhead of proto V2 if both client and server don't use it?
(23.03.58) cron2: the current implementation is "if the client can do it, always push peer-id <x> and turn it on", so there is no "optional" here
(23.04.45) lev__: so clients starting from 2.3.6 always push IV_PROTO 2
(23.05.06) jamesyonan: I sort of handle the 3-byte bloat issue with ovpn3 by only supporting proto V2 in conjunction with a bundle of other protocol enhancements that actually reduce the protocol overhead in aggregate
(23.05.51) cron2: how does that work?
(23.06.26) jamesyonan: ovpn3 basically supports proto v1 or v2 by negotiation
(23.07.18) jamesyonan: proto v2 in ovpn3 adds 4 byte opcode, AES-GCM, and compression V2
(23.08.21) jamesyonan: but AEAD mode (i.e. AES-GCM) saves so much overhead, that even adding the 3 byte overhead still results in a net reduction
(23.09.06) cron2: ah, so even if you get pushed "peer-id <x>", it won't enable v2 packets unless you also have AEAD mode
(23.10.04) jamesyonan: sort of -- the server won't push peer-id <x> unless the client supports all of the V2 protocol enhancements
(23.10.08) cron2: we can't do that for 2.3.x (won't receive AEAD too intrusive), but we could for 2.4...
(23.10.40) cron2: now that would need more work on the 2.x server side, which is very simple right now (IV_PROTO=2 -> push peer-id)
(23.11.10) cron2: and actually poses strategic questions for "how much of peer-id do we want (and can we get) into 2.3"
(23.11.29) segoon ha abbandonato la stanza (quit: Quit: WeeChat 0.3.7).
(23.12.45) cron2: (and it implies that having an iOS v3 client talk to a 2.4-to-be server it would find itself in the same situation - maybe no AEAD, but peer-id being pushed)
(23.13.17) jamesyonan: I know we discussed this in Munich, but I've come around to the opinion that it's better to have an all-or-nothing approach with respect to protocol extensions
(23.14.21) jamesyonan: rather than independently negotiate each extension
(23.15.29) cron2: I can see that argument. My counterargument is that I want to see a minimal peer-id implementation (client-side only) in 2.3.x, as that will be around for a very long time and should really have it - but we won't the bigger things like AEAD or crypto negotiation in there, as that's too intrusive (23.16.02) cron2: the client-side peer-id stuff is just a few lines of code (send IV_PROTO=2, understand peer-id option, accept and generate TPACKET_v2 packets)
(23.17.20) jamesyonan: agreed that AEAD or crypto negotiation shouldn't be in 2.3
(23.18.18) lev__: looks like a "small" mtu issue has grown a quite big
(23.18.22) mattock: :)
(23.18.29) mattock: in fact so big that I have to hit the sack
(23.19.28) cron2: hehe, yes. I have some bits to code, and some thinking to do, on 2.3, 2.4, v3, interoperability, and negotiation - and we'll need to work on all the trains it seems (and come to a common understanding here)
(23.19.50) mattock: so no resolution today?
(23.19.57) cron2: jamesyonan: thanks, this helped, but we need to do a few more rounds on this :-)
(23.20.15) mattock: I'll make a note of this in the summary
(23.20.30) cron2: mattock: resolution is: for now, delay the link-mtu calculcation until after options have received (fixes the issue at hand, should not bring up new surprises)
(23.20.34) mattock: a quick one: shall we remove escape dashes from the man-page?
(23.20.52) ***cron2 has no opinion on this, didn't understand the issue in the first place
(23.21.57) mattock: the issue was that searching the man-page failed in the past on some operating systems if, say, --win-sys was _not_ escaped like \-\-win\-sys
(23.22.12) mattock: searching for that particular string failed, that is
(23.22.39) mattock: I tried to reproduce the issue on Debian 7, CentOS 6 and Ubuntu 14.04 and the dashes had no effect whatsoever
(23.23.18) mattock: according to anecdotal evidence the dashes were required at some point, and were added by other projects, too, but then something (groff?) was fixed and the dashes became unnecessary
(23.23.35) mattock: and now we have partially escaped man-page
(23.23.46) mattock: inconsistently
(23.25.09) mattock: current man-page works just fine afaict, but it looks a bit silly
(23.25.26) mattock: anyways, I really need to split, and this is not a deal-breaker :)