OpenBSD CVS

CVS log for src/usr.sbin/bgpd/log.h


[BACK] Up to [local] / src / usr.sbin / bgpd

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.20 / (download) - annotate - [select for diffs], Wed Oct 21 06:48:33 2020 UTC (3 years, 7 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, HEAD
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

For portability include sys/types.h instead of sys/cdefs.h.
cdefs.h may not exist on some systems and the portable framework uses
sys/types.h to define __dead.
OK deraadt@

Revision 1.19 / (download) - annotate - [select for diffs], Tue Jan 24 04:22:42 2017 UTC (7 years, 4 months ago) by benno
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.18: +21 -21 lines
Diff to previous 1.18 (colored)

sync log.c from relayd et al to bgpd.

there is still a little difference regarding handling of the verbosity
value that will be handled later.

ok claudio@ florian@

Revision 1.18 / (download) - annotate - [select for diffs], Fri Sep 2 14:00:29 2016 UTC (7 years, 9 months ago) by benno
Branch: MAIN
Changes since 1.17: +29 -129 lines
Diff to previous 1.17 (colored)

work on making log.c similar in all daemons:

move daemon-local functions into new logmsg.c, and reduce
the (mostly whitespace) differences so that log.c's can be diffed easily.

ok claudio@, feedback from henning@, deraadt@, reyk@

Revision 1.17 / (download) - annotate - [select for diffs], Sat Oct 24 08:06:45 2015 UTC (8 years, 7 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.16: +10 -1 lines
Diff to previous 1.16 (colored)

Introduce msgtypenames to print bgp msg types (which will be used by bgpctl)

Revision 1.16 / (download) - annotate - [select for diffs], Sun Oct 11 19:25:06 2015 UTC (8 years, 7 months ago) by phessler
Branch: MAIN
Changes since 1.15: +4 -2 lines
Diff to previous 1.15 (colored)

some peers are following an expired draft RFC and are sending "unknown"
error codes to OPEN messages.  make them "known", and show them.

OK benno@, claudio@, sthen@

Revision 1.15 / (download) - annotate - [select for diffs], Thu Mar 7 21:26:28 2013 UTC (11 years, 2 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.14: +4 -2 lines
Diff to previous 1.14 (colored)

Implements a few missing bits for better templates support:
- on config reload also adjust the cloned neighbors so that they get the
  config changes as well.
- clean up sessions that are 1h idle but in state active (instead of down)
- add bits to allow bgpctl to destroy cloned neighbors
Tested by sthen@ some time ago, OK phessler@

Revision 1.14 / (download) - annotate - [select for diffs], Tue Sep 18 09:45:51 2012 UTC (11 years, 8 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3
Changes since 1.13: +2 -1 lines
Diff to previous 1.13 (colored)

Only allow one reload request at a time in bgpd. Needed for further work.
OK sthen@, benno@, henning@

Revision 1.13 / (download) - annotate - [select for diffs], Sun Jun 10 11:16:08 2012 UTC (11 years, 11 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE, OPENBSD_5_2
Changes since 1.12: +8 -1 lines
Diff to previous 1.12 (colored)

Add error messages for BGP Finite State Machine Error subcodes as defined
in RFC 6608. OK henning@ sthen@

Revision 1.12 / (download) - annotate - [select for diffs], Tue May 22 20:42:48 2012 UTC (12 years ago) by claudio
Branch: MAIN
Changes since 1.11: +3 -2 lines
Diff to previous 1.11 (colored)

Sync log strings with the possible values of IMSG_CTL_RESULT
OK henning@ sthen@

Revision 1.11 / (download) - annotate - [select for diffs], Thu Sep 11 14:49:58 2008 UTC (15 years, 8 months ago) by henning
Branch: MAIN
CVS Tags: OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.10: +2 -1 lines
Diff to previous 1.10 (colored)

remove hackery to un-demote after the session has been established for
a while, we can now just use a timer (since i rewrote the timer code)

Revision 1.10 / (download) - annotate - [select for diffs], Sun Dec 23 18:26:13 2007 UTC (16 years, 5 months ago) by henning
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.9: +11 -1 lines
Diff to previous 1.9 (colored)

send timers for bgpctlshow neighbor foo timer in seperate messages after
the peer data. makes bgpctl display code independent from timer
implementation internals. only running timers are displayed now, stopped
ones are skipped.

Revision 1.9 / (download) - annotate - [select for diffs], Sun Feb 25 11:59:39 2007 UTC (17 years, 3 months ago) by henning
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

tiny typos hiding, uncovered  Leen Besselink <leen@consolejunkie.net>

Revision 1.8 / (download) - annotate - [select for diffs], Sat May 27 21:24:36 2006 UTC (18 years ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.7: +3 -2 lines
Diff to previous 1.7 (colored)

Pass a IMSG_CTL_RESULT messgae back to bgpctl on reloads to indicate if
the reload was successful or not. OK henning@

Revision 1.7 / (download) - annotate - [select for diffs], Tue May 23 12:11:38 2006 UTC (18 years ago) by henning
Branch: MAIN
Changes since 1.6: +3 -2 lines
Diff to previous 1.6 (colored)

allow bgpd to request a route refresh from a neighbor if that neighbor
announced route refresh capabilities

Revision 1.6 / (download) - annotate - [select for diffs], Tue Jan 24 10:03:44 2006 UTC (18 years, 4 months ago) by henning
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.5: +3 -2 lines
Diff to previous 1.5 (colored)

introduce a second control socket, which is restricted to certain messages,
nameley the show ones. needed for looking glass style applications,
monitoring etc. claudio ok

Revision 1.5 / (download) - annotate - [select for diffs], Wed Oct 19 12:32:16 2005 UTC (18 years, 7 months ago) by henning
Branch: MAIN
Changes since 1.4: +6 -1 lines
Diff to previous 1.4 (colored)

for "bgpctl neighbor foo up/down/clear", make bgpctl not exit after sending
the request, but wait for the new IMSG_CTL_RESULT message, which contains
a status code to indicate wether the request was processed successfully
or wether an error occured and if so what kind of error.
no more "IMSG_CTL_NEIGHBOR_ with unknown neighbor foobaz" in the log
when you mistyped foobar - no bgpctl itself complains
claudio ok

Revision 1.4 / (download) - annotate - [select for diffs], Sun Jun 5 19:50:09 2005 UTC (19 years ago) by henning
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.3: +13 -1 lines
Diff to previous 1.3 (colored)

provide cleartext messages for the cease suberror codes

Revision 1.3 / (download) - annotate - [select for diffs], Fri May 21 16:01:14 2004 UTC (20 years ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.2: +8 -8 lines
Diff to previous 1.2 (colored)

Fix some gcc warnings in bgpctl because of the last commit. OK henning@

Revision 1.2 / (download) - annotate - [select for diffs], Fri May 21 11:58:32 2004 UTC (20 years ago) by henning
Branch: MAIN
Changes since 1.1: +67 -1 lines
Diff to previous 1.1 (colored)

move the big name tables to the .h file, makes the .c easier

Revision 1.1 / (download) - annotate - [select for diffs], Sun Jan 4 02:13:52 2004 UTC (20 years, 5 months ago) by henning
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5

share statenames

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.