| To: | <netfilter@lists.netfilter.org> |
|---|---|
| Subject: | RE: Unable to block ICMP |
| From: | "Rob Sterenborg" <rob@sterenborg.info> |
| Date: | Sun, 15 Apr 2007 20:14:35 +0200 |
| Delivered-to: | sp-com-lists@consult.net |
| Delivered-to: | netfilter-list1@securepoint.com |
| In-reply-to: | <46225C81.6070503@gmail.com> |
| List-archive: | </pipermail/netfilter> |
| List-help: | <mailto:netfilter-request@lists.netfilter.org?subject=help> |
| List-id: | General discussion and user questions <netfilter.lists.netfilter.org> |
| List-post: | <mailto:netfilter@lists.netfilter.org> |
| List-subscribe: | <https://lists.netfilter.org/mailman/listinfo/netfilter>, <mailto:netfilter-request@lists.netfilter.org?subject=subscribe> |
| List-unsubscribe: | <https://lists.netfilter.org/mailman/listinfo/netfilter>, <mailto:netfilter-request@lists.netfilter.org?subject=unsubscribe> |
| Sender: | netfilter-bounces@lists.netfilter.org |
| Thread-index: | Acd/gLhstM7pRcp1SnSAhH+XMLOYQQAB12ow |
> Well, what I actually wanted (which I probably explained > wrong) is that my ports that are not in use (closed) are > being invisible (no ICMP echo). That better? On the forum you are using this ruleset: iptables -P INPUT ACCEPT iptables -P FORWARD DROP iptables -P OUTPUT ACCEPT iptables -A INPUT -p tcp --dport 631 -j DROP iptables -A INPUT -p tcp --dport 445 -j DROP iptables -A INPUT -p tcp --dport 139 -j DROP iptables -A INPUT -p tcp --dport 6000 -j DROP iptables -A INPUT -p icmp -j DROP iptables -A OUTPUT -p icmp -j DROP Personally, I wouldn't want to do this. Why don't you DROP everything by default and open up what you need, instead of ACCEPTing everything but trying to DROP some ports/icmp? Such ruleset would look like this: $ipt -P INPUT DROP [..ACCEPT rules here..] Or like this: [$ipt -P INPUT ACCEPT] [..ACCEPT rules here..] $ipt -A INPUT -j <DROP|REJECT [reject-with ...]> IMHO that would be easier: for my IP, the website you mentioned shows "steathed" (except for ports that I know are open) for the ports that were scanned. Grts, Rob |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Trying to understand a performance problem - help please., Alan Chandler |
|---|---|
| Next by Date: | Fwd: Async processing using NetFilters, Lokesh |
| Previous by Thread: | Re: Unable to block ICMP, Ronald |
| Next by Thread: | Help applying iplimit patch to kernel 2.6.20.4, Javier Soques |
| Indexes: | [Date] [Thread] [Top] [All Lists] |