Re: SOLVED OT - C compiler, assignement on double-declared variable with different types

2010-04-10 Thread Jesus Sanchez
El 11/04/2010 8:37, Jesus Sanchez escribis: i don't think so. Use gdb and see where you are writing to. Based on your description of your a.c and b.c, I assume in a.c you have "char foo;" (global), and in b.c you by mistake have "extern int foo;". If your foo variable is at address, say 0x111

Re: SOLVED OT - C compiler, assignement on double-declared variable with different types

2010-04-10 Thread patrick keshishian
On Sat, Apr 10, 2010 at 10:14 PM, Jesus Sanchez wrote: > El 11/04/2010 6:14, Jesus Sanchez escribis: >> >> This is not really OpenBSD related but since it's a UNIX-like OS and >> here are really experienced people coding in C I thought this was a good >> place to ask. >> >> Coding some simple

[no subject]

2010-04-10 Thread Z Wing
Hiya all, Could someone clarify for me the purpose of the bandwidth parameter when used with hfsc? Please consider my queue (512Kb max upload through the ADSL line): altq on em1 bandwidth 500Kb hfsc queue { ack, dns, ssh, other } queue ackbandwidth 95% priority 8 qlimit 500 hfsc (realt

Re: SOLVED OT - C compiler, assignement on double-declared variable with different types

2010-04-10 Thread Jesus Sanchez
El 11/04/2010 6:14, Jesus Sanchez escribis: This is not really OpenBSD related but since it's a UNIX-like OS and here are really experienced people coding in C I thought this was a good place to ask. Coding some simple stuff in C I ended up having a harmless mistake (I hope) a double-decla

Re: Execute startup script as

2010-04-10 Thread Rod Whitworth
On Sat, 10 Apr 2010 22:27:06 -0500, Abel Abraham Camarillo Ojeda wrote: >> You are going about this the wrong way. sudo(8) is primarily >> designed to give additional priviledges to an unpriviledged user. >> You want to use su(1): >> >> su $USERNAME -c $DAEMON -g $CONFIGDIR >> >> -- >> Christian

OT - C compiler, assignement on double-declared variable with different types

2010-04-10 Thread Jesus Sanchez
This is not really OpenBSD related but since it's a UNIX-like OS and here are really experienced people coding in C I thought this was a good place to ask. Coding some simple stuff in C I ended up having a harmless mistake (I hope) a double-declared variable with different types (char and i

Re: Execute startup script as

2010-04-10 Thread Abel Abraham Camarillo Ojeda
na...@mips.inka.de (Christian Weisgerber) wrote: > Mats-Gxran Karlsen wrote: > > > I'm trying to create a startup script that executes the transmission-daemon > > as > > a regular user. > > > /usr/bin/sudo -u $USERNAME -p $PASSWD $DAEMON -g $CONFIGDIR > > You are going about this the wrong way.

Re: is skype using encryption?

2010-04-10 Thread VICTOR TARABOLA CORTIANO
> Check the source. Oh wait lol

Re: is skype using encryption?

2010-04-10 Thread Ted Unangst
On Sat, Apr 10, 2010 at 10:55 AM, Jozsi Vadkan wrote: > Can someone [same subnet, e.g.: with a hub, not switch..] sniff my skype > password when i'm using Skype? Is it encrypted? Check the source. Oh wait

Re: Execute startup script as

2010-04-10 Thread Owain Ainsworth
On Sat, Apr 10, 2010 at 12:38:25PM +0200, Mats-G?ran Karlsen wrote: > Hello. > > I'm running a headless OpenBSD server. > > I'm trying to create a startup script that executes the transmission-daemon as > a regular user. > > Details: > > located in /etc/transmission/rc.transmission > > permiss

Re: Attaching to a USB keyboard

2010-04-10 Thread Stuart Henderson
On 2010/04/10 12:43, Jens Teglhus Mxller wrote: > On 09-04-2010 15:06, Stuart Henderson wrote: > >On 2010-04-09, Jens Teglhus M?ller wrote: > >>Is it possible for a process to consume all output for a (this) particular > >>keyboard > >I don't know about that.. > > What i was fishing for was if it

Re: ACPI so close I can almost taste it...

2010-04-10 Thread Pau
hey! I have a thinkpad x200s and with a recent snapshot I can confirm here that the laptop suspends in a fraction of a second and resumes again almost immediately Unfortunately, after some few seconds, even if if looks as if everything had gone just perfect (em0, usb etc are resumed), I get ahci

updating packages with ports binaries

2010-04-10 Thread Andreas Gerdd
I follow stable tree, OPENBSD_4_6 branch. I'd like to update some of my packages. As an example, # pkg_add -unvi tiff gives the following message; 'No need to update tiff-3.8.2p4' but my /usr/ports (OPENBSD_4_6) has tiff-3.8.2p5. After running 'make package' inside ./graphics/tiff, i got the binar

Re: is skype using encryption?

2010-04-10 Thread Alastair Johnson
from 2005 http://share.skype.com/sites/security/2005/10/skype_security_and_encryption.html and from that: http://www.skype.com/security/files/2005-031%20security%20evaluation.pdf On 10 April 2010 15:55, Jozsi Vadkan wrote: > Can someone [same subnet, e.g.: with a hub, not switch..] sniff my

Re: Execute startup script as

2010-04-10 Thread Christian Weisgerber
Mats-Gxran Karlsen wrote: > I'm trying to create a startup script that executes the transmission-daemon as > a regular user. > /usr/bin/sudo -u $USERNAME -p $PASSWD $DAEMON -g $CONFIGDIR You are going about this the wrong way. sudo(8) is primarily designed to give additional priviledges to an

Re: ACPI so close I can almost taste it...

2010-04-10 Thread Pau
PS: > Unfortunately, after some few seconds, even if if looks as if > everything had gone just perfect (em0, usb etc are resumed), I get Sorry, that's not true. It does not resume. It looks like, but when I get the prompt I cannot even make a "ls" Then I get the panic.

pkg_add -F update downgrades the packages

2010-04-10 Thread Ozgur Kazancci
Hello. pkg_add -nui -F update -F updatedepends downgrades packages to their lower versions. output: Candidates for updating mysql-client-5.0.89 -> mysql-client-5.0.83 Candidates for updating mysql-server-5.0.89 -> mysql-server-5.0.83 Candidates for updating p5-DBD-mysql-4.010 -> p5-DBD-mysql-4.01

spamlogd and authenticated synchronisation of spamd

2010-04-10 Thread Rene Maroufi
Hi, I read man spamd and man spamlogd about synchronisation. In man spamlogd i miss a point: If i use the authentication of spamd synchronisation messages with a /etc/mail/spamd.key file, what happens with the sync messages of spamlogd? The manpage of spamlogd doesn't tell me anything about authen

Re: is skype using encryption?

2010-04-10 Thread Johan Beisser
On Sat, Apr 10, 2010 at 7:55 AM, Jozsi Vadkan wrote: > Can someone [same subnet, e.g.: with a hub, not switch..] sniff my skype > password when i'm using Skype? Is it encrypted? Why are you asking a Skype support question on an OpenBSD mailing list? The best way to know is to dump the data yours

El Universal Online Informa

2010-04-10 Thread SERVICIO TECNICO REFRIGERADORES
Sabado 10 de abril de 2010 CRISLI SERVICIO TECNICO REFRIGERADORES Y LAVADORAS FONO 5549005: Reparaciones de refrigeradores a domiclio - Bio-Bio 684 FONO 5549005 CONSULTE POR VISITAS A DOMICILIO El Universal te informa que SERVICIO TECNICO REFRIGERADORES ha accesado un artmculo en nuestro por

İSTANBUL-DAN RUSYA-YA BİR GÜNDE KARGO SERVİSİ

2010-04-10 Thread Sanex Express 0212 474 65 65
Sanex Express SANEX EXPRESS LTD (TURKEY) Call Center:0090 212 474 65 65 Pbx :0090 212 655 90 73 :0090 212 655 90 83 Fax:0090 212 655 54 37 Office Gsm:0090 542 318 05 05 Msn:sanexexpr...@hotmail.com Web:www.sanexexpress.com.tr SANEX CARGO ]le Paketler Ertesi G|n RUSYA 'da Rusya ya Gidecek Za

Re: Daily digest, Issue 1772 (32 messages)

2010-04-10 Thread Damon McMahon
Mats, 2010/4/10 : > -- Forwarded message -- > From: "Mats-Gxran Karlsen" > To: misc@openbsd.org > Date: Sat, 10 Apr 2010 12:38:25 +0200 > Subject: Execute startup script as > Hello. > > I'm running a headless OpenBSD server. > > I'm trying to create a startup script that execute

is skype using encryption?

2010-04-10 Thread Jozsi Vadkan
Can someone [same subnet, e.g.: with a hub, not switch..] sniff my skype password when i'm using Skype? Is it encrypted? Thank you for the info

Livros Usados, Raros e Esgotados

2010-04-10 Thread Economize até 70%
Caso nco consiga visualizar este e-mail, clique no link abaixo: http://www.sebosonline.com/news/email.aspx?NewsID=9 [IMAGE] Destaques Trjs Pegas de Martins Pena LIVRO: Trjs Pegas de Martins Pena por: R$ 4,90 Macunamma LIVRO: Macunamma por: R$ 10,00 Lucmola LIVRO: Lucmola por: R$ 10,00 Mens

Re: Execute startup script as

2010-04-10 Thread Jussi Peltola
On Sat, Apr 10, 2010 at 12:38:25PM +0200, Mats-Gxran Karlsen wrote: > -rw-r- 1 root wheel 390 Jul 13 18:30 rc.transmission it's not executable > The following is appended to /etc/rc.conf use rc.conf.local

