Article View: alt.privacy.anon-server
Article #314571Re: Major sync attack currently in progress
From: Grant Taylor
Date: Mon, 17 May 2021 05:48
Date: Mon, 17 May 2021 05:48
82 lines
4779 bytes
4779 bytes
On 5/16/21 3:57 PM, SEC3 wrote:
> Thanks for clearing this up for me.
You're welcome.
> My interest in this stems from seeing online other operator's Postfix
> configurations. Specifically their settings for "mynetworks" in their
> /etc/postfix/main.cf file.
Okay. Thank you for providing more context to refine the question.
(See below.)
> See for example this 2015 (!) newsgroup post where a pinger operator
> (it appearsto be Inwtx) shares his Postfix configuration:
>
> <https://groups.google.com/g/alt.privacy.anon-server/c/kGaB7I9o8fM/m/v4bp9HHNBwAJ>
>
> His mynetworks setting is reported as:
>
> mynetworks = 127.0.0.0/8 128.199.47.171/32
>
> So if I were to use similar settings at SEC3.net I would want to
> know my IP address's CIDR notation which seems to be obligatory in
> this circumstance.
Yes, the "mynetworks" list and it's use of CIDR is somewhat different
from the "How would I determine what the correct CIDR notation is for
<someone else>'s IP address" that I took your question to be and what I
responded to. -- Sorry if I misunderstood your question.
I would expect anyone that is running their own server to either know
what their configured netmask is, or where to look to find it
("ifconfig" or "ip addr show").
"mynetworks" means a bit more than what CIDR / netmask is
$RandomPersonAcrossTheInternet using.
First, let's back up and restate what a netmask is and what it actually
effectively does. Eliding the binary math -- there are a LOT of pages
that talk about it -- the purpose of a netmask, and thus CIDR, is to
specify how big a given network is. As in how many IP addresses are
part of a given network.
I've likened this to the size of a room. The bigger the room (the
shorter the netmask is) is the more people (IPs) that are inside the
room. This is important because you / your computer know that you can
talk to people in the room without needing to go out through a door
(gateway / router) to get to them. -- Eliding yelling and noise
distortion.
So, I believe I could make an argument that "mynetworks" could be called
"myrooms" in my analogy. And as such, it's a list of one or more rooms
(networks) that belong to me, hence the possessive "my...". Thus
myrooms is a list of rooms which includes the CIDR notation of how big
the room(s) is (are). My home ""room is a /24, thus can hold 256
(simple powers of two and ignoring network and broadcast) people (IPs).
My neighbor, whom I trust, also has a ""room that is a /24, thus can
hold 256 different people. But, collectively, both my home and my
neighbor's home, and all the people (IPs) therein are allowed to use the
swimming pool (SMTP server) outback.
So, to come back to how do I know that I enter 192.0.2.0/24 for my home
and 198.51.100.0/24 for my neighbor's home? Well, I configured the
network for my home and can look at the settings that I used. I can
also chat with my neighbor to find the settings that he used. Thus I
know that I used a /24 and that my neighbor also used a /24.
Hence why myrooms ~> mynetworks is a list of our trusted networks;
192.0.2.0/24, and 198.51.100.0/24. Also, we throw 127.0.0.0/8 in there
for good measure, for various reasons.
Aside: Think of 127.0.0.1 and / or 127.0.0.0/8 as me, myself, and I.
All three of which implicitly trust each other. -- Maybe they
shouldn't, but that's a different discussion.
Does that help explain where the information comes from and why it's used?
--
Grant. . . .
unix || die
Technical Details
Message-ID:
<s7t06q$fhu$1@tncsrv09.home.tnetconsulting.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<s7lv9a$l6e$1@news.mixmin.net> <lvcoI.128466$_UC8.111345@fx35.ams1> <s7s251$v3v$1@tncsrv09.home.tnetconsulting.net> <7zgoI.153711$RLG6.26519@fx19.ams1>Show Full Headers
Complete Article Headers
Message-ID: <s7t06q$fhu$1@tncsrv09.home.tnetconsulting.net> Subject: Re: Major sync attack currently in progress Date: Sun, 16 May 2021 23:48:12 -0600 From: Grant Taylor <gtaylor@tnetconsulting.net> References: <s7lv9a$l6e$1@news.mixmin.net> <lvcoI.128466$_UC8.111345@fx35.ams1> <s7s251$v3v$1@tncsrv09.home.tnetconsulting.net> <7zgoI.153711$RLG6.26519@fx19.ams1> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Newsgroups: alt.privacy.anon-server Organization: TNet Consulting Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Mon, 17 May 2021 05:50:18 -0000 (UTC) Injection-Info: tncsrv09.home.tnetconsulting.net; posting-host="alpha.home.tnetconsulting.net:198.18.18.251"; logging-data="15934"; mail-complaints-to="newsmaster@tnetconsulting.net" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 In-Reply-To: <7zgoI.153711$RLG6.26519@fx19.ams1> Content-Language: en-US Lines: 81