🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: remailer's iptables firewall question

#274997
From: Anonymous
Date: Wed, 24 Jun 2015 00:41
22 lines
1999 bytes
On Tue, 23 Jun 2015 17:55:53 -0400 (EDT), Jack Ryan <noreply@remailer.cpunk.us> wrote:

>>> iptables -I INPUT 1 -p tcp --source-port 80 -m string --string
>>> "php" --algo bm -j DROP iptables -I INPUT 2 -p tcp --source-port 80
>>> -m string --string "vtigercrm" --algo bm -j DROP
>>>
>>> yet these intrusions are still getting through
>>>
>>>  "GET /vtigercrm/vtigerservice.php HTTP/1.1" 200 4324 "-"
>>> "curl/7.29.0"
>>>  "GET /vtigercrm/vtiger.php HTTP/1.1" 200 4324 "-" "curl/7.29.0"
>>
>> Did you mean destination port 80?
>
>  That is what I used to have, but someone said that it was wrong 
>because the source (other computer) was trying to come into my 
>server on port 80.  If it was someone trying to go from my server 
>to someone else (destination port 80), that would be wrong.  Which 
>is correct?

Destination is correct. In your use case it is impossible to predict the client's source port, therefore you can't write a rule that
way.
Technical Details
Message-ID: <44vjoalp1pkmvuaiakklojc44asr6h3ge3@news.stray.cat.edu>
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: <slrnmojghu.bhd.elvis-85503@notatla.org.uk> <37580b9ee9de48af5f4a5098e9d73e85@remailer.cpunk.us>

Show Full Headers
Complete Article Headers
Message-ID: <44vjoalp1pkmvuaiakklojc44asr6h3ge3@news.stray.cat.edu>
Subject: Re: remailer's iptables firewall question
Date: Tue, 23 Jun 2015 20:41:41 -0400
From: Anonymous
References: <slrnmojghu.bhd.elvis-85503@notatla.org.uk> <37580b9ee9de48af5f4a5098e9d73e85@remailer.cpunk.us>
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
Lines: 22
Reply-To: Stray Cat <stray_cat@nym.mixmin.net>
NNTP-Posting-Host: sly-ocelot.stray.cat.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Keywords: None
X-Face: ,l9N8F.A~!GX.Yz#yYAZtvpk7aF(an!BVo3%Xb,`Q]*$Oh'RtXB5n4iisiGw8
    l3nY)lnh(G]9[ud;QeX:W}'r)1F9gEQD4o::mBU9JZAXI\y_0t$P#*/o|!TSG9OtqY+`
    NX>cpjf?w~w1RY_}M5731El52pUnI}OaRi~PA+n[fiO>=TS|2h~f%c9zy]*i2LajTWLJ
    _X^1No"P#D_(t*t-5n]wW1
User-Agent: nn/6.7.3