Re: libc: #define to remove support for %n from printf(3)?

2014-05-02 Thread Bob Beck
What's their hangup with %n? We normally don't like polluting the world with #ifdef OPENSSL_NO_PERCENT_N... We normally nuke stuff like that On 2 May 2014 16:19, "enh" wrote: > i maintain Android's C library which, as you may know, contains a lot > of OpenBSD code. i've been working to clean up

Re: [RFC] Ai_ADDRCONFIG^WAIAIAIAIAIAIAEEEEEEEEE tweaks?

2014-05-02 Thread Henning Brauer
* Kenneth Westerback [2014-05-02 22:14]: > On 2 May 2014 16:08, Paul de Weerd wrote: > > Well, I think -inet6 would be a good default, but I think there's more > > to it. Enabling net.inet6.ip6.accept_rtadv should still get me a > > link-local address (and, if router advertisements are present o

Re: [RFC] Ai_ADDRCONFIG^WAIAIAIAIAIAIAEEEEEEEEE tweaks?

2014-05-02 Thread Jérémie Courrèges-Anglas
Henning Brauer writes: > * Paul de Weerd [2014-05-02 21:20]: >> On Fri, May 02, 2014 at 06:53:08PM +0200, Jérémie Courrèges-Anglas wrote: > [connectivity via link-local] >> | Not really, I'm puzzled by your question. It works and has always >> | worked but I shouldn't expect them to work... >>

Re: [RFC] Ai_ADDRCONFIG^WAIAIAIAIAIAIAEEEEEEEEE tweaks?

2014-05-02 Thread Jérémie Courrèges-Anglas
Paul de Weerd writes: > On Fri, May 02, 2014 at 06:53:08PM +0200, Jérémie Courrèges-Anglas wrote: > | > | What's a regular OpenBSD host with no IPv6? I'd assume that it is > | > | a host that can perform IPv6 connections to ::1 / localhost and reach > | > | its neighbors through link-local addre

Re: [RFC] Ai_ADDRCONFIG^WAIAIAIAIAIAIAEEEEEEEEE tweaks?

2014-05-02 Thread Kenneth Westerback
On 2 May 2014 16:25, Philip Guenther wrote: > On Fri, May 2, 2014 at 1:14 PM, Kenneth Westerback > wrote: >> >> -inet6 as the default seems more OpenBSD'ish to me. Everything off >> that can be off, but not more. > > > "That is not off which can eternal lie, > And with strange aeons even inet4 ma

Re: [RFC] Ai_ADDRCONFIG^WAIAIAIAIAIAIAEEEEEEEEE tweaks?

2014-05-02 Thread Philip Guenther
On Fri, May 2, 2014 at 1:14 PM, Kenneth Westerback wrote: > > -inet6 as the default seems more OpenBSD'ish to me. Everything off > that can be off, but not more. > "That is not off which can eternal lie, And with strange aeons even inet4 may die."

Re: [RFC] Ai_ADDRCONFIG^WAIAIAIAIAIAIAEEEEEEEEE tweaks?

2014-05-02 Thread Kenneth Westerback
On 2 May 2014 16:08, Paul de Weerd wrote: > On Fri, May 02, 2014 at 09:59:09PM +0200, Henning Brauer wrote: > | * Paul de Weerd [2014-05-02 21:20]: > | > On Fri, May 02, 2014 at 06:53:08PM +0200, Jérémie Courrèges-Anglas wrote: > | [connectivity via link-local] > | > | Not really, I'm puzzled by

Re: [RFC] Ai_ADDRCONFIG^WAIAIAIAIAIAIAEEEEEEEEE tweaks?

2014-05-02 Thread Paul de Weerd
On Fri, May 02, 2014 at 09:59:09PM +0200, Henning Brauer wrote: | * Paul de Weerd [2014-05-02 21:20]: | > On Fri, May 02, 2014 at 06:53:08PM +0200, Jérémie Courrèges-Anglas wrote: | [connectivity via link-local] | > | Not really, I'm puzzled by your question. It works and has always | > | worked

Re: [RFC] Ai_ADDRCONFIG^WAIAIAIAIAIAIAEEEEEEEEE tweaks?

2014-05-02 Thread Henning Brauer
* Paul de Weerd [2014-05-02 21:20]: > On Fri, May 02, 2014 at 06:53:08PM +0200, Jérémie Courrèges-Anglas wrote: [connectivity via link-local] > | Not really, I'm puzzled by your question. It works and has always > | worked but I shouldn't expect them to work... > I'm puzzled by the fact it has al

