[reSIProcate] resiprocate 1.8.5 builds on OpenWRT
I'm submitting reSIProcate to the OpenWRT project
I've been able to successfully build the stack and start the
reTurnServer process on a TP-Link TL-WR1043ND.
http://wiki.openwrt.org/toh/tp-link/tl-wr1043nd
Atheros AR9132@400MHz
RAM: 32MB
FLASH: 8MB
Gigabit and USB
The device hasn't got enough flash memory for openssl + db + db_cxx +
resiprocate altogether, but it is possible to run from /tmp or a USB
memory stick
repro currently doesn't fully start due to some issue with libdb_cxx, it
seg faults the first time it needs to access a .db file
I think this is another useful validation of the new build system
working with a cross-compile toolchain
http://wiki.openwrt.org/doc/howto/build
I'll post the package manifest/Makefile and related artifacts as patches
on the openwrt-devel list and hopefully this will become a standard
feature of OpenWRT in future.
root@OpenWrt:/usr/lib# uname -a
Linux OpenWrt 3.3.8 #2 Mon Sep 3 17:51:18 UTC 2012 mips GNU/Linux
root@OpenWrt:/usr/lib# /tmp/reTurnServer /etc/reTurnServer.config
--LogLevel=ST
ACK
INFO | 20110912-211102.559 | | RESIP:DNS | 2007461888 | DnsUtil.cxx:162
| Couldn't determine local hostname. Error was: Name or service not
known. Returning empty string
INFO | 20110912-211102.819 | reTurnServer | RETURN | 2007461888 |
UdpServer.cxx:29 | UdpServer started. Listening on 0.0.0.0:3478
INFO | 20110912-211102.821 | reTurnServer | RETURN | 2007461888 |
TcpServer.cxx:26 | TcpServer started. Listening on 0.0.0.0:3478
ERR | 20110912-211102.832 | reTurnServer | RETURN | 2007461888 |
TlsServer.cxx:30 | Unable to load server cert chain file: server.pem,
error=22(Invalid argument)
ERR | 20110912-211102.834 | reTurnServer | RETURN | 2007461888 |
TlsServer.cxx:37 | Unable to load server private key file: server.pem,
error=22(Invalid argument)
ERR | 20110912-211102.835 | reTurnServer | RETURN | 2007461888 |
TlsServer.cxx:44 | Unable to load temporary Diffie-Hellman parameters
file: dh512.pem, error=22(Invalid argument)
INFO | 20110912-211102.836 | reTurnServer | RETURN | 2007461888 |
TlsServer.cxx:55 | TlsServer started. Listening on 0.0.0.0:5349