Skip to Content.
Sympa Menu

netsec-sig - Re: [Security-WG] BGP Flowspec guidance

Subject: Internet2 Network Security SIG

List archive

Re: [Security-WG] BGP Flowspec guidance


Chronological Thread 
  • From: Brad Fleming <>
  • To:
  • Subject: Re: [Security-WG] BGP Flowspec guidance
  • Date: Wed, 23 May 2018 12:03:58 -0500
  • Ironport-phdr: 9a23:mhfBtBE2JxO2X9Tu1xwIrp1GYnF86YWxBRYc798ds5kLTJ7zo82wAkXT6L1XgUPTWs2DsrQY07GQ6/iocFdDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXdrXKo8DEdBAj0OxZrKeTpAI7SiNm82/yv95HJbAhEmDSwbaluIBmqsA7cqtQYjYx+J6gr1xDHuGFIe+NYxWNpIVKcgRPx7dqu8ZBg7ipdpesv+9ZPXqvmcas4S6dYDCk9PGAu+MLrrxjDQhCR6XYaT24bjwBHAwnB7BH9Q5fxri73vfdz1SWGIcH7S60/VDK/5KlpVRDokj8KOT4l/27Yl8J+gqxbrgyjqBJ8xIDZe5uaOOZ7fq7HfdMWWWhMU8BMXCJBGIO8aI4PAvIcMOZCtYbyukYFoxu6BQayAePvyzlIhnDr1qA9yOsuDA/G3Ag+ENILsXTUqtr1ObwRUe+vyqnI1yvMb/VM1Tf79ofIbgksrPeRVrxzacrc0VcjGgLZgliSrIHlMTCY2f8Rv2We4OdsSf6jhmAipg5tvjSvyMIhh4zXio8bxF3I7Tt1zYcpKdGmTUN2b8KoHZpVuiyULIR2TMwvTmRqtSok1LEKpZu2czMOxZkkwxPSbv2KfJWM7x7/UeucIjd1iXN5dL+6nRm//1SsxvD6W8KpylhFtDBFncPJtn0V1xzc9MyHSvxl80ekwzmP1gTT5vhDIUAoiabXMpEgzqA+m5cdq0jDESj2mEL5jK+SaEoo4PSn6+PiYrn+p5+cMZF7ih3mP6gwm8GzHeY1Pw0AX2WY4uuwyLju8ELlTLlWgPA7l7XWvIzUJckeo6O1HQFY34g75xa6FTim0dAYnXcdLFJCfRKKl5PmNEzAIPD8E/i/hlWskDFkx/3dPb3uGJPNLmLdn7fnZ7p97VBTyBYrwdBF+51UEq0BIO70WkLpr9zXEAM2MxGuw+bmFNV81poSWGyAAqKCNKPSsESI5v40I+WSfoMVuTD9K+Q76P70i382h0Mdcbez0ZQJdX+4A6cuH0LMenfnn80ADXZPoQUWTer2hUeEXCIJIXu+QvES/DY+Xai8BIuLaISghb2H02/vFJFYYm1DC1aDOXThcZ+JXbEKZT7EcZwpqSANSbX0E9xp7hqprgKvk7c=

I believe in some versions of Junos adding the flowspec family causes GRES and nonstop routing to fail for the session. So you take a hard reset on all address families in the event of a RE switchover. That might have been resolved in newer versions of Junos so might be a moot issue in your case.

An approach (not necessarily a good one) is stand up OoB BGP sessions that carry unicast and flowspec routes. it can do triage on received routes and perform validation. Then it can peer with your core but only exchange flowspec details. Again, not the prettiest solution but I think would check all the boxes.
--
Brad Fleming
Assistant Director for Technology
Kansas Research and Education Network
Office: 785-856-9805
Mobile: 785-865-7231
NOC: 785-856-9820

On May 23, 2018, at 11:13 AM, Karl Newell <> wrote:

As we make progress on our BGP flowspec testing and pilot, we’ll periodically ask this group for some guidance.  Our first question is related to BGP session/family establishment. 
 
Our preference is to add the flow family to our existing BGP sessions, so we can rely on flowspec validation (requires flowspec routes to align with best unicast routes).  We would like to set a peer max-prefix limit on the flow family; there is a maximum number of flowspec routes supported on the Juniper MX960.  If we use the existing BGP session, exceeding the flow max-prefix will tear down the session which tears down the unicast family as well.
 
One alternative is to use a separate session for flowspec.  We’ll need to disable flowspec validation and rely on peer prefix lists.
 
Options:
  1. Use the existing BGP session, enable the flow family
    1. Use a max-prefix limit such that normal behavior shouldn’t trip the threshold (caveat: we don’t know what normal behavior is) – maybe 100 flowspec routes?

                                                               i.      Clearly communicate max-prefix limit and its implications (possible unicast teardown)

                                                             ii.      Configure a limit without a teardown but a peer could send an excessive amount of flowspec routes

  1. Set up a new BGP session and disable flowspec validation
    1. Use existing peer prefix lists for validation
Thoughts, comments, questions?

Cheers,
Karl
 
--
Karl Newell
Cyberinfrastructure Security Engineer
Internet2
520-344-0459




Archive powered by MHonArc 2.6.19.

Top of Page