running wireshark-gtk on Mageia

2016-06-13 Thread Shlomo Solomon
I'm trying to use wireshark-gtk on my Mageia box, but I'm getting the
following message:  
"No interface can be used for capturing in this sytem with the current
configuration. 
(couldn't run /usr/bin/dumpcap in child process Permission denied)"

Needless to say, I don't want to run wireshark as root.

Based on the Wireshark help, I tried:

[solomon@shlomo1 ~]$ sudo setcap 'CAP_NET_RAW+eip
CAP_NET_ADMIN+eip' /usr/bin/dumpcap 

and got: 
sudo: setcap: command not found


What am I missing?



-- 
Shlomo Solomon
http://the-solomons.net
Sent by Claws Mail 3.11.1 - KDE 4.14.5 - LINUX Mageia 5


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: running wireshark-gtk on Mageia

2016-06-13 Thread Rabin Yasharzadehe
Did you add your user to the wireshark group ?

--
Rabin

On 13 June 2016 at 15:39, Shlomo Solomon  wrote:

> I'm trying to use wireshark-gtk on my Mageia box, but I'm getting the
> following message:
> "No interface can be used for capturing in this sytem with the current
> configuration.
> (couldn't run /usr/bin/dumpcap in child process Permission denied)"
>
> Needless to say, I don't want to run wireshark as root.
>
> Based on the Wireshark help, I tried:
>
> [solomon@shlomo1 ~]$ sudo setcap 'CAP_NET_RAW+eip
> CAP_NET_ADMIN+eip' /usr/bin/dumpcap
>
> and got:
> sudo: setcap: command not found
>
>
> What am I missing?
>
>
>
> --
> Shlomo Solomon
> http://the-solomons.net
> Sent by Claws Mail 3.11.1 - KDE 4.14.5 - LINUX Mageia 5
>
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: running wireshark-gtk on Mageia

2016-06-13 Thread Shlomo Solomon
Yes - I did add my user is in the wireshark group but that didn't help.

As I wrote, the help screen suggests running: 
setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' /usr/bin/dumpcap

but that results in:
sudo: setcap: command not found



On Mon, 13 Jun 2016 15:54:36 +0300
Rabin Yasharzadehe  wrote:

> Did you add your user to the wireshark group ?
> 
> --
> Rabin
> 
> On 13 June 2016 at 15:39, Shlomo Solomon 
> wrote:
> 
> > I'm trying to use wireshark-gtk on my Mageia box, but I'm getting
> > the following message:
> > "No interface can be used for capturing in this sytem with the
> > current configuration.
> > (couldn't run /usr/bin/dumpcap in child process Permission denied)"
> >
> > Needless to say, I don't want to run wireshark as root.
> >
> > Based on the Wireshark help, I tried:
> >
> > [solomon@shlomo1 ~]$ sudo setcap 'CAP_NET_RAW+eip
> > CAP_NET_ADMIN+eip' /usr/bin/dumpcap
> >
> > and got:
> > sudo: setcap: command not found
> >
> >
> > What am I missing?
> >
> >
> >
> > --
> > Shlomo Solomon
> > http://the-solomons.net
> > Sent by Claws Mail 3.11.1 - KDE 4.14.5 - LINUX Mageia 5
> >
> >
> > ___
> > Linux-il mailing list
> > Linux-il@cs.huji.ac.il
> > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
> >



-- 
Shlomo Solomon
http://the-solomons.net
Sent by Claws Mail 3.11.1 - KDE 4.14.5 - LINUX Mageia 5


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


How dynamic is the dynamic IP from ISPs ? (Bezeq Int + HOT)

2016-06-13 Thread Gabor Szabo
Hi there!

For many years I had a fixed IP address using Bezeq International. I used
it to access my home computer while on the road.
I tried to upgrade from 30Mb to 100Mb (they even sold it to me) just to
find out
that they cannot configure 100 Mb if I use HOT as the cable and if I have a
fixed IP.

So I was thinking on giving up the fixed IP and use some kind of Dynamic
DNS scheme
to be able to access my home computer. Will I still be able to do that?
Will I still get a publicly routable IP or will that be already a NAT that
I won't be access from outside?

How dynamic is the IP they hand out. Can it change within a session or only
if I restart the router?

Any experience with this?

regards
   Gabor
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: How dynamic is the dynamic IP from ISPs ? (Bezeq Int + HOT)

2016-06-13 Thread vordoo

On 06/13/2016 07:54 PM, Gabor Szabo wrote:

Hi there!

For many years I had a fixed IP address using Bezeq International. I 
used it to access my home computer while on the road.
I tried to upgrade from 30Mb to 100Mb (they even sold it to me) just 
to find out
that they cannot configure 100 Mb if I use HOT as the cable and if I 
have a fixed IP.


So I was thinking on giving up the fixed IP and use some kind of 
Dynamic DNS scheme
to be able to access my home computer. Will I still be able to do 
that? Will I still get a publicly routable IP or will that be already 
a NAT that I won't be access from outside?


Use http://www.duckdns.org and you should be fine (As long as you do not 
run a mail server because a dynamic IP may get blacklisted).
How dynamic is the IP they hand out. Can it change within a session or 
only if I restart the router?
It depends and changes from time to time "dynamic" as you said ;-). It 
can change within a session but that means you get disconnected and 
doesn't happen a lot.


Any experience with this?

Yes read above :-)


Good luck!


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: running wireshark-gtk on Mageia

2016-06-13 Thread Shlomi Fish
Hi Shlomo,

On Mon, Jun 13, 2016 at 7:30 PM, Shlomo Solomon 
wrote:

> Yes - I did add my user is in the wireshark group but that didn't help.
>
> As I wrote, the help screen suggests running:
> setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' /usr/bin/dumpcap
>
> but that results in:
> sudo: setcap: command not found
>
>
urpmf on Mageia 5 x86-64 indicates that setcap is part of the libcap-utils
package, which you can install using urpmi or whatever. As usual on Mageia,
using "urpmf" (urpm-find) can be very helpful.

Regards,

-- Shlomi

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il



-- 
--
Shlomi Fish http://www.shlomifish.org/

Chuck Norris helps the gods that help themselves.

Please reply to list if it's a mailing list post - http://shlom.in/reply .
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: How dynamic is the dynamic IP from ISPs ? (Bezeq Int + HOT)

2016-06-13 Thread Moish


On 13/06/2016 19:54, Gabor Szabo wrote:

Hi there!

For many years I had a fixed IP address using Bezeq International. I
used it to access my home computer while on the road.
I tried to upgrade from 30Mb to 100Mb (they even sold it to me) just to
find out
that they cannot configure 100 Mb if I use HOT as the cable and if I
have a fixed IP.

So I was thinking on giving up the fixed IP and use some kind of Dynamic
DNS scheme
to be able to access my home computer. Will I still be able to do that?
Will I still get a publicly routable IP or will that be already a NAT
that I won't be access from outside?

How dynamic is the IP they hand out. Can it change within a session or
only if I restart the router?

Any experience with this?

regards
   Gabor



Look for an ip monitor script that will notify you by mail about the 
updated ip.
BTW, I have Bezeq vdsl + Netvision + fixed ip on 100mb link (50mbs on a 
good day :) )

Moish

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: How dynamic is the dynamic IP from ISPs ? (Bezeq Int + HOT)

2016-06-13 Thread Oleg Goldshmidt

[I am with Hot, but not Bezeq Int. I don't believe it matters much.]

Gabor Szabo  writes:

> So I was thinking on giving up the fixed IP and use some kind of
> Dynamic DNS scheme to be able to access my home computer. Will I still
> be able to do that?

No problem with any number of dynamic DNS providers. I use NoIP myself,
but there are lots more or less equivalent services.

> Will I still get a publicly routable IP or will that be already a NAT
> that I won't be access from outside?

No NAT in the context of your question. Whether the IP address will be
routable is another issue altogether. This is only tangential to your
query, but not completely unrelated, so if you are switching to dynamic
addresses here is a war story.

Some time ago my ISP changed my IP address, for reasons unknown, to one
from a different range and I found out that the new one was not routable
anywhere outside of Hot's local network. It proved absolutely impossible
to explain to "technical support" what I observed with black magic
incantations like traceroute etc. It was obvious to them that since when
I connected a computer directly to the modem everything worked (it
worked because DHCP gave the computer's MAC an IP address from the old,
working, range) the problem had to be with my wireless router, end of
ticket. So I gave up and spoofed the computer's MAC in the router to
fool the DHCP server to give me an address in the old, routable
range. So far so good, but if they change something else all bets will
be off.

As for when the address may change, I assume it may happen whenever the
DHCP lease expires (assuming direct DHCP, no dialer). In my experience,
the address stays the same for quite a long time, but I never use it,
just use dynamic DNS always.

-- 
Oleg Goldshmidt | p...@goldshmidt.org

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: running wireshark-gtk on Mageia

2016-06-13 Thread Shlomo Solomon
OK - that solved the setcap problem, but after running:
sudo setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' /usr/bin/dumpcap

I still get the same error message from wireshark:

"No interface can be used for capturing in this sytem with the current
configuration. 
(couldn't run /usr/bin/dumpcap in child process Permission denied)"



I also tried the following (based on the same help page at
https://wiki.wireshark.org/CaptureSetup/CapturePrivileges 
but still no luck:

[solomon@shlomo1 /]$ sudo chown root /usr/bin/dumpcap
[solomon@shlomo1 /]$ sudo chmod u+s /usr/bin/dumpcap
[solomon@shlomo1 /]$ sudo chgrp wireshark /usr/bin/dumpcap
[solomon@shlomo1 /]$ sudo chmod o-rx /usr/bin/dumpcap





On Mon, 13 Jun 2016 20:55:31 +0300
Shlomi Fish  wrote:

> Hi Shlomo,
> 
> On Mon, Jun 13, 2016 at 7:30 PM, Shlomo Solomon
>  wrote:
> 
> > Yes - I did add my user is in the wireshark group but that didn't
> > help.
> >
> > As I wrote, the help screen suggests running:
> > setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' /usr/bin/dumpcap
> >
> > but that results in:
> > sudo: setcap: command not found
> >
> >
> urpmf on Mageia 5 x86-64 indicates that setcap is part of the
> libcap-utils package, which you can install using urpmi or whatever.
> As usual on Mageia, using "urpmf" (urpm-find) can be very helpful.
> 
> Regards,
> 
> -- Shlomi
> 
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
> 
> 
> 



-- 
Shlomo Solomon
http://the-solomons.net
Sent by Claws Mail 3.11.1 - KDE 4.14.5 - LINUX Mageia 5


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: How dynamic is the dynamic IP from ISPs ? (Bezeq Int + HOT)

2016-06-13 Thread Yuval Adam


On 06/13/2016 09:43 PM, Oleg Goldshmidt wrote:
> No NAT in the context of your question. Whether the IP address will be
> routable is another issue altogether.

Not quite, Carrier-grade NAT (CGNAT) [1] is used by some ISPs in Israel
- CCC is one such example.

[1] - https://en.wikipedia.org/wiki/Carrier-grade_NAT

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il