All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Nano-Howto and IPSec
@ 2001-12-13 17:09 Jason A. Pattie
  2001-12-13 17:21 ` Julian Anastasov
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jason A. Pattie @ 2001-12-13 17:09 UTC (permalink / raw)
  To: lartc

I patched my kernel with the new routing code for 2.4.14 which already 
had been patched with a FreeS/WAN snapshot.  However, the compilation 
gave me an error stating that:

ipsec_tunnel.c: In function `ipsec_tunnel_start_xmit':
ipsec_tunnel.c:1883: too few arguments to function `ip_route_output'
make[3]: *** [ipsec_tunnel.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.14/net/ipsec'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.14/net/ipsec'
make[1]: *** [_subdir_ipsec] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.14/net'
make: *** [_dir_net] Error 2

Has anyone else run into this problem of mixing the new multipath 
routing code with FreeS/WAN? or am I missing something?

-- 
Jason A. Pattie
pattieja@pcxperience.com



_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/

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

* Re: [LARTC] Nano-Howto and IPSec
  2001-12-13 17:09 [LARTC] Nano-Howto and IPSec Jason A. Pattie
@ 2001-12-13 17:21 ` Julian Anastasov
  2001-12-20  2:18 ` Whit Blauvelt
  2001-12-20 21:04 ` Julian Anastasov
  2 siblings, 0 replies; 4+ messages in thread
From: Julian Anastasov @ 2001-12-13 17:21 UTC (permalink / raw)
  To: lartc


	Hello,

On Thu, 13 Dec 2001, Jason A. Pattie wrote:

> I patched my kernel with the new routing code for 2.4.14 which already
> had been patched with a FreeS/WAN snapshot.  However, the compilation
> gave me an error stating that:
>
> ipsec_tunnel.c: In function `ipsec_tunnel_start_xmit':
> ipsec_tunnel.c:1883: too few arguments to function `ip_route_output'
> make[3]: *** [ipsec_tunnel.o] Error 1
> make[3]: Leaving directory `/usr/src/linux-2.4.14/net/ipsec'
> make[2]: *** [first_rule] Error 2
> make[2]: Leaving directory `/usr/src/linux-2.4.14/net/ipsec'
> make[1]: *** [_subdir_ipsec] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.4.14/net'
> make: *** [_dir_net] Error 2
>
> Has anyone else run into this problem of mixing the new multipath
> routing code with FreeS/WAN? or am I missing something?

	Yes but I still didn't received patch for this. Just add
one 0 as last argument to ip_route_output, make a diff -u and I'll
upload it on the site. Of course, if everything else works.

Regards

--
Julian Anastasov <ja@ssi.bg>


_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/

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

* Re: [LARTC] Nano-Howto and IPSec
  2001-12-13 17:09 [LARTC] Nano-Howto and IPSec Jason A. Pattie
  2001-12-13 17:21 ` Julian Anastasov
@ 2001-12-20  2:18 ` Whit Blauvelt
  2001-12-20 21:04 ` Julian Anastasov
  2 siblings, 0 replies; 4+ messages in thread
From: Whit Blauvelt @ 2001-12-20  2:18 UTC (permalink / raw)
  To: lartc

This a change in the file freeswan-1.94/klips/net/ipsec/ipsec_tunnel.c

The difference is a 0 added like (plain diff):

1831c1831
<                                   physdev->iflink /* rgb: should this be 0? */))) {
---
>                                   physdev->iflink, 0 /* rgb: should this be 0? */))) {

Here's the diff -u

--- ipsec_tunnel.c.orig	Wed Dec  5 04:36:10 2001
+++ ipsec_tunnel.c	Wed Dec 19 21:11:55 2001
@@ -1828,7 +1828,7 @@
 				    skb->nh.iph->daddr,
 				    pass ? 0 : skb->nh.iph->saddr,
 				    RT_TOS(skb->nh.iph->tos),
-				    physdev->iflink /* rgb: should this be 0? */))) {
+				    physdev->iflink, 0 /* rgb: should this be 0? */))) {
 		stats->tx_errors++;
 		KLIPS_PRINT(debug_tunnel & DB_TN_XMIT,
 			    "klips_debug:ipsec_tunnel_start_xmit: "



On Thu, Dec 13, 2001 at 07:21:02PM +0200, Julian Anastasov wrote:
> 
> 	Hello,
> 
> On Thu, 13 Dec 2001, Jason A. Pattie wrote:
> 
> > I patched my kernel with the new routing code for 2.4.14 which already
> > had been patched with a FreeS/WAN snapshot.  However, the compilation
> > gave me an error stating that:
> >
> > ipsec_tunnel.c: In function `ipsec_tunnel_start_xmit':
> > ipsec_tunnel.c:1883: too few arguments to function `ip_route_output'
> > make[3]: *** [ipsec_tunnel.o] Error 1
> > make[3]: Leaving directory `/usr/src/linux-2.4.14/net/ipsec'
> > make[2]: *** [first_rule] Error 2
> > make[2]: Leaving directory `/usr/src/linux-2.4.14/net/ipsec'
> > make[1]: *** [_subdir_ipsec] Error 2
> > make[1]: Leaving directory `/usr/src/linux-2.4.14/net'
> > make: *** [_dir_net] Error 2
> >
> > Has anyone else run into this problem of mixing the new multipath
> > routing code with FreeS/WAN? or am I missing something?
> 
> 	Yes but I still didn't received patch for this. Just add
> one 0 as last argument to ip_route_output, make a diff -u and I'll
> upload it on the site. Of course, if everything else works.
> 
> Regards
> 
> --
> Julian Anastasov <ja@ssi.bg>

Whit

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/

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

* Re: [LARTC] Nano-Howto and IPSec
  2001-12-13 17:09 [LARTC] Nano-Howto and IPSec Jason A. Pattie
  2001-12-13 17:21 ` Julian Anastasov
  2001-12-20  2:18 ` Whit Blauvelt
@ 2001-12-20 21:04 ` Julian Anastasov
  2 siblings, 0 replies; 4+ messages in thread
From: Julian Anastasov @ 2001-12-20 21:04 UTC (permalink / raw)
  To: lartc


	Hello,

On Wed, 19 Dec 2001, Whit Blauvelt wrote:

> This a change in the file freeswan-1.94/klips/net/ipsec/ipsec_tunnel.c

	Slightly changed and saved as
http://www.linuxvirtualserver.org/~julian/freeswan-1.94-routes-1.diff

> Whit

Regards

--
Julian Anastasov <ja@ssi.bg>


_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/

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

end of thread, other threads:[~2001-12-20 21:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-13 17:09 [LARTC] Nano-Howto and IPSec Jason A. Pattie
2001-12-13 17:21 ` Julian Anastasov
2001-12-20  2:18 ` Whit Blauvelt
2001-12-20 21:04 ` Julian Anastasov

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.