index
:
src
cvs/HEAD
kms/intel
kms/radeon
master
OpenBSD base system
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
usr.sbin
/
bgpd
/
util.c
Age
Commit message (
Expand
)
Author
2023-04-17
Implement a basic API to work with flowspec NLRI.
Claudio Jeker
2023-04-03
Add first step of flowspec support. This adds the bits to establish a
Claudio Jeker
2023-03-30
Refactor extract_prefix() to first do the length checks and only then
Claudio Jeker
2023-01-04
Add a per eBGP session role to the config.
Claudio Jeker
2022-11-09
Fix nlri parsing of L3VPN prefixes in withdrawals.
Claudio Jeker
2022-11-07
Fix some spelling errors.
Moritz Buhl
2022-08-17
Convert bzero() to memset(), bcmp() to memcmp() and bcopy() to memcpy().
Claudio Jeker
2022-07-19
Do a minimal check that the passed in option is inside the ASPATH segment.
Claudio Jeker
2022-06-28
Unbreak tree: add log_policy() implementation missing from previous commit.
Theo Buehler
2022-06-24
Use IN6_IS_ADDR_MC_NODELOCAL() instead of IN6_IS_ADDR_MC_INTFACELOCAL().
Claudio Jeker
2022-06-22
Sync KAME hack in log_in6addr() with route/show.c
Theo Buehler
2022-06-19
Implement a applymask() function that works on bgpd_addr structs.
Claudio Jeker
2022-06-17
Adapt the KAME hack in sa2addr() to be the same as in route/show.c
Claudio Jeker
2022-06-16
Remove prefixlen2mask() uasge outside of util.c. Instead use inet4applymask().
Claudio Jeker
2022-05-25
Fix non-transitive extended community handling.
Claudio Jeker
2022-02-06
Switch from u_intX_t types to stdint.h uintX_t. Mostly mechanical with
Claudio Jeker
2021-02-16
Add RTR support to OpenBGPD. Add basic support for the protocol.
Claudio Jeker
2021-01-25
RFC6472 discourages the use of AS_SET segements in ASPATH attributes.
Claudio Jeker
2021-01-18
Change struct bgpd_addr VPN encoding. Instead of including two almost
Claudio Jeker
2021-01-05
Revert part of the last addr2sa change. When addr is NULL or AID_UNSPEC
Claudio Jeker
2021-01-05
Add AID_VPN_IPv[46] support to addr2sa. It only converts the address part
Claudio Jeker
2021-01-04
Use log_sockaddr() in log_addr() to print a struct bgpd_addr. This way
Claudio Jeker
2020-10-21
Move tmp16 declaration into the #ifdef __KAME__ block to remove a compiler
Claudio Jeker
2020-05-10
In bgpctl argument parser, re-arrange 'reason' parsing ('nei action [reason]')
Theo de Raadt
2020-04-23
Store local-address by address family. This allows to configure both
Claudio Jeker
2020-02-12
Move the code to figure out the alternate IP address (IPv6 addr for IPv4
Claudio Jeker
2019-07-03
snprintf/vsnprintf return < 0 on error, rather than -1.
Theo de Raadt
2019-06-17
Cleanup, remove some unneded spaces add some other where needed.
Claudio Jeker
2019-04-10
Include endian.h since htobe* or be*toh is used. Helps with protable.
Claudio Jeker
2019-02-27
Convert the remote and local addresses in struct peer to be bgpd_addrs
Claudio Jeker
2019-02-26
Add support for '*', local-as and neighbor-as for ext-community matching
Claudio Jeker
2019-02-21
Media and link states are highly OS dependent, to make porting easier
Claudio Jeker
2019-02-18
Use (unsigned) long long instead of (u_)int64_t since that drops the
Claudio Jeker
2019-02-18
Do not depend on the length field of struct sockaddr instead pass the
Claudio Jeker
2019-02-15
Use the posix version of betoh64() which is spelled be64toh() this is more
Claudio Jeker
2018-12-30
add support for IPv6 VPN routes
denis
2018-12-11
Refactor aspath code a bit. Move cached source_as (for origin validation)
Claudio Jeker
2018-09-26
Instead of checking that a segement is not of type AS_SET do the check
Claudio Jeker
2018-09-20
Split up as_set into a set_table and an as_set. The first is what does
Claudio Jeker
2018-09-20
whitespace cleanup, ok claudio@
Sebastian Benoit
2018-09-20
Fix the empty aspath segments check. seg_size is never 0, this needs to use
Claudio Jeker
2018-09-20
Fix an out of bound read that could crash the RDE because it touched
Claudio Jeker
2018-09-14
Extend as_set to allow for different sized objects to be added. The only
Claudio Jeker
2018-09-07
Implement as-set a fast lookup table to be used instead of long list of
Claudio Jeker
2018-09-05
Change the way as_compare() and aspath_match() handle 'neighbor-as'. Instead
Claudio Jeker
2018-09-04
Introduce inet4applymask() which does the same as inet6applymask() and
Claudio Jeker
2018-08-29
When checking for AS 0 make sure the full ASPATH is validated and don't
Claudio Jeker
2018-08-10
Make the AS_SET handling for source-as even simpler. It is enough to only
Claudio Jeker
2018-08-09
Improve handling of source-as when an AS_SET is rightmost. In that case
Claudio Jeker
2018-07-22
Move functions to print link status etc. to util.c so that bgpd can use them
Claudio Jeker
[next]