[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-relays] Re: Tor Relay Deployment Dilemma: Handle BGP yourself or have it done upstream to announce your own AS?
- To: tor-relays@xxxxxxxxxxxxxxxxxxxx
- Subject: [tor-relays] Re: Tor Relay Deployment Dilemma: Handle BGP yourself or have it done upstream to announce your own AS?
- From: Fran via tor-relays <tor-relays@xxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 8 Apr 2025 08:34:11 +0200
- In-reply-to: <B6dE7Q6wuRifaeVgs60HP04azu6-sw5VlnhpZkRXux8heGO27VE2rBe3jjAaZafm_tHfHSDdK8YD9cGD4GL2-mntEOzNqTzroh1rQTl3NlA=@1aeo.com>
- List-id: "support and questions about running Tor relays (exit, non-exit, bridge)" <tor-relays.lists.torproject.org>
- References: <B6dE7Q6wuRifaeVgs60HP04azu6-sw5VlnhpZkRXux8heGO27VE2rBe3jjAaZafm_tHfHSDdK8YD9cGD4GL2-mntEOzNqTzroh1rQTl3NlA=@1aeo.com>
- Reply-to: Fran <fatal@xxxxxxxxxxx>
Hej,
When given the option: Should I manage the BGP session myself, or is
it preferable to delegate it to the upstream provider whenever possible?
Depends on how much interest you have in BGP and what the upstream
charges for managed BGP.
To conserve CPU/RAM resources for Tor, is it advisable to only
use a default route (0.0.0.0/24) rather than a full routing
table, relying on the upstream provider for full routing?
If you are single homed, receiving full v4 and v6 tables is imho a waste
of cpu cyles. I'd go for receiving v4 and v6 default routes.
But playing around with BGP would totally justify full tables :)
Under what circumstances should I implement multi-homed
strategies myself versus allowing the upstream provider to
manage them?
For multi-homed you'd need two different upstream providers.
Your transit is hopefully multi-homed anyway and depending on their BGP
community traffic engineering capabilties you can traffic engineer
yourself quite a lot apart from using as-path prepends and MED.
https://www.noction.com/blog/bgp-community-based-traffic-engineering
Are there best practices for route filtering or failover management?
If you only receive default routes you save yourself the trouble for
elaborated filtering.
Otherwise take a look here: https://bgpfilterguide.nlnog.net/
What are your experiences regarding the compute and memory
requirements for these configurations?
memory for a full table is a couple of 100 MB. CPU cycles depend on the
amount of route changes and the filtering you do. All in all it is not
very resource heavy compared to tor traffic forwarding and crypto stuff.
What are some preferred monitoring solutions? bgpmon.net doesn't
seem free...
you could host https://github.com/nttgin/BGPalerter yourself (it is
using ripe ris as data source)
https://packetvis.com/ is a hosted bgpalerter for free
relatively newish: https://bgpwatch.cgtf.net/
you could ask bgp.tools for a free account
have fun!
_______________________________________________
tor-relays mailing list -- tor-relays@xxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to tor-relays-leave@xxxxxxxxxxxxxxxxxxxx