Re: GCC 2.95 mention in intro(3)

2013-09-13 Thread Jason McIntyre
On Fri, Sep 13, 2013 at 01:03:01PM +1000, Brett Mahar wrote: Hi misc, I think the GCC 2.95 line is no longer relevant. This time I remember to: ok? yes, ok ;) jmc Brett. Index: src/share/man/man3/intro.3 === RCS

Re: X -configure segmentation fault

2013-09-13 Thread howard eisenberger
On Tue, Sep 10, 2013 at 10:18:43PM +, Heptas Torres wrote: I am trying to generate a starting xorg.conf file by running X -configure but get a segmentation fault error (output below). Any ideas what could go wrong? Have tried this both in a VMware guest and on real hardware but I get the

Re: 10GBit OpenBSD Firewall

2013-09-13 Thread Henning Brauer
* Andy a...@brandwatch.com [2013-09-02 15:55]: Also I'm very willing to beta test the new ALTQ code? I was chatting to Theo briefly a few weeks back and he said I should ask for the code but I cannot remember who in the team he said I should message for this? c'est moi. diff at

Which syscall is used for creating new process/thread on OpenBSD

2013-09-13 Thread niXman
Hi, [intro]This question was originally asked on StackOverflow, but so far I have not get a response.[/intro] In Linux, 'clone()' syscall is used for creating processes/threads. On OpenBSD using ktrace/kdump I determined that for process creation 'vfork()' syscall is used, and for thread

Re: 10GBit OpenBSD Firewall

2013-09-13 Thread noah pugsley
On Fri, Sep 13, 2013 at 12:02 AM, Henning Brauer lists-open...@bsws.dewrote: * Andy a...@brandwatch.com [2013-09-02 15:55]: Also I'm very willing to beta test the new ALTQ code? I was chatting to Theo briefly a few weeks back and he said I should ask for the code but I cannot remember who

Re: 10GBit OpenBSD Firewall

2013-09-13 Thread Janne Johansson
If you queue your http traffic, downloading those pics are not that bad on the links. ;) 2013/9/13 noah pugsley noah.pugs...@gmail.com On Fri, Sep 13, 2013 at 12:02 AM, Henning Brauer lists-open...@bsws.de wrote: * Andy a...@brandwatch.com [2013-09-02 15:55]: Also I'm very willing to

Re: 10GBit OpenBSD Firewall

2013-09-13 Thread Henning Brauer
* noah pugsley noah.pugs...@gmail.com [2013-09-13 09:12]: Gosh darn you Henning and your gigantic bavarian slides! Gosh darn you to heck. I'm not barb... erm, bavarian. -- Henning Brauer, h...@bsws.de, henn...@openbsd.org BS Web Services GmbH, http://bsws.de, Full-Service ISP Secure Hosting,

Re: Which syscall is used for creating new process/thread on OpenBSD

2013-09-13 Thread Ted Unangst
On Fri, Sep 13, 2013 at 11:10, niXman wrote: On OpenBSD using ktrace/kdump I determined that for process creation 'vfork()' syscall is used, and for thread creation - 'tfork()'. I have two questions: 1. Is my statement correct? somewhat. fork() would be the syscall more likely to create a

Re: Which syscall is used for creating new process/thread on OpenBSD

2013-09-13 Thread Martijn van Duren
On Fri, 2013-09-13 at 11:10 +0400, niXman wrote: Hi, [intro]This question was originally asked on StackOverflow, but so far I have not get a response.[/intro] In Linux, 'clone()' syscall is used for creating processes/threads. On OpenBSD using ktrace/kdump I determined that for process

Re: Bootparamd

2013-09-13 Thread Florian Obser
On Thu, Sep 12, 2013 at 08:17:56PM +, hru...@gmail.com wrote: Miod Vallat m...@online.fr wrote: Thanks for the good tips! I think the bootparams swap file information will be used correctly (I remember seeing a fix in this area some time ago). It doesn't hurt anyway to mention it

Re: sudo configuration !ttytickets?

2013-09-13 Thread Donovan Watteau
On Thu, 12 Sep 2013 13:43:21 -0700, Todd C. Miller wrote: On Wed, 11 Sep 2013 20:59:08 -0400, Michael W. Lucas wrote: I've noticed that the sudo on OpenBSD seems to have !ttytickets set by default. In other words, I authenticate sudo once on, say, ttyp4, and all of my login sessions on

Re: sudo configuration !ttytickets?

2013-09-13 Thread Nick Holland
On 09/13/13 06:44, Donovan Watteau wrote: On Thu, 12 Sep 2013 13:43:21 -0700, Todd C. Miller wrote: On Wed, 11 Sep 2013 20:59:08 -0400, Michael W. Lucas wrote: I've noticed that the sudo on OpenBSD seems to have !ttytickets set by default. In other words, I authenticate sudo once on,

Re: sudo configuration !ttytickets?

2013-09-13 Thread Donovan Watteau
On 09/13/13, Nick Holland wrote: On 09/13/13 06:44, Donovan Watteau wrote: Hi, Am I right thinking that sudo in base is still vulnerable to CVE-2013-1776 for those who enable tty_tickets? BTW, I was thinking about the following use case: PermitRootLogin set to no, and a simple

res_init() and 0.0.0.0

2013-09-13 Thread Kapetanakis Giannis
Hi, Could someone help me debug this following program on OBSD? #include sys/types.h #include sys/socket.h #include netinet/in.h #include arpa/inet.h #include arpa/nameser.h #include resolv.h main() { int i; res_init(); printf(Number of NS in resolv.conf is %d\n,

Re: res_init() and 0.0.0.0

2013-09-13 Thread Otto Moerbeek
On Fri, Sep 13, 2013 at 03:01:45PM +0300, Kapetanakis Giannis wrote: Hi, Could someone help me debug this following program on OBSD? #include sys/types.h #include sys/socket.h #include netinet/in.h #include arpa/inet.h #include arpa/nameser.h #include resolv.h main() { int

install5x.iso

2013-09-13 Thread Richard Thornton
I am curious - given that OpenBSD ships each RELEASE with X , but applications like Firefox will not work without installing another DE, like XFCE; why not ship OpenBSD with the basic X, but with the necessary libraries to allow FireFox to run and other applications like R to output graphics?

Re: res_init() and 0.0.0.0

2013-09-13 Thread Kapetanakis Giannis
On 13/09/13 16:34, Otto Moerbeek wrote: Groping into _res is not a wise thing. The OpenBSD async resolver only has minimal support for that. ASR_DEBUG=1 ./a.out Will probably get you the debug info you want. -Otto Thanks for the reply. As I said this is for debugging a legacy

Re: res_init() and 0.0.0.0

2013-09-13 Thread Otto Moerbeek
On Fri, Sep 13, 2013 at 05:30:50PM +0300, Kapetanakis Giannis wrote: On 13/09/13 16:34, Otto Moerbeek wrote: Groping into _res is not a wise thing. The OpenBSD async resolver only has minimal support for that. ASR_DEBUG=1 ./a.out Will probably get you the debug info you want.

Re: res_init() and 0.0.0.0

2013-09-13 Thread Kapetanakis Giannis
On 13/09/13 17:36, Otto Moerbeek wrote: the program uses the following: sendto(resfd, msg, len, 0, (struct sockaddr *) (_res.nsaddr_list[i]), sizeof(struct sockaddr)) instead of sending requests to 192.168.0.1 it sends them to 127.0.0.1 (from tcpdump) any

Re: install5x.iso

2013-09-13 Thread Richard Thornton
In general I really like and appreciate all that is done by developers with OpenBSD. The OS is stable and it works well, and shipping it with X already functional is a big help, especially on older boxes. Because to compile xorg with this old sparc box under FreeBSD was taking 24 hours and it

Re: res_init() and 0.0.0.0

