Re: Open BSD commands

2006-06-29 Thread veins
On Thu, Jun 29, 2006 at 08:01:22AM +0100, Andreas Kahari wrote: > On 29/06/06, Ajith Kumar <[EMAIL PROTECTED]> wrote: > >Hi, > >I have two silly questions.. > > > >How to see the memoy details of a OpenBSD machine using commands ? > > > > $ sysctl hw.physmem > hw.physmem=1073278976 > > >How to se

Re: slow realloc: alternate method?

2006-06-16 Thread veins
epends on which data is being stored: just the lines from > the file, or data based on the chars found in the file. > > -Otto > Yup, I used this in (function splitfields) where the delimiter was chosen with getopt: http://etudiant.epitech.net/~veins/sort/sort.c

Re: slow realloc: alternate method?

2006-06-16 Thread veins
On Fri, Jun 16, 2006 at 10:40:29PM +0200, [EMAIL PROTECTED] wrote: > On Fri, Jun 16, 2006 at 10:14:07PM +0200, Otto Moerbeek wrote: > > On Fri, 16 Jun 2006, Jacob Yocom-Piatt wrote: > > > > > i've got some C code that is reading from a 800 MB CSV file and allocates > > > memory > > > for an array

Re: slow realloc: alternate method?

2006-06-16 Thread veins
On Fri, Jun 16, 2006 at 10:14:07PM +0200, Otto Moerbeek wrote: > On Fri, 16 Jun 2006, Jacob Yocom-Piatt wrote: > > > i've got some C code that is reading from a 800 MB CSV file and allocates > > memory > > for an array to store the data in. the method used is to read the CSV file > > line-by-line

Re: Hifn policy on documentation

2006-06-15 Thread veins
Oh well ... I have to admit that I find it quite amusing how some people that do restrict access to documentation are the same that do take advantage of other people's free documentation ... http://marc.theaimsgroup.com/?l=openssl-users&m=114832209207203&w=2 Oh ... wait ... no. I don't find that

Re: Spam Trapping

2006-06-14 Thread veins
On Wed, Jun 14, 2006 at 09:31:49AM -0700, John Draper wrote: > Mike Spenard wrote: > > >What are some thoughts on purposely getting a spam trap email > >address acquired by spammers and the best way to do so. > > It is hard to do initially, unless you want to spend a lot of time > signing up for

Re: Recommended window manager for OpenBSD

2006-05-29 Thread veins
I would definitely recommand ion, it is just the perfect window manager for coders :) I've been a happy fvwm user since 2.7, then a couple years ago happened to walk behind a friend who had ion as his window manager. He had his screen split in such a way that he had permanent view over his edito

Re: Privilege separation & privilege revocation

2006-03-23 Thread veins
--- "=?ISO-8859-1?Q?Jo=E3o_Salvatti?=" <[EMAIL PROTECTED]> wrote: > Hi all, > > I've tried to find any definition on the Internet before but I really > couldn't find a paper or anything that could clear up my doubts. If > anyone here could help me I'd be very thankful. The questions are the > foll

Re: OpenBSD logo in xlock(1) life mode should be updated

2006-01-10 Thread veins
AndrC)s Delfino wrote: The logo which one can see is the old daemon, shouldn't it be Puffy now? should my tatoo be be updated too ? :-)

Re: How Do I Get snprintf(3) to Return -1?

2006-01-05 Thread veins
Otto Moerbeek wrote: On Thu, 5 Jan 2006, veins wrote: I'm having trouble making snprintf return -1. I've tried stuff like: len = snprintf(str, 0, "%.-Z\n", 9); printf("%d", len); but that just prints `2'. Does snprintf ever return -1

Re: How Do I Get snprintf(3) to Return -1?

2006-01-05 Thread veins
I'm having trouble making snprintf return -1. I've tried stuff like: len = snprintf(str, 0, "%.-Z\n", 9); printf("%d", len); but that just prints `2'. Does snprintf ever return -1? -Ray- you might want to take a look at how vfprintf() is implemented in /usr/src/lib/libc

Re: CGD

2006-01-04 Thread veins
Andreas Gunnarsson wrote: On Wed, Jan 04, 2006 at 11:11:01PM +0100, knitti wrote: my threat model includes the follwing two cases. for both of then svnd can't protect me really well case 1) lets say someone can predict some blocks in my encrypted data, then she can find every block (64bit)

web server project

2006-01-04 Thread veins
isnt defintive: http://lab.skreel.org/cgi-bin/cvsweb/eoz/ Sorry for those that are not interested, I won't spam anymore ;-) ++ veins

Re: How did they get here?

2006-01-04 Thread veins
Gaby vanhegan wrote: On 4 Jan 2006, at 16:10, knitti wrote: I would think php, but this doesn't explain it unless you turned the chroot off. Due to historical reasons, we're not running apache chrooted. This is why they're in /tmp rather than /var/www/tmp, or any other place.

Re: CGD

2006-01-03 Thread veins
Karl O. Pinc wrote: On 01/03/2006 09:45:02 PM, Ted Unangst wrote: On 1/3/06, kami petersen <[EMAIL PROTECTED]> wrote: > on a related subject: what's keeping that diff you did to add salting to > vnconfig from hitting the tree? (or something like it) i don't believe that the people asking f

Re: CGD

2006-01-03 Thread veins
--- Ted Unangst <[EMAIL PROTECTED]> wrote: > On 1/3/06, knitti <[EMAIL PROTECTED]> wrote: > > cgd gives users some choice over how to build their encrypted partition. > > you're able to use different ciphers. > > in the unlikely case of a cipher getting broken, you have the possibility > to > > swi

Re: CGD

2006-01-03 Thread veins
--- Ted Unangst <[EMAIL PROTECTED]> wrote: > On 1/3/06, kami petersen <[EMAIL PROTECTED]> wrote: > > on a related subject: what's keeping that diff you did to add salting to > > vnconfig from hitting the tree? (or something like it) > > nobody commented on it. > [...] > I didn't see that diff :(

Re: Blowfish still good enough?

2005-12-29 Thread veins
Travers Buda wrote: [...] No known weaknesses exist in Blowfish, but that 64 bit block scares me. [...] Can you explain why it scares you ? I am not a cryptographer but I see no reason why a cipher using 64 bit block size is scary, all of the attacks I can think of that are tied to the block

Re: (un)desired behaviour of memory protection - or is it gcc?

2005-12-03 Thread veins
ence between local variables and dynamically allocated memory. ++ veins nb. the new memory protection stuff (c) helped me spot bugs in code that ran "perfectly" for years on all kind of systems/architectures. As soon as i ran a project linked with my "working-in-a-so-wo

Re: via S3 Unichrome, anyone ? ;)

2005-09-01 Thread veins
On Fri, 2 Sep 2005 00:16:15 +0200 Maxim Bourmistrov <[EMAIL PROTECTED]> wrote: > Try vesa driver in xorg. > Tried that already :`| -- strlcat,strlcpy: "This is horribly inefficient BSD crap. [...] This is why you use:" *((char *) memcpy (dst, src, n)) = '\0'; -- Ulrich Dr

via S3 Unichrome, anyone ? ;)

2005-09-01 Thread veins
hi my laptop died in the most horrible way (it fell off from the desk ...) and I had to replaced it so i bought a low price workstation. It came with an integrated (*ugh*) via S3 unichrome chipset that is recognized by openbsd at boot time. I tried starting an X session but it just hangs until i l