Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

linux-ipsec: snapbing.tar.gz

From: Kai Martius <admin(at)imib.med.tu-dresden.de>
Date: Tue Dec 01 1998 - 11:07:47 EST


Hello,

is "snapbing.tag.gz" the current snapshot? (It "untar's" to freeswan-0.91).

I was still searching for the reason for my weired kernel messages, so I took this snapshot, installed it on a plain kernel 2.0.36 and *disabled* debugging at all (because these kernel messages were only to be written, if debugging is enabled). However, this lead to another problem :-( - compilation stopped with an error, which seems to depend on some misplaced "#ifdef DEBUG" directives in ipsec_netlink.c. I deactivated some relevant lines (see diff), now it compiles (still with some warnings on unused variables), but I don't know, if these changes are critical to other functions...

(Btw.: without debugging, the permanent error in syslog I reported some days ago, is gone now... And IPSec works correct, too)

Kai

  • ipsec_netlink.c Mon Nov 30 14:22:54 1998 +++ ipsec_netlink.c.new Tue Dec 1 18:04:21 1998 @@ -229,9 +229,9 @@ #include "ipsec_tunnel.h" #endif

-#ifdef DEBUG_IPSEC

+// #ifdef DEBUG_IPSEC
 int debug_netlink = 0;
-#endif

+// #endif

 /*

  • IPSEC <> netlink interface. @@ -250,10 +250,10 @@ struct encap_msghdr *em = (struct encap_msghdr *)dat; struct tdb *tdbp, *tprev; int i, nspis, error, zeroed;
    -#ifdef DEBUG_IPSEC
    struct eroute *eret; char sa[SATOA_BUF]; size_t sa_len; +#ifdef DEBUG_IPSEC

  if(debug_netlink) {
   printk("klips_debug:ipsec_callback: skb=%x skblen=%ld em_magic=%d    em_type=%d\n",

# Kai Martius                                                           #
# Dpt. of Medical CS and Biometrics / Dresden University of Technology  #
# PGP Fingerprint: to be compared after download of my key              #
# Key and more info (especially IP-security related) see my Homepage    #
# 
http://www.imib.med.tu-dresden.de/imib/personal/kai.html              #
Received on Tue Dec 1 12:18:24 1998
Do you need help?X

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 12:59:08 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library