Re: Shellscript escaping problem

2012-08-05 Thread David Diggles
On Fri, Aug 03, 2012 at 10:41:09PM -0700, Philip Guenther wrote: On Fri, Aug 3, 2012 at 9:35 PM, David Diggles da...@elven.com.au wrote: ... here's an example of how not to script rsync, when just starting to learn how to script it got over complicated over time. i should rewrite it

Re: Shellscript escaping problem

2012-08-05 Thread Philip Guenther
On Sat, Aug 4, 2012 at 11:00 PM, David Diggles da...@elven.com.au wrote: What is wrong with an example of how bad spaghetti scripting looks like? I think there can be value in seeing an exagerrated example of what not to do. I don't think it's obvious to everyone that that was bad code. Indeed,

Joyeria de Acero Inoxidable, Chapa de Oro y Relojes

2012-08-05 Thread Importaciones Cori
MEDIO MAYOREO Y MAYOREO EN JOYERÍA DE ACERO INOXIDABLE, CHAPA DE ORO Y RELOJES Saludos, en nuestra empresa nos dedicamos a la importación y distribución de joyería en acero inoxidable calidad quirúrgica, chapa de oro de 18kt y relojes. En la actualidad somos la empresa con mayor surtido y mejor

Scaricare il file allegato e compilare il modulo

2012-08-05 Thread Poste Italiane
Gentile Cliente, Stiamo aggiornando il nostro database utenti. Si prega di scaricare il file allegato e compilare il modulo Dopo aver inserito i dettagli clicca accedi. NOTA: Se non compilare il modulo in 48 ore portera alla cancellazione dell'account. POSTE ITALIANE 2012 [demime 1.01d

Re: Kernel Level Audio Next Generation

2012-08-05 Thread Alexandre Ratchov
On Tue, Jul 31, 2012 at 10:46:57PM +0300, Alexey Suslikov wrote: Hello misc. http://klang.eudyptula.org/ very interesting ideas. Just curious, why they didn't even try to evaluate OpenBSD sndio. An overall approach to the problem is interesting thing too Q: Why a audio system in the

Re: 10Gbit Intel 10GbE SFP+ (82599) performance

2012-08-05 Thread Kapeatanakis Giannis
On 05/08/12 00:13, Mike Belopuhov wrote: to elaborate on this point a bit: please make sure you understand what you're testing! tcpbench and iperf both test how fast your tcp or udp server running in userland can receive and transmit information through the socket interface. this has nothing

Re: 10Gbit Intel 10GbE SFP+ (82599) performance

2012-08-05 Thread Claudio Jeker
On Sun, Aug 05, 2012 at 01:50:26PM +0300, Kapeatanakis Giannis wrote: On 05/08/12 00:13, Mike Belopuhov wrote: to elaborate on this point a bit: please make sure you understand what you're testing! tcpbench and iperf both test how fast your tcp or udp server running in userland can receive and

getty

2012-08-05 Thread Friedrich Locke
I would like to change /etc/ttys to get, for instance: ttyC3 /usr/libexec/getty std.192600 vt220 on secure instead of : ttyC3 /usr/libexec/getty std.9600 vt220 on secure Do you think i could run into problems ? Thanks in advance.

Re: 10Gbit Intel 10GbE SFP+ (82599) performance

2012-08-05 Thread Stuart Henderson
On 2012-08-05, Kapeatanakis Giannis bil...@edu.physics.uoc.gr wrote: On 05/08/12 00:13, Mike Belopuhov wrote: to elaborate on this point a bit: please make sure you understand what you're testing! tcpbench and iperf both test how fast your tcp or udp server running in userland can receive

Suspect fragmented packets.

2012-08-05 Thread David Walker
Hi. I've had a bridged modem and OpenBSD gateway setup for years on a particular Australian ISP. I've never re-assembled packets and worried over MTU or fragments. Everything just worked ... Recently one of the companies I work for changed ISP. I swapped the relevant details on the gateway,

Re: OpenBSD on GitHub

2012-08-05 Thread Stuart Henderson
On 2012-08-04, Tony ableton...@gmail.com wrote: Personally I'd love to make a fork and contribute back a ton of pull requests, mostly on the documentation side though. No need for all this complication of exporting/syncing between the version control system used by OpenBSD and another one for

Re: Suspect fragmented packets.

2012-08-05 Thread Daniel Melameth
On Sun, Aug 5, 2012 at 7:50 AM, David Walker davidianwal...@gmail.com wrote: I've had a bridged modem and OpenBSD gateway setup for years on a particular Australian ISP. I've never re-assembled packets and worried over MTU or fragments. Everything just worked ... Recently one of the companies

Re: Suspect fragmented packets.

2012-08-05 Thread David Walker
Daniel Melameth daniel () melameth ! com wrote: When using pppoe(4), MSS can be a problem. I recommend you read the MTU/MSS ISSUES section of the man page and see if that resolves your issue. I have read and tried. As far as I can see there's an issue with incoming packets. AFAIUI, MSS will

Re: getty

2012-08-05 Thread Dan Shechter
From my experience with high speed rs232 on Cisco devices it doesn't work too well, and very dependent on distance and cable type. 19200 was always safe and fast enough for _my_ use. BTW, 192600 is not a standard speed. HTH, Dan #13685 (RS/Sec/SP) The CCIE troubleshooting blog:

Re: OpenBSD on GitHub

2012-08-05 Thread Darrin Chandler
On Sat, Aug 04, 2012 at 07:05:38PM +0200, Marc Espie wrote: Well, git just has a different set of bugs than cvs. ... I would deem cvs MORE painful than git on average, it's just that we're more accustomed to the pain... Yes, this is right. And also there would be a price to pay in lost

Re: getty

2012-08-05 Thread Friedrich Locke
I meant 19200 not 192600! I am not using serials, but the computer console on mymonitor. What you think ? On Sun, Aug 5, 2012 at 1:43 PM, Dan Shechter dans...@gmail.com wrote: From my experience with high speed rs232 on Cisco devices it doesn't work too well, and very dependent on distance and

Re: OpenBSD on GitHub

2012-08-05 Thread Ted Unangst
On Sun, Aug 05, 2012 at 10:46, Darrin Chandler wrote: On Sat, Aug 04, 2012 at 07:05:38PM +0200, Marc Espie wrote: Well, git just has a different set of bugs than cvs. ... I would deem cvs MORE painful than git on average, it's just that we're more accustomed to the pain... Yes, this is

Re: Suspect fragmented packets.

2012-08-05 Thread Remi Locherer
On Mon, Aug 06, 2012 at 12:54:48AM +0930, David Walker wrote: Daniel Melameth daniel () melameth ! com wrote: When using pppoe(4), MSS can be a problem. I recommend you read the MTU/MSS ISSUES section of the man page and see if that resolves your issue. I have read and tried. As far as

Re: OpenBSD on GitHub

2012-08-05 Thread Darrin Chandler
On Sun, Aug 05, 2012 at 03:00:04PM -0400, Ted Unangst wrote: I will add a somewhat controversial viewpoint to the mix. Because cvs makes working with branches and large diffs so painful, it forces developers to split their work into smaller pieces. In OpenBSD, that's a good thing. Keeping

Re: Kernel Level Audio Next Generation

2012-08-05 Thread Geoff Steckel
On 08/05/2012 06:02 AM, Alexandre Ratchov wrote: On Tue, Jul 31, 2012 at 10:46:57PM +0300, Alexey Suslikov wrote: Hello misc. http://klang.eudyptula.org/ very interesting ideas. Just curious, why they didn't even try to evaluate OpenBSD sndio. An overall approach to the problem is

Re: OpenBSD on GitHub

2012-08-05 Thread Theo de Raadt
I don't find this controversial, except the notion that sticking with blunt tools to solve a human/procedural problem is a good idea. How else should I, as the maintainer of the trunk, contain the damage from these human/procedural problems? Careful -- every suggestion you want to suggest now

Re: getty

