Hello!

I found what flow-capture create strange directories:

util# ls -l /usr/local/flow-data/
total 1046
drwxr-xr-x  3 root  wheel      512 Jan 16 17:26 -725323
drwxr-xr-x  3 root  wheel      512 Jan 16 18:05 -727501

I added debug messages to lib/ftfile.c:

util# ktrace -di /usr/local/bin/flow-capture -d 7
-w /usr/local/flow-data -N -3 -D -z 5 10.1.4.1/213.24.219.222/9991
flow-capture: setsockopt(size=231424) flow-capture: New exporter:
time=1169005111 src_ip=213.24.219.222 dst_ip=0.0.0.0 d_version=5
flow-capture: ftfile_pathname() ftime=1169005111 flow-capture:
ftfile_pathname() tm_year=107, tm_mon=0, tm_mday=17, tm_zone=KRAT
flow-capture: ftfile_mkpath() ftime=1169005111 flow-capture:
ftfile_mkpath() tm_year=-729401, tm_mon=9, tm_mday=23, tm_zone=LMT
flow-capture:
open(2007/2007-01/2007-01-17/tmp-v05.2007-01-17.103831+0700): No such
file or directory

But ftfile_pathname() and ftfile_mkpath() calls in flow-capture.c one
after another, and I can't find any time related calls inside lib/ftfile.c...

-- 
Andrew I Baznikin

#      /\    ASCII ribbon
#      \/      campaign
#      /\      against
#     /  \    HTML email
_______________________________________________
Flow-tools mailing list
[EMAIL PROTECTED]
http://mailman.splintered.net/mailman/listinfo/flow-tools

Reply via email to