Finding active interface and its ip address within a perl script ?

2010-10-12 Thread Aaron Lewis
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I'm trying to write a simple script which can grab the ip address of current active interface. e.g iwn0 - 10.7.22.23/24 , route 10.7.22.254 em0 - 192.168.133.2/24 , route 192.168.133.1 ( active ,

Re: Finding active interface and its ip address within a perl script ?

2010-10-12 Thread joshua stein
But is there any better ways to work it out ? you could get the ip of the interface that the default route is going through: route -n get default | grep 'if address' | sed 's/.*: //' or ask ifconfig what is in the egress group and assume the first ip on the first interface will be

[SOLVED] Re: Finding active interface and its ip address within a perl script ?

2010-10-12 Thread Aaron Lewis
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/12/2010 02:23 PM, joshua stein wrote: But is there any better ways to work it out ? you could get the ip of the interface that the default route is going through: route -n get default | grep 'if address' | sed 's/.*: //' or

bsd: uvm_mapent_alloc: out of static map entries

2010-10-12 Thread Tomas Bodzar
Hi all, subject says a lot, but I will of course provide some details. I'm reading trough archives, but I don't have server and I can't see problems with numbers in outputs as in those cases. It's plain workstation and when that happen my X die and I will end in console so I need to startx again.

Re: insecure scheduler in OpenBSD 4.7

2010-10-12 Thread Jean-Francois
I've been convinced not to biy NVidia anymore. Le Tuesday 12 October 2010 06:04:27, Tomas Bodzar a C)crit : First of all people don't use NVIDIA crap for hosting platform (or any other use). Or at least they try to avoid it as much as possible. As you can see in your dmesg you have quite a lot

IVI support ?

2010-10-12 Thread Xavier Beaudouin
Hello, About IPv6 and IPv4 access, my company want to kill dual stack stuff or limit them to minimum possible if possible and avoid subnetting that loose unfortunatly ips every time. Our idea is to have all our system to be IPv6 only native and when an IPv4 wants to access to an IPv6 service,

Re: insecure scheduler in OpenBSD 4.7

2010-10-12 Thread Alexandre Ratchov
On Tue, Oct 12, 2010 at 12:41:04AM +0400, Dmitry-T wrote: I'm install OpenBSD 4.7 (dmesg attached) uname -a OpenBSD d1.my.domain 4.7 GENERIC#112 amd64 Run as root: dd if=/dev/wd0c of=/dev/null bs=1m dd if=/dev/wd0c of=/dev/null bs=1m dd if=/dev/wd0c of=/dev/null bs=1m top load

Re: insecure scheduler in OpenBSD 4.7

2010-10-12 Thread Oliver Peter
On Tue, 12 Oct 2010 13:57:20 +0200 Alexandre Ratchov a...@caoua.org wrote: It is not secure. One user script or program may load CPU and database or another servers lost speed in disk operations. This is hole for DOS attacks in OpenBSD design. Yeah, this is an attack root can do by

Re: IVI support ?

2010-10-12 Thread Pete Vickers
For v6 clients to access v4 services, see this RFC: http://tools.ietf.org/html/draft-ietf-behave-v6v4-xlate-stateful-12 Implemented on OpenBSD via pf BIND patches: http://ecdysis.viagenie.ca/ /Pete On 12. okt. 2010, at 13.01, Xavier Beaudouin wrote: Hello, About IPv6 and IPv4

Re: Why renice not work in OpenBSD?

2010-10-12 Thread frantisek holop
hmm, on Mon, Oct 11, 2010 at 07:12:57AM -0500, Jacob Yocom-Piatt said that use linux, you are clearly a moron, it will suit you better. your civility on this mailing list is decreasing by the day. it was much better when you started. perhaps now you feel you earned some right to call people

Re: IVI support ?

