Re: [Bug 1699374] Re: connection refused due to pcap error?

2017-06-20 Thread Gareth Evans
Thank you, it's working on :667

https://unix4lyfe.org/darkstat/linuxformat.jpg
says :666 though 

There are rather deep references in man darkstat to 667 but I hadn't
looked because

/etc/darkstat/init.cfg says
PORT="-p 666"

...which seems to be ignored.

Oh well, thanks again.
Gareth


On Wed, 21 Jun 2017, at 05:20, Emil Mikulic wrote:
> The default webserver port should be 667. Try: "netstat -lntp" while
> darkstat is running.
> 
> -- 
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1699374
> 
> Title:
>   connection refused due to pcap error?
> 
> Status in darkstat package in Ubuntu:
>   New
> 
> Bug description:
>   localhost:666 connection refused despite port 666 open.
> 
>   sudo darkstat -i --debug results in error message:
> 
>   16527: error: pcap_open_live(): --debug:
>   SIOCETHTOOL(ETHTOOL_GET_TS_INFO) ioctl failed: No such device
> 
>   Not sure if this is in any way related:
>   https://github.com/Ettercap/ettercap/issues/408
> 
>   Thanks
> 
>   ProblemType: Bug
>   DistroRelease: Ubuntu 16.04
>   Package: darkstat 3.0.719-1
>   ProcVersionSignature: Ubuntu 4.4.0-81.104-generic 4.4.67
>   Uname: Linux 4.4.0-81-generic x86_64
>   ApportVersion: 2.20.1-0ubuntu2.6
>   Architecture: amd64
>   CurrentDesktop: MATE
>   Date: Wed Jun 21 03:42:57 2017
>   InstallationDate: Installed on 2017-01-13 (158 days ago)
>   InstallationMedia: Ubuntu-MATE 16.04.1 LTS "Xenial Xerus" - Release amd64 
> (20160719)
>   SourcePackage: darkstat
>   UpgradeStatus: No upgrade log present (probably fresh install)
>   mtime.conffile..etc.darkstat.init.cfg: 2017-06-21T02:24:16.818519
> 
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/darkstat/+bug/1699374/+subscriptions

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1699374

Title:
  connection refused due to pcap error?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/darkstat/+bug/1699374/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1699374] Re: connection refused due to pcap error?

2017-06-20 Thread Gareth Evans
eth0, wlan0 on Ubuntu are now named according to
https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/

[1]
user@tommy:~$ sudo darkstat -i wlp3s0 --debug
error: illegal argument: "--debug"
darkstat 3.0.719 (using libpcap version 1.7.4)

user@tommy:~$ sudo darkstat -i wlp3s0 (and enp4s0)
Appears to succeed, but 
http://... and https://localhost:666 and :1666 and 
http://:666 and :1666
all refuse connections from localhost, even with both ports specifically 
opened, or with firewall off.

Same on Debian 9 with latest updates.

Not sure if this is actually a darkstat bug - apologies if not but I
can't see what's wrong otherwise.

user@tommy:~$ ifconfig
enp4s0Link encap:Ethernet  HWaddr 20:6a:8a:97:52:82  
  UP BROADCAST MULTICAST  MTU:1500  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000 
  RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
  Interrupt:17 

loLink encap:Local Loopback  
  inet addr:127.0.0.1  Mask:255.0.0.0
  inet6 addr: ::1/128 Scope:Host
  UP LOOPBACK RUNNING  MTU:65536  Metric:1
  RX packets:3357 errors:0 dropped:0 overruns:0 frame:0
  TX packets:3357 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1 
  RX bytes:348724 (348.7 KB)  TX bytes:348724 (348.7 KB)

lxcbr0Link encap:Ethernet  HWaddr 00:16:3e:00:00:00  
  inet addr:10.0.3.1  Bcast:0.0.0.0  Mask:255.255.255.0
  UP BROADCAST MULTICAST  MTU:1500  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000 
  RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

virbr0Link encap:Ethernet  HWaddr 00:00:00:00:00:00  
  inet addr:192.168.122.1  Bcast:192.168.122.255  Mask:255.255.255.0
  UP BROADCAST MULTICAST  MTU:1500  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000 
  RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wlp3s0Link encap:Ethernet  HWaddr 1c:3e:84:56:ca:75  
  inet addr:192.168.1.151  Bcast:192.168.1.255  Mask:255.255.255.0
  inet6 addr: fe80::c1e8:4ba3:b6e3:b17/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:413421 errors:0 dropped:0 overruns:0 frame:0
  TX packets:247354 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000 
  RX bytes:583629884 (583.6 MB)  TX bytes:30079108 (30.0 MB)



-- 
Gareth Evans
garethev...@fastmail.fm / text +44 (0)7967 641914

On Wed, 21 Jun 2017, at 04:19, Emil Mikulic wrote:
> Try: sudo darkstat -i eth0 --debug
> 
> The error message could be better, but it's saying there's no interface
> called "--debug", which was the argument to -i.
> 
> -- 
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1699374
> 
> Title:
>   connection refused due to pcap error?
> 
> Status in darkstat package in Ubuntu:
>   New
> 
> Bug description:
>   localhost:666 connection refused despite port 666 open.
> 
>   sudo darkstat -i --debug results in error message:
> 
>   16527: error: pcap_open_live(): --debug:
>   SIOCETHTOOL(ETHTOOL_GET_TS_INFO) ioctl failed: No such device
> 
>   Not sure if this is in any way related:
>   https://github.com/Ettercap/ettercap/issues/408
> 
>   Thanks
> 
>   ProblemType: Bug
>   DistroRelease: Ubuntu 16.04
>   Package: darkstat 3.0.719-1
>   ProcVersionSignature: Ubuntu 4.4.0-81.104-generic 4.4.67
>   Uname: Linux 4.4.0-81-generic x86_64
>   ApportVersion: 2.20.1-0ubuntu2.6
>   Architecture: amd64
>   CurrentDesktop: MATE
>   Date: Wed Jun 21 03:42:57 2017
>   InstallationDate: Installed on 2017-01-13 (158 days ago)
>   InstallationMedia: Ubuntu-MATE 16.04.1 LTS "Xenial Xerus" - Release amd64 
> (20160719)
>   SourcePackage: darkstat
>   UpgradeStatus: No upgrade log present (probably fresh install)
>   mtime.conffile..etc.darkstat.init.cfg: 2017-06-21T02:24:16.818519
> 
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/darkstat/+bug/1699374/+subscriptions

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1699374

Title:
  connection refused due to pcap error?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/darkstat/+bug/1699374/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs