[zeromq-dev] zmq based vpn

Jonas Thiem jonasthiem at googlemail.com
Thu Apr 16 23:58:23 CEST 2015


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

Your lua is outdated, try lua 5.3 or at least lua 5.2.

On 04/16/2015 02:43 PM, Benjamin Henrion wrote:
> On Wed, Apr 1, 2015 at 10:54 AM, Benjamin Henrion
> <zoobab at gmail.com> wrote:
>> Hi,
>> 
>> Just found this github project written in lua which seems to 
>> encapsulate IP packets over ZMQ:
>> 
>> https://github.com/Vger/simpletunnel
>> 
>> I did not managed to make it work, maybe someone else can try it
>> out?
> 
> I hit an error while trying to run it, and I have a hard time to 
> understand what this test does, in particular what "bit operation" 
> means in zmq:
> 
> ========================== local test_pollin do local s, bit =
> pcall(require, "bit32") local POLLIN = zmq.POLLIN local EVENTS =
> zmq.EVENTS if s then function test_pollin(zmqskt) return
> bit.btest(zmqskt:getopt(EVENTS), POLLIN) end else s, bit =
> pcall(require, "bit") if s then function test_pollin(zmqskt) return
> bit.band(zmqskt:getopt(EVENTS), POLLIN) ~= 0 end else error("No bit
> operations available") end end end ==========================
> 
> When I run I have this error:
> 
> # lua tunendpoint.lua lua:
> /usr/lib64/lua/luarocks/share/lua/5.1/zmq/copas.lua:28: No bit 
> operations available stack traceback: [C]: in function 'error' 
> /usr/lib64/lua/luarocks/share/lua/5.1/zmq/copas.lua:28: in main
> chunk [C]: in function 'require' tunendpoint.lua:17: in main chunk 
> [C]: ?
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJVMDB+AAoJEBIDTbbx8YkeJkkP/jDZr+DOpDG3wgTaS6vwC9E9
Fl06yt5Agh//UcW7zT9t6HXdwNKBGE/7qFFXivWcLKFzFDanxlaceKlq7Ic0W+xI
2vltGOSEIA7U03uNJDkhRZJvJRezsW13wOHFd6qvzEi7ZJTmsKclw7vCZXtALBDO
XzoZqtF9lxRVz4Qp2flt4p0dbHKLuLrGz8AaL1e8RT7jPpO6pq/eCJRVvGaZB8C7
QQxqwR0d3ym0hUiPqGIuTRbTmEDwWafmoppAX2wMPb32bdT/Mw4IqKzP8P/fLT5k
XRBVGNm8MRUN6KqPVMjKBCl9kuvHm1jdW7LoNMAYHVqmPy+dGckMNplhJCa00Svm
5Bn+u+zLrVhcKpEk8W8qpoPJSuJVudbRSihZXqjEhpt8gWQMSoYAQ31Cd1KnUcDc
7uRgg1mWWcE7QIk3ETAoY8Qwtm2KYKUy4F/Rq931uRBJaveNyaWQBFWgniZWhesN
H1HSGivIpJjPn106Eu+uMPStQETvbkQkYN1ijTIvWefOedXvw6vrpt2q4f6BQIe0
2Sd/3fff8zr00+sLhRyd1hyAmAnJCo1bVMnL4tKGf/DhNNJ1ruIIhr58obGdCKbS
JgY+CGrBU4DL3MC/IbNDYQN9CzhyJ6+EwSqmaYuVg/NMLpzLGyUYgqN5sULnc7AM
FOq6a6J18FN3h4vtl56A
=3/Ow
-----END PGP SIGNATURE-----



More information about the zeromq-dev mailing list