LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

nftables series - part 1 - baby steps

Posted 12-24-2014 at 07:53 AM by serafean
Updated 12-24-2014 at 07:55 AM by serafean

Nftables introduction

I assume a kernel >=3.18 and nft >= 0.4.

I decided to try out nftables, the would-be iptables successor on my home router/server PC.
As a basic guide I used this guide and the pretty good basic documentation on wiki.nftables.org.

Nft comes with a completely empty ruleset. Meaning no predefined tables, chains or rules.
You as a user create tables, populate those with chains (which hook into kernel netfilter hooks)...
Member
Posted in nftables
Views 522 Comments 0 serafean is offline
Old

C conversion.

Posted 12-22-2014 at 01:44 AM by peonuser

The main thing we did was to add a substitution for get(ch) and clrscr();

Original code:
#include<stdio.h>
void main()
{
int n,d=0,j,a[9];
clrscr();
printf("Enter the Integer which u want to Convert Decimal to Binary : ");
scanf("%d",&n);
while(n>0)
{
a[d]=n%2;
n=n/2;
...
Member
Posted in Uncategorized
Views 272 Comments 0 peonuser is offline
Old

Per-application bookmarks on GTK's file dialog?

Posted 12-22-2014 at 12:56 AM by the dsc (linux-related notes)
Tags gtk, rant

On KDE/QT file dialog there's often a pop-up with a check box saying "remember only in KurrentApplication", so you can have different sets of "bookmarks", restricted to relevant applications. That is, no picture folders on audio applications and vice-versa/whatever.

Is there a hidden way to do that with GTK? Probably answering myself already, but I don't think so (the gtk-terminology would be "shortcut", instead of "bookmark", though):
...
Member
Posted in Uncategorized
Views 710 Comments 4 the dsc is offline
Old

Took the Plunge

Posted 12-22-2014 at 12:13 AM by rocket357 (Musings on technology, philosophy, and life in the corporate world)
Updated 12-22-2014 at 12:42 AM by rocket357

I've run a tor relay over at Digital Ocean for a while now, and I finally decided to pull the plug on it. Digital Ocean announced up coming BSD support, and I waited with anticipation to see exactly how far they were willing to go with the BSDs...and let down that it was only FreeBSD support. (I've been running the tor node on Debian...not exactly ideal in my opinion, but it's been working well enough...I was really looking forward to switching the tor node over to OpenBSD...).

...
Member
Posted in Uncategorized
Views 303 Comments 0 rocket357 is offline
Old

Build 141220 of SlackEX 14.1 live USB with kernel 3.18.1

Posted 12-20-2014 at 04:59 AM by exton (Exton's Blog)
Updated 12-20-2014 at 08:11 AM by exton

New features in version 141220 of SlackEX
SlackEX build 141220 comes as a ZIP-file for direct installation to a USB stick. I have replaced kernel 3.16.1-x86_64-exton with kernel 3.18.1-x86_64-exton with support for “everything”.

KDE is downgraded to version 4.10.5 from version 4.11.1. All other component software is also upgraded to the latest Slackware version by now. I may mention in particular GParted 0.17.0 (latest, not in Slackware’s repositories), VirtualBox 4.3.20...
ExTiX Admin
Views 683 Comments 0 exton is offline

  



All times are GMT -5. The time now is 10:42 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration