[Wireshark-dev] Use ~/Library/Preferences/ for configuration files on OS X.

2015-10-19 Thread Stig Bjørlykke
Hi. We have currently changed to use XDG_CONFIG_HOME/wireshark for configuration files where this is appropriate. Should we also switch to using ~/Library/Preferences/Wireshark on OS X? -- Stig Bjørlykke ___ Sent via:W

Re: [Wireshark-dev] Wireshark packet capture in simulations/emulations (e.g. Mininet)

2015-10-19 Thread Murat Karakus
Thank you for the explanation. This makes more sense. Best Regards, Murat Karakus On Oct 19, 2015 2:25 AM, "Guy Harris" wrote: > > On Oct 18, 2015, at 6:22 PM, Murat Karakus > wrote: > > > As far as I know Wireshark captures real packets sent to/from your > machine's network cards/interfaces li

Re: [Wireshark-dev] Extcap

2015-10-19 Thread Dario Lombardo
Looks like it's working now... I suppose that -DENABLE_EXTCAP=ON was the thing that made it work, and I got confused. Thanks everybody for your help. ___ Sent via:Wireshark-dev mailing list Archives:https://www.wiresha

Re: [Wireshark-dev] Extcap

2015-10-19 Thread Roland Knall
Hi 2 suggestions for you. First, is you initiate extcap via console, do you run it as root? And is wireshark running as non-root? If yo, you might need capture privileges as suggested by the wireshark wiki page. Second, yes the directories are not very intuitive. Usually if you run it from a build

Re: [Wireshark-dev] Extcap

2015-10-19 Thread Dario Lombardo
On Mon, Oct 19, 2015 at 4:03 PM, Michal Labedzki wrote: > Try to do: > $ export WIRESHARK_RUN_FROM_BUILD_DIRECTORY=1 > $ ./run/wireshark > > Yes, it's what I usually do. > Check also your config.h (build directory): grep EXTCAP config.h > > I have something like that: > #define EXTCAP_DIR "/pk

Re: [Wireshark-dev] Extcap

2015-10-19 Thread Michal Labedzki
Try to do: $ export WIRESHARK_RUN_FROM_BUILD_DIRECTORY=1 $ ./run/wireshark Check also your config.h (build directory): grep EXTCAP config.h I have something like that: #define EXTCAP_DIR "/pkg/wireshark/lib/wireshark/extcap/" #define HAVE_EXTCAP 1 On 19 October 2015 at 15:54, Dario Lombardo wr

Re: [Wireshark-dev] Extcap

2015-10-19 Thread Dario Lombardo
On Mon, Oct 19, 2015 at 3:24 PM, Michal Labedzki wrote: > 3. Did you build your Wireshark with libpcap (aka do you have any > other interfaces?) Yes. I have eth0, lo, etc... > and extcap? I am building using cmake (ccmake), > check that you have ENABLE_EXTCAP = ON. > Previously I used -DENAB

Re: [Wireshark-dev] Extcap

2015-10-19 Thread Michal Labedzki
3. Did you build your Wireshark with libpcap (aka do you have any other interfaces?) and extcap? I am building using cmake (ccmake), check that you have ENABLE_EXTCAP = ON. On 19 October 2015 at 15:02, Dario Lombardo wrote: > > > On Mon, Oct 19, 2015 at 2:39 PM, Michal Labedzki > wrote: >> >> He

Re: [Wireshark-dev] Extcap

2015-10-19 Thread Dario Lombardo
On Mon, Oct 19, 2015 at 2:39 PM, Michal Labedzki wrote: > Hello Dario, > > 1. What OS do you have? > ubuntu 14.04 64bit. > 2. Are you using "installed" Wireshark or from build source? (run from > build-directory) > Build from source, and run with WIRESHARK_RUN_FROM_BUILD_DIRECTORY=1 > > I d

Re: [Wireshark-dev] Extcap

2015-10-19 Thread Pascal Quantin
Le 19 oct. 2015 2:30 PM, "Dario Lombardo" a écrit : > > I'm playing with extcap, but I can't make it fully work. > I can run androiddump, and I can list the interfaces. > > # ./run/extcap/androiddump --extcap-interfaces > interface {display=Android Logcat Main}{value=android-logcat-main-XX

Re: [Wireshark-dev] Extcap

2015-10-19 Thread Michal Labedzki
Hello Dario, 1. What OS do you have? 2. Are you using "installed" Wireshark or from build source? (run from build-directory) I did quick test and I also do not see interfaces by dumpcap -D, but in Wireshark (Qt) I can see all of them. On 19 October 2015 at 14:30, Dario Lombardo wrote: > I'm pla

[Wireshark-dev] Extcap

2015-10-19 Thread Dario Lombardo
I'm playing with extcap, but I can't make it fully work. I can run androiddump, and I can list the interfaces. # ./run/extcap/androiddump --extcap-interfaces interface {display=Android Logcat Main}{value=android-logcat-main-XX} interface {display=Android Logcat System}{value=android-logcat