Unknown | 9 Jun 2009 12:42

Native GIT repository? (git://)

Hello.

Any chances to have native GIT repo for tinc any time soon?

Regards,
Borg
Michael Tokarev | 9 Jun 2009 12:54
Picon

Re: Native GIT repository? (git://)

Unknown wrote:
> Hello.
> 
> Any chances to have native GIT repo for tinc any time soon?

What's wrong with http:// ?

tinc isn't very large project where efficiency is of high priority.

/mjt
Unknown | 9 Jun 2009 15:41

Re: Native GIT repository? (git://)

On Tue, 9 Jun 2009, Michael Tokarev wrote:
> What's wrong with http:// ?
>
> tinc isn't very large project where efficiency is of high priority.
Nothing? I feel like http is abused these days..
Anyway, I usualy have platforms w/o curl so only native git:// works 
properly.
Guus Sliepen | 9 Jun 2009 23:30
Gravatar

Re: Native GIT repository? (git://)

On Tue, Jun 09, 2009 at 03:41:01PM +0200, Unknown wrote:

> > What's wrong with http:// ?
> >
> > tinc isn't very large project where efficiency is of high priority.
> Nothing? I feel like http is abused these days..
> Anyway, I usualy have platforms w/o curl so only native git:// works 
> properly.

Which platforms do you use? If git does not work, you can try downloading an
automatically generated tarball of the latest revision in git:

http://www.tinc-vpn.org/git/browse?p=tinc;a=snapshot;h=HEAD

I'll ask the people who host www.tinc-vpn.org to install a git daemon, but it
may take while before it is installed.

--

-- 
Met vriendelijke groet / with kind regards,
     Guus Sliepen <guus@...>
On Tue, Jun 09, 2009 at 03:41:01PM +0200, Unknown wrote:

> > What's wrong with http:// ?
> >
> > tinc isn't very large project where efficiency is of high priority.
> Nothing? I feel like http is abused these days..
> Anyway, I usualy have platforms w/o curl so only native git:// works 
> properly.
(Continue reading)

Unknown | 10 Jun 2009 12:06

Re: Native GIT repository? (git://)


On Tue, 9 Jun 2009, Guus Sliepen wrote:
> Which platforms do you use? If git does not work, you can try downloading an
> automatically generated tarball of the latest revision in git:
Usualy its old cygwin-1.3..
> http://www.tinc-vpn.org/git/browse?p=tinc;a=snapshot;h=HEAD
Okey.. thx.. that will be sufficient for a while.
> I'll ask the people who host www.tinc-vpn.org to install a git daemon, but it
> may take while before it is installed.
Would be great.. Setting up git-daemon is much esier compared to http :)
Rob Townley | 10 Jun 2009 21:31
Picon

Re: BindToAddress: TCP connections originate from random source address.

if one doesnt want a patch, wouldnt

/sbin/ip rule help

fix this?

On 5/26/09, Guus Sliepen <guus@...> wrote:
> On Tue, May 26, 2009 at 06:06:37PM +0200, Florian Forster wrote:
>
>> I've stumbled upon a problem which I can't solve easily with the
>> available options in tinc - at least as far as I see. If enlightenment
>> is all I need, I'll happily accept pointers ;)
> [...]
>> The problem is that `BindToAddress' is only used for *listening* TCP
>> sockets, not for sending TCP sockets.
> [...]
>> On the other hand, the UDP sockets are
>> bound and used for both, sending and receiving.
> [...]
>> The function `handle_incoming_vpn_data' then fails to look up the host
>> entry belonging to this IP address and I get the error printed in
>> lineĀ 559:
>>
>>   Received UDP packet from unknown source 2001:780:0:1e::1
>>
>> I propose to check the `BindToAddress' configuration in
>> `do_outgoing_connection' and, if set, bind TCP sockets to that address,
>> too.
>
> Yes, that is a simple solution that should work. The same change should
(Continue reading)

Guus Sliepen | 10 Jun 2009 21:41
Gravatar

Re: BindToAddress: TCP connections originate from random source address.

On Wed, Jun 10, 2009 at 02:31:52PM -0500, Rob Townley wrote:

> if one doesnt want a patch, wouldnt
> 
> /sbin/ip rule help
> 
> fix this?

Florian's patch has been applied, see:

http://www.tinc-vpn.org/git/browse?p=tinc;a=commit;h=41a05f59ba2c3eb5caab555f096ed1b9fbe69ee3

Certainly, Linux' advanced routing features allow you to simulate binding to an
address. But that doesn't work on other platforms, although they might have
their own tricks to do it. Also, it was just silly that tinc would bind
listening sockets but not outgoing sockets.

--

-- 
Met vriendelijke groet / with kind regards,
     Guus Sliepen <guus@...>
On Wed, Jun 10, 2009 at 02:31:52PM -0500, Rob Townley wrote:

> if one doesnt want a patch, wouldnt
> 
> /sbin/ip rule help
> 
> fix this?

(Continue reading)

Guus Sliepen | 12 Jun 2009 09:44
Gravatar

Re: Native GIT repository? (git://)

On Wed, Jun 10, 2009 at 12:06:32PM +0200, Unknown wrote:

> > I'll ask the people who host www.tinc-vpn.org to install a git daemon, but it
> > may take while before it is installed.
> Would be great.. Setting up git-daemon is much esier compared to http :)

Git daemon has been installed, you can now also clone the repository with:

git clone git://www.tinc-vpn.org/tinc

-- 
Met vriendelijke groet / with kind regards,
     Guus Sliepen <guus@...>
On Wed, Jun 10, 2009 at 12:06:32PM +0200, Unknown wrote:

> > I'll ask the people who host www.tinc-vpn.org to install a git daemon, but it
> > may take while before it is installed.
> Would be great.. Setting up git-daemon is much esier compared to http :)

Git daemon has been installed, you can now also clone the repository with:

git clone git://www.tinc-vpn.org/tinc

--

-- 
Met vriendelijke groet / with kind regards,
     Guus Sliepen <guus@...>
Unknown | 12 Jun 2009 12:02

Re: Native GIT repository? (git://)

On Fri, 12 Jun 2009, Guus Sliepen wrote:
> Git daemon has been installed, you can now also clone the repository with:
>
> git clone git://www.tinc-vpn.org/tinc
Thanks a lot :)
Michael Tokarev | 12 Jun 2009 12:58
Picon

Re: Native GIT repository? (git://)

Guus Sliepen wrote:
[]
> Git daemon has been installed, you can now also clone the repository with:
> 
> git clone git://www.tinc-vpn.org/tinc

JFYI:
  http://thread.gmane.org/gmane.comp.version-control.git/120724
  https://www.redhat.com/archives/fedora-security-list/2009-June/msg00000.html

As I said before, bugs are loving me. ;)

/mjt

Gmane