Mailing List Archive

Blocking a Class C
How do you block a whole Class C like
5.34.207.0/24 using the configuration file?
--
Member - Liberal International This is doctor@nk.ca Ici doctor@nk.ca
Yahweh, King & country!Never Satan President Republic!Beware AntiChrist rising!
Look at Psalms 14 and 53 on Atheism https://www.empire.kred/ROOTNK?t=94a1f39b
Happy Christmas 2022 and Merry New Year 2023 Beware https://mindspring.com

--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: Blocking a Class C [ In reply to ]
On 07/12/2022 15:34, The Doctor via Exim-users wrote:
> How do you block a whole Class C like
> 5.34.207.0/24 using the configuration file?

Make a start by reading the manual, about ACLs
and hostlists.
--
Cheers,
Jeremy


--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: Blocking a Class C [ In reply to ]
On Wed, Dec 07, 2022 at 04:08:34PM +0000, Jeremy Harris via Exim-users wrote:
> On 07/12/2022 15:34, The Doctor via Exim-users wrote:
> > How do you block a whole Class C like
> > 5.34.207.0/24 using the configuration file?
>
> Make a start by reading the manual, about ACLs
> and hostlists.

Already did that.

> --
> Cheers,
> Jeremy
>
>
> --
> ## List details at https://lists.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://wiki.exim.org/

--
Member - Liberal International This is doctor@nk.ca Ici doctor@nk.ca
Yahweh, King & country!Never Satan President Republic!Beware AntiChrist rising!
Look at Psalms 14 and 53 on Atheism https://www.empire.kred/ROOTNK?t=94a1f39b
Happy Christmas 2022 and Merry New Year 2023 Beware https://mindspring.com

--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: Blocking a Class C [ In reply to ]
On Wed, Dec 07, 2022 at 04:02:55PM -0700, The Doctor via Exim-users wrote:
> On Wed, Dec 07, 2022 at 04:08:34PM +0000, Jeremy Harris via Exim-users wrote:
> > On 07/12/2022 15:34, The Doctor via Exim-users wrote:
> > > How do you block a whole Class C like
> > > 5.34.207.0/24 using the configuration file?
> >
> > Make a start by reading the manual, about ACLs
> > and hostlists.
>
> Already did that.
>

For clarification, here is what I am seeing when I go
netstat -a | egrep smtp

tcp4 0 0 204.209.81.116.smtps 5.34.207.189.11238 ESTABLISHED
tcp4 0 0 204.209.81.167.smtps 5.34.207.77.57610 ESTABLISHED
tcp4 0 0 204.209.81.97.smtps 5.34.207.94.23954 ESTABLISHED
tcp4 0 0 wintersportsltd..smtps 5.34.207.186.9158 ESTABLISHED
tcp4 0 0 bosombabies.com.smtps 5.34.207.199.29368 ESTABLISHED
tcp4 0 0 alberta-reservat.smtps 5.34.207.199.54092 ESTABLISHED
tcp4 0 0 headstraight.ca.smtps 5.34.207.189.36006 ESTABLISHED
tcp4 0 0 kianfit.com.smtps 5.34.207.189.35176 ESTABLISHED
tcp4 0 0 franklinsinn.com.smtps 5.34.207.189.57886 ESTABLISHED
tcp4 0 0 edmontonvet.com.smtps 5.34.207.190.40714 ESTABLISHED
tcp4 0 0 lpeser.ca.smtps 5.34.207.190.41146 ESTABLISHED
tcp4 0 0 rainsoul.ca.smtps 5.34.207.193.16486 ESTABLISHED
tcp4 0 0 robertsonsplumbi.smtps 5.34.207.185.45446 ESTABLISHED
tcp4 0 0 204.209.81.172.smtps 5.34.207.94.38956 ESTABLISHED
tcp4 0 0 204.209.81.110.smtps 5.34.207.198.56028 ESTABLISHED
tcp4 0 0 204.209.81.51.smtps 5.34.207.198.30950 ESTABLISHED
tcp4 0 0 performanceplann.smtps 5.34.207.94.12034 ESTABLISHED
tcp4 0 0 lpeser.ca.smtps 5.34.207.198.35772 ESTABLISHED
tcp4 0 0 204.209.81.142.smtps 5.34.207.198.13016 ESTABLISHED
tcp4 0 0 attilahypnotist..smtps 5.34.207.198.62208 ESTABLISHED
tcp4 0 0 proflamefireplac.smtps 5.34.207.198.48342 ESTABLISHED
tcp4 0 0 bosombabies.com.smtps 5.34.207.185.7722 ESTABLISHED
tcp4 0 0 naicken.com.smtps 5.34.207.183.16000 ESTABLISHED
tcp4 0 0 204.209.81.122.smtps 5.34.207.183.60854 ESTABLISHED
tcp4 0 64 204.209.81.151.smtps 5.34.207.190.16498 ESTABLISHED

--
Member - Liberal International This is doctor@nk.ca Ici doctor@nk.ca
Yahweh, King & country!Never Satan President Republic!Beware AntiChrist rising!
Look at Psalms 14 and 53 on Atheism https://www.empire.kred/ROOTNK?t=94a1f39b
Happy Christmas 2022 and Merry New Year 2023 Beware https://mindspring.com

--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: Blocking a Class C [ In reply to ]
On 12/7/22 10:34, The Doctor via Exim-users wrote:
> How do you block a whole Class C like
> 5.34.207.0/24 using the configuration file?

Step 1.. understand that it's not a class C. It's a /24 prefix in legacy
"Class A" address space.

--
inoc.net!rblayzor
XMPP: rblayzor.AT.inoc.net
PGP: https://pgp.inoc.net/rblayzor/


--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: Blocking a Class C [ In reply to ]
I also wonder why:...

# iptables -v -A INPUT -s 5.34.207.0/24 -j REJECT

(or similar) has not been suggested.

On 2022/12/12 18:13, Robert Blayzor via Exim-users wrote:
> On 12/7/22 10:34, The Doctor via Exim-users wrote:
>> How do you block a whole Class C like
>> 5.34.207.0/24 using the configuration file?
>
> Step 1.. understand that it's not a class C. It's a /24 prefix in
> legacy "Class A" address space.
>
--

Mark James ELKINS  -  Posix Systems - (South) Africa
mje@posix.co.za       Tel: +27.826010496 <tel:+27826010496>


--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: Blocking a Class C [ In reply to ]
On Mon, Dec 12, 2022 at 11:13:19AM -0500, Robert Blayzor via Exim-users wrote:
> On 12/7/22 10:34, The Doctor via Exim-users wrote:
> > How do you block a whole Class C like
> > 5.34.207.0/24 using the configuration file?
>
> Step 1.. understand that it's not a class C. It's a /24 prefix in legacy
> "Class A" address space.
>

Just update to Exim 4.96 and the block is working.

> --
> inoc.net!rblayzor
> XMPP: rblayzor.AT.inoc.net
> PGP: https://pgp.inoc.net/rblayzor/
>
>
> --
> ## List details at https://lists.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://wiki.exim.org/

--
Member - Liberal International This is doctor@nk.ca Ici doctor@nk.ca
Yahweh, King & country!Never Satan President Republic!Beware AntiChrist rising!
Look at Psalms 14 and 53 on Atheism https://www.empire.kred/ROOTNK?t=94a1f39b
Happy Christmas 2022 and Merry New Year 2023 Beware https://mindspring.com

--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/