Re: [Openvpn-devel] Connect several subnets with OpenVPN2.0

2004-09-11 Thread Robin G. Wenninger
Hi James,

I totally overlooked this. Thank you for your help.

Regards,
Robin


On Wed, Sep 08, 2004 at 09:16:09AM -0600, James Yonan wrote:
> 
> 
> On Wed, 8 Sep 2004, Robin G. Wenninger wrote:
> 
> > Hi list,
> > 
> > I have a kind of "problem" here.
> > 
> > I thought about connecting several subnets with 2.0 and for this purpose
> > use the PUSH/PULL-Options.
> > 
> > So I used options like
> > push "route 10.0.0.0 255.255.255.0"
> > push "route 192.168.1.0 255.255.255.0"
> > 
> > To push all known subnets to the Clients. But the problem is, if I push
> > route 10.0.0.0 255.255.255.0 to the Client which "owns" this subnet it
> > overwrites the old routing entry and kicks its Subnet.
> > 
> > My recommendation would be a kind of exception list.
> > Something like
> > push "route 10.0.0.0 255.255.255.0" except common-name
> > 
> > What do you think about this, is there any other (good to administrate)
> > solution?
> 
> Interestingly enough, I think that this exception mechanism is already 
> built into the way that IP routing works.
> 
> For example, suppose I push my all-inclusive /16 subnet:
> 
>   push "route 10.11.0.0 255.255.0.0"
> 
> Now suppose a client has taken a /24 subset of this range such as 
> 10.11.45.0/255.255.255.0.
> 
> The all-inclusive /16 route will match at a lower priority in the client's 
> routing table than the client's private /24 subnet, so both subnets can 
> coexist on the client.  The 10.11.45.0/255.255.255.0 subnet will match on 
> any of the client's local traffic, while packets directed to 10.11.x.y 
> will get routed back to the server when x is not equal to 45.



[Openvpn-devel] Connect several subnets with OpenVPN2.0

2004-09-07 Thread Robin G. Wenninger
Hi list,

I have a kind of "problem" here.

I thought about connecting several subnets with 2.0 and for this purpose
use the PUSH/PULL-Options.

So I used options like
push "route 10.0.0.0 255.255.255.0"
push "route 192.168.1.0 255.255.255.0"

To push all known subnets to the Clients. But the problem is, if I push
route 10.0.0.0 255.255.255.0 to the Client which "owns" this subnet it
overwrites the old routing entry and kicks its Subnet.

My recommendation would be a kind of exception list.
Something like
push "route 10.0.0.0 255.255.255.0" except common-name

What do you think about this, is there any other (good to administrate)
solution?

Kind regards,
Robin Wenninger

P.S. (Right me when I'm wrong.)



[Openvpn-devel] OpenVPN 1.5.0 -> write UDPv4 []: No buffer space available

2004-01-12 Thread Robin G. Wenninger
Hi List,

I'm not sure about if this is a real bug, but:

Since OpenVPN 1.5.0 I notice this in my log-files:


Jan 12 16:55:14 hefti openvpn[20762]: write UDPv4 []: No buffer space
available (code=105)
Jan 12 16:56:04 hefti last message repeated 4 times
Jan 12 16:56:21 hefti last message repeated 3 times

(the same with "ping -s 1000 -f")
Jan 12 21:18:46 hefti last message repeated 976 times
 ...and so on

First I thought it might be a Kernel problem, but I get these error
under 2.4.20, 2.4.23, 2.6.1 and also this happens only since OVPN
1.5.0.

It's very easy to reproduce if you try something like
"ping -s 1000" or even "ping -s 1000 -f" over the tunnel. However I 
don't assume that this has a major effect to the throughput but I'm 
wondering about this message.

-> Maybe it's important that I have a xDSL on each side.
-> OpenVPN 1.5.0 i386-pc-linux-gnu [SSL] [LZO] [PTHREAD]

It you need further information to track down this problem, tell me and
don't be too angry if I did something wrong - it's my first Bug-Report.
;)

Best regards rw