Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 253 of 807  Not logged in ELOG logo
ID Date Icondown Author Author Email Category OS ELOG Version Subject
  66142   Sun Jan 11 00:02:34 2009 Reply John Rouillardrouilj+elog@cs.umb.eduCommentWindows2.7.5Re: Multi attribute email notification

mike cianci wrote:

Your suggestion worked GREAT (like always)

 

 Could you post an example of what you used?

  66143   Sun Jan 11 22:48:38 2009 Reply kyoojosh@newgistics.comBug reportWindows2.7.5-2130Re: Google Chrome issues
> > Any ideas? I run our ELOG on windows server.. maybe that has something to do with it.
> 
> I am running the server on kubuntu 8.x, and have the same issue with chrome 1.x.
> Is is possible the corporate elog server is running behind apache or in some
> other proxy config while the one you are having issues with is being connected
> to directly by chrome?
> 
> -- rouilj

So, is your kubuntu elog server internal only, as well?  My elog server on windows is an internal only server.. 
and there is no proxy or firewall between chrome and the elog server.. I didn't set it up, but I think elogd runs 
it's own web service.. probably apache within the win32 port.

It's good to know someone else has the issue, at least.  I'd like to find a publicly available elog server so 
that the elog developers could recreate the issue and thusly fix the issue.  Or at the very least send the broken 
URL to Google Chrome developers to see if it's a bug in the browser or not.

I ran wireshark to capture what happens at the ethernet level, and it seems that the HTTP response doesn't come 
through properly.  My response packets to the TCP response packets seems to be:

"Acknowledgment number: Broken TCP. The acknowledge field is nonzero while the ACK flag is not set"
My system never receives enough TCP packets to reassemble it to a properly formatted HTTP response.


The stream goes like this:
GET /Company+IT+Change+Log/ HTTP/1.1 
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/525.19 (KHTML, like Gecko) 
Chrome/1.0.154.42 Safari/525.19 
Referer: http://changelog.Company.com/Company+IT+Change+Log/?cmd=New 
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 
Accept-Encoding: gzip,deflate,bzip2,sdch 
Cookie: unm=Name; upwd=amhpbGoijoihbmQ=; urem=1 
Accept-Language: en-US,en 
Accept-Charset: ISO-8859-1,*,utf-8 
Host: changelog.Company.com 
Connection: Keep-Alive 
 
HTTP/1.1 200 Document follows 
Server: ELOG HTTP 2.7.5-2130 
Content-Type: text/html;charset=ISO-8859-1 
Set-Cookie: elmode=Summary; path=/Company+IT+Change+Log; expires=Tuesday, 09-Jun-20 12:31:45 GMT; 
 path=/Company+IT+Change+Log; 
Connection: Keep-Alive 
Keep-Alive: timeout=60, max=10 
Pragma: no-cache 
Expires: Fri, 01 Jan 1983 00:00:00 GMT 
Content-Length: 24455 
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
<title>ELOG Company IT Change Log</title>
<link rel="stylesheet" type="text/css" href="default.css">
<link rel="shortcut icon" href="favicon.ico" />
<link rel="icon" href="favicon.png" type="image/png" />
<link rel="alternate" type="application/rss+xml" title="ELOG Company IT Change Log" href="elog.rdf" />
</head>
<body>
<form name="form1" method="GET" action=".">

<table class="frame" cellpadding="0" cellspacing="0"><!-- show_standard_title -->

<tr><td class="tabs">
<span class="sltab"><a href="../Company+IT+Change+Log/" title="Company 
TI">Company&nbsp;IT&nbsp;Change&nbsp;Log</a></span>
</td></tr>

<tr><td><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td class="title1">&nbsp;&nbsp;Company TI, Page 1 of 272&nbsp;</td>
<td class="title2">Logged in as "My Name"</td>
<td class="title3"><img border=0 src="elog.png" alt="ELOG logo" title="ELOG logo"></td>
</tr></table></td></tr>

<tr><td class="menuframe"><span class="menu1">
&nbsp;<a href="?cmd=New">New</a>&nbsp;|
&nbsp;<a href="?cmd=Find">Find</a>&nbsp;|
&nbsp;<a href="?select=1">Select</a>&nbsp;|
&nbsp;<a href="?cmd=Import">Import</a>&nbsp;|
&nbsp;<a href="?cmd=Config">Config</a>&nbsp;|
&nbsp;<a href="?cmd=Logout">Logout</a>&nbsp;|
&nbsp;<a href="?cmd=Help">Help</a>&nbsp;
</span></td></tr>

<tr><td class="menuframe">
<table width="100%" border=0 cellpadding="0" cellspacing="0">
<tr>
<td class="menu2a">
&nbsp;<a href="?mode=full">Full</a>&nbsp;|&nbsp;Summary&nbsp;|&nbsp;<a href="?
mode=threaded">Threaded</a>&nbsp;</td>
<td class="menu2b">
<a href="?new_entries=1"><img align="middle" border="0" src="new_entry.png" alt="Show only new entries" 
title="Show only new entries"></a>&nbsp;&nbsp;<select title="Select period" name=last 
onChange="document.form1.submit()">
<option value="_all_">-- All entries --
<option  value=1>Last day
<option  value=7>Last week
<option  value=31>Last month
<option  value=92>Last 3 Months
<option  value=182>Last 6 Months
<option  value=364>Last Year
</select>
<select title="Select Type" name="Type" onChange="document.form1.submit()">
<option value="_all_">-- Type --
<option value="^Hardware$">Hardware
<option value="^Software$">Software
<option value="^Database$">Database
<option value="^Network$">Network
<option value="^NGS Applications$">NGS Applications
<option value="^Storage$">Storage
<option value="^Monitor$">Monitor
<option value="^VMware$">VMware
</select> 
<noscript>
<input type=submit value="Search">
</noscript>
&nbsp;<b>5429 Entries</b>&nbsp;</td></tr></table></td></tr>

<tr><td class="menuframe"><span class="menu3">
Goto page 
1, 
<a href="page2">2</a>, 
<a href="page3">3</a>&nbsp;...&nbsp;<a href="page270">270</a>, 
<a href="page271">271</a>, 
<a href="page272">272</a>&nbsp;&nbsp;
<a href="page2">Next</a>&nbsp;&nbsp;</span></td></tr>
<tr><td><table class="listframe" width="100%" cellspacing=0>
<tr>
<th  class="listtitle"><a href="?sort=ID">ID</a></th>
<th  class="listtitle"><a href="?sort=Date">Date</a></th>
<th  class="listtitle"><a href="?sort=Author">Author</a></th>
<th  class="listtitle"><a href="?sort=Author+Email">Author Email</a></th>
<th  class="listtitle"><a href="?sort=Type">Type</a></th>
<th  class="listtitle"><a href="?sort=Category">Category</a></th>
<th  class="listtitle"><a href="?sort=Subject">Subject</a></th>
<th  class="listtitle"><a href="?sort=Last+Revision">Last Revision</a></th>
<th  class="listtitle"><a href="?sort=Reason+for+Change">Reason for Change</a></th>
<th class="listtitle">Text</th>
<th class="listtitle"><img src="attachment.png" alt="Attachments" title="Attachments"</th></tr>

<tr><td class="list2">
<a href="../Company+IT+Change+Log/5431">&nbsp;&nbsp;5431&nbsp;&nbsp;</a>
</td>

<td class="list2" nowrap><a href="../Company+IT+Change+Log/5431">1/9/2009 4:40:54 PM</a></td>
<td class="list2"><a href="../Company+IT+Change+Log/5431">Gary</a></td><td class="list2"><a 
href="../Company+IT+Change+Log/5431"><a href="gmercier@Company.com">gmercier@Company.com</a></a></td><td 
class="list2"><a href="../Company+IT+Change+Log/5431">Applications</a></td><td class="list2"><a 
href="../Company+IT+Change+Log/5431">Patch - Hotfix</a></td><td class="list2"><a 
href="../Company+IT+Change+Log/5431">PRN 18718 Update</a></td><td class="list2"><a 
href="../Company+IT+Change+Log/5431"></a>&nbsp;</td><td class="list2"><a 
href="../Company+IT+Change+Log/5431"></a>&nbsp;</td><td class="summary">A</td>
<td class="listatt">&nbsp;&nbsp;</td><tr><td class="list1">
<a href="../Company+IT+Change+Log/5430">&nbsp;&nbsp;5430&nbsp;&nbsp;</a>
</td>

<td class="list1" nowrap><a href="../Company+IT+Change+Log/5430">1/9/2009 4:37:01 PM</a></td>
<td class="list1"><a href="../Company+IT+Change+Log/5430">Gary</a></td><td class="list1"><a 
href="../Company+IT+Change+Log/5430"><a href="gary@compan


Then the stream just aborts, apparently.
  66144   Mon Jan 12 05:12:42 2009 Reply John Rouillardrouilj+elog@cs.umb.eduBug reportWindows2.7.5-2130Re: Google Chrome issues
> > > Any ideas? I run our ELOG on windows server.. maybe that has something to do with it.
> > 
> > I am running the server on kubuntu 8.x, and have the same issue with chrome 1.x.
> > Is is possible the corporate elog server is running behind apache or in some
> > other proxy config while the one you are having issues with is being connected
> > to directly by chrome?
>
> It's good to know someone else has the issue, at least.  I'd like to find a publicly available elog server so 
> that the elog developers could recreate the issue and thusly fix the issue.  Or at the very least send the broken 
> URL to Google Chrome developers to see if it's a bug in the browser or not.

I just brought up the current head release of elog, and the problem is fixed. Looks like it 
was some sort of cookie issue IIRC the log entry.

So build a new elogd and you should be all set.

- rouilj
  66145   Mon Jan 12 05:33:04 2009 Reply kyoojosh@newgistics.comBug reportWindows2.7.5-2130Re: Google Chrome issues
> > > > Any ideas? I run our ELOG on windows server.. maybe that has something to do with it.
> > > 
> > > I am running the server on kubuntu 8.x, and have the same issue with chrome 1.x.
> > > Is is possible the corporate elog server is running behind apache or in some
> > > other proxy config while the one you are having issues with is being connected
> > > to directly by chrome?
> >
> > It's good to know someone else has the issue, at least.  I'd like to find a publicly available elog server so 
> > that the elog developers could recreate the issue and thusly fix the issue.  Or at the very least send the broken 
> > URL to Google Chrome developers to see if it's a bug in the browser or not.
> 
> I just brought up the current head release of elog, and the problem is fixed. Looks like it 
> was some sort of cookie issue IIRC the log entry.
> 
> So build a new elogd and you should be all set.
> 
> - rouilj

Thanks.  I'll have to wait for someone else to build the win32 binary, as I'm not set up to compile it myself.
  66146   Mon Jan 12 21:00:27 2009 Reply kyoojosh@newgistics.comBug reportWindows2.7.5-2130Re: Google Chrome issues
> > > > > Any ideas? I run our ELOG on windows server.. maybe that has something to do with it.
> > > > 
> > > > I am running the server on kubuntu 8.x, and have the same issue with chrome 1.x.
> > > > Is is possible the corporate elog server is running behind apache or in some
> > > > other proxy config while the one you are having issues with is being connected
> > > > to directly by chrome?
> > >
> > > It's good to know someone else has the issue, at least.  I'd like to find a publicly available elog server so 
> > > that the elog developers could recreate the issue and thusly fix the issue.  Or at the very least send the broken 
> > > URL to Google Chrome developers to see if it's a bug in the browser or not.
> > 
> > I just brought up the current head release of elog, and the problem is fixed. Looks like it 
> > was some sort of cookie issue IIRC the log entry.
> > 
> > So build a new elogd and you should be all set.
> > 
> > - rouilj
> 
> Thanks.  I'll have to wait for someone else to build the win32 binary, as I'm not set up to compile it myself.

I installed the latest Windows build (didn't realize I missed a build in November), and it now works in Chrome.  Thanks!
  66149   Tue Jan 13 14:30:37 2009 Reply Niklasniklas@hoglund.pp.seBug reportLinux2.7.5 2142Re: Elogd crashes with: *** stack smashing detected ***

 

Stefan,

To solve the problem I suggest following change to elogd.c (2.7.5 2159).

Create a list of elog cookies, and store only these as parameters. Example diff:

---
$ diff elog/src/elogd.c elogd_niho.c
26557a26558
>    const char *cookie_list[] = { "upwd", "unm", "elmode", "urem", "wpwd", "apwd", "uname", NULL };
26603c26604,26610
<          setparam(str, cookie);
---
>          for(i=0; cookie_list[i]; i++) {
>             if(strcmp(cookie_list[i], str) == 0) {
>                setparam(str, cookie);
>                break;
>             }
>          }
>
---

In a more readable fashion:
int process_http_request(const char *request, int i_conn)
{
...
const char *cookie_list[] = { "upwd", "unm", "elmode", "urem", "wpwd", "apwd", "uname", NULL };
...
...
...
         /* store cookie as parameter */
         for(i=0; cookie_list[i]; i++) {
            if(strcmp(cookie_list[i], str) == 0) {
               setparam(str, cookie);
               break;
            }
         }

...

 

Not sure if I got all the cookies used by elog.

 

BR, niklas

  66150   Wed Jan 14 16:39:38 2009 Reply Michael Ambrusambrmi09@gmail.comQuestionLinux2.7.5-2130Re: SMTP problems - Error sending Email via "smtp.glocalnet.net"

Michael Ambrus wrote:

Michael Ambrus wrote:

Hello, I'm having problems with e-mail notifications.

When I try submitting a new post, I get the following error:

Error sending Email via "smtp.glocalnet.net"

The error message doesn't give a lot of hints...

My config file contains the following lines:

[global]
SMTP host = smtp.glocalnet.net
SMTP username = rhj764h@tninet.se
SMTP Password = xxx

...

[BugZ]

...

Email All = somebody@gmail.com
Use Email From = theproject@kato.homelinux.org

 

The password was created by invoking elogd with the -t option containing the true password. I've tried enter the correct password manually in the config, but the error message is the same.

Below follows a cut&paste of the console output when invoking with the -v option (addresses manually edited to avoid spam):

Email ALL to somebody@gmail.com

timezone: -3600, offset: 3600


Email from theproject@kato.homelinux.org to somebody@gmail.com, SMTP host smtp
.glocalnet.net:
220 mta3.glocalnet.net ESMTP Service ready
EHLO kato.homelinux.org
250-mta3.glocalnet.net
250-DSN
250-8BITMIME
250-PIPELINING
250-HELP
250-AUTH=LOGIN
250-AUTH LOGIN CRAM-MD5 PLAIN
250-X-CP-DELIVER-AFTER
250-DELIVERBY 300
250 SIZE
==== Return ================================
HTTP/1.1 302 Found
Server: ELOG HTTP 2.6.3-1762
Connection: Keep-Alive
Keep-Alive: timeout=60, max=10
Location: http://kato.homelinux.org/elog-tinker/BugZ/6?error=Error+sending+Email
+via+<i>"smtp.glocalnet.net"</i>
Content-Length: 20

I can't make any sense of this. Please advise.

Regards

/Michael Ambrus

 

 

 

 

 

 

An update:

I got rid of the version from the Ubuntu repo and installed the latest source release instead (2.7.5-2130).

 

The error is now a little bit different:

Error sending Email via "smtp.glocalnet.net": Syntax error in parameters or arguments to MAIL command

 

A snippet from the console output:

250-DELIVERBY 300
250 SIZE
AUTH LOGIN
`±è·    ♦Username:
cmhqNzY0aEB0bmluZXQuc2U=
Password:
ajh6N2E4
235 LOGIN authentication successful
MAIL FROM: theproject@kato.homelinux.org
501 Syntax error in parameters or arguments to MAIL command
==== Return ================================

 

BR /Michael

I think I found out what the problem was and e-mail notification now works.

Apparently 'MAIL FROM' syntax used by my ISP expects the address to be within <>.

Adding those in the config file fixes the problem:

Use Email From = <user@domain>

Note that the documentation indicates that the brackets should not be there and I'm not sure if this is a bug or not yet. According to this link the brackets should be there but I think to be consistent with other e-mail related attributes in the config file, they should be added by ELOG.

The 'Email' attibute however seems to work fine without the brackests. I.e.

Email All = user@doman

is OK.

I'm not very familiar with SMTP but I was fiddling around with this some time ago setting up a postfix MT. I eventually succeeded with my ISP, but not with gmail's SMTP. Apperently there are differences with the log-in procedure.

Maybe various differences in login procedure could be handled by allowing ELOG to optionally to use an external program like mailto to handle it's mailing?

SMTP external = 0|1

I think I understand (and actually appreciate) the policy of not depending on external programs. Just a suggestion...

BR

/Michael

  66152   Thu Jan 15 22:25:05 2009 Reply Dan C.chaospry@gmail.comQuestionLinux2.7.5-1Re: Display Revisions field in single entry but not in list view
Hello Stefan,

Thanks for your reply.

Maybe it was the way that I worded my original post but to reiterate, I wanted to have ID, Date, Author, Type, Category, Subject in the list display and Author, Type, Category, Subject, and Revision in the single entry view.

To get the desired results, I had to use the following:
Attributes = Author, Type, Category, Subject, Revisions
Show Attributes = Author, Type, Category, Subject, Revisions
Locked attributes = Revisions
Subst on Edit Revisions = $Revisions $date by $long_name
List Display = ID, Date, Author, Type, Category, Subject

Thank you again for your help and the great software package!
- Dan


Stefan Ritt wrote:
The "Show Attributes" option is for the single entry view, while the "List Display" option is for the list view. So what you need is:
Attributes = Author, Type, Category, Subject
Show Attributes = Revisions
Locked attributes = Revisions
Subst on Edit Revisions = $Revisions $date by $long_name
List Display = ID, Date, Author, Type, Category, Subject
ELOG V3.1.5-3fb85fa6