Re: [tcpdump-workers] rpcap support on non-windows

2017-03-07 Thread Guy Harris
On Mar 2, 2017, at 11:04 AM, Joerg Mayer wrote: > Now it fails (i.e. it no longer crashes!) with: > jmayer@newegg:~/worktmp/libpcap/build(master)$ dumpcap -i > rpcap://10.122.4.11/wifi0 > Capturing on 'rpcap://10.122.4.11/wifi0' > dumpcap: Invalid capture filter "(null)" for interface > 'rpcap:

Re: [tcpdump-workers] rpcap support on non-windows

2017-03-02 Thread Joerg Mayer
Hello, On Wed, Mar 01, 2017 at 05:50:57AM +0100, Joerg Mayer wrote: > I'm trying to get libpcap working on macOS. ... > Trying to understand the problem it looks like accessing struct pcap_md (the > rpcap specific stuff) is broken on non-win32 platforms (or at least on bpf > platforms). > > The i

[tcpdump-workers] rpcap support on non-windows

2017-02-28 Thread Joerg Mayer
Hello, I'm trying to get libpcap working on macOS. With the previously sent patch I am able to build libpcap with rpcap support. dumpcap (from Wireshark) compiles and links fine with the new version and it does a bit of rpcap communication with my rpcap server (an AP) and after that it segfaults.

Re: [tcpdump-workers] rpcap

2012-05-16 Thread Fulvio Risso
On 05/16/2012 09:58 AM, Jakub Zawadzki wrote: Hi, On Wed, May 16, 2012 at 07:45:53AM +0200, Fulvio Risso wrote: Just because the code was done in 2002 and probably at that time I used the old socket style. Nah, patch 3518553 [1] is mine :) Yours code seems to use getaddrinfo like suggested by

Re: [tcpdump-workers] rpcap

2012-05-16 Thread Jakub Zawadzki
Hi, On Wed, May 16, 2012 at 07:45:53AM +0200, Fulvio Risso wrote: > Just because the code was done in 2002 and probably at that time I used the > old > socket style. Nah, patch 3518553 [1] is mine :) Yours code seems to use getaddrinfo like suggested by Artur. 3518553 is less invasive and more

Re: [tcpdump-workers] rpcap

2012-05-15 Thread Fulvio Risso
On 05/15/2012 10:52 PM, Artur wrote: Is rpcap implementation supports IPv6 address ? In function rpcap_send_request_start on patch rpcap2.patch (3518553 rpcap:// support) use only ipv4type address. Why dont use struct addrinfo hints and function getaddrinfo to can use ipv4 and ipv6? Just becaus

[tcpdump-workers] rpcap

2012-05-15 Thread Artur
Is rpcap implementation supports IPv6 address ? In function rpcap_send_request_start on patch rpcap2.patch (3518553 rpcap:// support) use only ipv4type address. Why dont use struct addrinfo hints and function getaddrinfo to can use ipv4 and ipv6? - This is the tcpdump-workers list. Visit https://c

Re: [tcpdump-workers] rpcap support?

2011-08-06 Thread Joerg Mayer
I've now created an account on github and cloned mcr's repo over there. That way it should be easier to talk about the code. It can be found at: git://github.com/jmayer/libpcap.git Ciao Joerg -- Joerg Mayer We are stuck with technology when what we r

Re: [tcpdump-workers] rpcap support?

2011-07-13 Thread Guy Harris
On Jun 28, 2011, at 10:05 AM, Gianluca Varenni wrote: > A comment on this. In the last couple of years I've been actually thinking of > dumping the rpcap support out of WinPcap. The reason is that such code is > pretty much unmaintained, I struggle to have the patch compile on Windows > every

Re: [tcpdump-workers] rpcap support?

2011-07-13 Thread Joerg Mayer
On Sun, Jul 10, 2011 at 06:15:11PM +0200, Jakub Zawadzki wrote: > On Sat, Jul 09, 2011 at 02:36:50PM +0200, Joerg Mayer wrote: > > I've created a patch that actually manages to build into an rpm on my > > opensuse system. Wireshark HEAD also detects rpcap support when buiding with > > cmake. Now al

Re: [tcpdump-workers] rpcap support?

2011-07-10 Thread Guy Harris
On Jul 9, 2011, at 7:43 PM, Michael Richardson wrote: > Up until somewhat recently, pcap methods were basically decided at > compile time based upon the OS that one was on. There was little in the > way of decisions in the code as to what was going to go on. > > We now have half-dozen methods o

Re: [tcpdump-workers] rpcap support?

2011-07-10 Thread Jakub Zawadzki
Hi, On Sat, Jul 09, 2011 at 02:36:50PM +0200, Joerg Mayer wrote: > I've created a patch that actually manages to build into an rpm on my > opensuse system. Wireshark HEAD also detects rpcap support when buiding with > cmake. Now all I have to do is wait for the equipment to come back to > do a rea

Re: [tcpdump-workers] rpcap support?

2011-07-10 Thread Michael Richardson
> "Joerg" == Joerg Mayer writes: Joerg> for the equipment to come back to do a real test... The Joerg> patch can be downloaded from: Joerg> http://www-agrw.informatik.uni-kl.de/home/jmayer/rpcap.v2.patch Joerg> I'd really like to receive some feedback on this. Up until some

Re: [tcpdump-workers] rpcap support?

2011-07-09 Thread Joerg Mayer
Hello, I've created a patch that actually manages to build into an rpm on my opensuse system. Wireshark HEAD also detects rpcap support when buiding with cmake. Now all I have to do is wait for the equipment to come back to do a real test... The patch can be downloaded from: http://www-agrw.inform

Re: [tcpdump-workers] rpcap support?

2011-06-28 Thread Gianluca Varenni
rs-ow...@lists.tcpdump.org] On Behalf Of Joerg Mayer Sent: Saturday, June 25, 2011 11:04 AM To: tcpdump-workers@lists.tcpdump.org Subject: Re: [tcpdump-workers] rpcap support? On Fri, Jun 24, 2011 at 11:44:01PM +0200, Joerg Mayer wrote: > capture I thought I'd go ahead and forward port the patch. Due to its

Re: [tcpdump-workers] rpcap support?

2011-06-25 Thread Joerg Mayer
On Fri, Jun 24, 2011 at 11:44:01PM +0200, Joerg Mayer wrote: > capture I thought I'd go ahead and forward port the patch. Due to its > size it's compressed. As it is jsut the patch from winpacap, please let The kind ml software or admin first held the mail because it was 3k too large (43k > 40k) a

Re: [tcpdump-workers] rpcap support?

2011-06-24 Thread Joerg Mayer
On Sat, Jun 18, 2011 at 01:33:06AM +0200, Joerg Mayer wrote: > Is there a reason why libpcap does not have rpcap support? The winpcap > sources contain (a probably outdated) patch against libpcap 1.0.0 to > implement this (wpcap/libpcap/remote_code.patch). Soe either there is no reason or the peop

[tcpdump-workers] rpcap support?

2011-06-17 Thread Joerg Mayer
Is there a reason why libpcap does not have rpcap support? The winpcap sources contain (a probably outdated) patch against libpcap 1.0.0 to implement this (wpcap/libpcap/remote_code.patch). Thanks Joerg -- Joerg Mayer We are stuck with technology whe