contribute.xml 8.48 KB
Newer Older
1 2 3 4 5 6 7 8 9 10
<PAGE>
	<INCLUDE file="inc/header.tmpl" />

	<VAR match="VAR_SEL_CONTRIBUTE" replace="selected" />
	<PARSE file="menu1.xml" />
	
	<INCLUDE file="inc/content.tmpl" />

<h1>Contributing to OpenConnect</h1>

11 12 13
<p>Contributions to OpenConnect are very welcome. You don't need to be able to write
code. Testing, documentation improvements and especially translations are all
extremely useful. Some specific suggestions and requests for help can be found below.</p>
14

15 16 17
<h2>Submitting Patches</h2>

<p>Patches can be sent to the <a href="mail.html">mailing list</a> or directly to <a
18 19 20 21 22
href="mailto:dwmw2@infradead.org">the author</a> in private email. We are also experimenting
with using GitLab, so please feel free to file issues and submit merge requests at
<a href="https://gitlab.com/openconnect/openconnect">https://gitlab.com/openconnect/openconnect</a>.</p>

<p>When submitting patches to be included in OpenConnect, please certify that your
David Woodhouse's avatar
David Woodhouse committed
23
patch meets the criteria below by including include a <i>sign-off</i>
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
line in your email which looks like this:
</p>
<tt>Signed-off-by: Random J Developer &amp;lt;random@developer.example.org&amp;gt;</tt>

<p>This confirms that you are permitted to submit the patch for inclusion in
 OpenConnect under the LGPLv2.1 licence. The full text of the certificate is as follows:

<ul><li><p><b>Developer's Certificate of Origin 1.1</b></p>

<p>By making a contribution to this project, I certify that:</p>
<ol>
  <li>The contribution was created in whole or in part by me and I
  have the right to submit it under the open source license
  indicated in the file; <b>or</b></li>
  <li>The contribution is based upon previous work that, to the best
  of my knowledge, is covered under an appropriate open source
  license and I have the right under that license to submit that
  work with modifications, whether created in whole or in part
  by me, under the same open source license (unless I am
  permitted to submit under a different license), as indicated
  in the file; <b>or</b></li>
  <li>The contribution was provided directly to me by some other
  person who certified <i>(1)</i>, <i>(2)</i> or <i>(3)</i> and I have not modified
  it.</li>
</ol><p>and also that:</p>
<ul><li>I understand and agree that this project and the contribution
are public and that a record of the contribution <i>(including all
personal information I submit with it, including my sign-off)</i> is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.
</li></ul>
</li></ul>
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102

<h1>What needs doing?</h1>

<a name="translation"/>
<h2>Translations</h2>

<p>One of the main things needed at the present time is translations into
languages other than English. All contributions will be gratefully received.</p>

<p>Translations for OpenConnect are maintained in the GNOME
<a href="https://l10n.gnome.org/module/NetworkManager-openconnect/">NetworkManager-openconnect module</a>.
Translations can be contributed by joining the GNOME team as described on their
<a href="https://wiki.gnome.org/TranslationProject">TranslationProject</a>
wiki page, or simply by editing one of the language files in the <tt><a
href="http://git.infradead.org/users/dwmw2/openconnect.git/tree/HEAD:/po">po/</a></tt>
directory and sending the resulting patch (or file) to the <a
href="mail.html">mailing list</a>.</p>

<p>If there are questions about the messages because the intent is not clear, or if the
messages could be improved to make translation easier or better, please also feel free to
ask or make suggestions on the mailing list.</p>

<h2>Documentation / Web Site</h2>

<p>OpenConnect is designed with the principle that <i>"if it needs documenting, fix it instead"</i>. That isn't
to say that we don't have documentation. But if a user finds something non-obvious and has to look it up
in the documentation, then that in itself is a little bit of a usability failure. Software should Just Work™.</p>

<p>So if you find something that is more complex than it needs to be, and you think it should
Just Work™ then please don't hesistate to
<a href="mailto:openconnect-devel@lists.infradead.org?subject=Usability improvement suggestion">tell us</a>
bout it.</p>

