~ubuntu-branches/ubuntu/hardy/openswan/hardy-updates

« back to all changes in this revision

Viewing changes to linux/net/ipsec/ipsec_ipip.c

  • Committer: Bazaar Package Importer
  • Author(s): Rene Mayrhofer
  • Date: 2005-01-27 16:10:11 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050127161011-idgybmyz3vwhpfiq
Tags: 2.3.0-2
Urgency HIGH due to security issue and problems with build-deps in sarge.
* Fix the security issue. Please see
  http://www.idefense.com/application/poi/display?id=190&
      type=vulnerabilities&flashstatus=false
  for more details. Thanks to Martin Schulze for informing me about
  this issue.
  Closes: #292458: Openswan XAUTH/PAM Buffer Overflow Vulnerability
* Added a Build-Dependency to lynx.
  Closes: #291143: openswan: FTBFS: Missing build dependency.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
 * for more details.
14
14
 */
15
15
 
16
 
char ipsec_ipip_c_version[] = "RCSID $Id: ipsec_ipip.c,v 1.1 2003/12/13 19:10:21 mcr Exp $";
 
16
char ipsec_ipip_c_version[] = "RCSID $Id: ipsec_ipip.c,v 1.2 2004/04/06 02:49:26 mcr Exp $";
17
17
#include <linux/config.h>
18
18
#include <linux/version.h>
19
19
 
21
21
#include <linux/module.h>
22
22
#include <linux/kernel.h> /* printk() */
23
23
 
24
 
#include "freeswan/ipsec_param.h"
 
24
#include "openswan/ipsec_param.h"
25
25
 
26
26
#ifdef MALLOC_SLAB
27
27
# include <linux/slab.h> /* kmalloc() */
36
36
#include <linux/etherdevice.h>  /* eth_type_trans */
37
37
#include <linux/ip.h>           /* struct iphdr */
38
38
#include <linux/skbuff.h>
39
 
#include <freeswan.h>
 
39
#include <openswan.h>
40
40
#ifdef SPINLOCK
41
41
# ifdef SPINLOCK_23
42
42
#  include <linux/spinlock.h> /* *lock* */
52
52
#include <asm/checksum.h>
53
53
#include <net/ip.h>
54
54
 
55
 
#include "freeswan/radij.h"
56
 
#include "freeswan/ipsec_encap.h"
57
 
#include "freeswan/ipsec_sa.h"
58
 
 
59
 
#include "freeswan/ipsec_radij.h"
60
 
#include "freeswan/ipsec_xform.h"
61
 
#include "freeswan/ipsec_tunnel.h"
62
 
#include "freeswan/ipsec_rcv.h"
63
 
#include "freeswan/ipsec_xmit.h"
64
 
 
65
 
#include "freeswan/ipsec_auth.h"
66
 
#include "freeswan/ipsec_ipip.h"
67
 
#include "freeswan/ipsec_param.h"
68
 
 
69
 
#include "freeswan/ipsec_proto.h"
 
55
#include "openswan/radij.h"
 
56
#include "openswan/ipsec_encap.h"
 
57
#include "openswan/ipsec_sa.h"
 
58
 
 
59
#include "openswan/ipsec_radij.h"
 
60
#include "openswan/ipsec_xform.h"
 
61
#include "openswan/ipsec_tunnel.h"
 
62
#include "openswan/ipsec_rcv.h"
 
63
#include "openswan/ipsec_xmit.h"
 
64
 
 
65
#include "openswan/ipsec_auth.h"
 
66
#include "openswan/ipsec_ipip.h"
 
67
#include "openswan/ipsec_param.h"
 
68
 
 
69
#include "openswan/ipsec_proto.h"
70
70
 
71
71
enum ipsec_xmit_value
72
72
ipsec_xmit_ipip_setup(struct ipsec_xmit_state *ixs)