FileZilla Log Analyzer Now Released!

Need help with FileZilla Server? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Message
Author
Stunner
226 Transfer OK
Posts: 63
Joined: 2009-03-31 01:19
First name: A
Last name: Dog

Re: FileZilla Log Analyzer Now Released!

#31 Post by Stunner » 2010-09-23 15:35

The problem is just what I expected, "Failed to create listen socket on port..." wasn't being checked for by the parser, so it threw that error. I will be sure to fix that in the next version(coming soon... just working on documentation these days).

Unfortunately, as of now there are no flags or settings that would allow you to disregard files in the listed summary log. That feature has been duly noted and may be implemented in a future release. :)

And no, file sizes are not logged in log files so I cannot use that information in analysis. If you want that information you will have to make a request to include that functionality to the FileZilla Server developers.

Stunner
226 Transfer OK
Posts: 63
Joined: 2009-03-31 01:19
First name: A
Last name: Dog

Re: FileZilla Log Analyzer Now Released!

#32 Post by Stunner » 2010-09-28 10:09

Alright guys, I finally just released FileZilla Log Analyzer version 1.10 alpha, available here: http://sourceforge.net/projects/fla/. It has a good amount of bug fixes and even more feature enhancements, such as the ability to filter, and a better flag system. Many of the feature enhancements/bug fixes came from the suggestions of users so keep those ideas/bug reports coming.

Version Changes

Code: Select all

1.10 alpha:
ENHANCEMENTS:
    -Can now filter by user, IP address, date, port or any combination thereof.
    -Scrambling by IP address now appropriately scrambles only public IPs. Specifically, those that are not in the following CIDR ranges:
        -127.0.0.1/8 (Loopback addresses)
        -10.0.0.0/8 (Private network)
        -172.16.0.0/12 (Private network)
        -192.168.0.0/16 (Private network)
        -169.254.0.0/16 (Link-local addresses)
    -Scrambling by user can be done in numbered fashion(User_1,User_2,etc.)
    -Flags can be specified much more flexibly, major improvements/changes made to flagHandler module:
        -concise and verbose flags can be specified(-p and --parse respectively)
        -flags that perform similar functions have been consolidated into one:
            -f,u, and i flags are now parameters to the scramble flag(-s, or --scramble)
    -Created help flag which briefly displays all flags and their parameters to command prompt
    -Writing/overwriting is now specified without redundancies (i.e. Writing xxx..., Overwriting xxx...)
BUG FIXES:
    -Made parser recognize message which caused an error to be thrown about file not being an authentic FileZilla Server log
    -Fixed bug that would cause an error when parsing by user instance if selecting portion where user only logs in or disconnects in log file
    -User names scrambled in action portion of log is now generated properly(consistent with user found in user portion of log)
    -Fixed rare bug in which scrambled IP wouldn't be created properly whenever an IP was scrambled to a private address

Legs
504 Command not implemented
Posts: 11
Joined: 2010-08-23 13:20
First name: Le
Last name: gs

Re: FileZilla Log Analyzer Now Released!

#33 Post by Legs » 2010-09-28 17:55

nice work :)

Charlene
500 Command not understood
Posts: 3
Joined: 2011-11-23 16:05
First name: Charlene
Last name: Jackson

Re: FileZilla Log Analyzer Now Released!

#34 Post by Charlene » 2011-11-26 00:06

Thanks a lot, the log analyzer is prefect! This is exactly what I needed for the payroll site that I am working on. I have been looking around for something like this, with out really knowing exactly what it was I needed. When I stumbled across this thread, I knew right away that this was exactly what I had been searching for. I am very grateful for this, thank you!

Stunner
226 Transfer OK
Posts: 63
Joined: 2009-03-31 01:19
First name: A
Last name: Dog

Re: FileZilla Log Analyzer Now Released!

#35 Post by Stunner » 2011-12-12 23:32

Not a problem, happy to help! :D Thanks for the thanks.

lisawinkler
500 Command not understood
Posts: 2
Joined: 2012-01-12 06:44
First name: Lisa
Last name: Winkler

Re: FileZilla Log Analyzer Now Released!

#36 Post by lisawinkler » 2012-01-12 07:12

Nice analyzer be happy.

PrzemekRyk
500 Command not understood
Posts: 2
Joined: 2013-06-05 10:52
First name: Przemek
Last name: Ryk

Re: FileZilla Log Analyzer Now Released!

#37 Post by PrzemekRyk » 2013-06-05 14:02

Hi All

Well - I tried to analzye logs from my server, and I have a problem. My log files have 169,5 MB and 599 MB. I use command:
python FLA.py -Ff u logname.log
Command line runs with administrator privileges.

Unfortunatelly - I receive a message:
Writing FL-fzs-2012.log\FL-User\fl-user---.log...
Traceback (most recent call last):
File "FLA.py", line 41, in <module>
FLACore.main(sys.argv)
File "C:\temp\FLACore.py", line 2097, in main
processAndExecute(argv,nextArg)
File "C:\temp\FLACore.py", line 1991, in processAndExecute
writeLog(loginInst,discInst)
File "C:\temp\FLACore.py", line 1879, in writeLog
generatedLine,changeData,isMessage = generateOutput(line,prevLine)
File "C:\temp\FLACore.py", line 1696, in generateOutput
(m,p,d,t,f,u,i,a) = FLAmodule.getOriginalLine(toWrite)
File "C:\temp\FLAmodule.py", line 193, in getOriginalLine
(m,p,d,t,f,u,i,a) = _parseOriginal(line)
File "C:\temp\FLAmodule.py", line 156, in _parseOriginal
a = _parseAction(G.nextIndex, fline) #action
File "C:\temp\FLAmodule.py", line 68, in _parseAction
if fline[i+1] == "\n":
IndexError: list index out of range
I've tested this tool under Windows XP Professional ENG SP3 (with newer updates) and 32-bit Python 2.5.7 and under Windows 7 Ultimate x64 with 64-bit Python 2.5.7 installed.

I don't know what causes this errors, byt analyzer stops before checking the whole log file. :(

avitalsamson
500 Syntax error
Posts: 13
Joined: 2013-05-29 10:44
First name: Avital
Last name: samson
Location: New York

Re: FileZilla Log Analyzer Now Released!

#38 Post by avitalsamson » 2013-06-14 06:34

Hey thanks for posting that..i guess the issue has been resolved so i really appreciate that.

res5ect
421 Kicked by Administrator
Posts: 8
Joined: 2013-09-17 08:04
First name: ключар
Last name: автоключар

Re: FileZilla Log Analyzer Now Released!

#39 Post by res5ect » 2013-09-17 08:10

its great info, thanks for the goodies

Stunner
226 Transfer OK
Posts: 63
Joined: 2009-03-31 01:19
First name: A
Last name: Dog

Re: FileZilla Log Analyzer Now Released!

#40 Post by Stunner » 2013-10-01 09:57

PrzemekRyk wrote:Hi All

Well - I tried to analzye logs from my server, and I have a problem. My log files have 169,5 MB and 599 MB. I use command:
python FLA.py -Ff u logname.log
Command line runs with administrator privileges.

Unfortunatelly - I receive a message:
Writing FL-fzs-2012.log\FL-User\fl-user---.log...
Traceback (most recent call last):
File "FLA.py", line 41, in <module>
FLACore.main(sys.argv)
File "C:\temp\FLACore.py", line 2097, in main
processAndExecute(argv,nextArg)
File "C:\temp\FLACore.py", line 1991, in processAndExecute
writeLog(loginInst,discInst)
File "C:\temp\FLACore.py", line 1879, in writeLog
generatedLine,changeData,isMessage = generateOutput(line,prevLine)
File "C:\temp\FLACore.py", line 1696, in generateOutput
(m,p,d,t,f,u,i,a) = FLAmodule.getOriginalLine(toWrite)
File "C:\temp\FLAmodule.py", line 193, in getOriginalLine
(m,p,d,t,f,u,i,a) = _parseOriginal(line)
File "C:\temp\FLAmodule.py", line 156, in _parseOriginal
a = _parseAction(G.nextIndex, fline) #action
File "C:\temp\FLAmodule.py", line 68, in _parseAction
if fline[i+1] == "\n":
IndexError: list index out of range
I've tested this tool under Windows XP Professional ENG SP3 (with newer updates) and 32-bit Python 2.5.7 and under Windows 7 Ultimate x64 with 64-bit Python 2.5.7 installed.

I don't know what causes this errors, byt analyzer stops before checking the whole log file. :(
Hey, apologies for not getting back to you on this sooner... Don't know what happened but I stopped being notified via email regarding replies on this thread. In order to determine what is causing the crash and allow me to fix it I will need to reproduce what you are witnessing. Is it possible for you to give me a scrambled log file that is stripped down to the point where it crashes? If you look back in this thread you will see the information I ask of someone in order to help me fix the bug. If you can provide me with that I would be happy to look into fixing this up for you.

EDIT: Just saw that you mentioned python 2.5.7... That may be why you are experiencing the crash. Try running the script on python 2.6 or 2.7.

Post Reply