Re: [SOLVED] Re: Howto Create a Auto-Extract Package with Shell Script & tar ?

2010-04-10 Thread Aaron Lewis
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > the only thing you probably want to change is the directory, so > something like > > make INSTALLDIR=/usr/share/foo/bar > > and you can put a default definition for INSTALLDIR in the Makefile > Yeah , right , modify such a macro is yet another go

Re: [SOLVED] Re: Howto Create a Auto-Extract Package with Shell Script & tar ?

2010-04-10 Thread Stuart Henderson
On 2010/04/10 18:41, Aaron Lewis wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 04/10/2010 06:25 PM, Stuart Henderson wrote: > > On 2010-04-10, Aaron Lewis wrote: > >> > >> Hi, > >>I'm trying to make a small binary package , which aims to install some > >> X11 fonts to /usr/s

Re: Attaching to a USB keyboard

2010-04-10 Thread Jens Teglhus Møller
On 09-04-2010 15:06, Stuart Henderson wrote: On 2010-04-09, Jens Teglhus M?ller wrote: Is it possible for a process to consume all output for a (this) particular keyboard I don't know about that.. What i was fishing for was if it is possible in a simple way (like having a proc

Execute startup script as

2010-04-10 Thread Mats-Gøran Karlsen
Hello. I'm running a headless OpenBSD server. I'm trying to create a startup script that executes the transmission-daemon as a regular user. Details: located in /etc/transmission/rc.transmission permissions -rw-r- 1 root wheel 390 Jul 13 18:30 rc.transmission Script follows: ---

[SOLVED] Re: Howto Create a Auto-Extract Package with Shell Script & tar ?

2010-04-10 Thread Aaron Lewis
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/10/2010 06:25 PM, Stuart Henderson wrote: > On 2010-04-10, Aaron Lewis wrote: >> >> Hi, >> I'm trying to make a small binary package , which aims to install some >> X11 fonts to /usr/share/fonts/truetype. > > /usr/share/fonts/truetype -> n

[SOLVED] Re: Howto Create a Auto-Extract Package with Shell Script & tar ?

2010-04-10 Thread Aaron Lewis
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/10/2010 04:56 PM, Toni Mueller wrote: > Hello, > > On Sat, 10.04.2010 at 09:17:53 +0800, Aaron Lewis > wrote: >> Firstly i need to compress my fonts to a Font_Name.tar.bz2 , if i want >> to put the extract script and Font_Name.tar.bz2 tog

Re: Howto Create a Auto-Extract Package with Shell Script & tar ?

2010-04-10 Thread Stuart Henderson
On 2010-04-10, Aaron Lewis wrote: > > Hi, > I'm trying to make a small binary package , which aims to install some > X11 fonts to /usr/share/fonts/truetype. /usr/share/fonts/truetype -> not portable > Creating such a binary package will allow me to port it on any > UNIX/Linux system

Re: Howto Create a Auto-Extract Package with Shell Script & tar ?

2010-04-10 Thread Aaron Lewis
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/10/2010 05:22 PM, Jean-Philippe Ouellet wrote: > > If you are really only trying to distribute a package of fonts, you're > better off just distributing it as is, and telling people where to > extract it on a given system. If you look at most bu

Re: problems with carp based firewall - all connections are suspended after falling back from failover

2010-04-10 Thread tom baecker
> This can happen if the list of addresses, netmasks vhid and password > of an carp interface is not exactly the same on the two hosts. > >-Otto I'm confused, because if I reboot in this case the Secondary, all carp interfaces swiched to Master state on primary, without any packet loss. I

Re: problems with carp based firewall - all connections are suspended after falling back from failover

2010-04-10 Thread Otto Moerbeek
On Sat, Apr 10, 2010 at 11:10:42AM +0200, tom baecker wrote: > > net.inet.carp.preempt Allow virtual hosts to preempt each other. > > Set it to 0 and give it a try. > > > > I try it, and after the primary comes up again - the established > connections stay active - great! > But 1 of 3 carp

Re: Howto Create a Auto-Extract Package with Shell Script & tar ?

2010-04-10 Thread Jean-Philippe Ouellet
On 4/9/10 9:17 PM, Aaron Lewis wrote: Hi, I'm trying to make a small binary package , which aims to install some X11 fonts to /usr/share/fonts/truetype. Creating such a binary package will allow me to port it on any UNIX/Linux system , very useful. Firstly i need to compr

Re: problems with carp based firewall - all connections are suspended after falling back from failover

2010-04-10 Thread tom baecker
> net.inet.carp.preempt Allow virtual hosts to preempt each other. > Set it to 0 and give it a try. > I try it, and after the primary comes up again - the established connections stay active - great! But 1 of 3 carp interfaces dont fall back to the Master mode at the Primary: carp:

Re: Howto Create a Auto-Extract Package with Shell Script & tar ?

2010-04-10 Thread Toni Mueller
Hello, On Sat, 10.04.2010 at 09:17:53 +0800, Aaron Lewis wrote: > Firstly i need to compress my fonts to a Font_Name.tar.bz2 , if i want > to put the extract script and Font_Name.tar.bz2 together , a single > bundle , howto archive it ? > > Right now , i tried to append the Archive

Re: problems with carp based firewall - all connections are suspended after falling back from failover

2010-04-10 Thread Tony Sarendal
On Sat, Apr 10, 2010 at 9:44 AM, tom baecker wrote: > Hello, > > I've setup a openbsd-ha firewall, based on the > http://www.openbsd.org/faq/pf/carp.html. > > If the master goes down - the backup system become the Master rule. > All established connections are in sync and stay active - so thats >

problems with carp based firewall - all connections are suspended after falling back from failover

2010-04-10 Thread tom baecker
Hello, I've setup a openbsd-ha firewall, based on the http://www.openbsd.org/faq/pf/carp.html. If the master goes down - the backup system become the Master rule. All established connections are in sync and stay active - so thats perfect. But if the original Master system comes back again and fal