<p>Any improvements to the documentation are most welcome. In particular:</p>
<ul>
  <li><b>Update web site to be <a href="https://search.google.com/test/mobile-friendly?url=www.infradead.org%2Fopenconnect/">mobile-friendly</a></b><br/>
  The current template is definitely showing its age, and could very much do with an overhaul.</li>
</ul>

<h2>Testing</h2>

<p>All testing is valuable, and please do let us know if anything doesn't work when you think
it should. There are some things which the regular developers don't have easy access to test,
some help with testing these would be particularly welcome:</p>
<ul>
  <li><b>Testing a PAN GlobalProtect VPN with IPv6 internal addresses.</b><br/>
  We think we know how this works, but we've not been able to test.</li>
103 104 105 106 107
  <li><b>Various authentication methods for Pulse Secure.</b><br/>
  Although it looked sane at first, the Pulse protocol has a lot of horrid
  special cases. Aside from the <a href="tncc.html">Host Checker</a> most
  should be working, but please test and let us know if anything is
  missing or wrong.</li>
108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149
</ul>


<h2>New Protocols</h2>

<p>There are some other protocols which would be good to add to OpenConnect. Getting a new
protocol to the point where it basically works to send and receive traffic is only a
few hours of work, and can be very rewarding.</p>

<p>For some protocols we already know how they work on the wire and it's mostly
just a matter of typing. For others we might have to observe the existing clients
to learn how they work.</p>
<p>These would be great projects for someone to take on as a learning exercise, or
perhaps even Google Summer of Code projects.</p>

<ul>
  <li><b><a href="https://www.checkpoint.com/products/endpoint-remote-access-vpn-software-blade/">CheckPoint VPN</a></b><br/>
  This is an IPSec-based VPN with fallback to using the SSL transport. Some discussion of OpenConnect support in this <a href="https://gitlab.com/openconnect/openconnect/issues/13">GitLab ticket</a>. </li>
  <li><b>Cisco / Nortel IPSec VPN</b><br/>
  These IPSec-based protocols are already supported by <a href="https://www.unix-ag.uni-kl.de/~massar/vpnc/">vpnc</a> to differing extents, but vpnc is no longer actively maintained.
  Since OpenConnect now has ESP support, and since some of these protocols also fall back to operating over TCP when UDP and native ESP aren't available, it may make sense to implement them in OpenConnect now.</li>
</ul>

<p>Suggestions for other protocols which OpenConnect could usefully implement, are also welcome.</p>

<h2>Other enhancements</h2>

One of the main other improvements that would be welcome, is implementing a full WebView in the graphical clients. Currently for protocols like Juniper, OpenConnect screen-scrapes the HTML pages used for login, and attempts to make sense of them. This is The main thing that would be 
Other items on the TODO list include:

<ul>
  <li><b>WebView support in graphical clients.</b><br/>
  OpenConnect currently screen-scrapes the HTML login pages for protocols like Juniper, which is fragile and error-prone. It would be great if the graphical interfaces like NetworkManager could use a real WebView to show the pages, which would work with JavaScript and various other customisations that the admins often make. This might make an excellent Google Summer of Code project, or would also suit someone just trying to contribute in their spare time.</li>
  <li><b>Better support for running or emulating the '<a href="csd.html">Cisco Secure Desktop</a>' trojan.</b><br/>
  The Cisco <tt>hostscan</tt> tool seems to download and interpret a manifest file from the server and send back results based on the "questions" therein. A native implementation of this would be useful.</li>
  <li><b>GUI for OS X, perhaps based on <a href="https://tunnelblick.net/">Tunnelblick</a>.</b></li>
  <li><b>Full Android keystore support.</b><br/>
  OpenConnect's support for the Android keystore predates the Android keystore actually doing anything useful. We assume we can just ask for the private key and be given it. A real keystore would only allow us to perform signature operations using the key, and wouldn't just give it to us. Modern versions of Android can support this, and we should add support for it.</li>
  <li><b>Mac OS X keychain support.</b><br/>
  Likewise, using keys stored in the OS X keychain would be extremely useful.</li>
</ul>

150
</p>
151

152
<INCLUDE file="inc/footer.tmpl" />
153
</PAGE>