2010-10-12 Thread Xavier Beaudouin
Hi Pete, Le 12 oct. 2010 ` 14:40, Pete Vickers a icrit : For v6 clients to access v4 services, see this RFC: http://tools.ietf.org/html/draft-ietf-behave-v6v4-xlate-stateful-12 Implemented on OpenBSD via pf BIND patches: http://ecdysis.viagenie.ca/ I know that... In fact this exactly

Re: insecure scheduler in OpenBSD 4.7

2010-10-12 Thread Дмитрий Царьков
On Tue, Oct 12, 2010 at 12:09 AM, Dmitry-T dmitr...@yandex.ru wrote: dd only example. Look around: Linux, Mac OS X, FreeBSD... why defend a design error? I just wanted to wonder, what are You doing here if You think that OpenBSD developpers are incompetent and tend to protect any of their

Re: Why renice not work in OpenBSD?

2010-10-12 Thread Jacob Yocom-Piatt
On 10/12/10 07:54, frantisek holop wrote: hmm, on Mon, Oct 11, 2010 at 07:12:57AM -0500, Jacob Yocom-Piatt said that use linux, you are clearly a moron, it will suit you better. your civility on this mailing list is decreasing by the day. it was much better when you started. perhaps now you

Re: ZFS and Storage Systems

2010-10-12 Thread Michal
It would be even better to simply ask them what exact Supermicro hardware (specifically, model numbers) they're using to build these systems. You can see Supermicro mentioned in thetitle of their site, so that's definitely what they're using, even down to the controller card offerings (some of

Re: insecure scheduler in OpenBSD 4.7

2010-10-12 Thread J Sisson
On Mon, Oct 11, 2010 at 5:09 PM, Dmitry-T dmitr...@yandex.ru wrote: dd only example. Look around: Linux, Mac OS X, FreeBSD... why defend a design error? Because Linux/Mac OS X/FreeBSD are the yardsticks that all Unix systems must measure up to, right?

Re: ZFS and Storage Systems

2010-10-12 Thread BSD4Life
On Tue, 12 Oct 2010 14:58:30 +0100 Michal mic...@sharescope.co.uk wrote: It would be even better to simply ask them what exact Supermicro hardware (specifically, model numbers) they're using to build these systems. You can see Supermicro mentioned in thetitle of their site, so that's

Re: IVI support ?

2010-10-12 Thread Martin Pelikán
2010/10/12, Xavier Beaudouin k...@oav.net: Our idea is to have all our system to be IPv6 only native and when an IPv4 wants to access to an IPv6 service, IVI can do the translation (this is not magic, but the idea is to provide specific IPv6 hosts to be visible Does OpenBSD has somewhat

Re: insecure scheduler in OpenBSD 4.7

2010-10-12 Thread Jordi Espasa Clofent
How you use the OpenBSD as web servers and hosting platform? Permanently catch and kill processes? OpenBSD is a great solution as a web-hosting platform; no more to say: it is. I've been involved for more than 3 years in web-hosting industry and I know the facts and what are you talking about

Re: insecure scheduler in OpenBSD 4.7

2010-10-12 Thread Christiano F. Haesbaert
Russian rappers... go figure

Re: Why renice not work in OpenBSD?

2010-10-12 Thread frantisek holop
hmm, on Tue, Oct 12, 2010 at 08:33:55AM -0500, Jacob Yocom-Piatt said that trolls abound on this list, you can count yourself amongst their numbers. why not harass any of the other people who, like me, were rightly critical of dmitry? you do it because you are a troll. i know, asking for a bit

Re: Why renice not work in OpenBSD?

2010-10-12 Thread Theo de Raadt
On Mon, Oct 11, 2010 at 12:45:39PM +0400, Dmitry-T wrote: 11.10.10, 12:13, Claudio Jeker cje...@diehard.n-r-g.com: You try to renice I/O bound processes. The scheduler priority only matters when processes are CPU bound. Yes of course, but... all my dd processes use CPU.

Re: OpenBSD on ZAURUS SL-6000L

2010-10-12 Thread Theo de Raadt
is it possible to put OpenBSD on the Zaurus SL-6000L model ? On this link I not see it in the list of supported device : ftp://ftp.openbsd.org/pub/OpenBSD/4.7/zaurus/INSTALL.zaurus Or the lack is the space on / ? The file lists all the machines we run on. OpenBSD/zaurus runs on the

Re: bsd: uvm_mapent_alloc: out of static map entries

2010-10-12 Thread Stuart Henderson
On 2010-10-12, Tomas Bodzar tomas.bod...@gmail.com wrote: subject says a lot, but I will of course provide some details. I'm reading trough archives, but I don't have server and I can't see problems with numbers in outputs as in those cases. It's plain workstation and when that happen my X die

Re: Mobile VPN

2010-10-12 Thread Andres Genovez
2010/10/2 Evgeniy Sudyr eject.in...@gmail.com I was able to get it working with 4.6/4.7 and E60/E65/E52 it works as expected :) It works!!! Funciona! Wonderfull it works! I am using my 3g carrier on NOKIA E71 Need to update the codec to g729, I have erratic Ips like random 172.XXX.XXX.XXX

29 de Octubre México DF/ Seminario Nacional Medidas de Prevención en las Empresas Contra Demandas Laborales

2010-10-12 Thread Lic Liz Valencia
Congress Marketing Se complace en traer a usted por znica ocasisn en este 2010 nuestro exclusivo seminario: Medidas de Prevencisn en las Empresas Contra Demandas Laborales. En la actualidad, debemos de tomar en cuenta que una demanda es el inicio de un juicio laboral, en la cual se dirige a

Re: Why renice not work in OpenBSD?

2010-10-12 Thread Dmitry-T
12.10.10, 20:46, Theo de Raadt dera...@cvs.openbsd.org: On Mon, Oct 11, 2010 at 12:45:39PM +0400, Dmitry-T wrote: 11.10.10, 12:13, Claudio Jeker : You try to renice I/O bound processes. The scheduler priority only matters when processes are CPU bound. Yes

Re: Why renice not work in OpenBSD?

2010-10-12 Thread Matthew Dempsky
On Tue, Oct 12, 2010 at 1:15 PM, Dmitry-T dmitr...@yandex.ru wrote: Have OpenBSD non-preemptible kernel code? OpenBSD kernel code running in process context (i.e., kernel threads and user processes running system calls) cannot preempt one another. However, interrupts may preempt processes or

Re: Why renice not work in OpenBSD?

2010-10-12 Thread Ted Unangst
On Tue, Oct 12, 2010 at 4:27 PM, Matthew Dempsky matt...@dempsky.org wrote: On Tue, Oct 12, 2010 at 1:15 PM, Dmitry-T dmitr...@yandex.ru wrote: Have OpenBSD non-preemptible kernel code? OpenBSD kernel code running in process context (i.e., kernel threads and user processes running system

Re: Why renice not work in OpenBSD?

2010-10-12 Thread Dmitry-T
13.10.10, 00:27, Matthew Dempsky matt...@dempsky.org: On Tue, Oct 12, 2010 at 1:15 PM, Dmitry-T wrote: Have OpenBSD non-preemptible kernel code? OpenBSD kernel code running in process context (i.e., kernel threads and user processes running system calls) cannot preempt one another.

MPlayer man page

2010-10-12 Thread Mikle Krutov
Hello, list! While reading the man page of MPlayer, i've noticed lots of headers of it. That is kind of wrong. Version of MPlayer package is mplayer-20090708p4-sdl With headers i mean: The MPlayer Project 2009-03-25 1 MPlayer(1) The Movie Player

Re: MPlayer man page

2010-10-12 Thread Jacob Meuser
On Wed, Oct 13, 2010 at 02:18:27AM +, Mikle Krutov wrote: Hello, list! While reading the man page of MPlayer, i've noticed lots of headers of it. That is kind of wrong. Version of MPlayer package is mplayer-20090708p4-sdl With headers i mean: The MPlayer Project 2009-03-25

Re: MPlayer man page

2010-10-12 Thread frantisek holop
hmm, on Tue, Oct 12, 2010 at 11:28:19PM +, Jacob Meuser said that On Wed, Oct 13, 2010 at 02:18:27AM +, Mikle Krutov wrote: Hello, list! While reading the man page of MPlayer, i've noticed lots of headers of it. That is kind of wrong. Version of MPlayer package is

Re: MPlayer man page

2010-10-12 Thread Ingo Schwarze
Hi Jacob, hi Mikle, Jacob Meuser wrote on Tue, Oct 12, 2010 at 11:28:19PM +: On Wed, Oct 13, 2010 at 02:18:27AM +, Mikle Krutov wrote: While reading the man page of MPlayer, i've noticed lots of headers of it. That is kind of wrong. Version of MPlayer package is

Re: MPlayer man page

2010-10-12 Thread Mikle Krutov
On Tue, Oct 12, 2010 at 11:28:19PM +, Jacob Meuser wrote: On Wed, Oct 13, 2010 at 02:18:27AM +, Mikle Krutov wrote: Hello, list! While reading the man page of MPlayer, i've noticed lots of headers of it. That is kind of wrong. Version of MPlayer package is mplayer-20090708p4-sdl

Force passwordcheck in login.conf

2010-10-12 Thread Brad Tilley
I was experimenting with a program to meet PCI DSS 1.2 password length and content/complexity requirements and integrating it with login.conf for users who have shell access to OpenBSD systems. It seems to work as expected, but I wanted to run my configuration by misc. I appended the following

¡CÓMO HACER CRECER SU NEGOCIO! SEMINARIO DE CRECIMIENTO PARA PYMES OCTUBRE 26.

2010-10-12 Thread Sandra Lozano
[IMAGE] !Promociones Especiales para Grupos! Mayores informes responda este correo electrsnico con los siguientes datos. Empresa: Nombre: Telifono: Email: Nzmero de Interesados: Y en breve le haremos llegar la informacisn completa del evento. O bien comunmquense a nuestros telifonos un

Evento sobre Tecnicas de negociacion e influencia - 26 de octubre

2010-10-12 Thread Eventos ESAG | Uruguay
C I C L O D E E V E N T O S 2 0 1 0 E S A G Sres/Sras de: misc@openbsd.org Ticnicas de negociacisn e influencia Desarrolle habilidades que potenciaran sus ventas, compras, relaciones laborales y personales. Conceptos de negociacisn Fases de la negociacisn Estrategias de negociacisn

LISBON ROCK FEST - Sexta/Sabado 15/16 Outubro @ Santiago Alquimista

2010-10-12 Thread Void Creations
Se nC#o visualizares esta pC!gina correctamente, clica aqui http://voidcreationsnewsletter.com/eventos/2010-10-15/email.html Adiciona-nos C tua safe-list, para garantir que recebes sempre a info dos nossos eventos. **Apresenta:** **