On Thu, Dec 12, 2013 at 3:16 PM, Laércio de Sousa <lbsousajr(a)gmail.com> wrote:
> Sorry Lars, it's not clear to me. Are you trying to run epoptes[-server] and
> epoptes-client on the same machine? Why? Any testing purposes? Since your
> setup is of standalone type, you should only install epoptes in your server
> and epoptes-client in your clients (it could be a VM, for example).
>
> If you have updated epoptes package with my last additions, you need to
> enable manually the systemd service unit file for epoptes-server:
>
> sudo systemctl enable epoptes-server.service
> sudo systemctl start epoptes-server.service
>
> On the other hand, there's no need to enable explicitly
> epoptes-client.service, since it's automatically started by NetworkManager
> (or ifup) dispatcher scripts when network is online.
>
I can confirm, epoptes does not work even with client and the server
on different machines.
Services are running:
On the server:
/usr/bin/python -d -v /usr/bin/twistd --pidfile /var/run/epoptes.pid epoptes
On the client, the certificate import works:
epoptes-client -c
depth=0 C = AU, ST = Some-State, O = Internet Widgits Pty Ltd
verify error:num=18:self signed certificate
verify return:1
depth=0 C = AU, ST = Some-State, O = Internet Widgits Pty Ltd
verify error:num=9:certificate is not yet valid
notBefore=Dec 12 10:25:49 2013 GMT
verify return:1
depth=0 C = AU, ST = Some-State, O = Internet Widgits Pty Ltd
notBefore=Dec 12 10:25:49 2013 GMT
verify return:1
DONE
Successfully fetched certificate from server:789
The client service is running as well:
ps ax|grep epoptes
2599 ? S 0:00 socat
openssl-connect:server:789,cafile=/etc/epoptes/server.crt,interval=60,forever
EXEC:bash -c \"exec -a epoptes-client sh\"
ping server
PING server (10.0.0.254) 56(84) bytes of data.
64 bytes from server (10.0.0.254): icmp_seq=1 ttl=64 time=0.162 ms
64 bytes from server (10.0.0.254): icmp_seq=2 ttl=64 time=0.132 ms
64 bytes from server (10.0.0.254): icmp_seq=3 ttl=64 time=0.130 ms
Firewall is disabled on both machines.
The clients do not show up in Epoptes "Detected clients": Got clients: None
Let me know if more information is needed.
-J
--
To unsubscribe, e-mail: opensuse-edu+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-edu+owner(a)opensuse.org