All of lore.kernel.org
 help / color / mirror / Atom feed
* ipsec with 2.6.16-rc3-git6
@ 2006-02-16 15:28 Marco Berizzi
  2006-02-16 20:29 ` Patrick McHardy
  0 siblings, 1 reply; 13+ messages in thread
From: Marco Berizzi @ 2006-02-16 15:28 UTC (permalink / raw)
  To: netfilter-devel

I'm running openswan 2.4.5 with 2.6.16-rc3-git6 on
slackware 10.2 and I have a very strange problem.
I don't know if this is the desired behaviour or a
bug. I'm using iptables 1.3.5
With the following rules I was running ipsec
successfully with linux 2.6.15.1 to all our ipsec
gateway. After I have upgraded to 2.6.16-rc3-git6
I'm able to run ipsec only to venice_gateway.

Chain INPUT (policy ACCEPT)
target     prot opt source               destination
ACCEPT     all  --  venice_gateway       0.0.0.0/0
ACCEPT     all  --  127.0.0.1            127.0.0.1
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0           state 
RELATED,ESTABLISHED
red-me     all  --  0.0.0.0/0            0.0.0.0/0

Chain red-me (1 references)
pkts bytes target     prot opt in     out     source               
destination
    0     0 ACCEPT     icmp --  *      *       0.0.0.0/0            
0.0.0.0/0           icmp type 3
    0     0 ACCEPT     esp  --  *      *       0.0.0.0/0            
0.0.0.0/0
    0     0 ACCEPT     udp  --  *      *       0.0.0.0/0            
0.0.0.0/0           multiport dports 500,4500

For now, I have workarounded the problem adding a rule for every ipsec 
gateway,
but this is a problem for mobile users.

Chain INPUT (policy DROP 133 packets, 11320 bytes)
pkts bytes target     prot opt in     out     source               
destination
  557 93608 ACCEPT     all  --  *      *       milano_gateay        
0.0.0.0/0
  313 31275 ACCEPT     all  --  *      *       venice_gateway       
0.0.0.0/0
    0     0 ACCEPT     all  --  *      *       127.0.0.1            
127.0.0.1
    2   232 ACCEPT     all  --  *      *       0.0.0.0/0            
0.0.0.0/0           state RELATED,ESTABLISHED
    2   160 red-me     all  --  eth0   *       0.0.0.0/0            
0.0.0.0/0


Chain red-me (1 references)
pkts bytes target     prot opt in     out     source               
destination
    0     0 ACCEPT     icmp --  *      *       0.0.0.0/0            
0.0.0.0/0           icmp type 3
    0     0 ACCEPT     esp  --  *      *       0.0.0.0/0            
0.0.0.0/0
    0     0 ACCEPT     udp  --  *      *       0.0.0.0/0            
0.0.0.0/0           multiport dports 500,4500

Is this the correct behaviour?
FYI: tunnels are ESP+IPCOMP

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2006-02-17 10:35 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-16 15:28 ipsec with 2.6.16-rc3-git6 Marco Berizzi
2006-02-16 20:29 ` Patrick McHardy
2006-02-17  8:33   ` Marco Berizzi
2006-02-17  8:53     ` Patrick McHardy
2006-02-17  8:58       ` Marco Berizzi
2006-02-17  9:09         ` Patrick McHardy
2006-02-17  9:26           ` Marco Berizzi
2006-02-17  9:29             ` Patrick McHardy
2006-02-17  9:57               ` Marco Berizzi
2006-02-17 10:07               ` Marco Berizzi
2006-02-17 10:11               ` Marco Berizzi
2006-02-17 10:15                 ` Patrick McHardy
2006-02-17 10:35                   ` Marco Berizzi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.