tangled
alpha
login
or
join now
jcs.org
/
openbsd-src
0
fork
atom
jcs's openbsd hax
openbsd
0
fork
atom
overview
issues
pulls
pipelines
openbsd-src
/
usr.sbin
/
bgpd
/
at
master
39 files
Makefile
Add ASPA validation functions to the RDE.
3 years ago
bgpd.8
Add first step of flowspec support. This adds the bits to establish a connection with SAFI 133. Right now any sent UPDATE with SAFI 133 is simply ignored. At the moment SAFI 134 (flowspec for L3VPN) is unsupported. OK tb@
3 years ago
bgpd.c
No longer wait for the RTR process to finish the config reload before sending the IMSG_RECONF_DONE message to the RDE. The RDE does not depend on the RTR config reload (in contrast to the SE). The ROA / ASPA reload is async from the RDE config reload. OK tb@
3 years ago
bgpd.conf.5
Add first step of flowspec support. This adds the bits to establish a connection with SAFI 133. Right now any sent UPDATE with SAFI 133 is simply ignored. At the moment SAFI 134 (flowspec for L3VPN) is unsupported. OK tb@
3 years ago
bgpd.h
Add first step of flowspec support. This adds the bits to establish a connection with SAFI 133. Right now any sent UPDATE with SAFI 133 is simply ignored. At the moment SAFI 134 (flowspec for L3VPN) is unsupported. OK tb@
3 years ago
carp.c
Convert bzero() to memset(), bcmp() to memcmp() and bcopy() to memcpy().
3 years ago
config.c
spelling fixes; from paul tagliamonte any parts of his diff not taken are noted on tech
3 years ago
control.c
Instead of relaying struct peer from the SE to the RDE to fill out 10 stat numbers, just send the peerid and have the RDE response with the stats. The control code will then merge these counters into the real peer struct and send that to bgpctl. This reduces the number of bytes sent around a fair bit. OK tb@
3 years ago
kroute.c
Remove pre-c99 gcc workaround which is no longer needed.
3 years ago
log.c
From a syslog perspective it does not make sense to log fatal and warn with the same severity. Switch log_warn() to LOG_ERR and keep fatal() at LOG_CRIT. OK reyk@ florian@
9 years ago
log.h
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@
5 years ago
logmsg.c
Put the 'connection from non-peer' log message behind a verbose logging check. In many cases the message is just flooding the logs. In some cases it may help to identify a missing neighbor for those cases log verbose can be used. OK deraadt@ denis@
3 years ago
mrt.c
Instead of exracting the prefix into a bgpd_addr and passing that to prefix_write() rename prefix_write() to pt_write() and pass a pt_entry to the function. Removes an extra conversion step. OK tb@
3 years ago
mrt.h
spelling fixes; from paul tagliamonte any parts of his diff not taken are noted on tech
3 years ago
name2id.c
If anything in name2id conversion fails then just return 0.
3 years ago
parse.y
Cleanup parse.y a bit. Move global defines a bit down. Move mrtdump and network rules up into the grammar and switch the order of restricted to be more like the rest. OK tb@
3 years ago
pfkey.c
Fix theoretical access to garbage stack memory in pfkey_reply for bgpd and ldpd.
3 years ago
pftable.c
Convert bzero() to memset(), bcmp() to memcmp() and bcopy() to memcpy().
3 years ago
printconf.c
Major rework of RFC9234 support. My initial interpretation of the RFC was too conservative. Fixes and changes include:
3 years ago
rde.c
Add first step of flowspec support. This adds the bits to establish a connection with SAFI 133. Right now any sent UPDATE with SAFI 133 is simply ignored. At the moment SAFI 134 (flowspec for L3VPN) is unsupported. OK tb@
3 years ago
rde.h
Put the size of the pt_entry object into the struct itself.
3 years ago
rde_aspa.c
Implement ASPA validation and reload logic on ASPA set changes.
3 years ago
rde_attr.c
Move some basic accessors of aspath to rde.h and make them static inline. OK tb@
3 years ago
rde_community.c
Alter the way extended communities are matched when part of the value is auto-expanded or masked off. Try to match against both 2- and 4-byte AS encoding and on insertion check if expansion is actually possible and deny communities where both community values are > USHRT_MAX. OK tb@
3 years ago
rde_decide.c
Add F_CTL_LEAKED and F_CTL_INELIGIBLE flags for bgpctl to show leaked and ineligible paths. While there rename F_PREF_OTC_LOOP to F_PREF_OTC_LEAK since this indicates that a route leak was detected. OK tb@
3 years ago
rde_filter.c
Compile the output filter rules into per peer filter rules.
3 years ago
rde_peer.c
Compile the output filter rules into per peer filter rules.
3 years ago
rde_prefix.c
Extra space in struct field definitions. NFC
3 years ago
rde_rib.c
Switch prefix_adjout_get and new prefix_adjout_first to use a pt_entry as argument instead of the bgpd_addr + prefixlen.
3 years ago
rde_sets.c
whitespace found during a read-thru; ok claudio
3 years ago
rde_trie.c
spelling fixes; from paul tagliamonte any parts of his diff not taken are noted on tech
3 years ago
rde_update.c
Switch prefix_adjout_get and new prefix_adjout_first to use a pt_entry as argument instead of the bgpd_addr + prefixlen.
3 years ago
rtr.c
Introduce a semaphore to protect intermediate state from different RTR sessions to leak into the RDE via rtr_recalc. Only run rtr_recalc when the last or only RTR session is done with the update. Run a new timer along to ensure that the semaphore is not hold forever. The timeout is currently a very generous 60sec, no RTR cache should be that slow. OK tb@
3 years ago
rtr_proto.c
Introduce a semaphore to protect intermediate state from different RTR sessions to leak into the RDE via rtr_recalc. Only run rtr_recalc when the last or only RTR session is done with the update. Run a new timer along to ensure that the semaphore is not hold forever. The timeout is currently a very generous 60sec, no RTR cache should be that slow. OK tb@
3 years ago
session.c
Major rework of RFC9234 support. My initial interpretation of the RFC was too conservative. Fixes and changes include:
3 years ago
session.h
Introduce a semaphore to protect intermediate state from different RTR sessions to leak into the RDE via rtr_recalc. Only run rtr_recalc when the last or only RTR session is done with the update. Run a new timer along to ensure that the semaphore is not hold forever. The timeout is currently a very generous 60sec, no RTR cache should be that slow. OK tb@
3 years ago
timer.c
Make the timer code independent of struct peer this way it can be used in other places as well. ok procter@
5 years ago
util.c
Add first step of flowspec support. This adds the bits to establish a connection with SAFI 133. Right now any sent UPDATE with SAFI 133 is simply ignored. At the moment SAFI 134 (flowspec for L3VPN) is unsupported. OK tb@
3 years ago
version.h
Bump version
3 years ago