Re: dhclient-script patch to preserve resolv.conf.save

2010-04-14 Thread patrick keshishian
No bueno? On Wed, Apr 07, 2010 at 01:30:34AM -0700, patrick keshishian wrote: > Hello, > > At home I use static IPs, but when I take my laptop to work I > end up using DHCP. Typically there are no issues, however, at > work, if the link goes down, when it comes back up, the saved > resolv.conf fi

Дробление бизнеса, риски и ошибки

2010-04-14 Thread Дробление бизнеса
PP PPPPPPP PPPPPP!P: P PP!PP P PP(PPPP. PQP8PQP=Q Q QP5P6P8PP2 P=P0P;P>P3P>P>P1P;P>P6P5P=P8Q P4P;Q P=P0P;P>P3P>P2P>P3P> P?P;P0P=P8QP>P2P0P=P8Q. 28 P0P?QP5P;Q | PP>QP:P2P0 P!P5PP2P>P4P8QP5P;P5P9, QQP8QQP>P2, P1QQP3P0P;QP5QP>P2, P=P0P;P>P3P>P2Q Q P:P>P=QQP;

Re: random behavior of a simple cat|dd pipe

2010-04-14 Thread Otto Moerbeek
On Wed, Apr 14, 2010 at 12:14:13PM +, Paul Stoeber wrote: > The command > cat /dev/zero | dd bs=1000 count=2 > doesn't always produce the desired number of bytes. > Is this supposed to happen? Yes, I think so. Reading from a pipe may turn up a block of data smaller than requested. T

Re: [patch] Re: hacking pfkey: a few questions

2010-04-14 Thread Markus Friedl
yes, just writing an appropriate isakmpd.policy file should work:: Authorizer: "POLICY" Conditions: app_domain == "IPsec policy" && ( remote_filter != "000.000.000.000-255.255.255.255" ) -> "true"; On Tue, Apr 13, 2010 at 12:10:27PM +1000, Damien Miller wrote: > On Mon, 12 Apr 2010, Toni

random behavior of a simple cat|dd pipe

2010-04-14 Thread Paul Stoeber
The command cat /dev/zero | dd bs=1000 count=2 doesn't always produce the desired number of bytes. Is this supposed to happen? # cat bug t=`mktemp` for i in `jot 100`; do cat /dev/zero | dd bs=1000 count=2 > /dev/null 2> $t grep -q '^2+0 records in' $t || cat $t

Re: isakmpd & policy questions

2010-04-14 Thread Toni Mueller
Hi, On Tue, 13.04.2010 at 17:42:52 +0200, Toni Mueller wrote: > Authorizer: "mobile-certs" > Comment: need to list all certificates for mobile users in the licensees > section > Licensees: "DN:/Cert/Of/User1" || > "DN:/Cert/Of/User2" > Conditions: app_domain == "IPsec policy" >