Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 7 of 796  Not logged in ELOG logo
ID Date Icon Author Author Email Category OS ELOG Versiondown Subject
  1287   Wed Jul 20 22:39:05 2005 Reply Stefan Rittstefan.ritt@psi.chBug reportLinuxrev 1.703Re: Display Subject and HTML tags, regression

Emiliano Gabrielli wrote:

Emiliano Gabrielli wrote:
rev 1.703 makes the following code not to work:
Display Subject               = <b>$subject</b>

the <b> tag is displayed and not interpreted, as it was in previous revisions..


this patch should fix the problem .. a little bug still remain, if you insert some allowed HTML tags in the subject this is detected by is_html() so the Display Attribute and the Link is not applied .. the result is that the HTML is working but no elog featur is applied


Your line
if (p && strchr(str, '>') && p >= str && *(p-1) != '\\')

in the code does not work. If the pattern is at the beginning of the string (p == str), then (p-1) points to an invalid location and can cause a segmentation fault. The correct patch is in CVS.
  1293   Thu Jul 21 11:00:47 2005 Reply Emiliano GabrielliAlberT@SuperAlberT.itBug reportLinuxrev 1.703Re: Display Subject and HTML tags, regression

Stefan Ritt wrote:

Emiliano Gabrielli wrote:
rev 1.703 makes the following code not to work:
Display Subject               = <b>$subject</b>

the <b> tag is displayed and not interpreted, as it was in previous revisions..


rev. 1.707 makes it work again Big grin


ok, nice Smile
  1294   Thu Jul 21 11:02:44 2005 Reply Emiliano GabrielliAlberT@SuperAlberT.itBug reportLinuxrev 1.703Re: Display Subject and HTML tags, regression

Stefan Ritt wrote:

Emiliano Gabrielli wrote:

Emiliano Gabrielli wrote:
rev 1.703 makes the following code not to work:
Display Subject               = <b>$subject</b>

the <b> tag is displayed and not interpreted, as it was in previous revisions..


this patch should fix the problem .. a little bug still remain, if you insert some allowed HTML tags in the subject this is detected by is_html() so the Display Attribute and the Link is not applied .. the result is that the HTML is working but no elog featur is applied


Your line
if (p && strchr(str, '>') && p >= str && *(p-1) != '\\')

in the code does not work. If the pattern is at the beginning of the string (p == str), then (p-1) points to an invalid location and can cause a segmentation fault. The correct patch is in CVS.


ehhe, I used "should" infact Tongue
  1004   Wed Mar 23 11:29:51 2005 Warning Emiliano GabrielliAlberT@SuperAlberT.itBug reportLinuxr1592wrong handling of attachment names
When an attached image name contains a space in its filename and attachment
display is enabled elog builds a wrong url to the image:

http://arcolog.roma2.infn.it:8080/ARCO/050309_170709/peeling+002.jpg

instead of the correct one:

http://arcolog.roma2.infn.it:8080/ARCO/050309_170709_peeling+002.jpg

The more annoing thing is that elogs hangs on this. a strace shows a select
on fd n°3 and 5 that loops forever (returning a timeout error):

send(4, "<141>Mar 23 11:36:25 elogd[22189"..., 35, 0) = 35
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
select(1024, [3 5], NULL, NULL, {1, 0}) = 0 (Timeout)
select(1024, [3 5], NULL, NULL, {1, 0}) = 0 (Timeout)


May be the better solution is, after fixing the bug for backward
compatibility with already uploaded images, to implement a forced characters
substitution at upload time, replacing spaces and every character not in a
"allowed chars" list with an underscore
  1005   Wed Mar 23 12:54:51 2005 Warning Emiliano GabrielliAlberT@SuperAlberT.itBug reportLinuxr1592Re: wrong handling of attachment names
> When an attached image name contains a space in its filename and attachment
> display is enabled elog builds a wrong url to the image:
> 
> http://arcolog.roma2.infn.it:8080/ARCO/050309_170709/peeling+002.jpg
> 
> instead of the correct one:
> 
> http://arcolog.roma2.infn.it:8080/ARCO/050309_170709_peeling+002.jpg
> 
> The more annoing thing is that elogs hangs on this. a strace shows a select
> on fd n°3 and 5 that loops forever (returning a timeout error):
> 
> send(4, "<141>Mar 23 11:36:25 elogd[22189"..., 35, 0) = 35
> rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
> select(1024, [3 5], NULL, NULL, {1, 0}) = 0 (Timeout)
> select(1024, [3 5], NULL, NULL, {1, 0}) = 0 (Timeout)
> 
> 
> May be the better solution is, after fixing the bug for backward
> compatibility with already uploaded images, to implement a forced characters
> substitution at upload time, replacing spaces and every character not in a
> "allowed chars" list with an underscore

A correction:
the url generated is correct, infact modifing by hand the names of the files and
the "Attachment:" entry in the .log all works fine

the same problem happens if the filename is, for example foo.JPG and not foo.jpg :
http://arcolog.roma2.infn.it:8080/ARCO/050221_171508/Graph3.JPG
loops forever

http://arcolog.roma2.infn.it:8080/ARCO/050221_171508/Graph3.jpg
works correctly


so, elog does not like spaces in filename and/or uppercase extensions. the
solution is, IMHO, to sanify the uploaded filename at uploading time :-)
  1007   Wed Mar 23 20:35:55 2005 Warning Stefan Rittstefan.ritt@psi.chBug reportLinuxr1592Re: wrong handling of attachment names
> When an attached image name contains a space in its filename and attachment
> display is enabled elog builds a wrong url to the image:
> 
> http://arcolog.roma2.infn.it:8080/ARCO/050309_170709/peeling+002.jpg
> 
> instead of the correct one:
> 
> http://arcolog.roma2.infn.it:8080/ARCO/050309_170709_peeling+002.jpg

This is on purpose. If you want to save an attachment locally and right click on
the attachment, and select "Save link as..." in your browser, then the default
file name is taken from the link. If your original file namw was "peeling
002.jpg", then you want again the same name, and not "050309_170709_peeling
002.jpg, because you would have to delete the date/time part of the file name
each time which would be annoying. That's why I have chosen to put an artificial
"/" between the date/time and the original file name. On the elog side, it's
converted correctly back to the file name.

The problem with blanks in attachment names I could not reproduce. See this
post, which contains an attachment with a blank in it. As you can see, this does
not crash the server. 
Attachment 1: back 42.jpg
back 42.jpg
  1010   Thu Mar 24 10:51:10 2005 Warning Emiliano GabrielliAlberT@SuperAlberT.itBug reportLinuxr1592Re: wrong handling of attachment names
> > When an attached image name contains a space in its filename and attachment
> > display is enabled elog builds a wrong url to the image:
> > 
> > http://arcolog.roma2.infn.it:8080/ARCO/050309_170709/peeling+002.jpg
> > 
> > instead of the correct one:
> > 
> > http://arcolog.roma2.infn.it:8080/ARCO/050309_170709_peeling+002.jpg
> 
> This is on purpose. If you want to save an attachment locally and right click on
> the attachment, and select "Save link as..." in your browser, then the default
> file name is taken from the link. If your original file namw was "peeling
> 002.jpg", then you want again the same name, and not "050309_170709_peeling
> 002.jpg, because you would have to delete the date/time part of the file name
> each time which would be annoying. That's why I have chosen to put an artificial
> "/" between the date/time and the original file name. On the elog side, it's
> converted correctly back to the file name.
> 

yes I notice this after posting :-) sorry

> The problem with blanks in attachment names I could not reproduce. See this
> post, which contains an attachment with a blank in it. As you can see, this does
> not crash the server. 

Ok I can confirm this.
The problem arises, for me, when upgrading to the new version of elog having yes
some old entries with attached filenames containing spaces and/or uppercase extensions.

It seems that uploading files with spaces in the name *now* works well... so the
problem should be somewhere in the handling of existing attachments, not rised when
the attachment is uploaded with the current version of elog ... it's quite strange
  1019   Thu Mar 24 13:40:27 2005 Angy Emiliano GabrielliAlberT@SuperAlberT.itBug reportLinuxr1592Re: wrong handling of attachment names
> When an attached image name contains a space in its filename and attachment
> display is enabled elog builds a wrong url to the image:
> 
> http://arcolog.roma2.infn.it:8080/ARCO/050309_170709/peeling+002.jpg
> 
> instead of the correct one:
> 
> http://arcolog.roma2.infn.it:8080/ARCO/050309_170709_peeling+002.jpg
> 
> The more annoing thing is that elogs hangs on this. a strace shows a select
> on fd n°3 and 5 that loops forever (returning a timeout error):
> 
> send(4, "<141>Mar 23 11:36:25 elogd[22189"..., 35, 0) = 35
> rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
> select(1024, [3 5], NULL, NULL, {1, 0}) = 0 (Timeout)
> select(1024, [3 5], NULL, NULL, {1, 0}) = 0 (Timeout)
> 
> 
> May be the better solution is, after fixing the bug for backward
> compatibility with already uploaded images, to implement a forced characters
> substitution at upload time, replacing spaces and every character not in a
> "allowed chars" list with an underscore

donno if the following is correlated, otherwise there is another problem I
guess :-)
I attached a strace of elog, hope you'll find it useful.

- Irestarted the daemon
- attached strace to it
- requested the list for a testin logbook, few entries some quite big images 
  (two thumbnails, the other are old images get resized my the browser)
- repeted previous point a couple of times
- press F5 (mozilla-firefox)  the browser hangs 4ever
- stop the load
- repeat point 3, all right
- F5 => hangs
- F5 => hangs

there should be some problem, may be in the socket ?
Attachment 1: elog_trace.txt
Process 26302 attached - interrupt to quit
select(1024, [3], NULL, NULL, {0, 318000}) = 0 (Timeout)
select(1024, [3], NULL, NULL, {1, 0})   = 0 (Timeout)
select(1024, [3], NULL, NULL, {1, 0})   = 0 (Timeout)
select(1024, [3], NULL, NULL, {1, 0})   = 0 (Timeout)
select(1024, [3], NULL, NULL, {1, 0})   = 0 (Timeout)
select(1024, [3], NULL, NULL, {1, 0})   = 1 (in [3], left {0, 358000})
accept(3, {sa_family=AF_INET, sin_port=htons(34793), sin_addr=inet_addr("141.108.255.111")}, [16]) = 5
time(NULL)                              = 1111667888
socket(PF_FILE, SOCK_STREAM, 0)         = 6
connect(6, {sa_family=AF_FILE, path="/var/run/.nscd_socket"}, 110) = -1 ENOENT (No such file or directory)
close(6)                                = 0
open("/etc/hosts", O_RDONLY)            = 6
fcntl64(6, F_GETFD)                     = 0
fcntl64(6, F_SETFD, FD_CLOEXEC)         = 0
fstat64(6, {st_mode=S_IFREG|0644, st_size=9153, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000
read(6, "127.0.0.1\tlocalhost\t\tsparcserv\n1"..., 4096) = 4096
read(6, "sp\tws106\n192.168.0.107  \t\tws107."..., 4096) = 4096
read(6, ".0.227  \t\tws227.ltsp\tws227\n192.1"..., 4096) = 961
read(6, "", 4096)                       = 0
close(6)                                = 0
munmap(0x40018000, 4096)                = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 6
connect(6, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("141.108.255.3")}, 28) = 0
send(6, "\2D\1\0\0\1\0\0\0\0\0\0\003111\003255\003108\003141\7i"..., 46, 0) = 46
gettimeofday({1111667888, 460326}, NULL) = 0
poll([{fd=6, events=POLLIN, revents=POLLIN}], 1, 5000) = 1
ioctl(6, FIONREAD, [216])               = 0
recvfrom(6, "\2D\205\200\0\1\0\1\0\4\0\3\003111\003255\003108\00314"..., 1024, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("141.108.255.3")}, [16]) = 216
close(6)                                = 0
select(1024, [5], NULL, NULL, {6, 0})   = 1 (in [5], left {6, 0})
recv(5, "GET /test/?mode=full&attach=1 HT"..., 100000, 0) = 622
time([1111667888])                      = 1111667888
getpid()                                = 26302
rt_sigaction(SIGPIPE, {0x40123530, [], 0}, {SIG_IGN}, 8) = 0
send(4, "<141>Mar 24 13:38:08 elogd[26302"..., 35, 0) = 35
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
time([1111667888])                      = 1111667888
getpid()                                = 26302
rt_sigaction(SIGPIPE, {0x40123530, [], 0}, {SIG_IGN}, 8) = 0
send(4, "<141>Mar 24 13:38:08 elogd[26302"..., 653, 0) = 653
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
mmap2(NULL, 167936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40246000
mmap2(NULL, 167936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4026f000
mmap2(NULL, 151552, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40298000
time([1111667888])                      = 1111667888
time([1111667888])                      = 1111667888
time([1111667888])                      = 1111667888
mmap2(NULL, 253952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402bd000
mmap2(NULL, 253952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402fb000
open("/var/lib/elog/test/050324a.log", O_RDWR) = 6
mmap2(NULL, 253952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40339000
lseek(6, 0, SEEK_SET)                   = 0
read(6, "$@MID@$: 7\nDate: Thu Mar 24 10:5"..., 250999) = 241
close(6)                                = 0
munmap(0x40339000, 253952)              = 0
mmap2(NULL, 167936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40339000
mmap2(NULL, 167936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40362000
time([1111667888])                      = 1111667888
time([1111667888])                      = 1111667888
open("/var/lib/elog/test/050324_105313_back 42.jpg.thumb", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/var/lib/elog/test/050324_110101_back 42.JPG.thumb", O_RDONLY) = -1 ENOENT (No such file or directory)
munmap(0x40339000, 167936)              = 0
munmap(0x40362000, 167936)              = 0
open("/var/lib/elog/test/050323a.log", O_RDWR) = 6
mmap2(NULL, 253952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40339000
lseek(6, 765, SEEK_SET)                 = 765
read(6, "$@MID@$: 6\nDate: Wed Mar 23 12:2"..., 250999) = 271
close(6)                                = 0
munmap(0x40339000, 253952)              = 0
mmap2(NULL, 167936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40339000
mmap2(NULL, 167936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40362000
time([1111667888])                      = 1111667888
time([1111667888])                      = 1111667888
open("/var/lib/elog/test/050323_122120_Poster1_PCaPAC05.pdf.thumb", O_RDONLY) = 6
close(6)                                = 0
munmap(0x40339000, 167936)              = 0
munmap(0x40362000, 167936)              = 0
open("/var/lib/elog/test/050323a.log", O_RDWR) = 6
mmap2(NULL, 253952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40339000
lseek(6, 0, SEEK_SET)                   = 0
read(6, "$@MID@$: 5\nDate: Wed Mar 23 12:0"..., 250999) = 1036
close(6)                                = 0
munmap(0x40339000, 253952)              = 0
mmap2(NULL, 167936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40339000
mmap2(NULL, 167936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40362000
time([1111667888])                      = 1111667888
time([1111667888])                      = 1111667888
munmap(0x40339000, 167936)              = 0
munmap(0x40362000, 167936)              = 0
open("/var/lib/elog/test/050311a.log", O_RDWR) = 6
mmap2(NULL, 253952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40339000
lseek(6, 0, SEEK_SET)                   = 0
read(6, "$@MID@$: 4\nDate: Fri Mar 11 18:0"..., 250999) = 2546
close(6)                                = 0
munmap(0x40339000, 253952)              = 0
mmap2(NULL, 167936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40339000
mmap2(NULL, 167936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40362000
time([1111667888])                      = 1111667888
time([1111667888])                      = 1111667888
open("/var/lib/elog/test/050311_175308_Non-reversed_field.jpg.thumb", O_RDONLY) = 6
close(6)                                = 0
open("/var/lib/elog/test/050311_180201_reversed_field.jpg.thumb", O_RDONLY) = 6
close(6)                                = 0
open("/var/lib/elog/test/050311_180244_reversed_and_non-reversed_field.jpg.thumb", O_RDONLY) = 6
close(6)                                = 0
munmap(0x40339000, 167936)              = 0
munmap(0x40362000, 167936)              = 0
open("/var/lib/elog/test/050310a.log", O_RDWR) = 6
mmap2(NULL, 253952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40339000
lseek(6, 0, SEEK_SET)                   = 0
read(6, "$@MID@$: 3\nDate: Thu Mar 10 09:0"..., 250999) = 1068
close(6)                                = 0
munmap(0x40339000, 253952)              = 0
mmap2(NULL, 167936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40339000
mmap2(NULL, 167936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40362000
time([1111667888])                      = 1111667888
time([1111667888])                      = 1111667888
munmap(0x40339000, 167936)              = 0
munmap(0x40362000, 167936)              = 0
open("/var/lib/elog/test/050307a.log", O_RDWR) = 6
mmap2(NULL, 253952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40339000
lseek(6, 202, SEEK_SET)                 = 202
read(6, "$@MID@$: 2\nDate: Mon Mar 07 16:0"..., 250999) = 180
close(6)                                = 0
munmap(0x40339000, 253952)              = 0
mmap2(NULL, 167936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40339000
mmap2(NULL, 167936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40362000
time([1111667888])                      = 1111667888
time([1111667888])                      = 1111667888
munmap(0x40339000, 167936)              = 0
munmap(0x40362000, 167936)              = 0
open("/var/lib/elog/test/050307a.log", O_RDWR) = 6
mmap2(NULL, 253952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40339000
lseek(6, 0, SEEK_SET)                   = 0
read(6, "$@MID@$: 1\nDate: Mon Mar 07 15:1"..., 250999) = 382
close(6)                                = 0
munmap(0x40339000, 253952)              = 0
mmap2(NULL, 167936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40339000
mmap2(NULL, 167936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40362000
time([1111667888])                      = 1111667888
time([1111667888])                      = 1111667888
munmap(0x40339000, 167936)              = 0
munmap(0x40362000, 167936)              = 0
munmap(0x40246000, 167936)              = 0
munmap(0x4026f000, 167936)              = 0
munmap(0x40298000, 151552)              = 0
munmap(0x402bd000, 253952)              = 0
munmap(0x402fb000, 253952)              = 0
send(5, "HTTP/1.1 200 Document follows\r\nS"..., 241, 0) = 241
send(5, "<!DOCTYPE HTML PUBLIC \"-//W3C//D"..., 11022, 0) = 11022
time([1111667888])                      = 1111667888
getpid()                                = 26302
rt_sigaction(SIGPIPE, {0x40123530, [], 0}, {SIG_IGN}, 8) = 0
send(4, "<141>Mar 24 13:38:08 elogd[26302"..., 79, 0) = 79
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
time([1111667888])                      = 1111667888
getpid()                                = 26302
rt_sigaction(SIGPIPE, {0x40123530, [], 0}, {SIG_IGN}, 8) = 0
send(4, "<141>Mar 24 13:38:08 elogd[26302"..., 272, 0) = 272
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
time([1111667888])                      = 1111667888
getpid()                                = 26302
rt_sigaction(SIGPIPE, {0x40123530, [], 0}, {SIG_IGN}, 8) = 0
send(4, "<141>Mar 24 13:38:08 elogd[26302"..., 11057, 0) = 11057
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
time([1111667888])                      = 1111667888
getpid()                                = 26302
rt_sigaction(SIGPIPE, {0x40123530, [], 0}, {SIG_IGN}, 8) = 0
send(4, "<141>Mar 24 13:38:08 elogd[26302"..., 35, 0) = 35
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
select(1024, [3 5], NULL, NULL, {1, 0}) = 1 (in [5], left {0, 718000})
time(NULL)                              = 1111667888
select(1024, [5], NULL, NULL, {6, 0})   = 1 (in [5], left {6, 0})
recv(5, "GET /test/favicon.ico HTTP/1.1\r\n"..., 100000, 0) = 534
time([1111667888])                      = 1111667888
getpid()                                = 26302
rt_sigaction(SIGPIPE, {0x40123530, [], 0}, {SIG_IGN}, 8) = 0
send(4, "<141>Mar 24 13:38:08 elogd[26302"..., 35, 0) = 35
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
time([1111667888])                      = 1111667888
getpid()                                = 26302
rt_sigaction(SIGPIPE, {0x40123530, [], 0}, {SIG_IGN}, 8) = 0
send(4, "<141>Mar 24 13:38:08 elogd[26302"..., 565, 0) = 565
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
open("/usr/share/elog/themes/arco/favicon.ico", O_RDONLY) = 6
lseek(6, 0, SEEK_END)                   = 318
lseek(6, 0, SEEK_CUR)                   = 318
lseek(6, 0, SEEK_SET)                   = 0
time([1111667888])                      = 1111667888
read(6, "\0\0\1\0\1\0\20\20\20\0\1\0\4\0(\1\0\0\26\0\0\0(\0\0\0"..., 318) = 318
close(6)                                = 0
send(5, "HTTP/1.1 200 Document follows\r\nS"..., 546, 0) = 546
time([1111667888])                      = 1111667888
getpid()                                = 26302
rt_sigaction(SIGPIPE, {0x40123530, [], 0}, {SIG_IGN}, 8) = 0
send(4, "<141>Mar 24 13:38:08 elogd[26302"..., 79, 0) = 79
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
time([1111667888])                      = 1111667888
getpid()                                = 26302
rt_sigaction(SIGPIPE, {0x40123530, [], 0}, {SIG_IGN}, 8) = 0
send(4, "<141>Mar 24 13:38:08 elogd[26302"..., 259, 0) = 259
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
time([1111667888])                      = 1111667888
getpid()                                = 26302
rt_sigaction(SIGPIPE, {0x40123530, [], 0}, {SIG_IGN}, 8) = 0
send(4, "<141>Mar 24 13:38:08 elogd[26302"..., 35, 0) = 35
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
select(1024, [3 5], NULL, NULL, {1, 0}) = 0 (Timeout)
select(1024, [3 5], NULL, NULL, {1, 0}) = 0 (Timeout)
select(1024, [3 5], NULL, NULL, {1, 0}) = 0 (Timeout)
select(1024, [3 5], NULL, NULL, {1, 0}) = 0 (Timeout)
select(1024, [3 5], NULL, NULL, {1, 0}) = 0 (Timeout)
select(1024, [3 5], NULL, NULL, {1, 0}) = 1 (in [5], left {0, 322000})
time(NULL)                              = 1111667894
select(1024, [5], NULL, NULL, {6, 0})   = 1 (in [5], left {6, 0})
recv(5, "GET /test/?mode=full&attach=1 HT"..., 100000, 0) = 622
time([1111667894])                      = 1111667894
getpid()                                = 26302
rt_sigaction(SIGPIPE, {0x40123530, [], 0}, {SIG_IGN}, 8) = 0
send(4, "<141>Mar 24 13:38:14 elogd[26302"..., 35, 0) = 35
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
time([1111667894])                      = 1111667894
getpid()                                = 26302
rt_sigaction(SIGPIPE, {0x40123530, [], 0}, {SIG_IGN}, 8) = 0
send(4, "<141>Mar 24 13:38:14 elogd[26302"..., 653, 0) = 653
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
mmap2(NULL, 167936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40246000
mmap2(NULL, 167936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4026f000
mmap2(NULL, 151552, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40298000
time([1111667894])                      = 1111667894
time([1111667894])                      = 1111667894
time([1111667894])                      = 1111667894
mmap2(NULL, 253952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402bd000
mmap2(NULL, 253952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402fb000
open("/var/lib/elog/test/050324a.log", O_RDWR) = 6
mmap2(NULL, 253952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40339000
lseek(6, 0, SEEK_SET)                   = 0
read(6, "$@MID@$: 7\nDate: Thu Mar 24 10:5"..., 250999) = 241
close(6)                                = 0
munmap(0x40339000, 253952)              = 0
mmap2(NULL, 167936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40339000
mmap2(NULL, 167936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40362000
time([1111667894])                      = 1111667894
time([1111667894])                      = 1111667894
open("/var/lib/elog/test/050324_105313_back 42.jpg.thumb", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/var/lib/elog/test/050324_110101_back 42.JPG.thumb", O_RDONLY) = -1 ENOENT (No such file or directory)
munmap(0x40339000, 167936)              = 0
munmap(0x40362000, 167936)              = 0
open("/var/lib/elog/test/050323a.log", O_RDWR) = 6
mmap2(NULL, 253952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40339000
lseek(6, 765, SEEK_SET)                 = 765
read(6, "$@MID@$: 6\nDate: Wed Mar 23 12:2"..., 250999) = 271
close(6)                                = 0
munmap(0x40339000, 253952)              = 0
mmap2(NULL, 167936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40339000
mmap2(NULL, 167936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40362000
time([1111667894])                      = 1111667894
time([1111667894])                      = 1111667894
open("/var/lib/elog/test/050323_122120_Poster1_PCaPAC05.pdf.thumb", O_RDONLY) = 6
close(6)                                = 0
munmap(0x40339000, 167936)              = 0
munmap(0x40362000, 167936)              = 0
open("/var/lib/elog/test/050323a.log", O_RDWR) = 6
mmap2(NULL, 253952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40339000
lseek(6, 0, SEEK_SET)                   = 0
read(6, "$@MID@$: 5\nDate: Wed Mar 23 12:0"..., 250999) = 1036
close(6)                                = 0
munmap(0x40339000, 253952)              = 0
mmap2(NULL, 167936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40339000
mmap2(NULL, 167936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40362000
time([1111667894])                      = 1111667894
time([1111667894])                      = 1111667894
munmap(0x40339000, 167936)              = 0
munmap(0x40362000, 167936)              = 0
open("/var/lib/elog/test/050311a.log", O_RDWR) = 6
mmap2(NULL, 253952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40339000
lseek(6, 0, SEEK_SET)                   = 0
read(6, "$@MID@$: 4\nDate: Fri Mar 11 18:0"..., 250999) = 2546
close(6)                                = 0
munmap(0x40339000, 253952)              = 0
mmap2(NULL, 167936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40339000
mmap2(NULL, 167936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40362000
time([1111667894])                      = 1111667894
time([1111667894])                      = 1111667894
open("/var/lib/elog/test/050311_175308_Non-reversed_field.jpg.thumb", O_RDONLY) = 6
close(6)                                = 0
open("/var/lib/elog/test/050311_180201_reversed_field.jpg.thumb", O_RDONLY) = 6
close(6)                                = 0
open("/var/lib/elog/test/050311_180244_reversed_and_non-reversed_field.jpg.thumb", O_RDONLY) = 6
close(6)                                = 0
munmap(0x40339000, 167936)              = 0
munmap(0x40362000, 167936)              = 0
open("/var/lib/elog/test/050310a.log", O_RDWR) = 6
mmap2(NULL, 253952, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40339000
lseek(6, 0, SEEK_SET)                   = 0
read(6, "$@MID@$: 3\nDate: Thu Mar 10 09:0"..., 250999) = 1068
close(6)                                = 0
munmap(0x40339000, 253952)              = 0
... 1508 more lines ...
ELOG V3.1.5-2eba886