2013-09-13 Thread Otto Moerbeek
On Fri, Sep 13, 2013 at 05:57:41PM +0300, Kapetanakis Giannis wrote: On 13/09/13 17:36, Otto Moerbeek wrote: the program uses the following: sendto(resfd, msg, len, 0, (struct sockaddr *) (_res.nsaddr_list[i]), sizeof(struct sockaddr)) instead of

Re: install5x.iso

2013-09-13 Thread Gregor Best
On Fri, Sep 13, 2013 at 10:06:10AM -0400, Richard Thornton wrote: I am curious - given that OpenBSD ships each RELEASE with X , but applications like Firefox will not work without installing another DE, [...] That is not true. I ran Firefox and Chrome on a clean OpenBSD 4.9 installation when

Re: GCC 2.95 mention in intro(3)

2013-09-13 Thread Jim MacKenzie
-Original Message- From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf Of Brett Mahar Sent: Thursday, September 12, 2013 9:03 PM To: misc@openbsd.org Subject: GCC 2.95 mention in intro(3) I think the GCC 2.95 line is no longer relevant. I'm not sure if it

Re: GCC 2.95 mention in intro(3)

2013-09-13 Thread Sebastian Reitenbach
On Friday, September 13, 2013 18:06 CEST, Jim MacKenzie j...@photojim.ca wrote: -Original Message- From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf Of Brett Mahar Sent: Thursday, September 12, 2013 9:03 PM To: misc@openbsd.org Subject: GCC 2.95 mention

Re: GCC 2.95 mention in intro(3)

2013-09-13 Thread David Coppa
On Fri, Sep 13, 2013 at 6:06 PM, Jim MacKenzie j...@photojim.ca wrote: -Original Message- From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf Of Brett Mahar Sent: Thursday, September 12, 2013 9:03 PM To: misc@openbsd.org Subject: GCC 2.95 mention in intro(3) I

Re: GCC 2.95 mention in intro(3)

2013-09-13 Thread Jim MacKenzie
-Original Message- From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf Of David Coppa Sent: Friday, September 13, 2013 10:14 AM To: Jim MacKenzie Cc: misc Subject: Re: GCC 2.95 mention in intro(3) I think the GCC 2.95 line is no longer relevant. I'm not

Re: GCC 2.95 mention in intro(3)

2013-09-13 Thread Brad Smith
On 13/09/13 1:13 PM, Jim MacKenzie wrote: -Original Message- From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf Of David Coppa Sent: Friday, September 13, 2013 10:14 AM To: Jim MacKenzie Cc: misc Subject: Re: GCC 2.95 mention in intro(3) I think the GCC 2.95 line is

Re: install5x.iso

2013-09-13 Thread Fred Crowson
How much memory and disk does your SPARC have? You might want to consider a lighter weight browser like midori or netsurf - I've not bother powering up my old SPARC boxes for about five years - and I always ran them headless, so my advice is a bit out of date ;~) hth Fred On 13 Sep 2013 16:40,

easy-rsa script for OpenVPN issue

2013-09-13 Thread Predrag Punosevac
Deal All, I am trying to set up OpenVPN server at my work on the freshly installed OpenBSD machine using a 5.4 snapshot from July 30 (i386) and the ports tree fetched the same day. We must use OpenVPN so I am not interested in alternatives. After spending several hours I made no progress as I

Re: install5x.iso

2013-09-13 Thread Greg Thomas
I gave up on Firefox and Chrome on my low memory older laptops, found midori, and using it everywhere now. It has exactly what I need and no more. On Fri, Sep 13, 2013 at 10:21 AM, Fred Crowson fred.crow...@gmail.comwrote: How much memory and disk does your SPARC have? You might want to

Re: easy-rsa script for OpenVPN issue

2013-09-13 Thread Predrag Punosevac
On 13.09.2013 14:14, Predrag Punosevac wrote: Deal All, I am trying to set up OpenVPN server at my work on the freshly installed OpenBSD machine using a 5.4 snapshot from July 30 (i386) and the ports tree fetched the same day. We must use OpenVPN so I am not interested in