Re: [Users] Announcement: FreeS/WAN 1.99 released

From: Ken Bantoft (ken_at_freeswan.ca)
Date: Tue Nov 05 2002 - 04:34:07 CET


Nifty.

/usr/src/linux/include/net/ip.h:

static inline void ip_select_ident(struct iphdr *iph, struct dst_entry *dst, struct sock *sk)

klips/net/ipsec/ipsec_tunnel.c:

#ifdef IP_SELECT_IDENT
                                /* XXX use of skb->dst below is a questionable
                                   substitute for &rt->u.dst which is only
                                   available later-on */
#ifdef IP_SELECT_IDENT_NEW
                                ip_select_ident(iph, skb->dst, NULL);
#else /* IP_SELECT_IDENT_NEW */
                                ip_select_ident(iph, skb->dst);
#endif /* IP_SELECT_IDENT_NEW */
#else /* IP_SELECT_IDENT */
                                iph->id = htons(ip_id_count++); /* Race condition here? */
#endif /* IP_SELECT_IDENT */

So it appears IP_SELECT_IDENT(_NEW) is being set wrong. I notice you're
using 2.4.19.SuSE - can you try with stock 2.4.19 ? I'm wondering if a
SuSE patch in thier kernels is messing things up.

On Mon, 4 Nov 2002, Donavan Pantke wrote:

> On Monday 04 November 2002 21:16, Sam Sgro wrote:
> > You need libgmp to compile FreeS/WAN; this error message seems to indicate
> > that the library files are not found. (Take a look at the INSTALL document,
> > and/or doc/install.html) Do you have it installed?
> >
> I need to learn to search my message archive before posting. lol Alright, new
> build error. This time I did check for this in my archive. lol
>
> ipsec_tunnel.c: In function `ipsec_tunnel_start_xmit':
> ipsec_tunnel.c:995: warning: deprecated use of label at end of compound
> statement
> ipsec_tunnel.c:1728: warning: deprecated use of label at end of compound
> statement
> ipsec_tunnel.c:1748: too many arguments to function `ip_select_ident'
> make[4]: *** [ipsec_tunnel.o] Error 1
> make[4]: Leaving directory `/usr/src/linux-2.4.19.SuSE/net/ipsec'
> make[3]: *** [first_rule] Error 2
> make[3]: Leaving directory `/usr/src/linux-2.4.19.SuSE/net/ipsec'
> make[2]: *** [_subdir_ipsec] Error 2
> make[2]: Leaving directory `/usr/src/linux-2.4.19.SuSE/net'
>
> Thanks!
> Donavan Pantke

-- 
Ken Bantoft                The Unoffical FreeS/WAN Site:
ken_at_freeswan.ca            http://www.freeswan.ca
                           PGP Key: finger ken_at_bantoft.org
"Anyone who considers arithmetical methods of producing 
random digits is, of course, in a state of sin."
                    -- John Von Neumann, 1951
_______________________________________________
Users mailing list
Users_at_lists.freeswan.org
http://lists.freeswan.org/mailman/listinfo/users


This archive was generated by hypermail 2.1.5 : Wed Nov 06 2002 - 05:20:36 CET