[Openswan Users] RE: NAT-T Unhandled UDP encap type: 1

Lewis Shobbrook lshobbrook at fasttrack.net.au
Fri Apr 2 18:45:58 CEST 2004


Hi Herbert,
Thanks for the quick response
> > Has anyone seen this before?
> > 
> > .... udp_encap_rcv(): Unhandled UDP encap type: 1
> 
> It means that your *swan's support for NAT-T over the native 
> stack is broken.
> 
> Only Openswan has the correct implementation currently.

Attempting to compile but...

./../linux/lib/libfreeswan/pfkey_v2_parse.c:64:
../../programs/pluto/defs.h:126:17: gmp.h: No such file or directory
In file included from ../../linux/lib/libfreeswan/pfkey_v2_parse.c:64:
../../programs/pluto/defs.h:128: error: parse error before '*' token
../../programs/pluto/defs.h:128: warning: function declaration isn't a
prototype
../../programs/pluto/defs.h:129: warning: type defaults to `int' in
declaration of `MP_INT'
../../programs/pluto/defs.h:129: error: parse error before '*' token
../../programs/pluto/defs.h:129: warning: function declaration isn't a
prototype
make[2]: *** [pfkey_v2_parse.o] Error 1
make[2]: Leaving directory `/home/lewis/openswan-2.1.1/lib/libfreeswan'
make[1]: *** [programs] Error 1

Plus a horde of preceeding ...
warning: use of cast expressions as lvalues is deprecated

Do I need to use any particular gcc version to compile this?

Cheers,

Lewis


More information about the Users mailing list