Re: Idle TCP connections freeze

2012-12-24 Thread Nikolaus Rath
Bob Proulx writes: > Nikolaus Rath wrote: >> Pascal Hambourg writes: >> > Nikolaus Rath a écrit : >> > It appears that the client has a private addresse and the server has a >> > public address. So I guess that there is a NAT device between them, and >>

Re: Idle TCP connections freeze

2012-12-17 Thread Nikolaus Rath
Pascal Hambourg writes: > Hello, > > Nikolaus Rath a écrit : >> >> I'm having trouble with an internet connection that seems to randomly >> "freeze" arbitrary tcp connections when they have not been used for a >> while. The connections stay est

Idle TCP connections freeze

2012-12-14 Thread Nikolaus Rath
Hi, I'm having trouble with an internet connection that seems to randomly "freeze" arbitrary tcp connections when they have not been used for a while. The connections stay established, but no data is coming through. When this happens, netstat still shows the connection status as `ESTABLISHED` on

Re: udev device mapper rules for early boot?

2012-12-13 Thread Nikolaus Rath
Michael Biebl writes: > On 11.12.2012 19:00, Nikolaus Rath wrote: >> Hello, >> >> I have created a udev rule to set the owner of a specific block device: >> >> SUBSYSTEM=="block", >> ENV{DM_UUID}=="LVM-yYuoI8k05GWxZnz9BeEIwPUGGeo

udev device mapper rules for early boot?

2012-12-11 Thread Nikolaus Rath
Hello, I have created a udev rule to set the owner of a specific block device: SUBSYSTEM=="block", ENV{DM_UUID}=="LVM-yYuoI8k05GWxZnz9BeEIwPUGGeojzF3dZZmXTYRqC051Tllj76OHdDlzYhKZUu7u", OWNER="1000" If I disable and re-enable this logical volume with lvchange, it gets created with the correct own

Re: apt-get install linux-source vs apt-get source linux

2012-10-10 Thread Nikolaus Rath
On 10/10/2012 10:51 AM, Nikolaus Rath wrote: > Hello, > > I'd like to add a patch to the stock Debian wheezy kernel. According to > http://kernel-handbook.alioth.debian.org/ch-common-tasks.html, there are > two ways to do this. > > Either I can install the linux-sourc

apt-get install linux-source vs apt-get source linux

2012-10-10 Thread Nikolaus Rath
Hello, I'd like to add a patch to the stock Debian wheezy kernel. According to http://kernel-handbook.alioth.debian.org/ch-common-tasks.html, there are two ways to do this. Either I can install the linux-source package (apt-get install linux-source), unzip the .tar.bz, apply my patch and run 'ma

Re: Automatically purging non-official packages

2012-03-12 Thread Nikolaus Rath
Camaleón writes: > On Sun, 11 Mar 2012 17:03:14 -0400, Nikolaus Rath wrote: > >> Camaleón writes: >>> On Sun, 11 Mar 2012 12:31:11 -0400, Nikolaus Rath wrote: >>> >>>> Ubuntu has a "ppa-purge" script that not just removes Launchpad PPAs >&g

Re: Automatically purging non-official packages

2012-03-11 Thread Nikolaus Rath
Camaleón writes: > On Sun, 11 Mar 2012 17:19:26 -0400, Tom H wrote: > >> On Sun, Mar 11, 2012 at 2:47 PM, Camaleón wrote: >>> On Sun, 11 Mar 2012 12:31:11 -0400, Nikolaus Rath wrote: >>>> >>>> Ubuntu has a "ppa-purge" script that not just

Re: Automatically purging non-official packages

2012-03-11 Thread Nikolaus Rath
Camaleón writes: > On Sun, 11 Mar 2012 12:31:11 -0400, Nikolaus Rath wrote: > >> Ubuntu has a "ppa-purge" script that not just removes Launchpad PPAs >> from sources.list, but also automatically reverts any packages installed >> from that PPA to the versions

Automatically purging non-official packages

2012-03-11 Thread Nikolaus Rath
Hello, Ubuntu has a "ppa-purge" script that not just removes Launchpad PPAs from sources.list, but also automatically reverts any packages installed from that PPA to the versions available in the official archives. Has anyone ever written something similar for Debian? I'm thinking of a script tha

How to globally change GTK2 input method (was: Trouble entering composed characters)

2011-04-29 Thread Nikolaus Rath
Camaleón writes: >> I have trouble entering keyboard compositions in many, but not all >> applications. For example, when entering dead_iota + a (which I have >> configured to give adiaresis in ~/.XCompose) gnome terminal just beeps >> and does nothing. Other affected applications are gedit, icedo

Re: Trouble entering composed characters

2011-04-29 Thread Nikolaus Rath
Camaleón writes: > On Fri, 29 Apr 2011 09:14:55 -0400, Nikolaus Rath wrote: > >> I have trouble entering keyboard compositions in many, but not all >> applications. For example, when entering dead_iota + a (which I have >> configured to give adiaresis in ~/.XCompose) g

Trouble entering composed characters

2011-04-29 Thread Nikolaus Rath
Hello, I have trouble entering keyboard compositions in many, but not all applications. For example, when entering dead_iota + a (which I have configured to give adiaresis in ~/.XCompose) gnome terminal just beeps and does nothing. Other affected applications are gedit, icedove and LibreOffice. Em

Re: Detecting a compromised system

2009-02-15 Thread Nikolaus Rath
"Boyd Stephen Smith Jr." writes: > On Sunday 15 February 2009 13:06:29 Nikolaus Rath wrote: >> I expected that it would be pretty easy to spot these modifications. >> So I did exactly the above and then tried to "detect" my changes. >> >> I first loo

Detecting a compromised system

2009-02-15 Thread Nikolaus Rath
Hello, I recently though about the least sophisticated way to introduce a backdoor into a system if a already had a root shell. My naive approach would be to a) create a setuid root shell somewhere in the fs, or b) modify an existing setuid binary to grant me root access (e.g. when invoce