OpenSourceWeekly.org #5 - Communication (zulip & jitsi ), Hardware (OS ventilator ), Security (PGP ) and more
https://opensourceweekly.org/issues/5
https://redd.it/fq14no
@r_linux
https://opensourceweekly.org/issues/5
https://redd.it/fq14no
@r_linux
Having some fun with Network Namespaces; built a network performance monitor for my home network
Diagram of the network setup:
https://i.imgur.com/uP3yclS.png
Diagram showing the network namespaces and various software components:
https://i.imgur.com/cuzfsOa.png
Sample of the daily PDF report produced by the system:
https://www.dropbox.com/s/3fn7v3p5la7d3eu/f216f253_20200326_netperf.pdf?dl=0
(That Internet outage shown on the report was generated by me unplugging the network cable to my ISP modem for a few minutes.)
If you're not familiar with Network Namespaces; they are a lightweight resource isolation mechanism provided by the Linux kernel. Each network namespace has its own network stack. After creating a network namespace, you can assign network interfaces to it and configure those interfaces inside the network namespace. Interfaces in different network namespaces are isolated from each other.
For my purposes network namespaces are useful because traffic between interfaces is forced 'onto the wire' rather than being routed via the loopback interface as normally happens with traffic between multiple network interfaces on the same machine. This means that when running performance analysis tools such as iperf3 you'll get real performance values rather than the artifically high values observed when the kernel routes the traffic via the loopback interface.
The system is running on a Raspberry Pi with 5 network interfaces, two of which are configured as a transparent Ethernet bridge for monitoring bandwidth between my router and ISP modem.
All the network testing results and bandwidth monitor readings are written to a database, and a daily report plots the various values on graphs as shown in the sample report linked above.
In the future I'll use this system to help with diagnosing intermittent network issues on friends' home networks; I can set the system up and leave it onsite for a while to collect network performance data that can be analyzed at a later date.
Happy to answer any questions you might have about this project!
https://redd.it/fq4s49
@r_linux
Diagram of the network setup:
https://i.imgur.com/uP3yclS.png
Diagram showing the network namespaces and various software components:
https://i.imgur.com/cuzfsOa.png
Sample of the daily PDF report produced by the system:
https://www.dropbox.com/s/3fn7v3p5la7d3eu/f216f253_20200326_netperf.pdf?dl=0
(That Internet outage shown on the report was generated by me unplugging the network cable to my ISP modem for a few minutes.)
If you're not familiar with Network Namespaces; they are a lightweight resource isolation mechanism provided by the Linux kernel. Each network namespace has its own network stack. After creating a network namespace, you can assign network interfaces to it and configure those interfaces inside the network namespace. Interfaces in different network namespaces are isolated from each other.
For my purposes network namespaces are useful because traffic between interfaces is forced 'onto the wire' rather than being routed via the loopback interface as normally happens with traffic between multiple network interfaces on the same machine. This means that when running performance analysis tools such as iperf3 you'll get real performance values rather than the artifically high values observed when the kernel routes the traffic via the loopback interface.
The system is running on a Raspberry Pi with 5 network interfaces, two of which are configured as a transparent Ethernet bridge for monitoring bandwidth between my router and ISP modem.
All the network testing results and bandwidth monitor readings are written to a database, and a daily report plots the various values on graphs as shown in the sample report linked above.
In the future I'll use this system to help with diagnosing intermittent network issues on friends' home networks; I can set the system up and leave it onsite for a while to collect network performance data that can be analyzed at a later date.
Happy to answer any questions you might have about this project!
https://redd.it/fq4s49
@r_linux
I want to say thanks
Thanks to everyone who asks and responds to questions on forums, thanks to everyone who knows their shit, and thanks also to everyone who knows just enough to be able to ask a coherent question. You really saved my arse today and I'm incredibly grateful.
You all collectively do such a good job helping idiots like me, and you probably don't even realise it. A question on a forum isn't just helping the person who asked it, but also the thousands who refer to it for years and years after.
So thank you, again. Yes you, personally, you reading this: thanks.
https://redd.it/fpth3g
@r_linux
Thanks to everyone who asks and responds to questions on forums, thanks to everyone who knows their shit, and thanks also to everyone who knows just enough to be able to ask a coherent question. You really saved my arse today and I'm incredibly grateful.
You all collectively do such a good job helping idiots like me, and you probably don't even realise it. A question on a forum isn't just helping the person who asked it, but also the thousands who refer to it for years and years after.
So thank you, again. Yes you, personally, you reading this: thanks.
https://redd.it/fpth3g
@r_linux
reddit
I want to say thanks
Thanks to everyone who asks and responds to questions on forums, thanks to everyone who knows their shit, and thanks also to everyone who knows...
Fitz Roy: a free solo climbing to sanitize virtual machines
Nowadays when a computer security incident occurs, it is necessary to quarantine the machine (physicical or virtualized) in order to avoid data leaks. Current malware has multiples phases that exchange information with C&C (*Command an Crontrol*) servers, therefore it needs to be mitigated as soon as possible. A possible solution could be to monitor entry points of nodes for instance application directory (/var/www/<site>/html). *Fitz Roy* monitorizes Linux guests filesystems (*raw*, *qcow2*, *vmdk* , *vdi*, *vpc*, *vhd*) relying on [libguestfs](http://libguestfs.org/) and [Virustotal's API](https://www.virustotal.com/gui/home/upload). [Libguestfs](http://libguestfs.org/) mounts virtual machine filesystem and uploads suspicious files to [Virustotal's API](https://www.virustotal.com/gui/home/upload) which are then analyzed and a malware detection report is generated. The project has been implemented in C and built with [autotools](https://www.gnu.org/software/automake/manual/html_node/Autotools-Introduction.html). Tool can be fitted under DFIR (*Digital Forensic and Incident Response*) field because it can be useful in *Eradication* and *Recovery* phases. It also can be used in *Preparation* phases in order to check virtual machine backups.
For more information you can go to [https://gitlab.com/luisfm/fitz-roy](https://gitlab.com/luisfm/fitz-roy) or [https://acmpxyz.com/fitz\_roy.html](https://acmpxyz.com/fitz_roy.html).
Cheers!
https://redd.it/fq3mkg
@r_linux
Nowadays when a computer security incident occurs, it is necessary to quarantine the machine (physicical or virtualized) in order to avoid data leaks. Current malware has multiples phases that exchange information with C&C (*Command an Crontrol*) servers, therefore it needs to be mitigated as soon as possible. A possible solution could be to monitor entry points of nodes for instance application directory (/var/www/<site>/html). *Fitz Roy* monitorizes Linux guests filesystems (*raw*, *qcow2*, *vmdk* , *vdi*, *vpc*, *vhd*) relying on [libguestfs](http://libguestfs.org/) and [Virustotal's API](https://www.virustotal.com/gui/home/upload). [Libguestfs](http://libguestfs.org/) mounts virtual machine filesystem and uploads suspicious files to [Virustotal's API](https://www.virustotal.com/gui/home/upload) which are then analyzed and a malware detection report is generated. The project has been implemented in C and built with [autotools](https://www.gnu.org/software/automake/manual/html_node/Autotools-Introduction.html). Tool can be fitted under DFIR (*Digital Forensic and Incident Response*) field because it can be useful in *Eradication* and *Recovery* phases. It also can be used in *Preparation* phases in order to check virtual machine backups.
For more information you can go to [https://gitlab.com/luisfm/fitz-roy](https://gitlab.com/luisfm/fitz-roy) or [https://acmpxyz.com/fitz\_roy.html](https://acmpxyz.com/fitz_roy.html).
Cheers!
https://redd.it/fq3mkg
@r_linux
libguestfs.org
libguestfs, library for accessing and modifying VM disk images
libguestfs, library and tools for accessing and modifying VM disk images
Required malware scan for assignment
In University, BSc computer science one of my units is a coding unit learning C. It requires all assignments scanned and declared for malware and viruses etc. This unit is mainly aimed at Windows users so they listed Windows-only software for this. What can I use to do a malware/virus scan also I need to submit all files in a .zip nothing else, any ideas for this one?
https://redd.it/fqbmre
@r_linux
In University, BSc computer science one of my units is a coding unit learning C. It requires all assignments scanned and declared for malware and viruses etc. This unit is mainly aimed at Windows users so they listed Windows-only software for this. What can I use to do a malware/virus scan also I need to submit all files in a .zip nothing else, any ideas for this one?
https://redd.it/fqbmre
@r_linux
reddit
r/linux - Required malware scan for assignment
0 votes and 8 comments so far on Reddit
I want to learn Linux, but I'm not sure where to start.
Let me start off by saying that I am not a novice with UNIX/Linux type stuff compared to the average person, or ever the average IT person. I have been working with Windows primarily for around 12 years, and using it as a user since maybe 2004. I have become accustomed to all of the terminology and mannerisms of Windows, and while I can navigate and perform relatively advanced functions on Linux, I really know very little about what is going on behind the scenes and why. I'm taking classes currently to hopefully get the hang of how this works at a level high enough to get Linux+, but I have one big issue.
​
I don't understand almost anything about it, because I'm "looking through Windows colored glasses". When I went through this same process with MacOS, I just said "okay, x in MacOS is like y in Windows" and that worked wonderfully. On Linux, not so much. So many of the words and commands that are used are wildly different, and so many of the processes and ways things are done is different. An example: If I want to fuck with booting Windows, services, registry, etc. I use either regedit or msconfig. On Linux, there are a bunch of config files that you need to use a command-line text editor to change (as far as I am aware) and that is a lot different of a process.
​
So, long story short is this: I would like you guys to recommend 1 or 2 things
1. What is the best Linux environment (with GUI) for learning the current and future administration side of Linux? I have used Ubuntu, Arch, Zorin, Raspbian, and Pop!\_OS previously.
2. What are some "large scale" tasks that I can work towards that will help me organically learn skills? An example of this would be "install and setup a web server to learn how to use x and configure y"
Let me say as well that I am not looking to learn "basics" like how to install a program and how to update software and things that are easy, but rather more advanced tasks that take multiple steps and help me learn the operating system with professional mindset.
​
I apologize if this is out of place, but I figured that if I posted on a more specific subreddit, I would get answers from a targeted group of people that would be biased towards one version or another.
https://redd.it/fqd66f
@r_linux
Let me start off by saying that I am not a novice with UNIX/Linux type stuff compared to the average person, or ever the average IT person. I have been working with Windows primarily for around 12 years, and using it as a user since maybe 2004. I have become accustomed to all of the terminology and mannerisms of Windows, and while I can navigate and perform relatively advanced functions on Linux, I really know very little about what is going on behind the scenes and why. I'm taking classes currently to hopefully get the hang of how this works at a level high enough to get Linux+, but I have one big issue.
​
I don't understand almost anything about it, because I'm "looking through Windows colored glasses". When I went through this same process with MacOS, I just said "okay, x in MacOS is like y in Windows" and that worked wonderfully. On Linux, not so much. So many of the words and commands that are used are wildly different, and so many of the processes and ways things are done is different. An example: If I want to fuck with booting Windows, services, registry, etc. I use either regedit or msconfig. On Linux, there are a bunch of config files that you need to use a command-line text editor to change (as far as I am aware) and that is a lot different of a process.
​
So, long story short is this: I would like you guys to recommend 1 or 2 things
1. What is the best Linux environment (with GUI) for learning the current and future administration side of Linux? I have used Ubuntu, Arch, Zorin, Raspbian, and Pop!\_OS previously.
2. What are some "large scale" tasks that I can work towards that will help me organically learn skills? An example of this would be "install and setup a web server to learn how to use x and configure y"
Let me say as well that I am not looking to learn "basics" like how to install a program and how to update software and things that are easy, but rather more advanced tasks that take multiple steps and help me learn the operating system with professional mindset.
​
I apologize if this is out of place, but I figured that if I posted on a more specific subreddit, I would get answers from a targeted group of people that would be biased towards one version or another.
https://redd.it/fqd66f
@r_linux
reddit
I want to learn Linux, but I'm not sure where to start.
Let me start off by saying that I am not a novice with UNIX/Linux type stuff compared to the average person, or ever the average IT person. I have...
Krita 4.2.9 released! More stability, more features in Color Smudge brush engine, better brush outline and more!
https://krita.org/en/item/krita-4-2-9-released/
https://redd.it/fqdzul
@r_linux
https://krita.org/en/item/krita-4-2-9-released/
https://redd.it/fqdzul
@r_linux
Krita
Krita 4.2.9 Released | Krita
Today we’re finally releasing Krita 4.2.9! It’s been one of the most complicated releases we’ve ever attempted. When we updated the version of Python that’s embedded in Krita, noscripting broke on Windows. When Apple updated its notarization protocol, building…
After few weeks of experiment, it totally replaced my laptop for WFH basically used lol
https://redd.it/fqek7e
@r_linux
https://redd.it/fqek7e
@r_linux
Hello, I was looking for a Note taking app/cli For my linux machine(s) with cloud support, do you all have any suggestions ?
I have tried
* Joplin
* NixNote2
* Onenote (web)
* CherryTree
Out of which Joplin is my favourite for being minimal , clean and Markdown heavy but for the life of me I am not able to setup the cloud support always run into one or another problem , so looking for alternatives fellow redditoirs might be using
https://redd.it/fqeq0g
@r_linux
I have tried
* Joplin
* NixNote2
* Onenote (web)
* CherryTree
Out of which Joplin is my favourite for being minimal , clean and Markdown heavy but for the life of me I am not able to setup the cloud support always run into one or another problem , so looking for alternatives fellow redditoirs might be using
https://redd.it/fqeq0g
@r_linux
reddit
Hello, I was looking for a Note taking app/cli For my linux...
I have tried * Joplin * NixNote2 * Onenote (web) * CherryTree Out of which Joplin is my favourite for being minimal , clean and Markdown heavy...
Recover data after DD command
The worst has happened 😭
I downloaded a Linux distro's iso and went on to write it on my flash drive. So far so good, but when writing the image to the flash drive I selected by mistake the HD I backup all my files. I then rebooted and found out my mistake, after that I powered off my computer and started crying. Haven't touched anything since.
The HD's filesystem is ext4. (Don't know if it is relevant)
Are there any ways to recover my lost files or at least some of them?
Thank you very much on advance!!
https://redd.it/fqh6w5
@r_linux
The worst has happened 😭
I downloaded a Linux distro's iso and went on to write it on my flash drive. So far so good, but when writing the image to the flash drive I selected by mistake the HD I backup all my files. I then rebooted and found out my mistake, after that I powered off my computer and started crying. Haven't touched anything since.
The HD's filesystem is ext4. (Don't know if it is relevant)
Are there any ways to recover my lost files or at least some of them?
Thank you very much on advance!!
https://redd.it/fqh6w5
@r_linux
reddit
Recover data after DD command
All things Linux and GNU/Linux -- this is neither a community exclusively about the kernel Linux, nor is exclusively about the GNU operating system.
BASH noscript seems to.. hang? Pushover
Hi,
I have a noscript that monitors a log file and sends a Pushover when a match has found. However, it seems to hang?
​
​
#!/bin/bash
tail -f /var/log/rfc/rfc.log | awk '/admin/ { system("curl -s --max-time 20 -F \"token=TOKEN\" -F \"user=USER\" -F \"noscript=test\" -F \"message=test\" https://api.pushover.net/1/messages.json
https://redd.it/fqhsw6
@r_linux
Hi,
I have a noscript that monitors a log file and sends a Pushover when a match has found. However, it seems to hang?
​
​
#!/bin/bash
tail -f /var/log/rfc/rfc.log | awk '/admin/ { system("curl -s --max-time 20 -F \"token=TOKEN\" -F \"user=USER\" -F \"noscript=test\" -F \"message=test\" https://api.pushover.net/1/messages.json
https://redd.it/fqhsw6
@r_linux
This media is not supported in your browser
VIEW IN TELEGRAM
shortcut - A CLI tool for viewing shortcuts of applications and websites
https://redd.it/fqih1a
@r_linux
https://redd.it/fqih1a
@r_linux
TIL about vipe
`vipe` is a tool to run an editor in a Unix pipelines like `... | vipe | ...`. I wanted to write something like this myself to inspect pipelines like `curl ... | sh` until I realized that this exists. It's contained in the `moreutils` package in Ubuntu and Fedora.
Maybe it's useful for someone else.
https://redd.it/fqiu6b
@r_linux
`vipe` is a tool to run an editor in a Unix pipelines like `... | vipe | ...`. I wanted to write something like this myself to inspect pipelines like `curl ... | sh` until I realized that this exists. It's contained in the `moreutils` package in Ubuntu and Fedora.
Maybe it's useful for someone else.
https://redd.it/fqiu6b
@r_linux
reddit
TIL about vipe
`vipe` is a tool to run an editor in a Unix pipelines like `... | vipe | ...`. I wanted to write something like this myself to inspect pipelines...
This Week in Matrix 2020-03-27
https://matrix.org/blog/2020/03/27/this-week-in-matrix-2020-03-27
https://redd.it/fqk26r
@r_linux
https://matrix.org/blog/2020/03/27/this-week-in-matrix-2020-03-27
https://redd.it/fqk26r
@r_linux
What would linux to be the spiritual successor to?
Hey, consider that Linux has evolved throughout the years. I remember that there were a few games to run in Linux, and that has changed since. I have had better success running older windows games on Linux than the current windows. So I want to ask what you guys would consider Linux as the spiritual successor to (Amiga or Atari ST), since both of those went against Ibm-compatiable PC and Mac.
https://redd.it/fqn8ao
@r_linux
Hey, consider that Linux has evolved throughout the years. I remember that there were a few games to run in Linux, and that has changed since. I have had better success running older windows games on Linux than the current windows. So I want to ask what you guys would consider Linux as the spiritual successor to (Amiga or Atari ST), since both of those went against Ibm-compatiable PC and Mac.
https://redd.it/fqn8ao
@r_linux
reddit
What would linux to be the spiritual successor to?
Hey, consider that Linux has evolved throughout the years. I remember that there were a few games to run in Linux, and that has changed since. I...
Imagine trying to pull antivirus marketing style scaremongering on linux users. Simply amazing.
https://redd.it/fqmxlh
@r_linux
https://redd.it/fqmxlh
@r_linux
Hope the new 20.04 releases are will include mmx64.efi and save us Acer users a lot of trouble!
As you all know this particular OEM sucks when it comes to installing Linux on it's laptops.
The BIOS is complete mess.
And I had really bad time trying to put some distributions on my laptop.
They just don't start because that thing is missing.
I hope people involved in the development can see this and do something about it because for newcomers it will be a deal breaker and will leave the wrong impression about Linux.
https://redd.it/fqnebz
@r_linux
As you all know this particular OEM sucks when it comes to installing Linux on it's laptops.
The BIOS is complete mess.
And I had really bad time trying to put some distributions on my laptop.
They just don't start because that thing is missing.
I hope people involved in the development can see this and do something about it because for newcomers it will be a deal breaker and will leave the wrong impression about Linux.
https://redd.it/fqnebz
@r_linux
reddit
Hope the new 20.04 releases are will include mmx64.efi and save us...
As you all know this particular OEM sucks when it comes to installing Linux on it's laptops. The BIOS is complete mess. And I had really bad time...
Elizabeth Warren’s Campaign Is Making Its Software Open Source
https://www.wired.com/story/elizabeth-warren-campaign-open-source-tech/
https://redd.it/fqo3oj
@r_linux
https://www.wired.com/story/elizabeth-warren-campaign-open-source-tech/
https://redd.it/fqo3oj
@r_linux
Wired
The Warren Campaign Is Gone—but Its Tech May Live On
The team developed its own software to coordinate volunteers and synthesize voter data. Now it’s posting the code to GitHub.
Just another file archive utility
Checkout **xtrv** a file archive utility I created while learning C.
URL: [https://github.com/ttshivhula/xtrv](https://github.com/ttshivhula/xtrv)
If you like it you can give it a star. contributions are welcomed!
https://redd.it/fqmsyc
@r_linux
Checkout **xtrv** a file archive utility I created while learning C.
URL: [https://github.com/ttshivhula/xtrv](https://github.com/ttshivhula/xtrv)
If you like it you can give it a star. contributions are welcomed!
https://redd.it/fqmsyc
@r_linux
GitHub
GitHub - ttshivhula/xtrv: A simple archiving utility
A simple archiving utility. Contribute to ttshivhula/xtrv development by creating an account on GitHub.
Free Linux Malware Scanner, Detection and Removal Tool
https://www.sophos.com/en-us/products/free-tools/sophos-antivirus-for-linux.aspx
https://redd.it/fqst6t
@r_linux
https://www.sophos.com/en-us/products/free-tools/sophos-antivirus-for-linux.aspx
https://redd.it/fqst6t
@r_linux
SOPHOS
Cybersecurity as a Service Delivered | Sophos
We Deliver Superior Cybersecurity Outcomes for Real-World Organizations Worldwide with a Broad Portfolio of Advanced Security Products and Services.