public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Recent copy of libpcap from CVS
@ 2008-09-08 12:27 Keith Owens
  2008-09-08 12:45 ` Patrick McHardy
  0 siblings, 1 reply; 10+ messages in thread
From: Keith Owens @ 2008-09-08 12:27 UTC (permalink / raw)
  To: linux-kernel

Does anybody have a recent copy of the source to libpcap from its CVS
repository?

The normal site for libpcap (tcpdump.org) appears to have suffered a
filesystem crash and CVS is not working.  I am looking for a version of
libpcap that supports data capture for USB interfaces, the code will
probably have references to /dev/usbmon or a pcap-usb-linux.c file for
Linux.  libpcap0.8_0.9.8-2 is not recent enough.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Recent copy of libpcap from CVS
  2008-09-08 12:27 Recent copy of libpcap from CVS Keith Owens
@ 2008-09-08 12:45 ` Patrick McHardy
  2008-09-09  0:07   ` Keith Owens
  0 siblings, 1 reply; 10+ messages in thread
From: Patrick McHardy @ 2008-09-08 12:45 UTC (permalink / raw)
  To: Keith Owens; +Cc: linux-kernel

Keith Owens wrote:
> Does anybody have a recent copy of the source to libpcap from its CVS
> repository?
> 
> The normal site for libpcap (tcpdump.org) appears to have suffered a
> filesystem crash and CVS is not working.  I am looking for a version of
> libpcap that supports data capture for USB interfaces, the code will
> probably have references to /dev/usbmon or a pcap-usb-linux.c file for
> Linux.  libpcap0.8_0.9.8-2 is not recent enough.

Dave put a recent copy up at:

git://git.kernel.org/pub/scm/linux/kernel/git/davem/libpcap.git

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Recent copy of libpcap from CVS
  2008-09-08 12:45 ` Patrick McHardy
@ 2008-09-09  0:07   ` Keith Owens
  2008-09-09  0:10     ` David Miller
  0 siblings, 1 reply; 10+ messages in thread
From: Keith Owens @ 2008-09-09  0:07 UTC (permalink / raw)
  To: Patrick McHardy; +Cc: linux-kernel

Patrick McHardy (on Mon, 08 Sep 2008 14:45:12 +0200) wrote:
>Keith Owens wrote:
>> Does anybody have a recent copy of the source to libpcap from its CVS
>> repository?
>> 
>> The normal site for libpcap (tcpdump.org) appears to have suffered a
>> filesystem crash and CVS is not working.  I am looking for a version of
>> libpcap that supports data capture for USB interfaces, the code will
>> probably have references to /dev/usbmon or a pcap-usb-linux.c file for
>> Linux.  libpcap0.8_0.9.8-2 is not recent enough.
>
>Dave put a recent copy up at:
>
>git://git.kernel.org/pub/scm/linux/kernel/git/davem/libpcap.git

Thanks, but that is still version 0.9.8 with no support for usb.
It defines DLT_USB and DLT_USB_LINUX but has no code to actually
read from /dev/usbmon.  I need the CVS version of libpcap.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Recent copy of libpcap from CVS
  2008-09-09  0:07   ` Keith Owens
@ 2008-09-09  0:10     ` David Miller
  2008-09-09  3:11       ` Patrick McHardy
  0 siblings, 1 reply; 10+ messages in thread
From: David Miller @ 2008-09-09  0:10 UTC (permalink / raw)
  To: kaos; +Cc: kaber, linux-kernel

From: Keith Owens <kaos@ocs.com.au>
Date: Tue, 09 Sep 2008 10:07:32 +1000

> Patrick McHardy (on Mon, 08 Sep 2008 14:45:12 +0200) wrote:
> >Keith Owens wrote:
> >> Does anybody have a recent copy of the source to libpcap from its CVS
> >> repository?
> >> 
> >> The normal site for libpcap (tcpdump.org) appears to have suffered a
> >> filesystem crash and CVS is not working.  I am looking for a version of
> >> libpcap that supports data capture for USB interfaces, the code will
> >> probably have references to /dev/usbmon or a pcap-usb-linux.c file for
> >> Linux.  libpcap0.8_0.9.8-2 is not recent enough.
> >
> >Dave put a recent copy up at:
> >
> >git://git.kernel.org/pub/scm/linux/kernel/git/davem/libpcap.git
> 
> Thanks, but that is still version 0.9.8 with no support for usb.
> It defines DLT_USB and DLT_USB_LINUX but has no code to actually
> read from /dev/usbmon.  I need the CVS version of libpcap.

Sorry that's the most recent CVS tree Patrick had when I built that
GIT repo.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Recent copy of libpcap from CVS
  2008-09-09  0:10     ` David Miller
@ 2008-09-09  3:11       ` Patrick McHardy
  2008-09-10 22:57         ` David Miller
  0 siblings, 1 reply; 10+ messages in thread
From: Patrick McHardy @ 2008-09-09  3:11 UTC (permalink / raw)
  To: David Miller; +Cc: kaos, linux-kernel

David Miller wrote:
> From: Keith Owens <kaos@ocs.com.au>
> Date: Tue, 09 Sep 2008 10:07:32 +1000
>
>   
>> Patrick McHardy (on Mon, 08 Sep 2008 14:45:12 +0200) wrote:
>>     
>>> Dave put a recent copy up at:
>>>
>>> git://git.kernel.org/pub/scm/linux/kernel/git/davem/libpcap.git
>>>       
>> Thanks, but that is still version 0.9.8 with no support for usb.
>> It defines DLT_USB and DLT_USB_LINUX but has no code to actually
>> read from /dev/usbmon.  I need the CVS version of libpcap.
>>     
>
> Sorry that's the most recent CVS tree Patrick had when I built that
> GIT repo.

Thats odd, the version I had has USB support and that one also appears
to be missing my VLAN patches that are in current CVS.

I'll try to figure out what went wrong and send you both a new tarball.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Recent copy of libpcap from CVS
  2008-09-09  3:11       ` Patrick McHardy
@ 2008-09-10 22:57         ` David Miller
  2008-09-10 23:57           ` Keith Owens
  0 siblings, 1 reply; 10+ messages in thread
From: David Miller @ 2008-09-10 22:57 UTC (permalink / raw)
  To: kaber; +Cc: kaos, linux-kernel

From: Patrick McHardy <kaber@trash.net>
Date: Tue, 09 Sep 2008 05:11:59 +0200

> Thats odd, the version I had has USB support and that one also appears
> to be missing my VLAN patches that are in current CVS.
> 
> I'll try to figure out what went wrong and send you both a new tarball.

I just rebuilt the libpcap repo from an updated tarball Patrick sent me.
Let me know if it's still screwed up :)

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Recent copy of libpcap from CVS
  2008-09-10 22:57         ` David Miller
@ 2008-09-10 23:57           ` Keith Owens
  2008-09-10 23:59             ` David Miller
  0 siblings, 1 reply; 10+ messages in thread
From: Keith Owens @ 2008-09-10 23:57 UTC (permalink / raw)
  To: David Miller; +Cc: kaber, linux-kernel

David Miller (on Wed, 10 Sep 2008 15:57:06 -0700 (PDT)) wrote:
>From: Patrick McHardy <kaber@trash.net>
>Date: Tue, 09 Sep 2008 05:11:59 +0200
>
>> Thats odd, the version I had has USB support and that one also appears
>> to be missing my VLAN patches that are in current CVS.
>> 
>> I'll try to figure out what went wrong and send you both a new tarball.
>
>I just rebuilt the libpcap repo from an updated tarball Patrick sent me.
>Let me know if it's still screwed up :)

Comparing git://git.kernel.org/pub/scm/linux/kernel/git/davem/libpcap.git
against Patrick's tarball.  git is missing some mode and some rcsid
lines like this example below, I assume that the removal of these lines
in git was deliberate.

diff -urp libpcap-0.9-PRE-CVS/fad-getad.c libpcap/fad-getad.c
--- libpcap-0.9-PRE-CVS/fad-getad.c	2007-10-18 04:11:49.000000000 +1000
+++ libpcap/fad-getad.c	2008-09-11 09:45:20.144341324 +1000
@@ -1,4 +1,3 @@
-/* -*- Mode: c; tab-width: 8; indent-tabs-mode: 1; c-basic-offset: 8; -*- */
 /*
  * Copyright (c) 1994, 1995, 1996, 1997, 1998
  *	The Regents of the University of California.  All rights reserved.
@@ -32,11 +31,6 @@
  * SUCH DAMAGE.
  */
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/libpcap/fad-getad.c,v 1.12 2007/09/14 00:44:55 guy Exp $ (LBL)";
-#endif
-
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif

However the removal of the #ifndef lint lines also removed a copyright
notice from the object.  The copyright line should be reinstated.

diff -urp libpcap-0.9-PRE-CVS/filtertest.c libpcap/filtertest.c
--- libpcap-0.9-PRE-CVS/filtertest.c	2007-10-11 16:56:22.000000000 +1000
+++ libpcap/filtertest.c	2008-09-11 09:45:20.148341971 +1000
@@ -19,14 +19,6 @@
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
-#ifndef lint
-static const char copyright[] _U_ =
-    "@(#) Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 2000\n\
-The Regents of the University of California.  All rights reserved.\n";
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/libpcap/filtertest.c,v 1.2 2005/08/08 17:50:13 guy Exp $ (LBL)";
-#endif
-
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Recent copy of libpcap from CVS
  2008-09-10 23:57           ` Keith Owens
@ 2008-09-10 23:59             ` David Miller
  2008-09-11  0:09               ` Keith Owens
  0 siblings, 1 reply; 10+ messages in thread
From: David Miller @ 2008-09-10 23:59 UTC (permalink / raw)
  To: kaos; +Cc: kaber, linux-kernel

From: Keith Owens <kaos@ocs.com.au>
Date: Thu, 11 Sep 2008 09:57:08 +1000

> Comparing git://git.kernel.org/pub/scm/linux/kernel/git/davem/libpcap.git
> against Patrick's tarball.  git is missing some mode and some rcsid
> lines like this example below, I assume that the removal of these lines
> in git was deliberate.

Yes, look at the changesets in the tree, I did it.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Recent copy of libpcap from CVS
  2008-09-10 23:59             ` David Miller
@ 2008-09-11  0:09               ` Keith Owens
  2008-09-11  0:15                 ` David Miller
  0 siblings, 1 reply; 10+ messages in thread
From: Keith Owens @ 2008-09-11  0:09 UTC (permalink / raw)
  To: David Miller; +Cc: kaber, linux-kernel

David Miller (on Wed, 10 Sep 2008 16:59:31 -0700 (PDT)) wrote:
>From: Keith Owens <kaos@ocs.com.au>
>Date: Thu, 11 Sep 2008 09:57:08 +1000
>
>> Comparing git://git.kernel.org/pub/scm/linux/kernel/git/davem/libpcap.git
>> against Patrick's tarball.  git is missing some mode and some rcsid
>> lines like this example below, I assume that the removal of these lines
>> in git was deliberate.
>
>Yes, look at the changesets in the tree, I did it.

Removing the #ifndef lines also accidentally removed a copyright notice.

diff -urp libpcap-0.9-PRE-CVS/filtertest.c libpcap/filtertest.c
--- libpcap-0.9-PRE-CVS/filtertest.c	2007-10-11 16:56:22.000000000 +1000
+++ libpcap/filtertest.c	2008-09-11 09:45:20.148341971 +1000
@@ -19,14 +19,6 @@
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
-#ifndef lint
-static const char copyright[] _U_ =
-    "@(#) Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 2000\n\
-The Regents of the University of California.  All rights reserved.\n";
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/libpcap/filtertest.c,v 1.2 2005/08/08 17:50:13 guy Exp $ (LBL)";
-#endif
-
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Recent copy of libpcap from CVS
  2008-09-11  0:09               ` Keith Owens
@ 2008-09-11  0:15                 ` David Miller
  0 siblings, 0 replies; 10+ messages in thread
From: David Miller @ 2008-09-11  0:15 UTC (permalink / raw)
  To: kaos; +Cc: kaber, linux-kernel

From: Keith Owens <kaos@ocs.com.au>
Date: Thu, 11 Sep 2008 10:09:55 +1000

> David Miller (on Wed, 10 Sep 2008 16:59:31 -0700 (PDT)) wrote:
> >From: Keith Owens <kaos@ocs.com.au>
> >Date: Thu, 11 Sep 2008 09:57:08 +1000
> >
> >> Comparing git://git.kernel.org/pub/scm/linux/kernel/git/davem/libpcap.git
> >> against Patrick's tarball.  git is missing some mode and some rcsid
> >> lines like this example below, I assume that the removal of these lines
> >> in git was deliberate.
> >
> >Yes, look at the changesets in the tree, I did it.
> 
> Removing the #ifndef lines also accidentally removed a copyright notice.

No, the copyright is also in the comment right above it.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-09-11  0:15 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-08 12:27 Recent copy of libpcap from CVS Keith Owens
2008-09-08 12:45 ` Patrick McHardy
2008-09-09  0:07   ` Keith Owens
2008-09-09  0:10     ` David Miller
2008-09-09  3:11       ` Patrick McHardy
2008-09-10 22:57         ` David Miller
2008-09-10 23:57           ` Keith Owens
2008-09-10 23:59             ` David Miller
2008-09-11  0:09               ` Keith Owens
2008-09-11  0:15                 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox