Re: how to make a etc/rc.d start at boot time

2013-08-12 Thread joris dedieu
2013/8/11 Aryeh Friedman : > -- Forwarded message -- > From: Aryeh Friedman > Date: Sun, Aug 11, 2013 at 2:07 AM > Subject: Re: how to make a etc/rc.d start at boot time > To: Rui Paulo > > > #!/bin/sh > # > # Start/stop XXX at boot time > # > # Copyright (C) 2013 XXX > > . /etc/r

Re: rtld and noexec

2011-12-04 Thread joris dedieu
2011/12/2 Alexander Kabaev : > On Fri, 2 Dec 2011 18:22:57 +0100 > joris dedieu wrote: > >> Hi, >> >> Here is a patch I use to prevent loading a shared object from a noexec >> mountpoint.  It's an easy way, I found, after the last root exploit >> ((htt

rtld and noexec

2011-12-02 Thread joris dedieu
Hi, Here is a patch I use to prevent loading a shared object from a noexec mountpoint. It's an easy way, I found, after the last root exploit ((http://seclists.org/fulldisclosure/2011/Nov/452), to enhance the security of my web servers (with /home, /tmp and /var/tmp mounted with noexec). - the

Re: Concurrent execution of rc-scripts with rcorder(8)

2011-08-25 Thread joris dedieu
2011/8/24 Vitaly Magerya : >> the idea to start services concurrently during boot isn't new and the >> question why FreeBSD doesn't do it has popped up on the forum and >> mailing list occasionally. So, why not give it a shot? > > As someone who uses FreeBSD on hist laptop and is constantly annoyed

Re: Concurrent execution of rc-scripts with rcorder(8)

2011-08-21 Thread joris dedieu
2011/8/21 kilian : > Hello, > > the idea to start services concurrently during boot isn't new and the > question why FreeBSD doesn't do it has popped up on the forum and > mailing list occasionally. So, why not give it a shot? > > rcorder(8) is normally used during boot to bring the rc-scripts into

Re: Fwd: binding non local ip.

2011-01-17 Thread joris dedieu
Hi Julian and many thanks for your comments. 2011/1/11 Julian Elischer : > On 1/9/11 3:01 PM, joris dedieu wrote: >> >> -- Forwarded message -- >> From: joris dedieu >> Date: 2011/1/9 >> Subject: Re: binding non local ip. >> To: Julian Eli

Fwd: binding non local ip.

2011-01-09 Thread joris dedieu
-- Forwarded message -- From: joris dedieu Date: 2011/1/9 Subject: Re: binding non local ip. To: Julian Elischer 2011/1/7 Julian Elischer : > On 1/7/11 4:57 AM, joris dedieu wrote: >> >> Hi, >> I need a to bind non local ips  daemons that don't >&

Re: binding non local ip.

2011-01-09 Thread joris dedieu
2011/1/9 Eygene Ryabinkin : Sorry for my mail client broken that do not send mails to the list :) I'll take care. > Joris, good day. > > Sun, Jan 09, 2011 at 06:29:20PM +0100, joris dedieu wrote: >> Thanks Eygene for this greate review ! > > No problems ;)) >

binding non local ip.

2011-01-07 Thread joris dedieu
Hi, I need a to bind non local ips daemons that don't implement IP_BINDANY sockopt. There are several solutions as patching every single daemon or using carp (You may not want automatic failover), jailing the process and of course binding INADDR_ANY when possible ... Has I'm too lazy for this, I

netinet6 little cleanup

2011-01-07 Thread joris dedieu
Hi, As I was reading netinet6 code, I found some redundant SYSCTL_DECL. I don't know if it's really useful but here is a patch to clean it. - remove SYSCTL_DECL(_net_inet6_ip6) and SYSCTL_DECL(_net_inet6) from c files + add them to netinet6/in6_var.h header (like for netinet). Cheers Joris diff -

Re: [PATCH] allow empty files creation with install

2010-07-17 Thread joris dedieu
2010/7/17 Garrett Cooper : > On Sat, Jul 17, 2010 at 6:34 AM, joris dedieu wrote: >> This patch add a -t switch to install(3). This is a small feature for >> lazy sysadmins. >> >> before : >> >> touch /usr/home/foo/.history /usr/home/foo/.bash_history >&g

Re: [PATCH] allow empty files creation with install

2010-07-17 Thread joris dedieu
2010/7/17 Anonymous : > joris dedieu writes: > >> This patch add a -t switch to install(3). This is a small feature for >> lazy sysadmins. >> >> before : >> >> touch /usr/home/foo/.history /usr/home/foo/.bash_history >> chown foo /usr/home/foo/.

Re: [PATCH] allow empty files creation with install

2010-07-17 Thread joris dedieu
2010/7/17 Kostik Belousov : > On Sat, Jul 17, 2010 at 03:34:08PM +0200, joris dedieu wrote: >> This patch add a -t switch to install(3). This is a small feature for >> lazy sysadmins. >> >> before : >> >> touch /usr/home/foo/.history /usr/home/foo/.bash_hist

[PATCH] allow empty files creation with install

2010-07-17 Thread joris dedieu
This patch add a -t switch to install(3). This is a small feature for lazy sysadmins. before : touch /usr/home/foo/.history /usr/home/foo/.bash_history chown foo /usr/home/foo/.history /usr/home/foo/.bash_history chmod 600 /usr/home/foo/.history /usr/home/foo/.bash_history chflags sappend /usr/ho