Re: [RFC] Ai_ADDRCONFIG^WAIAIAIAIAIAIAEEEEEEEEE tweaks?

2014-05-02 Thread Paul de Weerd
On Fri, May 02, 2014 at 06:53:08PM +0200, Jérémie Courrèges-Anglas wrote: | > | What's a regular OpenBSD host with no IPv6? I'd assume that it is | > | a host that can perform IPv6 connections to ::1 / localhost and reach | > | its neighbors through link-local addresses. | > | > Why would you expe

nc -F for clients

2014-05-02 Thread Igor Bukanov
A recently added -F option to the nc (netcat) command to pass a connected file descriptor to stdout only works for the listen mode when it passes the accepted descriptor. The patch below makes -F universal. When given it makes nc to always pass the socket to stdout rather than performing the copy

Re: [RFC] AI_ADDRCONFIG tweaks?

2014-05-02 Thread Simon Perreault
Le 2014-05-02 13:19, Jérémie Courrèges-Anglas a écrit : > Some bugs: > - https://sourceware.org/bugzilla/show_bug.cgi?id=12398 > - http://article.gmane.org/gmane.comp.freedesktop.xcb/6973 > - https://svn.boost.org/trac/boost/ticket/8503 > > Links with more information: > - http://fedoraproject.org

Re: [RFC] Ai_ADDRCONFIG^WAIAIAIAIAIAIAEEEEEEEEE tweaks?

2014-05-02 Thread Bob Beck
As somone who has paid out of his own pocket for ARIN access to allocate v6 space for things, I can assure you I am not anti-v6. What I am is anti-I-am-a-v6-zealot-and-submit-diffs-with-no-thought-to-how-everyone-but-my-own-setup-works-and-because-I-am-a-zealot-I-am-right-until-proven-wrong. No.

Re: [RFC] Ai_ADDRCONFIG^WAIAIAIAIAIAIAEEEEEEEEE tweaks?

2014-05-02 Thread Kenneth Westerback
On 2 May 2014 13:24, Bob Beck wrote: > Honestly folks, I'm sick of the attitude of "The future is nigh, the > mystic portal awaits! V6 is coming!" as an excuse for > we *MUST* change things related to this. > > We've been hearing the mystic portal awaits for 15 years - and yet > MANY of us in MANY

Re: [RFC] Ai_ADDRCONFIG^WAIAIAIAIAIAIAEEEEEEEEE tweaks?

2014-05-02 Thread Bob Beck
Honestly folks, I'm sick of the attitude of "The future is nigh, the mystic portal awaits! V6 is coming!" as an excuse for we *MUST* change things related to this. We've been hearing the mystic portal awaits for 15 years - and yet MANY of us in MANY parts of the world still can not get reasonable

Re: [RFC] AI_ADDRCONFIG tweaks?

2014-05-02 Thread Jérémie Courrèges-Anglas
j...@wxcvbn.org (Jérémie Courrèges-Anglas) writes: > Simon Perreault writes: [...] >> Has this caused any real-world problems? > > All the examples I've listed above are cases where programs that used no > hints will now fail. I think they're valid, real-world cases. Some bugs: - https://sour

Re: [RFC] Ai_ADDRCONFIG^WAIAIAIAIAIAIAEEEEEEEEE tweaks?

2014-05-02 Thread Jérémie Courrèges-Anglas
Paul de Weerd writes: > On Fri, May 02, 2014 at 05:35:13PM +0200, Jérémie Courrèges-Anglas wrote: > | > If you're running on a host without IPv6, why would you want > | > getaddrinfo() to return any IPv6 results? What good would it do to you? > | > | What's a regular OpenBSD host with no IPv6?

Re: [RFC] AI_ADDRCONFIG tweaks?

2014-05-02 Thread Paul de Weerd
On Fri, May 02, 2014 at 05:35:13PM +0200, Jérémie Courrèges-Anglas wrote: | > If you're running on a host without IPv6, why would you want | > getaddrinfo() to return any IPv6 results? What good would it do to you? | | What's a regular OpenBSD host with no IPv6? I'd assume that it is | a host tha

Re: [RFC] AI_ADDRCONFIG tweaks?

2014-05-02 Thread Simon Perreault
I think I have already addressed all your points below, no need to rehash endlessly. I'll let others chime in. I'm still very interested in any real-world problems this might have caused. Simon Le 2014-05-02 11:35, Jérémie Courrèges-Anglas a écrit : > Simon Perreault writes: > >> Le 2014-05-02

Re: [RFC] AI_ADDRCONFIG tweaks?

2014-05-02 Thread Jérémie Courrèges-Anglas
Simon Perreault writes: > Le 2014-05-02 10:48, Jérémie Courrèges-Anglas a écrit : >> Let's say you have a machine with no IPv6 address configured (or rather, >> only link-local addresses configured and ::1 on lo0). With the >> AI_ADDRCONFIG flag (either set explicitely or assumed if the caller >>

Re: [RFC] AI_ADDRCONFIG tweaks?

2014-05-02 Thread Simon Perreault
Le 2014-05-02 10:48, Jérémie Courrèges-Anglas a écrit : > Let's say you have a machine with no IPv6 address configured (or rather, > only link-local addresses configured and ::1 on lo0). With the > AI_ADDRCONFIG flag (either set explicitely or assumed if the caller > passes no hints structure): >

Re: [RFC] AI_ADDRCONFIG tweaks?

2014-05-02 Thread Jérémie Courrèges-Anglas
Simon Perreault writes: > Le 2014-05-02 04:13, Jérémie Courrèges-Anglas a écrit : >> I don't like AI_ADDRCONFIG. It's useless as specified, and making it >> useful requires interpretations and deviations. > > Can you justify this? Sounds to me like a blanket statement as it is. Didn't you need

Re: [RFC] AI_ADDRCONFIG tweaks?

2014-05-02 Thread Simon Perreault
Le 2014-05-02 04:13, Jérémie Courrèges-Anglas a écrit : > I don't like AI_ADDRCONFIG. It's useless as specified, and making it > useful requires interpretations and deviations. Can you justify this? Sounds to me like a blanket statement as it is. > My understanding is that its goal is to solve a

Re: Annoying emacs variable in if_spppsubr.c

2014-05-02 Thread Jérémie Courrèges-Anglas
Henning Brauer writes: > I don't think that kind of stuff has any place in our tree whatsoever. > everybody inserting such "hints" for his/her favorite editor...? All other occurrences of 'Local Variables' in the base tree were in source imported from elsewhere or in autoconf-produced files. No

Re: Annoying emacs variable in if_spppsubr.c

2014-05-02 Thread Henning Brauer
I don't think that kind of stuff has any place in our tree whatsoever. everybody inserting such "hints" for his/her favorite editor...? * Jérémie Courrèges-Anglas [2014-05-02 12:11]: > > This one is bugging me each time I start my Emacs session (because Emacs > now asks confirmation for most var

Re: Annoying emacs variable in if_spppsubr.c

2014-05-02 Thread Mike Belopuhov
On 2 May 2014 12:09, Jérémie Courrèges-Anglas wrote: > > This one is bugging me each time I start my Emacs session (because Emacs > now asks confirmation for most variables). This one would be useful > only with hilit19.el (obsolete) from editors/emacs21... if the size of > the file was actually

Annoying emacs variable in if_spppsubr.c

2014-05-02 Thread Jérémie Courrèges-Anglas
This one is bugging me each time I start my Emacs session (because Emacs now asks confirmation for most variables). This one would be useful only with hilit19.el (obsolete) from editors/emacs21... if the size of the file was actually under 12 bytes (it's not anymore). ok to kill it? Index:

Re: What's the pid of the pagedaemon - intro(2)

2014-05-02 Thread Mark Kettenis
> From: j...@wxcvbn.org (=?utf-8?Q?J=C3=A9r=C3=A9mie_Courr=C3=A8ges-Anglas?=) > Date: Fri, 02 May 2014 10:17:45 +0200 > > I don't know when this changed, but the information below seems no > longer relevant. > > ok? Kill it! > Index: intro.2 > ===

What's the pid of the pagedaemon - intro(2)

2014-05-02 Thread Jérémie Courrèges-Anglas
I don't know when this changed, but the information below seems no longer relevant. ok? Index: intro.2 === RCS file: /cvs/src/lib/libc/sys/intro.2,v retrieving revision 1.48 diff -u -p -p -u -r1.48 intro.2 --- intro.2 21 Jan 201

[RFC] AI_ADDRCONFIG tweaks?

2014-05-02 Thread Jérémie Courrèges-Anglas
Hi, I don't like AI_ADDRCONFIG. It's useless as specified, and making it useful requires interpretations and deviations. My understanding is that its goal is to solve a real world problem, as in avoiding useless and potentially harmful DNS requests. So why not make it do that, and just that?