From charlieyounghusband at gmail.com Fri Aug 26 15:19:32 2016 From: charlieyounghusband at gmail.com (Charlie Younghusband) Date: Fri, 26 Aug 2016 11:19:32 -0400 Subject: Fwd: unable to compile on freebsd In-Reply-To: <3c103e85-0f54-4b1d-db39-c1028822744e@gmail.com> References: <3c103e85-0f54-4b1d-db39-c1028822744e@gmail.com> Message-ID: <7134539f-ca8e-f22b-3ee0-e2cd6541ca69@gmail.com> Hi, I was looking to compile this on a modern FreeBSD machine, but it doesn't work. This looks similar to bug 1380660 reported in 2014 but slightly different. I got it working fine on an Ubuntu box for now, but advice for running on recent FreeBSD? -- oot at REG-TS:~/web-polygraph/polygraph-4.9.0 # uname -a FreeBSD REG-TS 10.2-RELEASE FreeBSD 10.2-RELEASE #0 r286666: Wed Aug 12 15:26:37 UTC 2015 root at releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 root at REG-TS:~/web-polygraph/polygraph-4.9.0 # make Making all in . Making all in src make all-recursive Making all in xstd Making all in base Making all in xml Making all in app Making all in beep Making all in icp Making all in kerberos Making all in runtime c++ -DHAVE_CONFIG_H -DDATA_DIR=\"/usr/local/share/polygraph\" -I../../src -I../../src -I/usr/include -I/usr/include -g -O3 -Wall -Wwrite-strings -Woverloaded-virtual -MT ExpPortMgr.o -MD -MP -MF .deps/ExpPortMgr.Tpo -c -o ExpPortMgr.o ExpPortMgr.cc In file included from ExpPortMgr.cc:6: ../../src/base/polygraph.h:11:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ In file included from ExpPortMgr.cc:6: In file included from ../../src/base/polygraph.h:14: In file included from ../../src/config.h:488: ../../src/post-config.h:11:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ ExpPortMgr.cc:27:40: error: 'Value' is a protected member of 'Array' if (PortMax() > numeric_limits::max()) { ^ ../../src/xstd/Ring.h:16:13: note: constrained by protected inheritance here class Ring: protected Array { ^~~~~~~~~~~~~~~~~~~~~ ../../src/xstd/Array.h:26:16: note: member is declared here typedef Item Value; ^ ExpPortMgr.cc:29:44: error: 'Value' is a protected member of 'Array' "' option is " << numeric_limits::max() << ^ ../../src/xstd/Ring.h:16:13: note: constrained by protected inheritance here class Ring: protected Array { ^~~~~~~~~~~~~~~~~~~~~ ../../src/xstd/Array.h:26:16: note: member is declared here typedef Item Value; ^ 2 warnings and 2 errors generated. *** Error code 1 Stop. make[3]: stopped in /root/web-polygraph/polygraph-4.9.0/src/runtime *** Error code 1 Stop. make[2]: stopped in /root/web-polygraph/polygraph-4.9.0/src *** Error code 1 Stop. make[1]: stopped in /root/web-polygraph/polygraph-4.9.0/src *** Error code 1 Stop. make: stopped in /root/web-polygraph/polygraph-4.9.0 From rousskov at measurement-factory.com Mon Aug 29 00:52:35 2016 From: rousskov at measurement-factory.com (Alex Rousskov) Date: Sun, 28 Aug 2016 18:52:35 -0600 Subject: Fwd: unable to compile on freebsd In-Reply-To: <7134539f-ca8e-f22b-3ee0-e2cd6541ca69@gmail.com> References: <3c103e85-0f54-4b1d-db39-c1028822744e@gmail.com> <7134539f-ca8e-f22b-3ee0-e2cd6541ca69@gmail.com> Message-ID: On 08/26/2016 09:19 AM, Charlie Younghusband wrote: > I was looking to compile this on a modern FreeBSD machine, but it > doesn't work. I got it working fine on an Ubuntu box for now, but > advice for running on recent FreeBSD? Hi Charlie, This problem is not specific to FreeBSD. It is a clang compatibility problem. You can probably build on FreeBSD using GCC instead. The attached patch makes Polygraph v4.9.0 compile with clang in our tests, but we have not tried doing that on FreeBSD yet. Please let me know if the patch helps in your FreeBSD environment. You should get two dynamic-class-memaccess warnings about memcpy(). We still need to fix those. Thank you, Alex. -------------- next part -------------- A non-text attachment was scrubbed... Name: clang-v4p9p0-t1.patch Type: text/x-diff Size: 47936 bytes Desc: not available URL: From michael.hendrie at gmail.com Wed Aug 31 05:16:34 2016 From: michael.hendrie at gmail.com (Michael Hendrie) Date: Wed, 31 Aug 2016 14:46:34 +0930 Subject: Kerberos Proxy Authentication Message-ID: <433D0050-393E-4E65-AB10-4C989BC78EF4@gmail.com> Hi There, I have been using NTLM and BASIC proxy authentication in workloads for some time with great success. I see Kerberos proxy authentication support was added in 4.8.0 but am having difficulty finding any doc or config examples for using. > - Negotiate/Kerberos proxy authentication support, configurable via > PGL KerberosWrap. Both UDP and TCP transports are supported for > communication with KDC. MIT Kerberos v1.9 or newer is required. No > Heimdal support. The PGL Types doc at http://www.web-polygraph.org/docs/reference/pgl/types.html doesn't mention KerberosWrap and neither does the Authentication doc at http://www.web-polygraph.org/docs/userman/auth.html If anyone can point me towards some doc...and hopefully and hopefully a working config example of how to configure the KerberosWrap and credential definition in a workload that would be much appreciated. Thanks, Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: From nyshtyak at tut.by Wed Aug 31 19:54:41 2016 From: nyshtyak at tut.by (Pavel Kazlenka) Date: Wed, 31 Aug 2016 21:54:41 +0200 Subject: Kerberos Proxy Authentication In-Reply-To: <433D0050-393E-4E65-AB10-4C989BC78EF4@gmail.com> References: <433D0050-393E-4E65-AB10-4C989BC78EF4@gmail.com> Message-ID: <544ebe0e-cd27-6ee6-ac67-58ce5a93b2c3@tut.by> Hi Michael, To add kerberos authentication support, you first need to configure the KerberosWrap object in your workload, e.g.: KerberosWrap kerberosWrap = { realm = "YOUR_REALM"; servers = ['kerberos.server:']; timeout = 30sec; }; Then you may configure your robots (clients) in an usual manner: Robot R = { ... credentials = [ "kerb_user:kerb_pass" ]; kerberos_wrap = kerberosWrap; }; On 08/31/2016 07:16 AM, Michael Hendrie wrote: > Hi There, > > I have been using NTLM and BASIC proxy authentication in workloads for > some time with great success. I see Kerberos proxy authentication > support was added in 4.8.0 but am having difficulty finding any doc or > config examples for using. >> - Negotiate/Kerberos proxy authentication support, configurable via >> PGL KerberosWrap. Both UDP and TCP transports are supported for >> communication with KDC. MIT Kerberos v1.9 or newer is required. No >> Heimdal support. > The PGL Types doc at > http://www.web-polygraph.org/docs/reference/pgl/types.html doesn't > mention KerberosWrap and neither does the Authentication doc at > http://www.web-polygraph.org/docs/userman/auth.html > > If anyone can point me towards some doc...and hopefully and hopefully > a working config example of how to configure the KerberosWrap and > credential definition in a workload that would be much appreciated. > > Thanks, > > Michael > > > > > _______________________________________________ > Users mailing list > Users at lists.web-polygraph.org > http://lists.web-polygraph.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: