1. 30 Apr, 2012 1 commit
    • Ondřej Zajíček's avatar
      Cleanup in sysdep KRT code, part 1. · 396dfa90
      Ondřej Zajíček authored
      OS-dependent functions renamed to be more consistent,
      prepared to merge krt-set and krt-scan headers.
      
      Name changes:
      
      struct krt_if_params -> struct kif_params
      struct krt_if_status -> struct kif_status
      struct krt_set/scan_params -> struct krt_params
      struct krt_set/scan_status -> struct krt_status
      
      krt_if_params_same -> kif_sys_reconfigure
      krt_if_copy_params -> kif_sys_copy_config
      krt_set/scan_params_same -> krt_sys_reconfigure
      krt_set/scan_copy_params -> krt_sys_copy_config
      
      krt_if_scan -> kif_do_scan
      krt_set_notify -> krt_do_notify
      krt_scan_fire -> krt_do_scan
      
      krt_if_ -> kif_sys_
      krt_scan_ -> krt_sys_
      krt_set_ -> krt_sys_
      396dfa90
  2. 25 Mar, 2012 1 commit
  3. 23 Mar, 2012 2 commits
  4. 03 Feb, 2012 1 commit
  5. 24 Jan, 2012 1 commit
  6. 23 Jan, 2012 1 commit
  7. 07 Nov, 2011 1 commit
    • Ondřej Zajíček's avatar
      Implements protocol templates. · a7f23f58
      Ondřej Zajíček authored
      Based on the patch from Alexander V. Chernikov.
      Extended to support almost all protocols.
      Uses 'protocol bgp NAME from TEMPLATE { ... }' syntax.
      a7f23f58
  8. 13 Apr, 2011 1 commit
  9. 12 Jul, 2010 1 commit
  10. 04 Apr, 2010 1 commit
  11. 27 Feb, 2010 1 commit
    • Ondřej Zajíček's avatar
      Better flushing of interfaces. · 53434e44
      Ondřej Zajíček authored
      When device protocol goes down, interfaces should be flushed
      asynchronously (in the same way like routes from protocols are flushed),
      when protocol goes to DOWN/HUNGRY.
      
      This fixes the problem with static routes staying in kernel routing
      table after BIRD shutdown.
      53434e44
  12. 26 Feb, 2010 1 commit
    • Ondřej Zajíček's avatar
      Many changes in (mainly) kernel syncers. · ff2857b0
      Ondřej Zajíček authored
      - BSD kernel syncer is now self-conscious and can learn alien routes
      - important bugfix in BSD kernel syncer (crash after protocol restart)
      - many minor changes and bugfixes in kernel syncers and neighbor cache
      - direct protocol does not generate host and link local routes
      - min_scope check is removed, all routes have SCOPE_UNIVERSE by default
      - also fixes some remaining compiler warnings
      ff2857b0
  13. 13 Feb, 2010 1 commit
    • Ondřej Zajíček's avatar
      Removes phantom protocol from the pipe design. · dca75fd7
      Ondřej Zajíček authored
      It seems that by adding one pipe-specific exception to route
      announcement code and by adding one argument to rt_notify() callback i
      could completely eliminate the need for the phantom protocol instance
      and therefore make the code more straightforward. It will also fix some
      minor bugs (like ignoring debug flag changes from the command line).
      dca75fd7
  14. 01 Jun, 2009 1 commit
  15. 31 May, 2009 1 commit
  16. 29 May, 2009 1 commit
  17. 04 May, 2009 1 commit
  18. 20 Mar, 2009 1 commit
    • Ondřej Zajíček's avatar
      Fix bugs related to kernel table synchronization. · 3d574679
      Ondřej Zajíček authored
      KRF_INSTALLED flag was not cleared during reconfiguration
      that lead to not removing routes during reconfigure when
      export rules changed.
      
      We also should not try to remove routes we didi not installed,
      on Linux this leads to warnings (as kernel checks route source
      field and do not allow to remove non-bird routes) but we should
      not rely on it.
      3d574679
  19. 26 Feb, 2009 1 commit
  20. 21 Nov, 2008 1 commit
  21. 26 Oct, 2008 1 commit
    • Ondřej Zajíček's avatar
      Bugfix for routing table breaking bug. · 1567edea
      Ondřej Zajíček authored
      Here is a patch fixing a bug that causes breakage of a local routing
      table during shutdown of Bird. The problem was caused by shutdown
      of 'device' protocol before shutdown of 'kernel' protocol.  When
      'device' protocol went down, the route (with local network prefix)
      From different protocol (BGP or OSPF) became preferred and installed
      to the kernel routing table. Such routes were broken (like
      192.168.1.0/24 via 192.168.1.2). I think it is also the cause
      of problem reported by Martin Kraus.
      
      The patch disables updating of kernel routing table during shutdown of
      Bird. I am not sure whether this is the best way to fix it, I would
      prefer to forbid 'kernel' protocol to overwrite routes with
      'proto kernel'.
      
      The patch also fixes a problem that during shutdown sometimes routes
      created by Bird remained in the kernel routing table.
      1567edea
  22. 07 Jun, 2004 2 commits
  23. 05 Jun, 2004 1 commit
  24. 14 Aug, 2003 1 commit
  25. 13 Nov, 2002 1 commit
  26. 08 Jun, 2000 1 commit
  27. 07 Jun, 2000 2 commits
  28. 05 Jun, 2000 1 commit
  29. 16 May, 2000 1 commit
  30. 13 May, 2000 1 commit
  31. 08 May, 2000 1 commit
  32. 04 May, 2000 1 commit
    • Martin Mareš's avatar
      Removed a lot of unused variables. · 93a786cb
      Martin Mareš authored
      Please try compiling your code with --enable-warnings to see them. (The
      unused parameter warnings are usually bogus, the unused variable ones
      are very useful, but gcc is unable to control them separately.)
      93a786cb
  33. 12 Mar, 2000 1 commit
  34. 04 Mar, 2000 1 commit
  35. 18 Jan, 2000 2 commits
  36. 17 Jan, 2000 1 commit
    • Martin Mareš's avatar
      Separated `official protocol names' used in status dumps from name templates · d272fe22
      Martin Mareš authored
      used for automatic generation of instance names.
      
      	protocol->name is the official name
      	protocol->template is the name template (usually "name%d"),
      		should be all lowercase.
      
      Updated all protocols to define the templates, checked that their configuration
      grammar includes proto_name which generates the name and interns it in the
      symbol table.
      d272fe22