<div dir="ltr">As far as insults go, one simply cannot go wrong with THE Shakespearean insult kit ;-))<br><br><a href="http://www.pangloss.com/seidel/shake_rule.html">http://www.pangloss.com/seidel/shake_rule.html</a><br><br>
<div class="gmail_quote">2008/10/6 John Van Enk <span dir="ltr">&lt;<a href="mailto:vanenkj@gmail.com">vanenkj@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr"><div class="Ih2E3d"><br><div class="gmail_quote">On Mon, Oct 6, 2008 at 2:52 PM, Don Stewart <span dir="ltr">&lt;<a href="mailto:dons@galois.com" target="_blank">dons@galois.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div><div>
<br>
</div></div>Is the code around somewhere? This sounds intriguing.<br>
<font color="#888888"><br>
-- Don<br>
</font></blockquote></div><br></div>Yes! Though this is the &quot;Works For Me (alpha release)&quot; version.<br><br>Keep in mind:<br>* It&#39;s not cabalized yet, so... we use my quick-and-dirty build scripts to build/clean.<br>

* It&#39;s throughput runs at about 800KB/s over Wi-Fi (i should be able to get this faster).<br>* Depends on the Data.Binary (binary)<br>* Depends on Network.Socket.ByteString (network-bytestring)<br>* Requires that you have the tun module loaded (make sure the /dev/net/tun device exists)<br>

* Needs to run as root (do you trust me?)<br>* UDP port is fixed at 24999 for now (remember, WFM alpha release)<br>* It uses a C file to do the ioctls and setup the IP address, MTU, etc... (any one able to see a way to remove the C file? It&#39;s not doing anything all that complex...)<br>

<br>Here&#39;s how to use it:<br><br>sudo ./haskvpn [my vpn ip] [address to bind to] [address to connect to]<br><br>Here&#39;s any example:<br><br># On machine 1<br>sudo ./haskvpn <a href="http://10.0.0.1" target="_blank">10.0.0.1</a> <a href="http://0.0.0.0" target="_blank">0.0.0.0</a> <a href="http://192.168.128.60" target="_blank">192.168.128.60</a><br>

<br># On machine 2<br>sudo ./haskvpn <a href="http://10.0.0.2" target="_blank">10.0.0.2</a> <a href="http://0.0.0.0" target="_blank">0.0.0.0</a> <a href="http://192.168.128.50" target="_blank">192.168.128.50</a><br><br>Once that comes up, you should be able to ping, ssh, etc from <a href="http://10.0.0.1" target="_blank">10.0.0.1</a> to <a href="http://10.0.0.2" target="_blank">10.0.0.2</a> and back again.<br>

<br>The code is here: <a href="http://sw17ch.com/code/haskvpn-1223320484.tar.gz" target="_blank">http://sw17ch.com/code/haskvpn-1223320484.tar.gz</a><br><br>Once the code is downloaded, run ./build.sh and you (should) find the haskvpn binary in the same directory.<br>

<br>There are 338 lines of haskell/c (including comments/whitespace), so it shouldn&#39;t take too long to read over.<br><br>Reccomendations/patches/insults are requested!<br clear="all"><br>-- <br>/jve<br>
</div>
<br>_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
<br></blockquote></div><br></div>