Home Blog Page 1005

RapidDisk / RapidCache 3.3 now available.

RapidDisk is an advanced Linux RAM Disk which consists of a collection of modules and an administration tool. Features include: Dynamically allocate RAM as block device. Use them as stand alone disk drives or even map them as caching nodes to slower local disk drives. Enable Non-Volatile memory as high performing block devices and more.

I pushed 3.3 into the mainline yesterday morning. Changes include:

  • Updated code for the 4.3 kernel.
  • Cleaned up the main Makefile.
  • Cleaned up entire driver code. Adjusted formatting.

You can pull it from the git, yum, ZYpp & apt repos or download it from the SourceForge project page.

To stay updated, you can follow the RapidDisk Google+ page.

[How To] Install Intel Graphics In Ubuntu 15.04 Or Derivatives Linux OS


Intel graphics installer for ubuntu 15.04

Intel Graphics Installer is a small and undoubtedly useful tool for installing or updating Intel graphics to get the best user experience with the Intel hardware. Intel has just released Graphics installer for Ubuntu 15.04, so now you can easily install/update Intel graphics in Intel hardware. Let’s see how we can do that.

Read At LinuxAndUbuntu

Apple Removes Malware-Infected App Store Apps After Major Security Breach

Apple has removed malware-infected apps from the App Store after acknowledging its first sustained security breach. The malware, known as XcodeGhost, worked its way into several apps by convincing developers to use a modified version of Xcode, the software used to create iOS and Mac software.

“We’ve removed the apps from the App Store that we know have been created with this counterfeit software,” Apple spokesperson Christine Monaghan told Reuters. “We are working with the developers to make sure they’re using the proper version of Xcode to rebuild their apps.”

Read more at The Verge

Linus Torvalds Announces Linux Kernel 4.3 RC2, Things Are Looking Fairly Calm and Small

linus-torvalds-announcesAs expected, Linus Torvalds released a few minutes ago, September 20, the second Release Candidate (RC) build of the upcoming Linux 4.3 kernel series, due for release later this year.

According to Linus Torvalds, Linux kernel 4.3 Release Candidate 2 is a fairly normal release which consists of the usual mix of updated driver and architecture fixes with a small amount of updates to the perf tooling. This second RC build of Linux 4.3 also received some cleanup to the IRQ… 

Get to Know the Elementary OS Freya Firewall Tool

jack-fire-1

Out of the box, Linux is one of the most secure computing platforms you will ever use. For most users, that out-of-the-box experience is good enough. For some, however, there is plenty of fine-tuning that can be done to make the desktop distribution even more secure or more flexible. If you’ve made the switch to elementary OS Freya, you’ll be pleased to know there’s a new GUI tool that makes working with the firewall quite easy.

Like most all Linux distributions, Freya works with iptables to lock down the platform. The iptables system is an incredibly powerful tool that let you configure the tables provided by the Linux kernel firewall. For most Linux admins, iptables is second nature; adding policies and chains can be done during REM sleep. For most desktop users, however, iptables tends to fly over their heads. That’s why the elementary OS Freya firewall tool is so important—it makes editing the iptables policies a snap.

What You Need to Know

Although you do not have to fully grasp the ins and outs of iptables to work with the elementary OS Freya firewall tool, it doesn’t hurt to at least understand the fundamentals of firewalling. At the bare minimum, you should know:

  • A firewall can block traffic going in and out of a machine

  • A firewall blocks using port numbers and protocols

  • A firewall can reject/deny/allow/limit incoming and outgoing TCP and UDP traffic

  • You must be a member of the sudo group to work with the Elementary OS Freya firewall tool

That is the bare minimum you must know before you start using this tool. If you’re unsure of what protocols you want to work with, you can look at the file /etc/services to see an entire listing of the networking ports used by Linux. If you issue the command less /etc/services you can comb through the full listing (see Figure 1 above).

The elementary OS Freya firewall tool is, ultimately, a front end for Uncomplicated Firewall (UFW). UFW is a “user-friendly” command line front end for iptables found in the Ubuntu distribution. The Elementary OS Freya firewall tool (and, by association, UFW) doesn’t have nearly the power of iptables, but it does a good enough job for the desktop.

Finding the Tool

The firewall GUI isn’t tucked too deeply away from view. If you open up the Settings tool and then click on Security & Privacy, you’ll see the Firewall tab. Click on that tab and you’ll see that the firewall isn’t activated. When you click on the Firewall tab, you will see an unlock button in the upper right corner (Figure 2). To do anything with the firewall tool, you must click that button and then enter your sudo password to continue.

jack-fire-2

Using the Tool

Now that you’ve unlocked the firewall tool, it’s time to use it. You can begin adding your rules and then enable the firewall, or you can enable the firewall and then add your rules. Let’s enable the firewall first. Do this by clicking the Firewall Status slider to the right. When the firewall is enabled, the slider will turn blue. With the firewall enabled, you can start adding to the iptables chain. Let’s say, for instance, you want to allow incoming vnc traffic on ports 5800, 5900, and 6000 but want to block incoming vnc traffic on ports 5801, 5901, and 6001. Here’s what you need to do.

From the firewall tool window, click the + sign in the bottom left corner. In the pop-up window (Figure 3), enter the details for the first rule. For example, to allow vnc port 5800 you’d enter the following: 

  • Action: Allow
  • Protocol: TCP
  • Direction: In
  • Ports: 5800

jack-fire-3Go through the same steps to add ports 5900 and 6000. Once you’ve done that, you’ll add the rules to block incoming traffic for ports 5801, 5901, and 6001. The only difference when you add this new set of rules is that you’ll select Deny from the Action drop-down.

If you haven’t enabled the Firewall Status by this point, go ahead and do so now. At this point, all your rules should appear in the listing (Figure 4). If you notice duplicate entries listed, understand that the firewall tool adds both IPv4 and IPv6 entries for each rule.

jack-fire-4As you might expect, you will need to have a fundamental understanding of firewalls. Why? You could easily add rules into the chain only to find network traffic stops running. The nice thing about the tool is you can quickly enable/disable the firewall so that you can work with your iptables chain until you get it right. The good news is that you don’t have to dive into the deep waters of iptables. You can get enough information from reading about UFW (check out the official page) to have the Elementary Freya OS firewall tool working smoothly.

Do note. Simply by enabling the firewall tool, the firewall chain will change. By default, the out-of-the box iptables policy is to ACCEPT INPUT, FORWARD, and OUTPUT… and that is it. The second you enable the firewall tool, a number of new entries are added to the chain, such as:

Chain ufw-before-input (0 references)
target prot opt source            destination    
ACCEPT all  --  anywhere          anywhere       
ACCEPT all  --  anywhere          anywhere          ctstate RELATED,ESTABLISHED
ufw-logging-deny  all  --  anywhere     anywhere          ctstate INVALID
DROP    all  --  anywhere          anywhere          ctstate INVALID
ACCEPT icmp --  anywhere        anywhere          icmp destination-unreachable
ACCEPT icmp --  anywhere        anywhere          icmp source-quench
ACCEPT icmp --  anywhere        anywhere          icmp time-exceeded
ACCEPT icmp --  anywhere        anywhere          icmp parameter-problem
ACCEPT icmp --  anywhere        anywhere          icmp echo-request
ACCEPT udp  --  anywhere         anywhere          udp spt:bootps dpt:bootpc
ufw-not-local  all  --  anywhere          anywhere       
ACCEPT udp  --  anywhere         224.0.0.251       udp dpt:mdns
ACCEPT udp  --  anywhere         239.255.255.250   udp dpt:1900

You might even notice, after enabling the firewall and without adding any rules, web traffic no longer works. To remedy that, you might have to add an outgoing rule rule for DNS. In that case, you’ll add a rule with the following parameters:

  • Action: Allow

  • Protocol: UDP

  • Direction: Out

  • Ports: 53

You now know enough to navigate the elementary OS Freya firewall tool. As I mentioned earlier, if you need to get more out of the firewall, you should read up on UFW. For even more power, check out the full-on iptables tool, and you can create an incredibly powerful firewall for either your desktop or server.

 

This Week in Linux News: Linux Desktop Is Hot in China, Microsoft Committed to Node.js, and More

"Lighbulb inside a pyramid"

This week in Linux news, the Dell’s Linux desktop is experiencing popularity in China, the Linux Foundation’s newly-released security checklist offers important value for protecting your Linux workstation, and more! Continue reading for our top picks of the week’s Linux headlines. 

1) Dell sells a staggering number of PCs with Linux in China. 

It’s the Year of the Linux Desktop, for Dell, in China– PCWorld

2) Disney researchers use Linux-powered light bulbs.

Linux Light Bulbs Allow Devices To Talk To Each Other With Flashes Of Brilliance– TechCrunch

Disney Lights Up IoT with Linux Light Bulb– Linux.com

3) Mark Shuttleworth backs Stéphane Graber’s announcement of LXD’s version 0.18.

LXD Is the New Pure-Container Hypervisor for Linux, Says Mark Shuttleworth– Softpedia

4) The Linux Foundation’s new security checklist “offers important security value.”

Understanding the World of Linux Foundation Security Checklist– Boosh Articles

5) Microsoft reinforces commitment to open source Node.js technology.

Embracing Node.js, Microsoft Seeks Open Source Dev Help– Application Development Trends Magazine

Exploring Tiling Window Managers

If you have a low-resource computer, one with a small screen like some laptops, or are even someone just looking for something different to try, a tiling window manager could be a good option. They’re not for everybody, but then they’re not just for command-line commandos either.

I’m a keyboard guy, I like using keyboard shortcuts and keeping my hands on the keyboard as much as possible. Besides, I suck at touch typing and reaching for the mouse constantly just throws me all out of whack when I go back to the keyboard. It’s one of the reasons I was a KDE user for such a long time. KDE’s Plasma Desktop is probably the most keyboard customizable desktop environment out there. Plasma had some quirks though; there were bugs and oddities that annoyed me quite often. So I found myself in the “looking for something different” category. (Read the rest at Freedom Penguin)

Active WordPress Malware Campaign Compromises Thousands of Websites

crednopsecThe campaign may only be 15 days old, but thousands of sites are already infected and there are no signs of slowing down. A new, active malware campaign has compromised thousands of WordPress websites in a matter of days, placing visitors at risk.

The new campaign, detected by SucuriLabs, began 15 days ago but the rate of compromised websites has spiked in the last few days, according to the security firm’s CTO Daniel Cid. From the 15th to 17th of this month, the rate of infection has surged from 1,000 compromised websites a day to approximately 6,000 — and we are yet to see if this uptake slows down.The hijacked websites are being compromised with the “visitorTracker_isMob” malware…

Read more at ZDNet News

Microsoft Reveals Linux-Based Azure Cloud Switch Modular Operating System

After announcinga couple of months back that their Azure cloud hosting platform supports a host of GNU/Linux distributions, including Ubuntu, SUSE Linux Enterprise Server (SLES), CentOS (OpenLogic), Oracle Linux, CoreOS, and OpenSUSE, Microsoft reveals a new product, Azure Cloud Switch.

Based on the latest Linux technologies, Microsoft’s Azure Cloud Switch (ACS) is a cross-platform and modular operating system that the Redmond-based tech company uses to develop software products for network devices, such as switches. Microsoft developers use the Linux-based Azure Cloud Switch operating system to test, debug, and fix software bugs…

Read more at Softpedia Linux News

 

Bitcoin An Official Commodity: US Trade Commission

The US Commodity Futures Trading Commission has ordered that bitcoin be treated as an official commodity and regulated accordingly. 

Digital currencies have been granted the status of an official commodity by the United States Commodity Futures Trading Commission (CFTC), which said that bitcoin operators must immediately ensure that their companies are legally registered under the applicable trading laws and regulations. The decision, published on Thursday, means transactions made in cryptocurrencies must now comply with CFTC regulations as well as the governing legislation…

Read more at ZDNet News