Re: ospfd filtering

2013-06-03 Thread Loïc BLOT
Hi Sorry for the double, but i have forgotten the kroute.c in my diff, then i cannot work :) Have a nice day --- old/usr.sbin/ospfd/kroute.c 2011-11-15 05:17:46.0 +0100 +++ OpenBSD/usr.sbin/ospfd/kroute.c 2013-05-31 22:37:59.434032287 +0200 @@ -1,6 +1,7 @@ -/* $OpenBSD:

Re: Western Digital - Advanced Format

2013-06-03 Thread MD
On 03/06/13 06:01, Otto Moerbeek wrote: On Mon, Jun 03, 2013 at 03:34:07AM +0100, MD wrote: On 01/06/13 15:59, MD wrote: On 01/06/13 12:56, Kenneth R Westerback wrote: On Sat, Jun 01, 2013 at 07:38:50AM +0100, MD wrote: Recently obtained WD7500-BPKT (750g) hard drive that apparently snip

Header files for C/C++ development

2013-06-03 Thread eatg75
Hi there I am 'experimenting' with OpenBSD and pondering to switch from Linux to OpenBSD, I have installed OpenBSD in a virtual machine and during the installation I did not select the comp53 package when I rebooted and installed clang a tried to compile a simple hello world in C and I got

Re: Header files for C/C++ development

2013-06-03 Thread Matthew Dempsky
On Sun, Jun 2, 2013 at 11:14 PM, eatg75 eat...@hotmail.com wrote: Can someone help me. You need to install the comp53 package.

Re: Header files for C/C++ development

2013-06-03 Thread Matthew Dempsky
On Sun, Jun 2, 2013 at 11:53 PM, Matthew Dempsky matt...@dempsky.org wrote: On Sun, Jun 2, 2013 at 11:14 PM, eatg75 eat...@hotmail.com wrote: Can someone help me. You need to install the comp53 package. Er, sorry, the comp53 set.

Re: Header files for C/C++ development

2013-06-03 Thread Jérémie Courrèges-Anglas
eatg75 eat...@hotmail.com writes: Hi there I am 'experimenting' with OpenBSD and pondering to switch from Linux to OpenBSD, I have installed OpenBSD in a virtual machine and during the installation I did not select the comp53 package when I rebooted and installed clang a tried to compile a

Re: Header files for C/C++ development

2013-06-03 Thread Tito Mari Francis Escaño
Since you already installed the system, you can extract comp53.tgz on / so you don't have to reinstall if I recall correctly. YMMV but hope this helps. On Mon, Jun 3, 2013 at 2:54 PM, Jérémie Courrèges-Anglas j...@wxcvbn.orgwrote: eatg75 eat...@hotmail.com writes: Hi there I am

Re: Header files for C/C++ development

2013-06-03 Thread Janne Johansson
If only the FAQ had answers to questions like this... Oh wait = http://www.openbsd.org/faq/faq4.html#AddFileSet 2013/6/3 Tito Mari Francis Escaño titomarifran...@gmail.com Since you already installed the system, you can extract comp53.tgz on / so you don't have to reinstall if I recall

Re: Header files for C/C++ development [SOLVED]

2013-06-03 Thread eatg75
Thank you guys for time and attention, I have just tried the solution @Tito presented and It works! Again thank you all. eatg75

Re: bug in ksh tab complete

2013-06-03 Thread LEVAI Daniel
On v, jún 02, 2013 at 20:02:17 -0400, Ted Unangst wrote: (1) I'm in src/usr.sbin/pkg_add. I type vi pod/tab. ksh prints some completions for me: athens:~/src/usr.sbin/pkg_add vi pod/ CVS/ OpenBSD::PackingElement.pod ... (2) I type Opentab. ksh completes a little more for me:

Re: 005_in6.patch

2013-06-03 Thread Olivier Debre
J. Scott Heppler shepper at earthlink.net writes: The latest patch for 5.3 has incomplete instructions /usr/src has previously been cd /usr/src and the patch did not find the file on my i386 install. Also, isn't the diff supposed to be modified from: --- in6.c 30 Nov 2012 13:48:12

Re: A tricky pf + ecmp routing + squid question [Disregard - SOLVED]

2013-06-03 Thread Stuart Henderson
On 2013-06-02, Rob Sheldon r...@associatedtechs.com wrote: Sorry for the noise. OpenBSD 5.3 introduced Squid 3.2, which now checks the destination IP of inbound packets against the Host: header in interception mode. This breaks rdr-to, which makes nearly every howto online incorrect (joy).

Re: A tricky pf + ecmp routing + squid question [Disregard - SOLVED]

2013-06-03 Thread Stuart Henderson
On 2013-06-02, Loïc BLOT loic.b...@unix-experience.fr wrote: Hello rob, i'm using squid since 3.1 on OpenBSD 5.2 with compiled sources (squid 3.2.5-9 and 3.3.4 at this time). Building it yourself with squid's default options sets things up for the old method with rdr-to. The port is setup to

Re: ral(4) or ath(4)

2013-06-03 Thread Stuart Henderson
On 2013-06-01, Lars Nooden lars.noo...@gmail.com wrote: Are there any big reasons not to choose ral(4) over ath(4) for a host ap? I've been trying out three wireless cards on -current as host access points. So far it seems that ral(4) works better, but is quite weak on the overall range

Re: 005_in6.patch

2013-06-03 Thread Stuart Henderson
On 2013-06-03, Olivier Debre tichodr...@free.fr wrote: J. Scott Heppler shepper at earthlink.net writes: The latest patch for 5.3 has incomplete instructions /usr/src has previously been cd /usr/src and the patch did not find the file on my i386 install. Also, isn't the diff supposed to

Re: Header files for C/C++ development [SOLVED]

2013-06-03 Thread Nick Holland
On 06/03/13 03:39, eatg75 wrote: Thank you guys for time and attention, I have just tried the solution @Tito presented and It works! Again thank you all. eatg75 This is one of many reasons we recommend new users just install the entire system, not pick and chose the things they think they

Re: A tricky pf + ecmp routing + squid question [Disregard - SOLVED]

2013-06-03 Thread Rob Sheldon
On 2013-06-03 4:07, Stuart Henderson wrote: I've updated the README. In future please could you make sure that any suggestions relating to ports are sent (or at least CC'd) to the MAINTAINER? It's easy to miss things in the mailing lists (and a lot of developers don't read misc regularly).

Re: OSPF ABR/ASBR issue

2013-06-03 Thread Kapetanakis Giannis
On 01/06/13 18:44, Claudio Jeker wrote: Can you give this diff a spin? Not much tested but the current way we define an area as active (having at least one active neighbor) is wrong. This changes the decision to have at least one active interface (not IF_STA_DOWN). Not sure if that will cause

Re: ral(4) or ath(4)

2013-06-03 Thread Stefan Sperling
On Mon, Jun 03, 2013 at 11:16:37AM +, Stuart Henderson wrote: If you're buying something new, athn is usually the best choice, it is available in minipci as well as minipcie. There are several newish athn which we don't support yet.

ALTQ(32bit)

2013-06-03 Thread emigrant
Hi ALTQ can't use 10Gb NIC? altq support max 4,3Gb bandwidth, because altq is a 32bit. It's true?

Re: ALTQ(32bit)

2013-06-03 Thread Peter N. M. Hansteen
On Mon, Jun 03, 2013 at 03:34:47PM +0200, emigrant wrote: Hi ALTQ can't use 10Gb NIC? altq support max 4,3Gb bandwidth, because altq is a 32bit. It's true? ALTQ is old code (perhaps move obviously so to German speakers than others ;)), a replacement is in the pipeline but not immediately

Re: ALTQ(32bit)

2013-06-03 Thread Andy
Hi, We're really looking forward to improvements in ALTQ too. And we are /really/ hoping that the queues can either be shared across interfaces (so your WAN downstream bandwidth doesn't have to be sliced up and divided up across all the internal interfaces), or that you can create queues on

Re: bug in ksh tab complete

2013-06-03 Thread Ted Unangst
On Mon, Jun 03, 2013 at 09:45, LEVAI Daniel wrote: --- edit.c.orig 2012-10-31 19:21:31.742319303 +0100 +++ edit.c2012-10-31 19:21:44.031181937 +0100 @@ -809,7 +809,7 @@ int rval = 0; for (add = 0, wlen = len; wlen - add 0; add++) { - if (strchr(\#$'()*;=?[\\]`{|},

PF policy routing route-to rules don’t catch any packet

2013-06-03 Thread Raimundo Santos
Hi there! I asked, without an answer, something about nat-to and real IPs. Well, I really need an answer there, so if someone get a clue, I will be glad tho hear :) Now, to the new issue! Here in our WiFi ISP we are have contracted a tproxy service from FreeBSD Brasil. It is somehow working,

Re: bug in ksh tab complete

2013-06-03 Thread Jérémie Courrèges-Anglas
Ted Unangst t...@tedunangst.com writes: [...] If ksh is going to treat : as magic, then it needs to escape it when autocompleting. (step 2 above) I do agree, but... why should ':' be special? -- Jérémie Courrèges-Anglas PGP Key fingerprint: 61DB D9A0 00A4 67CF 2A90 8961 6191 8FBF 06A1 1494

Re: bug in ksh tab complete

2013-06-03 Thread Philip Guenther
On Mon, Jun 3, 2013 at 9:29 AM, Jérémie Courrèges-Anglas j...@wxcvbn.org wrote: Ted Unangst t...@tedunangst.com writes: If ksh is going to treat : as magic, then it needs to escape it when autocompleting. (step 2 above) I do agree, but... why should ':' be special? So that things like

Re: ALTQ(32bit)

2013-06-03 Thread Chris Cappuccio
Andy [a...@brandwatch.com] wrote: Hi, We're really looking forward to improvements in ALTQ too. And we are /really/ hoping that the queues can either be shared across interfaces (so your WAN downstream bandwidth doesn't have to be sliced up and divided up across all the internal

Re: bug in ksh tab complete

2013-06-03 Thread Marc Espie
On Mon, Jun 03, 2013 at 09:33:25AM -0700, Philip Guenther wrote: On Mon, Jun 3, 2013 at 9:29 AM, Jérémie Courrèges-Anglas j...@wxcvbn.org wrote: Ted Unangst t...@tedunangst.com writes: If ksh is going to treat : as magic, then it needs to escape it when autocompleting. (step 2 above)

Re: bug in ksh tab complete

2013-06-03 Thread Jérémie Courrèges-Anglas
Philip Guenther guent...@gmail.com writes: On Mon, Jun 3, 2013 at 9:29 AM, Jérémie Courrèges-Anglas j...@wxcvbn.org wrote: Ted Unangst t...@tedunangst.com writes: If ksh is going to treat : as magic, then it needs to escape it when autocompleting. (step 2 above) I do agree, but... why

PANIC when loading pf rules

2013-06-03 Thread Raimundo Santos
Hello! If you are following my debut here in misc@ (if not, please help me to put our OpenBSD to rock this network!), you are somehow familiar with my problems. I was trying to reproduce the panic in another context, but unsuccessful... it only happens in production. Well, this is the ruleset:

5.3 relayd instability -- crashes with hce exiting

2013-06-03 Thread Andrew Klettke
Hey all, Ever since upgrading to 5.3 a pair of firewalls whose main job is running relayd, we're seeing significant instability compared to the 5.2 version. Right now we're seeing relayd crash around 8 times a day, with the following not-so-informative error message 'hce exiting' (names of

Re: 5.3 relayd instability -- crashes with hce exiting

2013-06-03 Thread Sebastian Benoit
Hi, unfortunatly you do not show your configfile, so i have to guess (you can send it to me in private if you do not want to send it to a mailing-list). You have a relay or redirect with ssl in your config? Please try the attached patch, it's against -current, but should apply on 5.3. Apply by

Re: 5.3 relayd instability -- crashes with hce exiting

2013-06-03 Thread Andrew Klettke
Thanks very much Sebastian, I'll try this and let you know how it goes once I'm cleared to do so. Thanks, Andrew Klettke Systems Admin Optic Fusion On 06/03/2013 03:05 PM, Sebastian Benoit wrote: Hi, unfortunatly you do not show your configfile, so i have to guess (you can send it to me in

PHPUnit2 on OBSD 5.3

2013-06-03 Thread Tito Mari Francis Escaño
Good day, I was trying to setup a PHP 5.x devt environment and was planning to have PHPUnit for unit testing purposes and other test-driven devt tasks, so I installed pear-PHPUnit2 package. However when I tried to run PHPUnit, it doesn't work, there isn't even a CLI command for it. Can somebody