| To: | netfilter@lists.netfilter.org |
|---|---|
| Subject: | Iptables: strange way of blocking UDP traffic |
| From: | "massimo bortolan" <max.bortolan@gmail.com> |
| Date: | Wed, 28 Feb 2007 10:10:47 +0100 |
| Delivered-to: | sp-com-lists@consult.net |
| Delivered-to: | netfilter-list1@securepoint.com |
| Dkim-signature: | a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=JgK6QZzfI3glFgJkpzcfW+x5pzpOjmvGpVqsRy1dj6HI81nKa/UOys34Jmr7gMlZ3s9hCH4J1jcjd3ozY0ZpgLTq9vlh9kr1COcaFGKSWVYl06CoNb52yXZBZOj9z9iX69xDAjLOmzQ071X1cHzq5oaOB58jM/PjSz8mL78uP38= |
| Domainkey-signature: | a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=XnPoQrVzN6nRSgmEAIE8VGT7CyOwMGGYpj7KnZgVjZpMe6zdIcoc9nWXRRv5KO8JqVJbuL5yHgnw0L3qStOXCddgEPp1yKkpd3KT4vWW0EyKL8fiSR7s4PY6+MF3kYMK7Kvh3uD1ecx2wua/lK9ewNv8XXNpnZJ4bGIA6Fu7Wj8= |
| 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 |
Hi all, I have a strange and mysterious problem: my Nagios Server sends an snmpgetnext to a SUN Server (at the virtual interface, IP: 10.10.10.10) and the response comes back from the real IP of the SUN Server (IP: 10.10.10.1). The protocol involved is SNMP, so the traffic is UDP on port 161. The problem is that the Firewall on Nagios Server (RedHat ES 4.0) lets pass some responses from SUN Server, and blocks some other responses. Generally, after 20 snmpgetnext my iptables begins to act as a firewall (:D) blocking the incoming traffic from SUN machine. After 3/4 snmpgetnext blocked, the firewall re-begins to let the traffic get in. The iptables file is written below: ---------------------------------------------------------------------------------------------------------------------------- *filter :INPUT ACCEPT [0:0] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [0:0] :RH-Firewall-1-INPUT - [0:0] -A INPUT -j RH-Firewall-1-INPUT -A FORWARD -j RH-Firewall-1-INPUT -A RH-Firewall-1-INPUT -i lo -j ACCEPT -A RH-Firewall-1-INPUT -p icmp --icmp-type any -j ACCEPT -A RH-Firewall-1-INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT -A RH-Firewall-1-INPUT -p udp -j ACCEPT --dport 162 -A RH-Firewall-1-INPUT -j LOG --log-level info --log-prefix "FIREWALL LOGDROP:" -A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited COMMIT -------------------------------------------------------------------------------------------------------------------- In your opinion, which could be the problem? Really thank you for your help/opinion! Max |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re IPv6 MARK support, Boutin Maël |
|---|---|
| Next by Date: | Re: Re IPv6 MARK support, Boutin Maël |
| Previous by Thread: | Re IPv6 MARK support, Boutin Maël |
| Next by Thread: | DNAT Problems, Rafael Paris |
| Indexes: | [Date] [Thread] [Top] [All Lists] |