Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Jun 08, 2010

  1. Michael Santos

    Use daemon(), if available.

    Regenerate configure. Yeah, I have no idea why I checked this is
    in version control too.
    authored
  2. Michael Santos

    BUFFER OVERFLOW!!&*#&

    Check length of command line arguments before doing a strcpy().
    authored
  3. Michael Santos

    Large file support, commented out for now

    authored

Jun 07, 2010

  1. Michael Santos

    Replace strlen/malloc/strcpy with strdup

    As mostly a cosmetic change, replace the strlen + malloc + strcpy
    with strdup.
    
    Under certain conditions, a non-null terminated string can be
    returned by readline(). For example, on Solaris, a large (2+ Gb)
    log file will return truncated data, if logsurfer has not been
    compiled with _FILE_OFFSET_BITS=64.
    
    This will cause strlen() to crash (now strdup() will crash with a
    memory error :)
    authored
  2. Michael Santos

    compiler warning

    authored
  3. Michael Santos

    Add options to daemonize and follow files

    Add -D option to run as a daemon. This should be replaced by daemon()
    where it is available.
    
    Add -F option to periodically stat files for inode changes and re-open,
    similar to "tail -F"
    authored
  4. Michael Santos

    segfault if config file empty

    Patch similar to OpenBSD/FreeBSD ports
    authored
  5. Michael Santos

    Import Logsurfer+ 1.7a

    authored
Something went wrong with that request. Please try again.