Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 605 of 807  Not logged in ELOG logo
ID Date Icon Author Author Email Categorydown OS ELOG Version Subject
  836   Tue Dec 7 16:15:28 2004 Entry Stefan Rittstefan.ritt@psi.chBug reportOther2.5.5-2Re: dropdown-lists display only the first 100 entries
Right. Number of options is limited to 100.
  837   Thu Dec 9 11:30:07 2004 Entry Guenter NowakGuenter.Nowqak@t-systems.atBug reportOther2.5.5-2Re: dropdown-lists display only the first 100 entries
> Right. Number of options is limited to 100.
hi, i found the MAX_N_LIST macro and increased it
  838   Thu Dec 9 11:30:49 2004 Reply Guenter NowakGuenter.Nowqak@t-systems.atBug reportAll2.5.5-2Re: back button does not work
> > hi
> > the back button/liunk does not work
> > if i click on an entry and then back, it does not work properly, i see the 
> > same entry
> > if i click on the new button or the find button,  and then back, it does 
> > not work properly
> > mfg guenter
> 
> Thanks for reporting that bug, it has been fixed in the curreny CVS version.

thanks
  839   Thu Dec 9 11:40:05 2004 Reply Stefan Rittstefan.ritt@psi.chBug reportOther2.5.5-2Re: dropdown-lists display only the first 100 entries
> > Right. Number of options is limited to 100.
> hi, i found the MAX_N_LIST macro and increased it

Please note that if you make it too big, you will get a stack overflow and
elogd will crash.
  845   Sun Dec 12 17:46:39 2004 Question Neil Swartzjunkswartz@optonline.netBug reportWindows2.5.5-2Redirect to wrong hostname
I have a computer that has a different idea of its name from the DNS 
server. When I run ELOG and someone clicks "Search" I get a page not found.
I tried starting with "-n <hostname>", but elog still uses gethostname.
The example is that DNS says my machine is "abc.company.com" and netstat -
a says elog is listening on 8080 abc.personaldomain.com

Here is the code from elogd.c:

   /* get host name for mail notification */
   gethostname(host_name, sizeof(host_name));
   phe = gethostbyname(host_name);
   if (phe != NULL)
      phe = gethostbyaddr(phe->h_addr, sizeof(int), AF_INET);
   /* if domain name is not in host name, hope to get it from phe */
   if (strchr(host_name, '.') == NULL && phe != NULL)
      strcpy(host_name, phe->h_name);

I think you should be using tcp_hostname instead of gethostname if it is 
specified.
  852   Fri Dec 17 23:20:02 2004 Reply Stefan Rittstefan.ritt@psi.chBug reportWindows2.5.5-2Re: Redirect to wrong hostname
> I think you should be using tcp_hostname instead of gethostname if it is 
> specified.

Sorry my late reply, I was ill for some time. I implemented your suggestion in
revision 1.522 which is available from CVS.

Note that there is also the "URL = xxx" option in the configuration file which
lets you specify the whole URL including the host name.
  856   Sun Dec 19 19:00:06 2004 Question Ulrich Trüsselulrich.truessel@familienhund.chBug reportWindows2.5.5-2Re: Redirect to wrong hostname
know that illness...  :-(  but was the last of the family of 4 people

i'd like to ask for an other usefull change togehter with this and how url's are 
handled by elog:

since there may be spaces in the name of a logbook (ex. "1stWordOfLogbook 
2ndWordOfLogbook") it is very userfriendly to name logbooks. also it's easy th 
make a reference for a other entry by copy and paste:

Display ThisURL = http://localhost:8080/$logbook/$message id

however, using spaces in the logbook name may give a wrong result, because the 
url would be http://localhost:8080/1stWordOfLogbook

and the space as well as the 2ndWordOfLogbook//$message id is only normal text.

may it be possible stefan, to replace the space in an url (starting 
with "http://") with a "+" or "%20"? this would allow to automate some things. 
actual the logbook name has to be hardcoded.


> > I think you should be using tcp_hostname instead of gethostname if it is 
> > specified.
> 
> Sorry my late reply, I was ill for some time. I implemented your suggestion in
> revision 1.522 which is available from CVS.
> 
> Note that there is also the "URL = xxx" option in the configuration file which
> lets you specify the whole URL including the host name.
  858   Mon Dec 20 17:18:16 2004 Reply Stefan Rittstefan.ritt@psi.chBug reportWindows2.5.5-2Re: Redirect to wrong hostname
Ok, I changed that in version 2.5.5-3. Note that one can also use the "elog:..."
substitution, like

Display ThisURL = elog:$logbook/$message id
ELOG V3.1.5-3fb85fa6