Re: [nanog] BGP routes by country

2019-09-26 Thread Töma Gavrichenkov
Peace,

On Fri, Sep 27, 2019, 1:07 AM Michel Py  wrote:

> A while ago, I tried to block China. The attack profile lowered a little
> bit, but I did not feel my network was safer. Looks kind of futile to me.
> The bots are everywhere, blocking entire countries does not reduce the
> risk much.
>

Just the existence of onion routing makes such protection attempts
ridiculous overall.

That being said, there are ASes which, as rfg frequently reminds us, not
worth handling traffic from.  But that's just particular ASes, not
countries, and sometimes those ASes belong to generally innocent geographic
places.

--
Töma

>


RE: [nanog] BGP routes by country

2019-09-26 Thread Michel Py
> Christopher Morrow wrote :
> Maybe asking from the get-go:  "What are you trying to do?"

Indeed.

> because the question asked is fraught with peril and disaster...

Allowing only US and Canada will be be a manual whitelist nightmare and will 
likely result in some unreachability.

A while ago, I tried to block China. The attack profile lowered a little bit, 
but I did not feel my network was safer. Looks kind of futile to me.
The bots are everywhere, blocking entire countries does not reduce the risk 
much.

I totally believe in the "my network, my rules" thing though. I do not provide 
Internet access to the public so what I deliver is my call.
At any given time I blacklist between 30K and 100K prefixes, motsly /32s.
http://arneill-py.sacramento.ca.us/cbbc/

Michel.

TSI Disclaimer:  This message and any files or text attached to it are intended 
only for the recipients named above and contain information that may be 
confidential or privileged. If you are not the intended recipient, you must not 
forward, copy, use or otherwise disclose this communication or the information 
contained herein. In the event you have received this message in error, please 
notify the sender immediately by replying to this message, and then delete all 
copies of it from your system. Thank you!...


Re: [nanog] BGP routes by country

2019-09-26 Thread Christopher Morrow
On Thu, Sep 26, 2019 at 4:48 PM Chris Knipe  wrote:
>
> On Thu, Sep 26, 2019 at 9:53 PM Christopher Morrow  
> wrote:
>>
>> Maybe asking from the get-go:
>>   "What are you trying to do?"
>>
>> because the question asked is fraught with peril and disaster...
>
>
> Why?  When you have a serious problem with a specific ASN, it's not 
> unreasonable to drop traffic to that entire ASN.

isn't the question though not ASN but 'country' ?

> When you have a serious problem predominantly originating from a certain 
> country, why is it unreasonable to drop traffic to that entire country?

Sure, where is 74.125.0.0/24 originated from? There's not really a
simple answer in bgp for this ;(

> Just because I own an ASN and participate in the world of BGP, doesn't mean I 
> *must* accept everyone's traffic from all over the world.  My network, my 
> rules(1)
>

sure, and you can drop whatever you want, my point was that it's not
really straight forward which ip is which country over time :(

> (1) my as in the ASN whom choose to drop prefixes for an entire ASN and/or 
> country.
>
>


Re: [nanog] BGP routes by country

2019-09-26 Thread Chris Knipe
On Thu, Sep 26, 2019 at 9:53 PM Christopher Morrow 
wrote:

> Maybe asking from the get-go:
>   "What are you trying to do?"
>
> because the question asked is fraught with peril and disaster...
>

Why?  When you have a serious problem with a specific ASN, it's not
unreasonable to drop traffic to that entire ASN.

When you have a serious problem predominantly originating from a certain
country, why is it unreasonable to drop traffic to that entire country?

Just because I own an ASN and participate in the world of BGP, doesn't mean
I *must* accept everyone's traffic from all over the world.  My network, my
rules(1)

(1) my as in the ASN whom choose to drop prefixes for an entire ASN and/or
country.


Re: [nanog] BGP routes by country

2019-09-26 Thread Christopher Morrow
Maybe asking from the get-go:
  "What are you trying to do?"

because the question asked is fraught with peril and disaster...

On Thu, Sep 26, 2019 at 3:32 PM Michel Py  wrote:
>
> > Chris Phillips wrote :
> > Is anyone offering a service providing BGP routes by country?  I'm not 
> > looking to buy transit, but rather build policies based on the routes
> > received to allow traffic from certain countries, or disallow traffic from 
> > others.  Kind of like the the CYMRU bogons list, but, by country.
>
> It greatly depends if you receive a full-feed or not. If you do receive a 
> full-feed, chances are that you will get more specific routes than the ones 
> that come into your blacklist and achieve nothing.
>
> If you do not have a full-feed, it is relatively straightforward to fetch one 
> of the lists available on the Internet and inject it in your BGP.
>
> Michel.
> TSI Disclaimer:  This message and any files or text attached to it are 
> intended only for the recipients named above and contain information that may 
> be confidential or privileged. If you are not the intended recipient, you 
> must not forward, copy, use or otherwise disclose this communication or the 
> information contained herein. In the event you have received this message in 
> error, please notify the sender immediately by replying to this message, and 
> then delete all copies of it from your system. Thank you!...


RE: [nanog] BGP routes by country

2019-09-26 Thread Michel Py
> Chris Phillips wrote :
> Is anyone offering a service providing BGP routes by country?  I'm not 
> looking to buy transit, but rather build policies based on the routes
> received to allow traffic from certain countries, or disallow traffic from 
> others.  Kind of like the the CYMRU bogons list, but, by country.

It greatly depends if you receive a full-feed or not. If you do receive a 
full-feed, chances are that you will get more specific routes than the ones 
that come into your blacklist and achieve nothing.

If you do not have a full-feed, it is relatively straightforward to fetch one 
of the lists available on the Internet and inject it in your BGP.

Michel.
TSI Disclaimer:  This message and any files or text attached to it are intended 
only for the recipients named above and contain information that may be 
confidential or privileged. If you are not the intended recipient, you must not 
forward, copy, use or otherwise disclose this communication or the information 
contained herein. In the event you have received this message in error, please 
notify the sender immediately by replying to this message, and then delete all 
copies of it from your system. Thank you!...