bsnoop-commit Mailing List for Berkley snoop protocol module for linux
Status: Beta
Brought to you by:
ikeberlein
You can subscribe to this list here.
2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(6) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
---|
From: <ike...@us...> - 2009-07-31 10:09:11
|
Revision: 21 http://bsnoop.svn.sourceforge.net/bsnoop/?rev=21&view=rev Author: ikeberlein Date: 2009-07-31 10:09:03 +0000 (Fri, 31 Jul 2009) Log Message: ----------- fixed compile issue for kernel version 2.6.29: use <linux/semaphore.h> Modified Paths: -------------- trunk/snoop.c Modified: trunk/snoop.c =================================================================== --- trunk/snoop.c 2009-07-31 10:07:16 UTC (rev 20) +++ trunk/snoop.c 2009-07-31 10:09:03 UTC (rev 21) @@ -25,7 +25,7 @@ #include <linux/jhash.h> #include <net/tcp.h> #include <asm/bitops.h> -#include <asm/semaphore.h> +#include <linux/semaphore.h> #include <asm/unaligned.h> #include "snoop.h" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ike...@us...> - 2009-07-31 10:07:27
|
Revision: 20 http://bsnoop.svn.sourceforge.net/bsnoop/?rev=20&view=rev Author: ikeberlein Date: 2009-07-31 10:07:16 +0000 (Fri, 31 Jul 2009) Log Message: ----------- changed version Modified Paths: -------------- trunk/snoop.h Modified: trunk/snoop.h =================================================================== --- trunk/snoop.h 2009-07-31 09:24:37 UTC (rev 19) +++ trunk/snoop.h 2009-07-31 10:07:16 UTC (rev 20) @@ -17,7 +17,7 @@ #include <linux/list.h> #include <linux/timer.h> -#define VERSION "0.3-rc7" +#define VERSION "0.3-rc8" #define SNOOP_RXMIT_MAX 8 /* max rxmit count */ #define SNOOP_CONN_TIMEO 60 /* seconds before connection is stale */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ike...@us...> - 2009-07-31 09:25:00
|
Revision: 19 http://bsnoop.svn.sourceforge.net/bsnoop/?rev=19&view=rev Author: ikeberlein Date: 2009-07-31 09:24:37 +0000 (Fri, 31 Jul 2009) Log Message: ----------- tagging version 0.3_rc7 Added Paths: ----------- tags/0.3_rc7/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ike...@us...> - 2009-07-31 09:19:08
|
Revision: 18 http://bsnoop.svn.sourceforge.net/bsnoop/?rev=18&view=rev Author: ikeberlein Date: 2009-07-31 09:19:00 +0000 (Fri, 31 Jul 2009) Log Message: ----------- add notes to Changelog Modified Paths: -------------- trunk/Changelog Modified: trunk/Changelog =================================================================== --- trunk/Changelog 2009-07-31 09:06:13 UTC (rev 17) +++ trunk/Changelog 2009-07-31 09:19:00 UTC (rev 18) @@ -1,3 +1,6 @@ +* Release 0.3-rc7 (31-JUL-2009) + * compiles now on kernels up to version 2.6.26 + * fixed install issue when no destination directory exist * Release 0.3-rc6 (02-FEB-2008) * compiles now under new kernels (ver > 2.6.21) * Release 0.3-rc5 (01-FEB-2008) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ike...@us...> - 2009-07-31 09:06:28
|
Revision: 17 http://bsnoop.svn.sourceforge.net/bsnoop/?rev=17&view=rev Author: ikeberlein Date: 2009-07-31 09:06:13 +0000 (Fri, 31 Jul 2009) Log Message: ----------- fixed issue with install when no "extra" directory exist in target kernel modules directory Modified Paths: -------------- trunk/Makefile Modified: trunk/Makefile =================================================================== --- trunk/Makefile 2009-07-31 09:00:57 UTC (rev 16) +++ trunk/Makefile 2009-07-31 09:06:13 UTC (rev 17) @@ -11,7 +11,7 @@ $(MAKE) -C $(KERNELDIR) M=$(PWD) $@ install: snoop.ko - install snoop.ko $(INSTALLDIR) + install -D snoop.ko $(INSTALLDIR)/snoop.ko endif This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ike...@us...> - 2009-07-31 09:01:10
|
Revision: 16 http://bsnoop.svn.sourceforge.net/bsnoop/?rev=16&view=rev Author: ikeberlein Date: 2009-07-31 09:00:57 +0000 (Fri, 31 Jul 2009) Log Message: ----------- fixed to compile on kernels up to 2.6.26 Modified Paths: -------------- trunk/snoop.c Modified: trunk/snoop.c =================================================================== --- trunk/snoop.c 2008-02-05 09:03:54 UTC (rev 15) +++ trunk/snoop.c 2009-07-31 09:00:57 UTC (rev 16) @@ -901,13 +901,19 @@ static unsigned int snoop_nf_hook(unsigned int hook, +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24) + struct sk_buff *pskb, +#else struct sk_buff **pskb, +#endif const struct net_device *in, const struct net_device *out, int (*okfn)(struct sk_buff*)) { enum sn_pkt_origin pkt_origin; -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,22) +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24) + struct iphdr *iph = ipip_hdr(pskb); +#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,22) struct iphdr *iph = ipip_hdr(*pskb); #else struct iphdr *iph = (*pskb)->nh.iph; @@ -925,7 +931,11 @@ return NF_ACCEPT; if (!nf_forward) nf_forward = okfn; +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24) + setup_pkt_info(&pkt_info, pskb); +#else setup_pkt_info(&pkt_info, *pskb); +#endif return process_pkt(pkt_origin, &pkt_info); } @@ -974,7 +984,11 @@ .hook = snoop_nf_hook, .owner = THIS_MODULE, .pf = PF_INET, +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,25) .hooknum = NF_IP_FORWARD, +#else + .hooknum = NF_INET_FORWARD, +#endif .priority = NF_IP_PRI_FILTER + 1 }; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |