[tcpdump-workers] dlpisubs.c patches for libpcap-1.0.0

2008-12-01 Thread Albert Chin
dlpisubs.c uses `DL_IPATM' and `MAXDLBUF' but doesn't define them like in pcap-dlpi.c if unavailable. This is a problem for Solaris 2.6 and HP-UX. Patch attached. -- albert chin ([EMAIL PROTECTED]) In

[tcpdump-workers] pcap-snoop.c patch for libpcap-1.0.0

2008-12-01 Thread Albert Chin
pcap_activate_snoop() in pcap-snoop.c uses the variable `handle' to access opt.buffer_size instead of what it should, `p'. if (handle->opt.buffer_size != 0) v = handle->opt.buffer_size; Patch attached. -- albert chin ([EMAIL PROTECTED]) Ind

[tcpdump-workers] pcap-dlpi.c patch for 1.0.0

2008-12-01 Thread Albert Chin
pcap-dlpi.c in pcap_activate_dlpi() conditionalizes the `ss' variable: #ifdef HAVE_SYS_BUFMOD_H bpf_u_int32 ss; but then uses it unconditionalized: ss = p->snapshot; Patch attached. -- albert chin ([EMAIL PROTECTED]) Index: pca

[tcpdump-workers] CVE-2007-1218 applicable to tcpdump 3.9.4?

2007-03-06 Thread Albert Chin
(!TTEST2(*(p + offset), pbody->tim.length - 3)) return; -- albert chin ([EMAIL PROTECTED]) - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.

[tcpdump-workers] CVS down? Daily snapshot script broken?

2005-11-10 Thread Albert Chin
Is CVS down? $ cvs up cvs [update aborted]: connect to cvs.tcpdump.org(205.150.200.186):2401 failed: Connection refused Looking at the daily snapshots on http://tcpdump.org/daily/, 2005.10.10 is the latest. Is the script to generate these things running? -- albert chin ([EMAIL PROTECTED

[tcpdump-workers] 3.9.4 assumes IPv6 enabled

2005-11-10 Thread Albert Chin
ed in an #ifdef INET6. Ditto for this line in the same file: memset(prefix, 0, sizeof(struct in6_addr)); /* clear the copy buffer */ -- albert chin ([EMAIL PROTECTED]) - This is the tcpdump-workers list. Visit https://lists.sandelman.ca/ to unsubscribe.

Re: [tcpdump-workers] 3.9.3 on HP-UX 11i

2005-08-17 Thread Albert Chin
On Wed, Aug 17, 2005 at 02:42:25PM -0700, Guy Harris wrote: > > On Aug 17, 2005, at 2:24 PM, Albert Chin wrote: > > >To be more specific, "future release of the DLPI provider". So, I > >think a LAN patch could correct the problem. In PHNE_25388, we find: >

Re: [tcpdump-workers] 3.9.3 on HP-UX 11i

2005-08-17 Thread Albert Chin
the DLPI provider". So, I think a LAN patch could correct the problem. In PHNE_25388, we find: ( SR:8606225662 CR:JAGad94736 ) HP-UX only allow one unbound promiscuous stream per interface, when trying to enable promiscuous mode in another stream if one is already existed, an EINVAL va

Re: [tcpdump-workers] 3.9.3 on HP-UX 11i

2005-08-17 Thread Albert Chin
faces->Capture (on lan0 interface) results in: The capture session could not be initiated (recv_ack: promisc_phys: UNIX error - Device busy). Please check to make sure you have sufficient permissions, and that you have the proper interface or pipe specified. -- albert chin ([EMAIL

Re: [tcpdump-workers] 3.9.3 on HP-UX 11i

2005-08-13 Thread Albert Chin
On Wed, Aug 10, 2005 at 11:47:35AM -0700, Guy Harris wrote: > Guy Harris wrote: > >Albert Chin wrote: > > > >>Nothing. Even if I specify the interface: > >> # tcpdump -i lan0 > >> tcpdump: # echo $? > >> 1 > > > > > &

Re: [tcpdump-workers] 3.9.3 on HP-UX 11i

2005-08-08 Thread Albert Chin
On Mon, Aug 08, 2005 at 08:29:14PM -0700, Guy Harris wrote: > Albert Chin wrote: > > >I get: > > # tcpdump > > tcpdump: > > > > Just "tcpdump:", and nothing else? Not even a message saying it's > starting a capture? That's weird. I

Re: [tcpdump-workers] 3.9.3 on HP-UX 11i

2005-08-08 Thread Albert Chin
On Mon, Aug 08, 2005 at 04:57:12PM -0700, Guy Harris wrote: > > On Aug 8, 2005, at 3:43 PM, Albert Chin wrote: > > >I've built libpcap-0.9.3 and tcpdump-3.9.3 on HP-UX 11i: > > # tcpdump > > tcpdump: no suitable device found > > > >libpcap-0.8.3/tc

[tcpdump-workers] 3.9.3 on HP-UX 11i

2005-08-08 Thread Albert Chin
I've built libpcap-0.9.3 and tcpdump-3.9.3 on HP-UX 11i: # tcpdump tcpdump: no suitable device found libpcap-0.8.3/tcpdump-3.8.3 works fine. How can I help debug this? -- albert chin ([EMAIL PROTECTED]) - This is the tcpdump-workers list. Visit https://lists.sandelman.ca/ to unsubscribe.