diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2008-12-28 15:19:22 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2008-12-28 15:19:22 +0000 |
commit | ed1e5f387f21fb890d7942a290d779465b7472e9 (patch) | |
tree | 4cd36292f47538ce75e8fb4da30041292a457cce /usr.bin | |
parent | 15bcab8f8003869faf111d93216766fa46a439e5 (diff) |
Add a ugly workaround for the problem where an invalid AS4_PATH is passed
over mulitple hops and causes bgpd to close the connection. This is what
the RFC requires us to do but the result is a DoS against all OpenBGPD
routers when somebody injects such a bad optional transitive attribute
because the intermediate routers don't give a damn about it.
As a result we now ignore such bad prefixes and don't allow them in the
decision process. The handling of optional transitive attributes needs to
be rethinked because all of them can be abused in such a way.
Idea OK by a few + henning@, tested myself against my crappy regress test
suite that needs way more work.
Diffstat (limited to 'usr.bin')
0 files changed, 0 insertions, 0 deletions