OpenBSD CVS

CVS log for src/usr.sbin/bgplgd/qs.c


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.4.4.1 / (download) - annotate - [select for diffs], Mon May 15 09:31:14 2023 UTC (12 months, 3 weeks ago) by tb
Branch: OPENBSD_7_3
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

Rename 'invalid' to 'disqualified' in the 'show rib' table.

'invalid' conflicts with the 'in' keyword and the parser is not smart
enough to handle this. As a secondary benefit the term 'invalid' is
less overloaded. There are various reasons why prefixes are not eligible
in the route decision process calling them all 'invalid' is a bit harsh.

job@, tb@ and benno@ agree
from claudio

Properly handle references for nexthops and labels in filterset_copy()

Up until recently filterset_copy() was only used in the parent process
where none of those references exist but by using filterset_copy() in
the RDE to populate per-peer output filters the code needs to handle
such references. Without this rules like 'match to any set nexthop X'
will cause internal corruption on config reloads and session resets.
Bug report from Marko Cupac (marko.cupac (at) mimar.rs)
OK tb@
from claudio

Pass ASPA objects in reverse since this is what aspa_add_set() expects.
OK tb@
from claudio

Adjust bgplgd after renaming of the invalid option in bgpctl.
This does not change the query string argument. We may do this
at a later stage.
OK tb@
from claudio

This is errata/7.3/002_bgpd.patch.sig

Revision 1.5 / (download) - annotate - [select for diffs], Tue May 9 14:35:45 2023 UTC (13 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, HEAD
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Adjust bgplgd after renaming of the invalid option in bgpctl.
This does not change the query string argument. We may do this
at a later stage.
OK tb@

Revision 1.4 / (download) - annotate - [select for diffs], Mon Mar 13 17:31:28 2023 UTC (14 months, 3 weeks ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_7_3_BASE
Branch point for: OPENBSD_7_3
Changes since 1.3: +10 -2 lines
Diff to previous 1.3 (colored)

Extend bgplgd to handle leaked and invalid options to show rib.
OK tb@

Revision 1.3 / (download) - annotate - [select for diffs], Fri Feb 3 10:10:36 2023 UTC (16 months ago) by job
Branch: MAIN
Changes since 1.2: +25 -2 lines
Diff to previous 1.2 (colored)

Add ASPA support to bgpctl FastCGI server

OK tb@ claudio@

Revision 1.2 / (download) - annotate - [select for diffs], Thu Aug 25 16:49:18 2022 UTC (21 months, 2 weeks ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE, OPENBSD_7_2
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

Use memset() and memcpy() instead of bzero() or bcopy().
In one case use memmove() since the operation is done on the same memory
buffer and may overlap.
OK tb@

Revision 1.1 / (download) - annotate - [select for diffs], Tue Jun 28 16:11:30 2022 UTC (23 months, 1 week ago) by claudio
Branch: MAIN

Add bgplgd a fastcgi daemon that provide a REST JSON api to bgpctl.
Most code stolen from slowcgi, it just exec bgpctl with -j.
Put it in tb@ deraadt@

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.