🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #311756

Re: Ping Inwtx

#311756
From: inwtx
Date: Mon, 26 Oct 2020 20:01
32 lines
2750 bytes
> 
<snip>
> 
> Okay. I examined my iptables rules on sec3.net. For port 25 I have this:
> 
> -A INPUT -p tcp -m tcp --dport 25 --tcp-flags FIN,SYN,RST,ACK SYN -j ACCEPT
> 
> Is it incorrect?
> 
  That is very interesting.  I don't have that kind of ACCEPT in my iptables, only special DROPs.
It doesn't have the PSH param in it, so possibly it can't understand the [FP.].  Possibly since 
I have never had it, it would be safe for you to remove it for a test.  It is somewhat complicated 
to decipher as I remember.  Let me know if you take it out and I'll try sending the sec3 stuck in
machine again.


Here are the only flags I have in iptables. These were all gleaned from the web years ago:

-A INPUT -p tcp -m tcp --tcp-flags SYN,ACK SYN,ACK -m state --state NEW -j DROP
-A INPUT -p tcp -m tcp --tcp-flags FIN,SYN,RST,PSH,ACK,URG NONE -j DROP
-A INPUT -p tcp -m tcp --tcp-flags FIN,SYN FIN,SYN -j DROP
-A INPUT -p tcp -m tcp --tcp-flags SYN,RST SYN,RST -j DROP
-A INPUT -p tcp -m tcp --tcp-flags FIN,SYN,RST,PSH,ACK,URG FIN,SYN,RST,ACK,URG -j DROP
-A INPUT -p tcp -m tcp --tcp-flags FIN,RST FIN,RST -j DROP
-A INPUT -p tcp -m tcp --tcp-flags FIN,ACK FIN -j DROP
-A INPUT -p tcp -m tcp --tcp-flags ACK,URG URG -j DROP
-A INPUT -p tcp -m tcp --dport 2525 --tcp-flags FIN,SYN,RST,ACK SYN -m connlimit --connlimit-above 5 --connlimit-mask 32 --connlimit-saddr -j REJECT --reject-with tcp-reset
-A INPUT -p tcp -m tcp --dport 587 --tcp-flags FIN,SYN,RST,ACK SYN -m connlimit --connlimit-above 5 --connlimit-mask 32 --connlimit-saddr -j REJECT --reject-with tcp-reset
-A INPUT -p tcp -m tcp --dport 25:80 --tcp-flags FIN,SYN,RST,ACK SYN -m connlimit --connlimit-above 5 --connlimit-mask 32 --connlimit-saddr -j REJECT --reject-with tcp-reset
-A INPUT -p tcp -m tcp ! --tcp-flags FIN,SYN,RST,ACK SYN -m state --state NEW -m comment --comment "NEW incoming tcp = SYN?" -j DROP
-A INPUT -p tcp -m tcp --tcp-flags FIN,SYN,RST,PSH,ACK,URG NONE -m comment --comment "NULL packets" -j DROP
-A INPUT -p tcp -m tcp --tcp-flags FIN,SYN,RST,ACK SYN -j syn_flood
Technical Details
Message-ID: <rn79v8$mi6$1@news.mixmin.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-mail
References: <VGFlH.4502$XT.4089@fx03.ams1>

Show Full Headers
Complete Article Headers
Message-ID: <rn79v8$mi6$1@news.mixmin.net>
Subject: Re: Ping Inwtx
Date: Mon, 26 Oct 2020 15:01:44 -0500
From: "inwtx" <noreply@inwtx.net>
References: <VGFlH.4502$XT.4089@fx03.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: Mixmin
Injection-Date: Mon, 26 Oct 2020 20:01:45 -0000 (UTC)
Injection-Info: news.mixmin.net; posting-host="d45e491013388fca9efc2f68c08ed1210b030cf9"; logging-data="23110"; mail-complaints-to="abuse@mixmin.net"