summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd
AgeCommit message (Expand)Author
2019-05-08when passing objects to imsg use the for 'obj, sizeof(*obj)' instead ofClaudio Jeker
2019-05-08Rework the TCP md5sig and IKE handling. Move the pfkey socket to the parentClaudio Jeker
2019-05-06Fix reloading of network statements that have no fixed prefix specification.Claudio Jeker
2019-05-03Adjust some comments that were misleading. Those flags are used by bgpdClaudio Jeker
2019-05-03Bump SET_NAME_LEN to 128 since arouteserver produces names that are moreClaudio Jeker
2019-05-03Make sure that the as-set name is not too long when parsing the config file.Claudio Jeker
2019-04-25Extend maximum message size of the shutdown communication to 255 bytes.Claudio Jeker
2019-04-10Include endian.h since htobe* or be*toh is used. Helps with protable.Claudio Jeker
2019-04-07Be more careful when setting timeout to 0 because there is pending workClaudio Jeker
2019-03-31Don't use memcpy for struct bgpd_config, the pointers and lists in thatClaudio Jeker
2019-03-31Move the struct peer into bgpd_config and switch it to a TAILQ instead ofClaudio Jeker
2019-03-31Avoid calling dup2(oldd, newd) when oldd == newd. In that case theYASUOKA Masahiko
2019-03-28zap trailing whitespace;Jason McIntyre
2019-03-27remove documentation for obsolete announce all|none|default-route, seeSebastian Benoit
2019-03-23Unbreak route origin validationdenis
2019-03-15Set all default values in init_config in parse.y and remove the specialClaudio Jeker
2019-03-13Swap arguments of rde_dump_match_peer() to match peer_matched() in session.cClaudio Jeker
2019-03-09Unbreak 'announce inet none' which was actually clearing way too much.Claudio Jeker
2019-03-07Do a better job at cleaning up the config on shutdown. Remove bits thatClaudio Jeker
2019-03-01Need to be more careful in kr_net_redist_add() when adding an alreadyClaudio Jeker
2019-02-27Convert the remote and local addresses in struct peer to be bgpd_addrsClaudio Jeker
2019-02-27Fix export none. none became a keyword some time ago and so this broke.Claudio Jeker
2019-02-26Add missing break; in case statement and while there check that theClaudio Jeker
2019-02-26Some betoh64 sneaked in again, change to be64toh to be posix compliant.Claudio Jeker
2019-02-26Add support for '*', local-as and neighbor-as for ext-community matchingClaudio Jeker
2019-02-21Media and link states are highly OS dependent, to make porting easierClaudio Jeker
2019-02-20Forgot to set the sockaddr length field which is mandatory on the pfkey socket.Claudio Jeker
2019-02-19Convert some (u_)int64_t to (unsigned) long long. Makes portability a bitClaudio Jeker
2019-02-18Add stdlib.h since bsearch and strtoul need it.Claudio Jeker
2019-02-18Initialize type and subtype because modern gcc complains about it.Claudio Jeker
2019-02-18Drop netmpls/mpls.h include, not needed here.Claudio Jeker
2019-02-18Use (unsigned) long long instead of (u_)int64_t since that drops theClaudio Jeker
2019-02-18For portability use a (unsigned long long) cast for %llu / %llx formatsClaudio Jeker
2019-02-18Move get_mpe_config() to kroute.c so that config.c does not depend onClaudio Jeker
2019-02-18Do not depend on the length field of struct sockaddr instead pass theClaudio Jeker
2019-02-15Move the depend on state calculation from session.c to kroute.c. ThisClaudio Jeker
2019-02-15Remove stray ',' at end of a yacc rule. Noticed by bison.Claudio Jeker
2019-02-15Use the posix version of betoh64() which is spelled be64toh() this is moreClaudio Jeker
2019-02-15Another missing endian.hClaudio Jeker
2019-02-15Needs endian.h because of betoh64()Claudio Jeker
2019-02-14mrt_timeout() can send out imsgs so better call it before doing the set_pollfdClaudio Jeker
2019-02-14mrt_timeout should just return -1 when there is no timeout set insteadClaudio Jeker
2019-02-14Revert part of last commit, this stuff is unrelated.Claudio Jeker
2019-02-14Use -1 instead of the less portable INFTIM for the poll timeout.Claudio Jeker
2019-02-14Use the portable SIZE_MAX instead of SIZE_T_MAXClaudio Jeker
2019-02-13(unsigned) means (unsigned int) which on ptrdiff_t or size_t or otherTheo de Raadt
2019-02-12Handle the abnormal case of not having any neighbors defined a bit betterClaudio Jeker
2019-02-12Move the yyerror in case get_mpe_config fails. If bgpd -n is used justClaudio Jeker
2019-02-12Remove extra newline when printing vpn blocksClaudio Jeker
2019-02-12Remove log_debug which is no longer neededClaudio Jeker