RFH -> Request for Help.

Geoff Norton geoff at iRover.com
Mon Mar 27 16:25:54 CEST 2000


Ive,

  Tried that patch, now packets don't seem to be going over the vpn to the
remote machines at all.  I'll look into my setup and make sure everything
else is still the same and follow up later today.

Geoff Norton
------------
iRover.com Director of Technology
Pager: (416)381-1665
geoff at iRover.com
geoff at timecity.org
Lead Network Developer of the Time City project.

On Sun, 26 Mar 2000, Ivo Timmermans wrote:

> On Sat Mar 25 2000, Geoff Norton <geoff at iRover.com> wrote:
> > 
> > Hello all, 
> > 
> >   I've been playing with tinc to setup a wan between two offices of the
> > company that I work for.  I'm partially there but having a slight problem.
> 
> Try this little patch.  If it works for you, I'll make it a new
> version.
> 
> =======================================================
> --- net.c.old   Tue Feb  8 00:35:38 2000
> +++ net.c       Fri Feb 11 00:50:57 2000
> @@ -80,8 +80,8 @@
>    p->len += 12;
>    tmp[0] = tmp[6] = 0xfe;
>    tmp[1] = tmp[7] = 0xfd;
> -  *((ip_t*)(&tmp[2])) = *((ip_t*)(&tmp[30]));  /* !!  ?? */
> -  *((ip_t*)(&tmp[8])) = (ip_t)(htonl(myself->vpn_ip));
> +  *((ip_t*)(&tmp[2])) = (ip_t)(htonl(myself->vpn_ip));
> +  *((ip_t*)(&tmp[8])) = *((ip_t*)(&tmp[26]));
>    memcpy(p->data, &tmp[0], p->len);
>  }
> 
> =======================================================
> 
> 
> -- 
> Ivo Timmermans
> 
> You are just jealous because the little voices are talking to me.
> 

-
Tinc:         Discussion list about the tinc VPN daemon
Archive:      http://mail.nl.linux.org/lists/
Tinc site:    http://ftp.nl.linux.org/pub/linux/tinc/



More information about the Tinc mailing list