Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 549 of 808  Not logged in ELOG logo
IDdown Date Icon Author Author Email Category OS ELOG Version Subject
  2127   Tue Feb 13 15:36:08 2007 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux2.6.3-1762Re: Synchronization using https

Marcus Hauser wrote:
Would it be possible to use rsync to syncronise two elogd servers on different servers via secure synchronization on the file level?
E.g.
rsync -av -e ssh /var/lib/elog/logbooks/ elog.remote.de:/var/lib/elog/logbooks/


Do do this, you have to do the following:

  • Stop both elogd servers on each side
  • Do the rsync
  • Restart the elogd servers

This is necessary because an elogd server does not rescan the database files unless it's restarted. Note that you only can synchronize on a day level. Like if in a single day new entries are made on both sides, you have a conflict. This is not the case if you do the internal elogd synchronization, because this works on an entry level (actually that was the reason why this internal synchronization was invented). So new entries on both sides which were made as the same day will be merged intelligently.
  2126   Tue Feb 13 15:11:18 2007 Question Marcus Hausermhauser@lsw.uni-heidelberg.deQuestionLinux2.6.3-1762Re: Synchronization using https

Stefan Ritt wrote:

Alexandre Lindote wrote:
Now we want to have several servers set up (in different institutions), and have them synchronized automatically.


Synchronization works such that the "client" elogd (the one on which the synchronization is started) "emulates" a browser and accesses the other elogd server. Since SSL is not built into elogd, it can only use the http protocol, not https. If you want secure synchronization, the only chance you have is to make a SSH tunnel on which you run the http protocol for synchronization.



Would it be possible to use rsync to syncronise two elogd servers on different servers via secure synchronization on the file level?
E.g.
rsync -av -e ssh /var/lib/elog/logbooks/ elog.remote.de:/var/lib/elog/logbooks/
  2125   Tue Feb 6 21:46:59 2007 Agree Grant Jeffcotegrant@jeffcote.orgRequestWindows Re: Tool Tips

Stefan Ritt wrote:

Grant Jeffcote wrote:
I can't seem to get the Tooltips to show up using the 'ROptions' (radio buttons) though? Could you check if it is available for this please?


Did I tell that it also works with 'ROptions' ??? It does not! I implemented this just now in revision 1788. The fix will be contained in the next release.


Sorry, just checking. Happy
Many thanks Stefan Big grin
  2124   Tue Feb 6 19:56:05 2007 Reply Stefan Rittstefan.ritt@psi.chRequestWindows Re: Tool Tips

Grant Jeffcote wrote:
I can't seem to get the Tooltips to show up using the 'ROptions' (radio buttons) though? Could you check if it is available for this please?


Did I tell that it also works with 'ROptions' ??? It does not! I implemented this just now in revision 1788. The fix will be contained in the next release.
  2123   Tue Feb 6 18:19:57 2007 Reply Grant Jeffcotegrant@jeffcote.orgBug reportWindows2.6.3-1776Re: ELOG Crash by many email address

Stefan Ritt wrote:

An Thai wrote:
Hello,

when I try to set above 112 email addresses in
"Email All = ..."
the Elog service will crash with the error ntdll.dll or memory addresses x0000000.
This problem does not happen when I reduce the number of email addresses.

Have you had the same problem?


I fixed that crash in the current version, but there is actually a limit of 100 email addresses. So anyhow you won't get the 12 ones above 100. I will try to increase that limit in the next version of elog.


Hi Stefan,

I'm also having a problem in the latest version with Elog crashing with multiple email addresses.
I am using 'MOptions' for email list selection using the execute shell script to send a predefined list (ie. the email list is in a text file not in the Elog config).
It seems when the list contains exactly 9 addresses it causes Elog to crash with a failure similar to An's, any less or any more and they are sent fine? Also when certain combinations of multiple list selections are made the Elog process will also crash? I am running the Elog process as an application (ie. not as a service, as per An's workaround) as it's the only way I can get the -x switch to work with Windows, this means the Elog daemon has to be manually restarted. Running WinXP SP2.
Any suggestions?

Thx
  2122   Tue Feb 6 18:04:54 2007 Reply Grant Jeffcotegrant@jeffcote.orgRequestWindows Re: Tool Tips

Stefan Ritt wrote:

Grant Jeffcote wrote:

Stefan Ritt wrote:

Grant Jeffcote wrote:
What will the configuration line be?


If you have
MOptions item = value_1, value_2

you can do a
Tooltip value_1 = text


Thanks Stefan,

When implemented there seems to be a finite number of characters that are visible under a tool tip, is this an OS defined limit or something that can be changed?


ELOG itself has a limit of 256 characters, but that can be changed easily. I found that Mozilla Firefox only showed 70 characters and then three dots ("..."), while Internet Explorer showed all 256 characters, wrapping words if necessary. So it strongly depends on the browser.


Hi Stefan,

Many thanks for implementing this feature, it is very useful and works very well, I can't seem to get the Tooltips to show up using the 'ROptions' (radio buttons) though? Could you check if it is available for this please?

Thx
  2121   Thu Jan 18 20:19:22 2007 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux | Mac OSX2.6.3-1762Re: Synchronization using https

Alexandre Lindote wrote:
Now we want to have several servers set up (in different institutions), and have them synchronized automatically.


Synchronization works such that the "client" elogd (the one on which the synchronization is started) "emulates" a browser and accesses the other elogd server. Since SSL is not built into elogd, it can only use the http protocol, not https. If you want secure synchronization, the only chance you have is to make a SSH tunnel on which you run the http protocol for synchronization.
  2120   Thu Jan 18 16:29:43 2007 Question Alexandre Lindotealex@lipc.fis.uc.ptQuestionLinux | Mac OSX2.6.3-1762Synchronization using https
Hi,

I have an elog server running on a linux desktop machine inside our institutional firewall. It can be accessed from inside the firewall directly using http, but users from outside have to use https, with apache (and its ssl module) controlling the access.
I also set up another server on my laptop, just for backup purposes, and synchronized it inside the firewall (using a direct http connection). No problems there!
Now we want to have several servers set up (in different institutions), and have them synchronized automatically. For this I installed elog on a mac server (in another institution, so outside our firewall), also accessible only through https (again using apache).
I configured all the required mirror settings, but always get an error: "Remote server is not an ELOG server".
I've tried changing the status of the 2 machines (server-client), but get the same error...
I also tried different approaches for the Mirror server parameter, like
https://the.remote.server
https://the.remote.server:443
http://the.remote.server:443
but no luck...

Running elog with the -D flag off issued this message:

Quote:
HTTP/1.1 401 Authorization Required
Date: Thu, 18 Jan 2007 15:22:10 GMT
Server: Apache/1.3.33 (Darwin) DAV/1.0.3 mod_ssl/2.8.24 OpenSSL/0.9.7l
WWW-Authenticate: Basic realm="zeplin2"
Connection: close
Content-Type: text/html; charset=iso-8859-1

Authorization Required

This server could not verify that you
are authorized to access the document
requested. Either you supplied the wrong
credentials (e.g., bad password), or your
browser doesn't understand how to supply
the credentials required.

Apache/1.3.33 Server at shalott.pp.rl.ac.uk Port 80


The servers have user level passwords, and I'm mirroring with Mirror user parameter set to the administrator...
Any ideas?

Thanks in advance

Alex
ELOG V3.1.5-3fb85fa6