[DNG] New features in libnetaid

2021-09-06 Thread aitor
|Hi, Recently I pushed new commits to the repository of libnetaid 
replacing cmake with the autotools. Another first, the addition of the 
following socket: 
https://gitea.devuan.dev/aitor_czr/libnetaid/src/branch/master/src/nlsock.c 
 
making use of select() for the system calls. Doing this way, 
simple-netaid becomes reactive to netlink events using less CPU 
resource, and essentially remains sleeping until some netlink event 
requires action (for instance, to update the graphical interface after 
the ethernet cable has been plugged in). I joined some good ideas from 
Didier's hopman: 
https://gitea.devuan.org/kryn/hopman/src/branch/master/hopman-and-select.html 
 
To verify the reactive behavior of simple-netaid, first build and 
install the sources of libnetaid: $ ./autogen.sh $ make $ sudo make 
install The list of build dependencies is: - autoconf - automake - 
libtool - gettext - intltool - libiw-dev After the installation of 
libnetaid, build the following program: #include  #include 
 #include  int main() { for(;;) { int 
rc = nlsock_monitor(); if( rc == 0) printf("Signal received\n"); } 
return 0; } You need to pass the flag -lnetaid to the compiler. That is: 
$ gcc monitor.c -o monitor -lnetaid Now, run the binary as root: $ sudo 
./monitor and try connecting or disconnecting your ethernet cable, or 
making other changes related to the network connection. Cheers, Aitor.|


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] basilisk browser hangs

2021-09-06 Thread Haines Brown
On Mon, Sep 06, 2021 at 06:35:00PM +0200, al3xu5 wrote:
> Mon, 6 Sep 2021 09:00:52 -0400 - Haines Brown :
> 
> > I've happily run the basilisk browser for a couple years, but recently 
> > it bagan to hang. On sites that are more demanding such as Amazon and 
> > eBay. When I do things there's a hang that lasts perhaps a minute.
 
> Hi Haines
> 
> It seems to me that you are assuming that the problem is linked to the
> system software environment, but this does not seem to be proven.
> 
> First of all: have you tried using other browser than Basilisk? Same
> hanging with Firefox etc.?

Yes. I run Firefox ESR as well and it does not see  to have 
problems. Not sure what this implies about TSL certificates. 

> I don't know if Basilisk has some developer tools like Firefox or Chrome
> (in Firefox-like browsers it is at the >Tools>Web Developer>Network menu or
> Ctrl+Shist+E). 
> If Basilisk has this kind of tools, then you can use it to check if the
> freezes during the loading of the pages is due to network-related
> problems, even identifying the specific cause. 

That I tend to remove the memu keeps me from exploring its 
possiblities. I ran Network when accessing an eBay operation, and 
don't know how to interpret the result. One thing is that loading a 
gif image under show_ads.js tool took 163095650171... ms (ran out of 
space to display following numbers).  But its status code is green OK. 
The x-xss-protection "1; mode=block" Request headers (3.157 KB) No 
idea how to interpret all this.

My AdBlock Latitude is disabled.

-- 
Haines Brown  
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] [OT] PrivateBin (was: Re: [OT] Video cards on Linux (was Re: Information request re: wayland))

2021-09-06 Thread al3xu5
Sun, 5 Sep 2021 14:42:49 -0500 - o1bigtenor via Dng :

> On Sun, Sep 5, 2021 at 8:52 AM hal  wrote:
> 
> >
> >
> > On 9/3/21 06:24, o1bigtenor wrote:
> >   
> > > How did you get your 1050 Ti working under nouveau?
> > > How many monitors/sizes are you driving off of it?
> > >
> > > This is the card that I'm fighting!!
> > > Trying to drive 2 - 1920x1080 and 1 - 4k.
> > > Its the 4k monitor that seems to cause the issues!!
> > >
> > > (Please pretty please - - - - do you have any ideas/suggestions!)  
> >
> >
> > Hopefully this pastebin helps. 
>
[...]
> 
> Hmmm - - - - the page shows for about 1/2 a second and then goes blank.
> tried clicking on the individual sections - - - still no joy.
> 
> So I destroyed the pastebin cookies in the browser and purged the history
> file of anything to do with pastebin.
>
[...]


Just to suggest a (IMHO) better pastebin service:

PrivateBin
https://privatebin.info/

Disroot Bin - Encrypted pastebin by PrivateBin
https://bin.disroot.org/

- No cookies
- Encryption
- Password protection
- Expiration times, including "forever" and "burn after reading"
- Markdown format support for HTML formatted pastes, including preview
- Syntax highlighting for source code using prettify.js
- ...


Regards
al3xu5

-- 
Say NO to copyright, patents, trademarks and industrial design
restrictions!


Public GPG/PGP key: 8FC2 3121 2803 86E9 F7D8  B624 DA50 835B 2624 A36B


pgp0plKBoB1eF.pgp
Description: Firma digitale OpenPGP
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] basilisk browser hangs

2021-09-06 Thread al3xu5
Mon, 6 Sep 2021 09:00:52 -0400 - Haines Brown :

> I've happily run the basilisk browser for a couple years, but recently 
> it bagan to hang. On sites that are more demanding such as Amazon and 
> eBay. When I do things there's a hang that lasts perhaps a minute.
> 
> When I look at Basilisk's requirements I'm left unsure whether beowuld 
> is up to them. It requires a 64-bit distribution, 1 Gb RAM, GTK+ 3.4 
> or hightr, GLib 2.22 or higher, Pango 1.14 or higher, X.Org 1.0 or 
> higher (1.7 or higher recommended), lbstdc++ 4.61 or higher.
> 
> Not sure but I suspect beowulf is runing GTK 3.0.0, and pango  1.0, 
> etc. If so, it may be that the hangs are because my software is a bit 
> dated. I tried clearing cache but it had no obvious effect. 


Hi Haines

It seems to me that you are assuming that the problem is linked to the
system software environment, but this does not seem to be proven.

First of all: have you tried using other browser than Basilisk? Same
hanging with Firefox etc.?

Another pont. For my experience, in recent times, this type of slowdown
could also be due to problems with TSL certificates. This happens mostly
with "major" sites (I.E. Google, Amazon etc.) that adopt more strict
requirements (TLS 1.3) before and more than others; and it may occurs
where there is an outdated proxy server or appliance, as often is in many
organizations.

I don't know if Basilisk has some developer tools like Firefox or Chrome
(in Firefox-like browsers it is at the >Tools>Web Developer>Network menu or
Ctrl+Shist+E). 
If Basilisk has this kind of tools, then you can use it to check if the
freezes during the loading of the pages is due to network-related
problems, even identifying the specific cause. 


> Would an upgrade to cimaera likely remove the hangs? I've done it on a 
> couple systems without a problem, but not my production system.  



Regards
al3xu5

-- 
Say NO to copyright, patents, trademarks and industrial design
restrictions!


Public GPG/PGP key: 8FC2 3121 2803 86E9 F7D8  B624 DA50 835B 2624 A36B


pgpUeClzrpSMe.pgp
Description: Firma digitale OpenPGP
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] KUserFeedback

2021-09-06 Thread Olaf Meeuwissen
Hi tito,

tito via Dng writes:

> [... snip ...]
> What possible solutions are there to avoid this [KDE telemetry support] and 
> [its]
> abuse?
>
> Simple workarounds that I can think off:
>
> 1) allow removal of  KUserFeedback by modifying deb deps (rather ineffective
>  as most user will not care to do so)
>
> 1a) allow removal of  KUserFeedback by modifying deb deps and don't install
>   by default unless the way data is collected is changed so that data
> are collected only if opted in
>
> 2) if the user opted out make /home/user/telemetry a tmpfs so that data stored
>  are forgotten at reboot (easy but not very effective as data could still 
> be
>abused in the meanwhile)
>
> 3) if the user opted out create some kind of /dev/null folder (I suspect that 
> such
> thing doesn't exist yet) to delete the data in realtime
>
> 4) if the user opted out run cron jobs or other autostart scripts to 
> periodically
> (boot, login, logout, hourly etc) delete this data
>
> Comments and better ideas are welcome.

Not necessarily simple, but what about filing bugs (Debian) against any
packages that you absolutely cannot live without that would be removed
when you

  apt remove libkuserfeedbackcore1

(assuming chimaera and) assuming that your APT configuration does not
aggressively try to remove automatically installed packages?

If your APT does aggressively remove automatically installed packages,
you may want to mark (some of) the ones you want to keep manual.

Just an idea,
--
Olaf Meeuwissen, LPIC-2FSF Associate Member since 2004-01-27
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
 Support Free Softwarehttps://my.fsf.org/donate
 Join the Free Software Foundation  https://my.fsf.org/join
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] KUserFeedback

2021-09-06 Thread Olaf Meeuwissen
Hi tito,

tito via Dng writes:

> On Sun, 5 Sep 2021 22:40:23 +1000
> wirelessduck--- via Dng  wrote:
>
>>
>> > 3) if the user opted out create some kind of /dev/null folder (I suspect 
>> > that such
>> >   thing doesn't exist yet) to delete the data in realtime
>>
>> Is the data saved into the telemetry folder before being transmitted 
>> anywhere? Can you just delete the folder and recreate it as a symlink to 
>> /dev/null?
> Hi,
> They say it is not transmitted by them unless you opt-in but it is stored and 
> other applications with the same user permissions
> could read it and send it if they want to. So periodically deleting the data 
> could be a mitigation but is sub-optimal.
> You cannot link a directory to /dev/null, only files.
>
> To create a directory equivalent to /dev/null you need something like:
>
> https://github.com/abbbi/nullfsvfs
>
> nullfs
>
> a virtual file system that behaves like /dev/null

I'd give

  mkdir /home/user/telemetry
  chmod  /home/user/telemetry

a try first and a read-only filesystem mounted on /home/user/telemetry
next.  All the while keeping a crontabbed eye on directory content, of
which there should not be any.

# You need root privileges to look for content after the chmod.

If preventing writes breaks your KDE Plasma desktop, something is badly
mis-engineered.  If it still manages to write stuff to that directory,
something "evil" is going on, in that the telemetry stuff is using
elevated privileges, and it may be time to use nullfsvfs.

Hope this helps,
--
Olaf Meeuwissen, LPIC-2FSF Associate Member since 2004-01-27
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
 Support Free Softwarehttps://my.fsf.org/donate
 Join the Free Software Foundation  https://my.fsf.org/join
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] KUserFeedback

2021-09-06 Thread Olaf Meeuwissen
HI tito,

tito via Dng writes:

> [... snip apparmor misgivings ...]
>
> one stupid question that struck my mind right now could
> apparmor control itself? 

Even if it could, would you trust it to do what you told it to?

> could you write an apparmor profile to limit what apparmor 
> is doing?

Just thinking out loud,
-- 
Olaf Meeuwissen, LPIC-2FSF Associate Member since 2004-01-27
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
 Support Free Softwarehttps://my.fsf.org/donate
 Join the Free Software Foundation  https://my.fsf.org/join

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] basilisk browser hangs

2021-09-06 Thread Haines Brown
I've happily run the basilisk browser for a couple years, but recently 
it bagan to hang. On sites that are more demanding such as Amazon and 
eBay. When I do things there's a hang that lasts perhaps a minute.

When I look at Basilisk's requirements I'm left unsure whether beowuld 
is up to them. It requires a 64-bit distribution, 1 Gb RAM, GTK+ 3.4 
or hightr, GLib 2.22 or higher, Pango 1.14 or higher, X.Org 1.0 or 
higher (1.7 or higher recommended), lbstdc++ 4.61 or higher.

Not sure but I suspect beowulf is runing GTK 3.0.0, and pango  1.0, 
etc. If so, it may be that the hangs are because my software is a bit 
dated. I tried clearing cache but it had no obvious effect. 

