Permalink
Commits on Dec 8, 2015
  1. @wowczarek

    Merge pull request #11 from wowczarek/wowczarek-2.3.2-snmp-mgmt

    Build fixes: ifr_index/ifindex, unicast neg mgmt message display
    wowczarek committed Dec 8, 2015
  2. @wowczarek
  3. @wowczarek

    Merge pull request #10 from wowczarek/master

    Management continued + code cleanups
    wowczarek committed Dec 8, 2015
  4. @wowczarek

    Management continued + code cleanups

    - .gitignore added, removed all trailing spaces
    - added offset alarm threshold settings
    - beginnings of alarm support
    - unicast negotiation enable and timescale properties mgmt message support
    wowczarek committed Dec 8, 2015
Commits on Dec 7, 2015
  1. @wowczarek

    Merge pull request #9 from skreuzer/travis

    Add continous integration support using Travis CI
    wowczarek committed Dec 7, 2015
Commits on Dec 3, 2015
  1. @wowczarek

    Merge pull request #7 from wowczarek/master

    SNMP statistics tables
    wowczarek committed Dec 3, 2015
  2. @wowczarek
Commits on Dec 2, 2015
  1. @gvnn3

    When using multiple daemons bind to the interface address

    There are cases when a single server (master) might want to
    provide time over multiple interfaces. Bind to the interface
    address when the user specifies the -L (ignore-lock) option
    on the command line or in the configuration file.
    gvnn3 committed Dec 2, 2015
Commits on Dec 1, 2015
  1. @wowczarek

    Merge pull request #5 from wowczarek/master

    Continued SNMP work
    wowczarek committed Dec 1, 2015
  2. @wowczarek
Commits on Nov 30, 2015
  1. @wowczarek

    SNMP MIB cleanup, populated remaining SNMP notifications, minor bug f…

    …ixes, other SNMP work
    
    - Minor readme update
    - Populated remaining SNMP notifications
    - README.MD added to makefiles, debug compile fixes, populated more SNMP notifications
    - Cleaned up SNMP MIB
    - populated missing packet counters
    - added domain number and peer mean path delay as string
    - minor dbg newline fix
    wowczarek committed Nov 23, 2015
Commits on Nov 23, 2015
  1. @wowczarek

    Merge pull request #2 from skreuzer/cleanup

    skreuzer: Convert the README file to markdown and remove some trailing whitespace
    wowczarek committed Nov 23, 2015
  2. Remove trailing whitespace

    committed Nov 23, 2015
  3. Convert README to markdown

    committed Nov 23, 2015
  4. @wowczarek
Commits on Nov 20, 2015
  1. @wowczarek

    - minor ChangeLog update

    wowczarek committed Nov 20, 2015
  2. @wowczarek

    - management message handlers moved to management.c

    - added support for configurable disabled state
      [ todo: init network on disabled start]
    - minor refactoring and typo fixes
    - user-configurable clock user description
    - correct profile ID reported based on configuration
    - simplified enum option mapping in configuration
    - added buffer guard function when unpacking
      management TLVs to prevent from malformed
      messages causing issues
    - management TLVs no longer unpacked for GET
      type requests - not needed
    - support for nested / multiple embedded management
      TLVs in a single message
    - ptpd now responds to NULL management messages,
      this is needed because some management
      tools require this to detect live nodes
    - SET management messages now apply configuration
      properly via dictionary
    - fixed multiple issues remaining after removing
      config parse macros
    - reworked config apply / reload code for more
      clarity
    - updated PTP SNMP MIB
    - added counter table imlpementation for SNMP,
      with writable counter clear hanfles
    - added most code required for implementing
      SNMP traps defined in the MIB
    - added snmptpq, a simple but useful SNMP poller
      script
    wowczarek committed Nov 20, 2015
Commits on Nov 15, 2015
  1. @gvnn3

    Fix a spelling error that did not cause a compilation issue.

    Pointed out by: Martin Burnicki
    gvnn3 committed Nov 15, 2015
Commits on Nov 13, 2015
  1. @gvnn3

    Fix typo covered by RUNTIME_DEBUG

    gvnn3 committed Nov 13, 2015
Commits on Oct 23, 2015
  1. @wowczarek

    - cleaned up visibility and declarations

      in signaling.c
    - message type to index conversion to
      prevent from using max_message_type sized
      grant arrays
    - null checks for various getifaddrs data
    - version bumped to 2.3.2
    - RPM spec updated
    - added build date to svn builds (to be
      converted to git)
    - added dummy makefile to src/dep, passes
      make operations upwards
    wowczarek committed Oct 23, 2015
Commits on Oct 22, 2015
  1. @wowczarek

    - added templates.conf missing from svn

    - all config-related operations:
      parse, help, print default, check restart,
      now merged into parseConfig (opCode)
    - removed more macros, help related
      and restart check related
    - added array size parameter
      to configMapString for safe strncpy
      (macros had access to array so could
      run sizeof, now functions only have
      a pointer)
    - expanded ptpengine:interface man page
    wowczarek committed Oct 22, 2015
Commits on Oct 21, 2015
  1. @wowczarek
  2. @wowczarek

    - removed masterAddr in favour of bestMaster->sourceAddr

    - reworked all config option mapping macros to functions,
      some macros still left
    wowczarek committed Oct 21, 2015
Commits on Oct 19, 2015
  1. @wowczarek

    - reworked bmc functions to work on ForeignMasterRecord,

    allowing for extra fields in the record when needed
    - added pointer to best master (vs. array), to be
      factored into source, NULL checks needed(?)
    - added "disqualified" flag to FMR for grace period,
      instead of setting prio/clockcl to 255
    - added missing wildcard condition for sig/mgmt message
      acceptance: clkid=all1, port match
    - added default empty templates.conf to distribution
    - updated man pages with template file information
    - re-generated full default config file
    - added macro for looping over split string tokens
      (to be completed / factored into source)
    wowczarek committed Oct 19, 2015
Commits on Oct 16, 2015
  1. @wowczarek

    - added descriptions to built-in templates

    - support for (multiple) template files
      global:template_files + default file
      $datadir/ptpd/templates.conf for user's templates
    - fixed ptpd not printing startup messages until
      config is fully parsed, broken since 2.3.0
      (explicitly set nondaemon for -C and -V)
    - TODO file added to keep track of what's left
      until each release is complete
    wowczarek committed Oct 16, 2015
Commits on Oct 15, 2015
  1. @wowczarek

    - prevent from leaving multicast group zero

    - only join necessary multicast group,
      tested when switching between e2e and p2p
      while reloading ptpd
    wowczarek committed Oct 15, 2015
Commits on Oct 14, 2015
  1. @wowczarek

    - added getBestMaster() function

      todo: maintain a pointer to best master
    - master source addresses now maintained
      in the FMR: fixes master IP display bug
      where old master IP is displayed when
      changing master as a result of current
      master's announce
    wowczarek committed Oct 14, 2015
  2. @wowczarek

    - renamed leap seconds file to non-date specific

    - leap seconds file in default path added to
      utc properties template
    - changed dictionary_del to use double pointer,
      and nullify the underlying pointer so we
      can safely call dictionary_del multiple times
    - small exit memory leak fixed as a result
      of not deleting dictionaries on early
      failure
    - added log message body hash computation, same
      message is not logged twice unless compiled
      with debug enabled
    - rand seed at startup
    wowczarek committed Oct 14, 2015
  3. @wowczarek

    - typo in template

    - config reload flags colliding with failure code fixed
    wowczarek committed Oct 14, 2015
  4. @wowczarek
Commits on Oct 13, 2015
  1. @wowczarek

    - config defaults moved to separate source

      configdefaults.c
    - added support for hard-coded configuration templates,
      with initial templates defined - to be finalised
    - added support for user variables in configuration:
      variables:name=value, used as @name@ elsewhere
    - man pages built-in help updated accordingly
    - added -t [templates] to use, and -T to show
      available templates
    - implemented dictionary_replace(dict, char*, char*)
    wowczarek committed Oct 13, 2015
Commits on Oct 12, 2015
  1. @wowczarek

    - Added QNX support:

      - clean build on QNX 6.5 out of the box  
      - adjfreq emulation using native ClockAdjust
      - binding to CPU cores
      - Experimental (but yield best results):
        * interpolated getTime attached to IRQ0
        * RX/TX timestamps in software on send or receive,
          bypassing pcap or socket timestampint
    - implemented unicast negotiation port mask:
      when a node sends signaling and other messages
      from a different port number, mask is ORed onto it
    - UDP checksums disabled on Linux by default:
      enables interop with TCs that don't correct checksums
    - added options to accept timing from any GMs when
      using negotiation: allows a mix of signaling and
      non-signaling GMs
    - support for systems without getopt_long (like QNX)
    - adjfreq-like behaviour on systems with adjtime only:
      properly scaled adjtime() pulled into PI servo
      (vastly improved sync on systems like OpenBSD and OSX),
      support for drift file for those systems
    - critical: added minimum POSIX timer interval to prevent from
      timers firing to quickly for the process to handle,
      resulting in 100% CPU and endless signal queue
    - improved processing of unicast destination, domain
      and local preference lists
    - CPU affinity setting moved to a separate function
    - fixed incorrect PTP_UNICAST flag setting for multicast
    - fixed missing management or signalling message acceptance
      condition (clockid==clockid, portid=0xffff): ISPCS 2015 plugfest
    - signaling.c: fixed order of grant processing for PTP messages
      (ann,syn,fup,dresp,pdelayresp) instead of numeric loop,
      to assist with interop where transmission request order
      makes a difference to the master
    - signaling.c: do not reset known clock ID when changing GMs,
      to allow to keep accepting announce from other masters
    - signaling.c: update unicast index when transport address
      match only: fix for cache misses for non-best masters
    wowczarek committed Oct 12, 2015
Commits on Sep 21, 2015
  1. @wowczarek

    - 2.3.1.1 changelog added

    - man page updated to reflect changes in 2.3.1.1
    wowczarek committed Sep 21, 2015
Commits on Sep 17, 2015
  1. @wowczarek

    - added lib check for lnsl and lsocket on Solaris

      to fix builds without snmp
    - replaced AC_CHECK_LIB with AC_SEARCH_LIBS so that
      lnsl is not included on Linux if not necessary
    - added lrt check for POSIX timers: clock_gettime()
      is not in lrt on FreeBSD, but POSIX timers are
    wowczarek committed Sep 17, 2015