Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 100 of 807  Not logged in ELOG logo
ID Date Icon Author Author Email Category OS ELOG Version Subjectdown
  68832   Mon Aug 13 21:09:30 2018 Question Andrew Wadeawade@caltech.eduQuestionLinux | Other3.1.2Reverse proxy of Elog using Docker and Nginx?

I've been trying to configured a Synology NAS to run my personal elog with a reverse proxy to the outside world.  The best way seems to be running Elog in a Docker instance and then running a separate connected Docker running a nginx-proxy (in this case jwilder/nginx-proxy). This second container manages the certificates to letsencrypt and mapping URL requests to relevant containers so that connection is secured properly.  

It worked great in the initial test. However, I have an issue with authentication.  When I password protect the elog it goes to a login page.  When I give an correct password it loops back to the login page (incidentally when I give an incorrect password it gives an 'Invalid user name or password!' warning).  So I know that its getting the correct password but there is some issue that is resetting or ignoring the authentication.  I am never able to actually get to the protected content. 

Does anyone have any experience in using Nginx to setup a secure reverse proxy? Any insights into why this would mess with the authentication of elog?

 

Side note: I have tried using Apache to do the same and authentication worked fine.  But the pre-canned jwilder/nginx-proxy docker manages all the certificates automatically and seamlessly and allows me to have multiple services running on the same outward facing port on my router.  There is no equivalent (as far as I know) that uses Apache for proxying with letsencrypt​.

  69847   Sun Dec 8 22:00:32 2024 Idea Liam Gaffneyliam.gaffney@liverpool.ac.ukRequestLinuxcommit 6ee1005Reuqest to extract X-Forwarded-Name and X-Forwarded-Email when using webserver

When using the Webserver authentication in combination with "File" and "Self register = 3", it is possible to keep track of registrations and control access still. This is very useful, and upon clicking on the logbook for the first time, the user is asked to register by typing their username, full name and email address.

First issue here is that they can still edit the box with their username, which might cause confusion if somebody decides to choose a different username and is then surprised about why they cannot automatically login again. Is it possible to lock this field from being edited?

The second issue is more minor, but the user has to manually type their name and email address, even though the webserver may already be able to provide this information in the headers. Specifically, it would be useful to read the name from the X-Forwarded-Name header and email address from the X-Forwarded-Email header. 

My config file snippet is below:

Authentication = Webserver, File
allow password change = 0
Password file = webserver.passwords
Self register    = 3
 

  67176   Fri Jan 27 02:26:02 2012 Question Alan Grantagrant@winnipeg.caQuestionWindows2.9.0Return Code

We are using the Elog client from one vlan to insert entries into our Elog system on a different vlan.

Works fine for the most part but we occasionally have network connection issues which prevents some entries from being added, and we don't find out about it until later.

Is there a Return Code associated with the client pgm? Or some suggestion to promptly verify a successful enrty? (We'd queue and resubmit in bulk once running again, if we knew about it.)

Thanks.

  1888   Wed Aug 9 12:25:57 2006 Smile Fergus Lynchflynch@alternativenetworks.comQuestionWindowsV2.6.2-169Retain original ELOG id when moving an entry to an archive weblog
Hi There,

We have a number of weblogs where we regular archive off 'completed' entries to a separate archive weblog:

Is it possible to retain the original ELOG id when moving an entry to an archive weblog, or have a locked field which holds the original id which we could subsequently reference in the archive?

Many Thanks
Fergus
  2091   Fri Nov 24 23:08:33 2006 Question Andreas Warburtonandreas.warburton@gmail.comQuestionLinux | Windows2.6.2-1755Resubmit-as-new-entry behaviour when synchronizing/mirroring
Hello,

I am running two ELOG installations: one on my Windows laptop; the other on a Debian linux web server. I have mirroring set up between the two installations. This has worked well for over a year. I am hoping that someone can help me regarding the following odd behaviour.

1. I edit (create) an entry on my Windows laptop. This entry gets mirrored or synchronized to the Linux machine.

2. I can view the entry fine both on the Windows side and on the Linux side.

3. I then edit the entry on the Linux side. After saving, the revised entry is visible on the Linux side.

4. I then have the same entry number available on both installations, but the two have different content due to my edit.

5. If I then synchronize, the original (unedited) entry is preserved along with the new entry, so both the Windows and Linux installations now have TWO entries each, representing the unedited and edited versions. The time stamps are identical, but the edited version is given a new ID number.

As a check, I explicitly added the line "Resubmit default = 0", which I know refers to editing and not synchronization, to my config file. The weird thing is that the synchronize/mirror operation seems to be acting with a "Resubmit default = 2" kind of behaviour.

Has anyone observed this happening?

Thanks for any comments or insights.

Cheers,
Andreas
  554   Thu Jun 3 22:22:33 2004 Question miljan dedicmde@hvidovre.dkBug reportWindows2.5.2Resubmit as new entry
Hello,
Elogd crashing when "Resubmit as new entry" is executed.
Tried with demo config, same result, also tried with snapshot version.
After the first crash i restart elogd, then it crashes every time i enter 
the logbook containing the entry i tried to "Resubmit as new entry"
Anyone seen same behavior, on win2000 platform ?.

Miljan
  659   Wed Aug 11 15:38:07 2004 Question Jen Manzjennifer.manz@lmco.comQuestionWindows Restricting viewing messages
I am working on a logbook for a lab.  I have two questions...
First - Some of the logbook entries should not be viewed by certain users.  
What would be the easiest way to restrict viewing some entries?  

Second - I have a welcome page for the ELOG that lists some info about the 
ELOG.  When I start the ELOG, the user sees the login page.  After the user 
logs in, the welcome page appears listing the restrictions.  Right now, I 
have a hyperlink that takes the user to new, find, etc.  But I would like 
to take the user right to the logbook and not have to come back to the 
welcome page everytime.  How can I do this?

I have attached the code I have so far.  They are in .txt format for easier 
viewing.

Thanks!
Attachment 1: Welcome_Login.txt
<h1>Welcome to the PEBL Logbook</h1>
<u1>
<li><a href="?cmd=new">Enter</a> new entry in the logbook

<P ALIGN=CENTER>Information included herein is controlled.</P>
</ul>
Attachment 2: elogd.txt
[global]
logbook tabs = 0
port = 8080
Admin user = jmanz
Logfile = c:\Program Files\ELOG\logbooks\PEBL_Log
Logging level = 2



[PEBL]
Welcome page = Welcome_Login.html
Theme = default
Comment = PEBL Logbook
Attributes = Author, Material Group, Type, Category, Subject
Find Menu commands = New, Reply, Find, Logout, Help
Options Material Group = Computers, Consoles, Other
ROptions Category = Hardware, Software, Both, Neither
Preset Category = Hardware
Required Attributes = Author, Material Group, Type, Category
Preset Text = Restricted Info
Page Title = ELOG - $subject
Attachment comment=Use "Browse" to select the attachment and "Upload" to save the attachment.  Repeat for multiple attachments.
Message comment = Restricted Info 
Reverse sort = 1
Quick filter = Date
Entries per page = 100
password file = c:\Program Files\ELOG\elog.pwd
Self Register = 1
Login expiration = 0
Protect Selection page = 1
Suppress Email to users = 1
Suppress default = 2
Restrict Edit = 1

Locked Attributes = Author
Preset Author = $short_name
Subst on reply Subject = Re: $subject


  66831   Fri May 21 14:37:26 2010 Entry Allenbastss@rit.eduQuestionLinux2.7.8Restricting logbook view

Is there anyway to restrict access so that a user can only see the log entries they post or only replies to their log entry?  I know it is possible to restrict editing to only posts they submitted, but I have a need to not even allow them to see other posts except for what they submitted and I am wondering if this is possible currently, or if this is planned, or could be planned for a future version?


Thanks,

 

Allen

ELOG V3.1.5-3fb85fa6