Would an upgrade to cimaera likely remove the hangs? I've done it on a 
couple systems without a problem, but not my production system.  

-- 
Haines Brown  
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] [OT] Video cards on Linux (was Re: Information request re: wayland)

2021-09-06 Thread o1bigtenor via Dng
On Mon, Sep 6, 2021 at 5:22 AM hal  wrote:

>
>
> On 9/5/21 14:42, o1bigtenor wrote:
> 
> >
> > https://pastebin.com/NvUtaCnQ 
> >
> >
> > Hmmm - - - - the page shows for about 1/2 a second and then goes blank.
> > tried clicking on the individual sections - - - still no joy.
> >
> > So I destroyed the pastebin cookies in the browser and purged the
> history file of anything to do with pastebin.
> >
> > Sorry - - - no can read.
>>
>>
>> >
> > If you have houveau blacklisted then you pretty much are running the
> proprietary drivers.
> >
> > Are you driving a HDMI monitor?
> >
> > Thanks for the effort!!
>
> Hi,
> How very odd. I will email you the entire paste off-list. Yep, I am
> driving HDMI and Display Port. Here is the screen portion of my xorg.conf
>
> Section "Screen"
> # Removed Option "metamodes" "HDMI-0: 1920x1200 +320+0, DP-0.8:
> nvidia-auto-select +0+1200 {viewportin=2560x1600,
> viewportout=3456x2160+192+0}"
>  Identifier "Screen0"
>  Device "Device0"
>>
>>
>>  Monitor"Monitor0"
>  DefaultDepth24
>  Option "Stereo" "0"
>  Option "nvidiaXineramaInfoOrder" "DFP-1"
>  Option "metamodes" "HDMI-0: 1920x1200 +320+0, DP-0.8:
> 2560x1440 +0+1200"
>  Option "SLI" "Off"
>  Option "MultiGPU" "Off"
>  Option "BaseMosaic" "off"
>  SubSection "Display"
>  Depth   24
>  EndSubSection
> EndSection
>

Very interesting!!!

Reading the file the first couple things that caught my attention also
described
the why and wherefore for the differences.

1. you are running the proprietary drivers not nouveau
2. you are running the latest production brach driver series
(which I could not do because I'm still running a 570 card)
3. you are running only a single gpu
(Nvidia no longer supports running a multi-gpu setup - - - hasn't for
likely over 2 years)


Thank you for your time.

If only I were able to get either/and/or some combination of RX 570 and RX
460 s
running I would pull these nvidia boards in a heartbeat.

When I try to boot the computer with any combination of boards installed I
can't
seem to get the monitor to show anything. (That was with the amdgpu drivers
available - - - - maybe I was supposed to do something more - - - dunno!)

tia
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] [OT] Video cards on Linux (was Re: Information request re: wayland)

2021-09-06 Thread hal



On 9/5/21 14:42, o1bigtenor wrote:



https://pastebin.com/NvUtaCnQ 


Hmmm - - - - the page shows for about 1/2 a second and then goes blank.
tried clicking on the individual sections - - - still no joy.

So I destroyed the pastebin cookies in the browser and purged the history file 
of anything to do with pastebin.

Sorry - - - no can read.

If you have houveau blacklisted then you pretty much are running the 
proprietary drivers.

Are you driving a HDMI monitor?

Thanks for the effort!!


Hi,
How very odd. I will email you the entire paste off-list. Yep, I am driving 
HDMI and Display Port. Here is the screen portion of my xorg.conf

Section "Screen"
# Removed Option "metamodes" "HDMI-0: 1920x1200 +320+0, DP-0.8: nvidia-auto-select 
+0+1200 {viewportin=2560x1600, viewportout=3456x2160+192+0}"
Identifier "Screen0"
Device "Device0"
Monitor"Monitor0"
DefaultDepth24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-1"
Option "metamodes" "HDMI-0: 1920x1200 +320+0, DP-0.8: 2560x1440 
+0+1200"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth   24
EndSubSection
EndSection
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng