/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! /* ALSO: Don't quote this header. It makes you look lame :-) */ hello, i have an old production machine here, originally with kernel 2.0.35 but with patches for ipchains (ipchains-patch-2.0.34.gz). what ip_masq_icq do i need? i tried ip_masq_0.52 and ip_masq_0.54, both without success. ip_masq_0.52 compiled succesfully, but an insmod ip_masq_icq.o gives: gorgon:/root/ip_masq_icq-0.52 # insmod ip_masq_icq.o ip_masq_icq.o: unresolved symbol ip_portfw_add ip_masq_icq.o: unresolved symbol ip_portfw_del ip_masq_icq.o: unresolved symbol ip_portfw_lookup gorgon:/root/ip_masq_icq-0.52 # the patch (included in the ip_masq_0.52 package) for 2.0.36 kernels does not work: # ln -s linux linux-2.0.36 gorgon:/usr/src # patch </root/ip_masq_icq-0.52/ip_masq_icq_ker-2.0.36.diff Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -ur linux.orig/include/net/ip_masq.h linux/include/net/ip_masq.h |--- linux/include/net/ip_masq.h Sat Mar 20 23:59:15 1999 |+++ linux/include/net/ip_masq.h Sun Mar 21 05:49:41 1999 -------------------------- Patching file linux/include/net/ip_masq.h using Plan A... Hunk #1 succeeded at 203 (offset 3 lines). Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -ur linux.orig/net/ipv4/ip_fw.c linux/net/ipv4/ip_fw.c |--- linux-2.0.36.orig/net/ipv4/ip_fw.c Sat Mar 20 22:47:18 1999 |+++ linux-2.0.36/net/ipv4/ip_fw.c Sun Mar 21 05:45:28 1999 -------------------------- Patching file linux-2.0.36/net/ipv4/ip_fw.c using Plan A... Hunk #1 failed at 988. 1 out of 1 hunks failed--saving rejects to linux-2.0.36/net/ipv4/ip_fw.c.rej Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -ur linux/net/ipv4/ip_masq.c linux/net/ipv4/ip_masq.c |--- linux-2.0.36.orig/net/ipv4/ip_masq.c Sat Mar 20 22:47:18 1999 |+++ linux-2.0.36/net/ipv4/ip_masq.c Sun Mar 21 05:49:06 1999 -------------------------- Patching file linux-2.0.36/net/ipv4/ip_masq.c using Plan A... Reversed (or previously applied) patch detected! Assume -R? [y] Hunk #1 succeeded at 140 (offset 9 lines). Hunk #2 failed at 272. 1 out of 2 hunks failed--saving rejects to linux-2.0.36/net/ipv4/ip_masq.c.rej done gorgon:/usr/src # ip_masq_0.54 does not compile, since a 2.2 kernel is needed. ok, i know, that i have a mess in my kernel versions. but this is a production machine, and i can not spend hours updating it to a new kernel version... a shutdown for 2 minutes is ok, but after that, the problems will get worse and worse. any hints, how i could solve the problem? jan ---- #define NINODE 50 /* number of in core inodes */ #define NPROC 30 /* max number of processes */ -- Version 7 UNIX for PDP 11, /usr/include/sys/param.h _______________________________________________ Masq maillist - [EMAIL PROTECTED] Admin requests can be handled at http://www.indyramp.com/masq-list/ -- THIS INCLUDES UNSUBSCRIBING! or email to [EMAIL PROTECTED] PLEASE read the HOWTO and search the archives before posting. You can start your search at http://www.indyramp.com/masq/ Please keep general linux/unix/pc/internet questions off the list.
