summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2004-03-05huch, remove a debug messageHenning Brauer
2004-03-05new error code "unsupported capability" from RFC 3392Henning Brauer
2004-03-05add a parser for the capability announcements using the OPEN message as perHenning Brauer
RFC 3392. we don't support any capability yet but this at least avoids one session teardown and reestablishment when talking to peers which do support capability announcement (as in: basically any) and we'll start supporting some soon.
2004-03-05improve logging when we are unhappy with an OPEN message, claudio okHenning Brauer
2004-03-05let parse_open() call change_state() on error itself, so that after sendingHenning Brauer
a notification about disagreement on optional parameters we do not punish the peer by keeping him in Idle state for IdleHoldTime, rather let him proceed to Connect immediately again. the "punishment" is of course a flap protection in the first place. claudio ok
2004-03-05implement a parser for the optional attributes in OPEN messages and properlyHenning Brauer
refuse any if we find them. not refusing means agreement - so we agreed with our peers on stuff we don't support. oups. claudio ok
2004-03-05when a session that had a tcp connection established is pushed back to IDLE,Henning Brauer
try to write out what is left in the rite buffers. now notifications do reach the peer...
2004-03-04no ; after RB_PROTOTYPE / RB_GENERATEHenning Brauer
From: Andrey Matveev <andrushock@korovino.net>
2004-03-03plug a couple of little memory leaks in error paths that we hopefully neverHenning Brauer
reach - except for one missing free which was not in an error path. oups. at least in a function that is only called once ever in bgpd's lifetime. From: Patrick Latifi <pat at eyeo dot org>, thanks!
2004-03-03missing freeaddrinfo()Henning Brauer
From: Patrick Latifi <pat@eyeo.org> Patrick is doing an _excellent_ job in finding all these little omissions, thank you very very much!
2004-03-02A wrong comment is worth a thousand bugs...Miod Vallat
2004-03-02KNFHenning Brauer
2004-03-02flesh out the address and prefix parsing, include v6 code, but reject v6Henning Brauer
upwards, claudio ok
2004-03-02show rib A.B.C.D and show rib A.B.C.D/N [all] support. Now the most importantClaudio Jeker
show commands are available. OK henning@
2004-03-02Framework for rib lookups by prefix. OK henning@Claudio Jeker
2004-03-02Use ntohl() to compare in_addr_t so the tree is nicely sorted.Claudio Jeker
2004-03-02Arla lwp support for m88k systems. Slightly abuses the framework toMiod Vallat
enforce 8-byte stack alignment.
2004-03-02avoid memleak if parse_string() fails, Patrick Latifi <pat@eyeo.org>Henning Brauer
2004-03-02here as well: when our interface vanishes, exitHenning Brauer
PR3648, test & ok pb
2004-03-01spellingTheo de Raadt
2004-03-01don't print empty descrHenning Brauer
2004-03-01make sure AS doesn't exceed upper bound, issue pointed out byHenning Brauer
Brent Graveland <brent@graveland.net>
2004-03-01paranoia and cleanup, document output formatBob Beck
ok millert@
2004-03-01KNFHenning Brauer
2004-03-01Arrrg. Not my day. Sync printconfig with parser here too.Claudio Jeker
2004-03-01Forgotten in the last commit. Sync printconfig and parser.Claudio Jeker
2004-03-01Sync printconfig.c with parse.y. OK henning@Claudio Jeker
2004-03-01Make it possible to diable the decision process. This is a feature only usefulClaudio Jeker
for route-collectors. OK henning@
2004-02-29plug memory leak: when a control connection is closed we need to clearHenning Brauer
its write buffers, noticed by claudio
2004-02-29of course the control socket needs to be nonblocking as well, i could haveHenning Brauer
sworn it was... noticed by & fixed with claudio
2004-02-29Make sure that the fib output is nicely sorted. Use ntohl to compareClaudio Jeker
IP addresses so the tree gets correctly populated. OK henning@
2004-02-27unbreakBjorn Sandell
ok beck@
2004-02-27remove unneded peer pointer in struct prefix and change a in_addr_t toClaudio Jeker
struct in_addr. OK henning@
2004-02-27fix CFLAGS -IDavid Krause
ok deraadt@
2004-02-27fix bogus assert() usage in afsd, and avoid an assert whenBob Beck
ThisCell is specified as a nonexeistent cell. found by matthieu@, ok deraadt@
2004-02-27change amd64's MACHINE_ARCH from x86_64 to amd64. There are many manyTheo de Raadt
reasons for this, quite a few of them technical, and not all of them in response to Intel's broken ia32e crud. The gcc toolchain stays at x86_64 for now.
2004-02-27Cleanup no functional changes. OK henning@Claudio Jeker
2004-02-27It is possible to end up in prefix_add with a prefix that needs to be moved.Claudio Jeker
This caused troubles with show rib because of an ENSURE. OK henning@
2004-02-26Avoid using regexp when removing a user from /etc/group entries inTodd C. Miller
userdel since a username may contain regexp special chars. Fix a memory leak on error and chmod before moving the new group file is moved into place instead of after. Saner error messages in rm_user_from_groups() (cut & pastos) OK deraadt@, tdeval@ and otto@; error message fixes courtesy of otto@
2004-02-26fix datalen, from Esben Norby. ok deraadt itojunTed Unangst
2004-02-26logf -> logmsg; daniel@lucq.orgTheo de Raadt
2004-02-26Implement "show rib" and "show rib <astype> <AS>" commands to dump theClaudio Jeker
RIB. OK henning@
2004-02-26show rib infrastructure. At least full dumps and per as dumps. Per prefixClaudio Jeker
dump need some more work. OK henning@
2004-02-26Clean up comments and replace a if with a ENSURE because NULL nexthops areClaudio Jeker
illegal. OK henning@
2004-02-26Implement "enforce neighbor-as yes|no" which is by default on for ebgpClaudio Jeker
neighbors. While doing that check also that the nexthop is valid (not class D or E and not in 127/8 range). Kill some TODO and XXX and rename the british neighbour to neighbor as used everywhere else. OK henning@
2004-02-26No comma at the end of the keywords array. OK henning@Claudio Jeker
2004-02-26bring in log_init() from bgpd which gives us openlog(), ryan okHenning Brauer
2004-02-26cure my spelingAnil Madhavapeddy
2004-02-26staring->starting in commentAnil Madhavapeddy
2004-02-26Add per netwok definition filter sets. So you can now useClaudio Jeker
network 10.0.0.0/8 set localpref 100 OK henning@