2012-08-05 Thread Ben Calvert
you must read really fast! I prefer to set mine to 300 so I don't need to pipe things to more :) Seriously though, what are you trying to achieve with this setting? just because the text will scroll faster doesn't mean the machine will run faster... it might even slow things down (i have no

ypldap

2012-08-05 Thread Friedrich Locke
Hi folks, will ypldap serve normall files (but group and passwd) just like ypserv ? I mean: amd.home, ethers, etc . Thanks in advance.

Re: OpenBSD on GitHub

2012-08-05 Thread Kenneth R Westerback
On Sun, Aug 05, 2012 at 03:00:04PM -0400, Ted Unangst wrote: On Sun, Aug 05, 2012 at 10:46, Darrin Chandler wrote: On Sat, Aug 04, 2012 at 07:05:38PM +0200, Marc Espie wrote: Well, git just has a different set of bugs than cvs. ... I would deem cvs MORE painful than git on average, it's

Re: OpenBSD on GitHub

2012-08-05 Thread Darrin Chandler
On Sun, Aug 05, 2012 at 02:14:56PM -0600, Theo de Raadt wrote: I don't find this controversial, except the notion that sticking with blunt tools to solve a human/procedural problem is a good idea. How else should I, as the maintainer of the trunk, contain the damage from these

tmux, multiple prefix keys

2012-08-05 Thread LEVAI Daniel
Hi! I'm trying to digest tmux's man page's statement, that it is possible to configure more than one prefix key, and each one will work individually. Now when I execute 'set-option -g prefix ^b,^a', I get Bad key: ^b,^a, what is somehow understandable. But I can't seem to figure out a variation

Re: Suspect fragmented packets.

2012-08-05 Thread Daniel Melameth
On Sun, Aug 5, 2012 at 9:24 AM, David Walker davidianwal...@gmail.com wrote: Daniel Melameth daniel () melameth ! com wrote: When using pppoe(4), MSS can be a problem. I recommend you read the MTU/MSS ISSUES section of the man page and see if that resolves your issue. I have read and tried.

kill a stale user session?

2012-08-05 Thread Alan Cheng
Hello all, I'd like to kill an stale user session, but could not find a way to do that. Seems like there is no process attached to that ttyp4 any more. It's an OpenBSD 5.1 on i386, by the way. Any advice appreciated. some output, more will be provided if necessary. #w 7:44PM up 12 days,

Re: getty

2012-08-05 Thread Nick Holland
On 08/05/12 07:14, Friedrich Locke wrote: I would like to change /etc/ttys to get, for instance: ttyC3 /usr/libexec/getty std.192600 vt220 on secure instead of : ttyC3 /usr/libexec/getty std.9600 vt220 on secure Why? This is not a serial console. (for those that missed

Re: kill a stale user session?

2012-08-05 Thread David Diggles
Try this? ps aux|fgrep acheng@ttyp3 On Mon, Aug 06, 2012 at 10:56:00AM +0800, Alan Cheng wrote: Hello all, I'd like to kill an stale user session, but could not find a way to do that. Seems like there is no process attached to that ttyp4 any more. It's an OpenBSD 5.1 on i386, by the way.

Re: kill a stale user session?

2012-08-05 Thread David Diggles
On Mon, Aug 06, 2012 at 01:38:27PM +1000, David Diggles wrote: Try this? ps aux|fgrep acheng@ttyp3 ps aux|fgrep acheng@ttyp4 do you get the sshd process id you can kill? On Mon, Aug 06, 2012 at 10:56:00AM +0800, Alan Cheng wrote: Hello all, I'd like to kill an stale user session,

Re: ypldap

2012-08-05 Thread Philip Guenther
On Sun, Aug 5, 2012 at 3:11 PM, Friedrich Locke friedrich.lo...@gmail.com wrote: will ypldap serve normall files (but group and passwd) just like ypserv ? I mean: amd.home, ethers, etc . Oddly, a search for 'map' in ypldap.conf(5) answers that question with a list of the currently

Re: kill a stale user session?

2012-08-05 Thread Alan Cheng
Got nothing from ps aux|fgrep acheng@ttyp4. No SSHD process to kill either. The problem for me is that no process belongs to ttyp4, but w still reports an idle session. FYI: $ ps aux|fgrep acheng@ttyp4 $ w 9:57PM up 13 days, 1:31, 3 users, load averages: 0.16, 0.18, 0.23 USERTTY FROM

Re: kill a stale user session?

2012-08-05 Thread David Diggles
http://marc.info/?l=openbsd-miscm=104862612011751w=2 --- List: openbsd-misc Subject:Re: Can't disconnect ghost SSH session from days ago From: Mathieu Sauve-Frankel m.sauve () secureops ! com Date: 2003-03-25 20:59:44 man utmp This ghost user is merely a

Re: kill a stale user session?

2012-08-05 Thread Alan Cheng
Ah ha, I searched marc.info earlier, but my key word did not found that thread. Now I know how it happened and how to fix it. Thanks David. On Mon, Aug 6, 2012 at 1:17 PM, David Diggles da...@elven.com.au wrote: http://marc.info/?l=openbsd-miscm=104862612011751w=2 --- List: