From: Sandeep Vadiraj
Sent: Monday, January 22, 2018 11:41 AM
To: linus@sunset.se
Cc: Aaron Smith
Subject: radsecproxy v1.6.9 on mips
 

Hello,


We are trying to build the radsecproxy for a mips platform. We are successfully able to make a cross platform build of 1.6.6 and install on the device. But when I try to make a connection to the server at the other end running 1.6.9 proxy it fails. Are these two versions compatible? [Encl. radsecproxy_ap.conf  and radsecproxy_server.conf]

We are just trying to get the udp traffic to pass through from the ap to the server.


Another question is when we make a crossplatform build of 1.6.9 the build is successful but when we try to start the service on the mips device. It actually fails with the following error message

# /usr/sbin/radsecproxy
pthread_attr_setstacksize failed.

Looking at the discussions in the mailing list tried adding the code below to radsecproxy.h:
#define PTHREAD_STACK_SIZE 32768
+#if defined(PTHREAD_STACK_MIN)
+#if PTHREAD_STACK_MIN > PTHREAD_STACK_SIZE
+#undef PTHREAD_STACK_SIZE
+#define PTHREAD_STACK_SIZE PTHREAD_STACK_MIN
+#endif
+#endif
Still I could not get it working as it fails with the same error message. Is there any work around for this issue?

Look forward to your earliest response.

Regards,
Sandeep K V