Ncopa created a apk on luasocket. I assume you know what it's used for.
For the moment, I had some plans on using it for getting BGP
information to display for the user.
You can do 'telnet localhost bgpd' to see BGP status. You will need to
enter password and some commands, but I was hoping to create
acf-quagga to do it for us. But for this I need to communicate with
So I started with a easy code (example from PIL book on page 83) on
how you download a web-page.
This works just fine when you do it on console 'lua -l socket' and run
I made a testscript that downloads a page, counts the size and outputs
the size on the screen.
But... when doing this by using haserl, something goes wrong.
dmesg and /var/log/messages complains about
Apr 8 10:52:25 bsn2vpnc user.info kernel: acf: segfault at
00c0c056 eip 56318e03 esp 5fcb3a90 error 6
Apr 8 10:52:25 bsn2vpnc user.alert kernel: grsec: From 10.82.3.201:
signal 11 sent to /usr/share/acf/www/cgi-bin/acf[acf:21775]
uid/euid:0/0 gid/egid:0/0, parent
I have tried to install a older haserl but it doesn't seem to help.
It's the send() and receive() commands that causes lua/haserl/whatever
to go wrong.
Do you have any suggestions on what could be wrong?
luasocket is found on Alpine 1.7.16 (and dev.alpinelinux.org)
Received on Tue Apr 08 2008 - 14:48:25 UTC