Article View: alt.privacy.anon-server
Article #275010Re: remailer's iptables firewall question
From: Anonymous
Date: Wed, 24 Jun 2015 14:50
Date: Wed, 24 Jun 2015 14:50
25 lines
1752 bytes
1752 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. Definitely misled. Working now with dport. Thank all.
Technical Details
Message-ID:
<39098d3d657260d036a6b3b8242b5c7b@remailer.paranoici.org>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:
<44vjoalp1pkmvuaiakklojc44asr6h3ge3@news.stray.cat.edu>Show Full Headers
Complete Article Headers
Message-ID: <39098d3d657260d036a6b3b8242b5c7b@remailer.paranoici.org> Subject: Re: remailer's iptables firewall question Date: Wed, 24 Jun 2015 14:50:24 +0000 From: Anonymous <nobody@remailer.paranoici.org> References: <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 X-Abuse: abuse@dizum.com Newsgroups: alt.privacy.anon-server Organization: dizum.com - The Internet Problem Provider Injection-Info: sewer.dizum.com - 194.109.206.211 X-Received-Bytes: 1836