<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body>
<div style="font-family:sans-serif"><div style="white-space:normal"><p dir="auto">On 20 Dec 2017, at 16:39, x9p wrote:</p>
<blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px"><p dir="auto">On Wed, December 20, 2017 12:10 pm, Santiago wrote:<br>
...</p>
<blockquote style="border-left:2px solid #777; color:#999; margin:0 0 5px; padding-left:5px; border-left-color:#999"><p dir="auto">My relay B33BFA9AA0005730C1C0E8F7E6F53CF3C5716BD6 is not currently<br>
tagged as Guard, and I am seeing more than twenty IPv4s with more than<br>
10 connections, and one with 147. Should that be considered normal for a<br>
non-guard relay?</p>
</blockquote><p dir="auto">147 is a bit high for a non-exit, non-guard, for a single IP. check<br>
<a href="https://atlas.torproject.org/" style="color:#777">https://atlas.torproject.org/</a> and see if this IP is part of Tor network.</p>
</blockquote><p dir="auto">My relay is regularly struggling a bit nowadays, with some source IP's crossing over the 1000 connections, but quite a few at 50-100. The one with 1000 connections, and for some random IP's none of their IP's being listed as an Tor node on atlas. Seems to be a lot of IP's out of 54.36.51.0/24 that tend to open a lot of sessions. Whereby the ones checked are not on Atlas.</p>
<p dir="auto">At some point the entire conntrack table was full and OOM kills for the tor process. This only left me to put in some connection limits. Despite being advices against. I currently have:<br>
200 connections per /24, if that's used then at least allow 24 connections per /32.</p>
<p dir="auto">I'm currently running with 6600 connections just fine; when it crosses the 15k it becomes troublesome.</p>
<p dir="auto">Now blocking some connections might be far-far from ideal, but better ~6000 connections served with bandwidth then to remove my relay from the tor network in my view. </p>
<p dir="auto">That said it would be good if the Tor program itself would have some protections, to the extend possible, with the current protocol. For instance dropping clients (source IP's) that frequently connect but are not behaving. I understand this might have it's implications when under censorship/censorship countermeasures. </p>
<p dir="auto">-- <br>
Yours Sincerely / Met Vriendelijke groet,<br>
Stijn Jonker</p>
</div>
</div>
</body>
</html>