summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/parse.y
AgeCommit message (Expand)Author
2007-05-31Init community in get_rule() to COMMUNITY_UNSET. get_rule() is called whenClaudio Jeker
2007-05-31Even so some IX in germany likes to abuse 0 as AS community number we shouldClaudio Jeker
2007-05-28allow matching on communities using 0 in the AS part, that is in use.Henning Brauer
2007-04-23Make bgpd 4-byte AS compatible. All internal representations of AS numbersClaudio Jeker
2007-04-17Make "network inet connected" work again. inet and inet6 became keywordsClaudio Jeker
2007-03-29Until now prefixlen defaulted to AF_INET if it was used without a prefix.Claudio Jeker
2007-03-06allow filtering on peer-as (leftmost AS in path), ok claudioHenning Brauer
2007-02-22KNFHenning Brauer
2007-01-26AS 65535 aka USHRT_MAX is reserved and may not be used so adapt theClaudio Jeker
2006-12-05implement the ttl security hack. since the pc slaves fear the word hack,Henning Brauer
2006-11-28allow bgpd to work on alternate routing tables, claudio ok, jmc manpage helpHenning Brauer
2006-10-25use strtonum, Pierre-Yves Ritschard <pyr@spootnik.org>Henning Brauer
2006-09-19save the parser state in one big struct, and make it interchangable, akaHenning Brauer
2006-09-19kill useless debug code that somehow snuck in, some 2 years ago...Henning Brauer
2006-08-27add code to announce the restart capability according toHenning Brauer
2006-08-04add "restart" to max-prefix, allows sessions suspended due to reachingHenning Brauer
2006-06-17implement carp demotion control for bgpd.Henning Brauer
2006-05-31Plug memory leaks in error path; ok henning@Patrick Latifi
2006-05-26\<char> is <char> except for \<newline> -- no exceptions. much like howTheo de Raadt
2006-04-26Remove filterset_names from bgpd.h and replace it with a function becauseClaudio Jeker
2006-04-18cannot see the string self in the ANNOUNCE STRING prod any more sinceHenning Brauer
2006-04-18Fix "announce self" that got broken by "nexthop self". Found by Thomas Bader.Claudio Jeker
2006-04-04add "set nexthop self", force nexthop to be set to own address even with IBGPHenning Brauer
2006-03-22Change the way bgpd selects nexthops. Up until now every route was consideredClaudio Jeker
2006-03-07Fix a bug reported by Xavier Beaudouin. On config reloads set parametersClaudio Jeker
2006-03-04Typos grab bag of the month, eyeballed by jmc@Miod Vallat
2006-02-10Make it possible to turn suftreconfig in/out on or off. Default is on forClaudio Jeker
2006-02-09Implement "set community delete 65001:*" and friends. This will removeClaudio Jeker
2006-02-02Implement new special community "neighbor-as". neighbor-as is expanded onClaudio Jeker
2006-01-07Add COMMUNITY_NO_PEER to the list of known wellknown communities else itClaudio Jeker
2005-11-29superfluous ; OK henning@Claudio Jeker
2005-11-01Sort filter_set with equal type as well. This affects communityClaudio Jeker
2005-11-01Relative metrics should be stored in relative and not metric. The oneClaudio Jeker
2005-11-01Make sure, that the list of filter_sets is ordered. Makes comparing easier.Claudio Jeker
2005-11-01Switch from the per peer filter set list to a filter-only solution.Claudio Jeker
2005-10-19new keyword "down" in neighbor spec, when givenm, the session is notHenning Brauer
2005-08-09Introduce new route decision tunable "rde med compare (always|strict)".Claudio Jeker
2005-07-28keywords have to be sorted, and I can't sort properlyHenning Brauer
2005-07-28allow the to be announced SAFIs to be specified per peer, that is part of theHenning Brauer
2005-07-04New function filterset_cmp() used two compare two struct filter_set forClaudio Jeker
2005-07-04Switch some parser rules from "string" to "STRING". "string" is to greedyClaudio Jeker
2005-07-01Switch filter_sets form SIMPLEQ to TAILQ, needed for upcomming stuff.Claudio Jeker
2005-06-29rtlabel support via filter sets. Just use "set rtlabel foobar" in filtersClaudio Jeker
2005-06-09Change the "network connected|static" statements to "network inet|inet6Claudio Jeker
2005-05-24Remove unnecessary error check that is already done in parsecommunity().Claudio Jeker
2005-04-28Support for "network connected" and "network static" -- announce allClaudio Jeker
2005-04-17and don't try to free a null set eitherHenning Brauer
2005-04-17fix null pointer deref on filter rules without set partHenning Brauer
2005-04-13filter_set cleanup. Plug some memleaks and fix an obvious bug in theClaudio Jeker
2005-04-12Introduce a per prefix weight. The weight is used to tip prefixes with equalClaudio Jeker