Help me... please

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi to all,
i'm a problem with an iptables firewall working on OpenSuse 10.3 - Kernel 2.6.22. I have created the firewall using FirewallBuilder 2.0.13.
The problem is this. On my firewall i have these two rules

echo "Rule 9 (global)"
# 
# 
# 
$IPTABLES -N RULE_9
$IPTABLES -A INPUT -m mac --mac-source 00:1B:38:B1:9A:57 -m state --state NEW -j RULE_9 
$IPTABLES -A INPUT -m mac --mac-source 00:0E:A6:C1:4E:18 -m state --state NEW -j RULE_9 
$IPTABLES -A FORWARD -m mac --mac-source 00:1B:38:B1:9A:57 -m state --state NEW -j RULE_9 
$IPTABLES -A FORWARD -m mac --mac-source 00:0E:A6:C1:4E:18 -m state --state NEW -j RULE_9 
$IPTABLES -A RULE_9 -j LOG --log-level info --log-prefix "RULE 9 -- ACCEPT "
$IPTABLES -A RULE_9 -j ACCEPT 

...that allow to go everywhere for the hosts with mac-address
00:1B:38:B1:9A:57 and 00:0E:A6:C1:4E:18....

and this rule (the last rule on the firewall)

# Rule 39 (global)
# 
echo "Rule 39 (global)"
# 
# 
# 
$IPTABLES -N RULE_39
$IPTABLES -A OUTPUT -j RULE_39 
$IPTABLES -A INPUT -j RULE_39 
$IPTABLES -A FORWARD -j RULE_39 
$IPTABLES -A RULE_39 -j LOG --log-level info --log-prefix "RULE 39 -- DENY "
$IPTABLES -A RULE_39 -j DROP 
#
that block all packet don't match the rule before.

When i try to navigate with these two host i experience very sloow speed and when i have investigated the log file of firewall i have discovered that some time the packets destinated to any web server (http://.... port 80) match the rule 9 (CORRECTLY).... and some time match rule 39 ( :(((( )

All the other hosts /networks defined in the firewall with ip-address instead mac-address works fine with internet.

Some ideas :))) Thank's to all.

Marco




--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux