RFC 7606 fixes in openbgpd

2016-10-31 Thread Peter Hessler
draft-ietf-idr-optional-transitive-00 became RFC 7606, and updated a few things. - PARTIAL flag is no longer considered protection - sometimes, 0 len is invalid as well OK? Index: rde.c === RCS file:

Re: update net/py-pcapy

2016-10-30 Thread Peter Hessler
On 2016 Oct 30 (Sun) at 15:17:34 +0100 (+0100), Jeremie Courreges-Anglas wrote: :Peter Hessler <phess...@openbsd.org> writes: : :> I would like to use pcapy in a python3 module, so we need to update it. :> :> However, when I run the test program, I get the following error: :>

Re: step missing from "2016/10/14" followig -current?

2016-10-30 Thread Peter Hessler
On 2016 Oct 30 (Sun) at 12:28:36 +0100 (+0100), Ingo Schwarze wrote: :> Everybody would have had, had it been included in /etc/skel/.cvsrc :^) :> Worth adding? : :I (mildly) oppose that. Providing customization files by default :is an oxymoron that provokes exactly the problems seen here. People

show bgp unknown attributes in bgpctl and tcpdump

2016-10-14 Thread Peter Hessler
While working on Large Communities, I realized that I would really like to easily see and know when I am receiving "unknown" attributes. Patch for tcpdump is easy, if it doesn't have a decoder, just print the type and length. You can use -X to see the raw hex. Path for bgpctl is a bit more

Re: bgpd draft-ietf-idr-large-community

2016-10-13 Thread Peter Hessler
On 2016 Oct 11 (Tue) at 00:00:53 +0200 (+0200), Peter Hessler wrote: :Here is an initial implementation of draft-ietf-idr-large-community for :OpenBGPD. I can connect and exchange routes with these attributes :against exabgp. : :Normal communities are two 16bit numbers. With the addition

bgpd draft-ietf-idr-large-community

2016-10-10 Thread Peter Hessler
Here is an initial implementation of draft-ietf-idr-large-community for OpenBGPD. I can connect and exchange routes with these attributes against exabgp. Normal communities are two 16bit numbers. With the addition of 32bit ASNs, those will not work if you wish to control one of them. Large

BFD: route get and route monitor

2016-09-30 Thread Peter Hessler
This diff makes route get and route monitor work. sockaddr_bfd is so we can play like the other RTAX_* indexes in rti_info of route messages. OK? $ route -n monitor got message of size 128 on Wed Sep 28 21:35:32 2016 RTM_BFD: bidirectional forwarding

Re: traceroute(8): drop to _traceroute user

2016-09-27 Thread Peter Hessler
On 2016 Sep 27 (Tue) at 11:12:40 + (+), Florian Obser wrote: :On Tue, Sep 27, 2016 at 11:32:00AM +0100, Stuart Henderson wrote: :> I just discovered an implication of the ping/traceroute changes: :> bgplg users now need pwd.db in /var/www/etc. :> : :Ooops. I guess this is a documentation

Re: util.c patch res_comp.c patch

2016-09-26 Thread Peter Hessler
On 2016 Sep 26 (Mon) at 14:31:04 -0500 (-0500), Edgar Pettijohn wrote: :On 16-09-26 09:26:04, Gilles Chehade wrote: :> On Sun, Sep 25, 2016 at 11:20:39AM -0500, Edgar Pettijohn wrote: :> > In my testing it did not, but I could be wrong. :> > :> > On 16-09-25 17:56:42, Eric Faurot wrote: :> > > On

bgpd: local-as

2016-09-26 Thread Peter Hessler
We already have a local AS saved per peer. Let's use it. This is very useful when one needs to change their local AS. " neighbor 192.0.2.1 { remote-as 65530 local-as 131000 } " OK? Index: parse.y === RCS file:

Re: let openbgpd announce rtlabels

2016-09-24 Thread Peter Hessler
On 2016 Sep 14 (Wed) at 16:41:53 +0200 (+0200), Peter Hessler wrote: :It is quite common to want to do a cross-protocol readvertisement from :IGP->EGP. We can add rtlabels in bgpd and ospfd, but only advertise :in ospfd. : :This diff lets bgpd announce routes based on rtlabels. The exist

Re: net80211: parse DTIM count and period from TIM IE

2016-09-20 Thread Peter Hessler
OK On 2016 Sep 20 (Tue) at 14:14:49 +0200 (+0200), Stefan Sperling wrote: :Parse the DTIM count and period advertised in beacons and store them :in the node structure. This should be useful for iwm(4) in the future. :The TIM IE is documented in 802.11-2012 section "8.4.2.7 TIM element". : :ok? :

Re: teach BFD how to send route messages, again

2016-09-20 Thread Peter Hessler
On 2016 Sep 17 (Sat) at 12:05:54 +0200 (+0200), Peter Hessler wrote: :This is a 2nd pass at having BFD send route messages. : :I fixed the things pointed out in the first thread, with the following :comments: : : route(8) for the ramdisks is not built with SMALL, so adding SMALL :won't help

Re: teach BFD how to send route messages, again

2016-09-20 Thread Peter Hessler
On 2016 Sep 18 (Sun) at 20:29:57 +0200 (+0200), Peter Hessler wrote: :On 2016 Sep 17 (Sat) at 13:15:56 +0200 (+0200), Peter Hessler wrote: ::Tested on an amd64 bsd.rd. dhclient, route add, route del, route show, ::all still work, and it's slightly smaller. :: : :All options, commands, modifiers

Re: teach BFD how to send route messages, again

2016-09-18 Thread Peter Hessler
On 2016 Sep 17 (Sat) at 13:15:56 +0200 (+0200), Peter Hessler wrote: :On 2016 Sep 17 (Sat) at 04:50:29 -0600 (-0600), Theo de Raadt wrote: ::> route(8) for the ramdisks is not built with SMALL, so adding SMALL ::> won't help. :: ::Then you'll help it. By compiling them SMALL. : :Ha

Re: teach BFD how to send route messages, again

2016-09-17 Thread Peter Hessler
On 2016 Sep 17 (Sat) at 04:50:29 -0600 (-0600), Theo de Raadt wrote: :> route(8) for the ramdisks is not built with SMALL, so adding SMALL :> won't help. : :Then you'll help it. By compiling them SMALL. Happilly. Tested on an amd64 bsd.rd. dhclient, route add, route del, route show, all still

teach BFD how to send route messages, again

2016-09-17 Thread Peter Hessler
This is a 2nd pass at having BFD send route messages. I fixed the things pointed out in the first thread, with the following comments: route(8) for the ramdisks is not built with SMALL, so adding SMALL won't help. rt_bfdmsg() is named in the same style, and is in the same place, as the other

Re: teach BFD how to send route messages

2016-09-16 Thread Peter Hessler
On 2016 Sep 15 (Thu) at 16:30:50 +0200 (+0200), Peter Hessler wrote: :Based on the above, and a few private comments, I will change the name :away from bfd_softc. Here is a diff doing a massive rename. It is mostly mechanical, functional changes will come later. I can still establish and bring

Re: list all iwm(4) firmware files

2016-09-16 Thread Peter Hessler
None of those files are actually used in the code, so this would not make sense. On 2016 Sep 16 (Fri) at 10:45:06 +0200 (+0200), Jan Stary wrote: :Index: iwm.4 :=== :RCS file: /cvs/src/share/man/man4/iwm.4,v :retrieving revision

Re: teach BFD how to send route messages

2016-09-15 Thread Peter Hessler
On 2016 Sep 15 (Thu) at 14:47:24 +0200 (+0200), Peter Hessler wrote: :On 2016 Sep 15 (Thu) at 13:28:10 +0200 (+0200), Martin Pieuchot wrote: ::On 14/09/16(Wed) 15:50, Peter Hessler wrote: ::> + ::> + bfd = pool_get(_pool_msghdr, PR_WAITOK | PR_ZERO); :: ::This doesn't make sense

Re: teach BFD how to send route messages

2016-09-15 Thread Peter Hessler
On 2016 Sep 15 (Thu) at 16:18:46 +0200 (+0200), Henning Brauer wrote: :* Peter Hessler <phess...@openbsd.org> [2016-09-15 14:48]: :> On 2016 Sep 15 (Thu) at 13:28:10 +0200 (+0200), Martin Pieuchot wrote: :> :By the way 'softc' is generally for device drivers, you might prefer :>

let openbgpd announce rtlabels

2016-09-14 Thread Peter Hessler
It is quite common to want to do a cross-protocol readvertisement from IGP->EGP. We can add rtlabels in bgpd and ospfd, but only advertise in ospfd. This diff lets bgpd announce routes based on rtlabels. The existing "cannot announce routes that point to localhost" and "cannot announce

teach BFD how to send route messages

2016-09-14 Thread Peter Hessler
This is a work-in-progress diff that I would like to commit. I can print a few things, but there is a problem when trying to bring in more fields. Printing is also ugly, but I can fix that in-tree. While here, I print the descr's as ints, the same way Juniper does it. I also had to add

Re: cwm(1): Enable numpad Enter on menus

2016-08-28 Thread Peter Hessler
On 2016 Aug 27 (Sat) at 23:53:14 -0300 (-0300), Henrique N. Lengler wrote: :> Hi, :> :> This is a tiny patch to enable the use of numpad Enter key on cwm menus. :> :> Regards, :> :> Henrique N. Lengler : :No intention to apply this? : :Numpad enter key is is recognized by every program on

Re: pid for RTM_ADD

2016-08-17 Thread Peter Hessler
On 2016 Aug 17 (Wed) at 10:39:51 +0100 (+0100), Stuart Henderson wrote: :On 2016/08/17 10:11, Peter Hessler wrote: :> It sure would be nice if we could see the PID of the process that added :> routes. Heck, route(8) even tries to print them already. :> :> Add the fields to the approp

pid for RTM_ADD

2016-08-17 Thread Peter Hessler
It sure would be nice if we could see the PID of the process that added routes. Heck, route(8) even tries to print them already. Add the fields to the appropriate struct, and while here, document which fields are in sync. (requested by krw@) OK? Index: net/if.h

bgpd.conf: make it clear what "announce IPv6 unicast" does

2016-08-16 Thread Peter Hessler
The man page is a bit confusing for how we can control which address families we support during the capabilities negotiation. Slightly reorganize the man page to be more clear, and explicitly state what the default is. OK? Index: bgpd.conf.5

Re: bgpd logging nexthop valid

2016-06-20 Thread Peter Hessler
On 2016 Jun 19 (Sun) at 17:39:53 +0200 (+0200), Sebastian Benoit wrote: :i would like to make bgpd a bit more quiet. : :This type of message : : bgpd[59424]: nexthop 1.2.3.4 now valid: via 192.168.0.1 : :happens quite often depending on your upstreams. This makes it a debug :message only. : :ok? :

Re: bgpd: print AS range

2016-06-04 Thread Peter Hessler
This didn't quite work, as log_as will override itself when used twice in the same printf. I also fixed some knf bits. On 2016 Jun 04 (Sat) at 22:13:07 +0200 (+0200), Denis Fondras wrote: :With the support of AS range filtering, we need to print the configuration :accordingly. : :Before : :#

Re: bgpd: filter as path with operators

2016-05-31 Thread Peter Hessler
On 2016 May 31 (Tue) at 08:10:22 +0200 (+0200), Claudio Jeker wrote: :On Mon, May 30, 2016 at 10:43:49PM +0200, Sebastian Benoit wrote: :> /Benno :> :> diff --git etc/examples/bgpd.conf etc/examples/bgpd.conf :> index 8ffa8a8..02a31f9 100644 :> --- etc/examples/bgpd.conf :> +++

Re: ifconfig(8): Do not print MPSAFE

2016-05-07 Thread Peter Hessler
SINCE THIS IS UNDER HEAVY DEVELOPMENT: as a user, I want to know if my interface is marked as MP safe or not. I don't care if this is done in dmesg, or in ifconfig. once it stabilizes, I'm happy for the notice to go away. On 2016 May 07 (Sat) at 16:56:02 +0200 (+0200), Martin Pieuchot wrote:

bgpd: dispatch_rtmsg_addr[change] mpath route not found

2016-03-31 Thread Peter Hessler
We see occasional bgpd deaths during boot. This is apparently caused by a race with ospfd starting up. The underlying problem is we are reciving a CHANGE route message for an MPATH path, where the gateway doesn't match the route message. In our case, the prefix is assigned to a Connected (and

Re: route(4) diff

2016-03-22 Thread Peter Hessler
OK On 2016 Mar 22 (Tue) at 10:47:53 +0100 (+0100), Sebastian Benoit wrote: :add missing RTF_CONNECTED. :remove ESIS (End System to Intermediate System Protocol), ann NDP in :comment. :add information about RTF_FMASK. : :ok? : :diff --git share/man/man4/route.4 share/man/man4/route.4 :index

Re: bgpd: fix adding a new interface and network inet connected

2016-03-21 Thread Peter Hessler
On 2016 Mar 21 (Mon) at 16:22:53 +0100 (+0100), Claudio Jeker wrote: :On Mon, Mar 21, 2016 at 03:54:38PM +0100, Peter Hessler wrote: :> We ran into a situation where we accidentally blackholed traffic going to :> a new Internet Exchange. When we added the new vlans and new peers, the :>

Re: bgpd: fix adding a new interface and network inet connected

2016-03-21 Thread Peter Hessler
On 2016 Mar 21 (Mon) at 16:22:53 +0100 (+0100), Claudio Jeker wrote: :On Mon, Mar 21, 2016 at 03:54:38PM +0100, Peter Hessler wrote: :> We ran into a situation where we accidentally blackholed traffic going to :> a new Internet Exchange. When we added the new vlans and new peers, the :>

bgpd: fix adding a new interface and network inet connected

2016-03-21 Thread Peter Hessler
We ran into a situation where we accidentally blackholed traffic going to a new Internet Exchange. When we added the new vlans and new peers, the nexthop address on that vlan was *not* our neighbor's address, but instead used our own IP address on that new interface. "bgpctl show rib", showed

Re: spamd - blacklists

2016-03-16 Thread Peter Hessler
On 2016 Mar 16 (Wed) at 10:53:36 +1100 (+1100), Damien Miller wrote: :On Tue, 15 Mar 2016, li...@wrant.com wrote: : :> What's going on with the BGP as a transport then, is it available to :> the general public? Must be much better than the fubar DNS. Nackts :> thing and we'd be attempting

Re: I have a program I wish to submit for the base

2016-02-02 Thread Peter Hessler
On 2016 Feb 01 (Mon) at 15:31:25 -0600 (-0600), Luke Small wrote: :I think that there is some unwritten policy that nobody can get something :like this into the system. Why on earth hasn't this happened yet? Your proposed addition has been rejected, and will continue to be rejected. 1) The code

Re: Patch to new PF FAQ entry

2016-01-10 Thread Peter Hessler
This is not a bug. As long as the router for the dhcp client has a route to the DNS server, then they can connect. On 2016 Jan 10 (Sun) at 20:53:23 +0100 (+0100), Pablo M??ndez Hern??ndez wrote: :Hi tech@, : :Below you can find what I think is a typo and an error. As far as I :understand it the

Re: Make ix(4) mpsafe: take 2

2015-12-05 Thread Peter Hessler
On 2015 Dec 05 (Sat) at 16:16:50 +0100 (+0100), Hrvoje Popovski wrote: :On 4.12.2015. 17:35, Hrvoje Popovski wrote: :> On 4.12.2015. 12:47, Mark Kettenis wrote: :>> Here is a new diff to make ix(4) mpsafe. Should now longer get stuck :>> in the OACTIVE state. Tests more than welcome. :>> :> :>

Re: Completely disable 2D acceleration on Broadwell

2015-12-02 Thread Peter Hessler
On 2015 Dec 02 (Wed) at 17:13:32 +1100 (+1100), Jonathan Gray wrote: :On Tue, Dec 01, 2015 at 04:44:39PM +0100, Mark Kettenis wrote: :> As tedu@ reported (and some pople on misc@ confirmed) partly disabling :> 2D acceleration on Broadwell made X unstable. It really looks like :> the alternative

Re: give cron a sensible default max load_avg for batch jobs

2015-11-14 Thread Peter Hessler
On 2015 Nov 13 (Fri) at 20:28:01 -0700 (-0700), Todd C. Miller wrote: :On Fri, 13 Nov 2015 16:45:44 -0700, Theo de Raadt wrote: : :> > This patch changes the default setting to 1.5 * :> > (number_of_cpus_in_system) instead, which I find better matches modern :> > behaviour. :> :> A larger number

Re: utf8 hack for ls

2015-10-23 Thread Peter Hessler
As a different approach to ls, I wrote this a while ago. This uses the wchar_t functions, but only in putname(). On 2015 Oct 23 (Fri) at 08:42:52 -0400 (-0400), Ted Unangst wrote: :So, third diff to ponder as we evaluate this approach. This one also uses a :u8len() function to help get the

Re: Unlocking em(4) a bit further

2015-09-30 Thread Peter Hessler
On 2015 Sep 28 (Mon) at 23:53:13 +0200 (+0200), Mark Kettenis wrote: :This diff makes the tx completion path run without the kernel lock :held. With this change, the interrupt handler will not grab the :kernel lock under normal circumstances. The diff follows the same :approach as dlg@ took with

Re: minor release of libxcb (1.11.1)

2015-09-29 Thread Peter Hessler
On 2015 Sep 28 (Mon) at 22:23:49 +0200 (+0200), Matthieu Herrb wrote: :On Wed, Sep 16, 2015 at 02:37:38AM -0600, David Coppa wrote: :> :> Hi! :> :> Here's an update to libxcb-1.11.1 :> :> Changes: :> :> - Expose 64-bit sequence numbers for XLib :> - Call _xcb_wake_up_next_reader from

Re: first step of ix(4) without kernel lock

2015-09-10 Thread Peter Hessler
On 2015 Sep 09 (Wed) at 23:57:57 +0200 (+0200), Hrvoje Popovski wrote: :On 9.9.2015. 10:10, Claudio Jeker wrote: :> This is a port of the em(4) IPL_MPSAFE changes made by kettenis@ to ix(4). :> Seems to work for me but don't expect any miracles. :> :> Please test :> : :Hi, : :i am testing your

Re: ntpd(8): Make -n quieter

2015-09-01 Thread Peter Hessler
On 2015 Aug 31 (Mon) at 14:28:11 -0400 (-0400), Michael Reed wrote: :On 08/31/15 07:36, Sebastian Benoit wrote: :> Michael Reed(m.r...@mykolab.com) on 2015.08.30 14:58:35 -0400: :>> Hi all, :>> :>> If ntpd is run with the -n flag, and /etc/ntpd.conf is parsed without :>> error, then "Configuration

Re: [PATCH] tftpd, rdomain

2015-08-07 Thread Peter Hessler
Hi Betrand Thank you for the submission, but we prefer using route -T [rdomain] exec [program] for programs that do not modify routes. Additionally, your mailer ate the whitespace from the diff, and messed up style(9). On 2015 Aug 06 (Thu) at 12:26:19 -0400 (-0400), Bertrand PROVOST wrote:

Re: Possible fix for i217 problem

2015-08-05 Thread Peter Hessler
On 2015 Aug 05 (Wed) at 10:08:05 +0200 (+0200), Mark Patruck wrote: :No issues on systems running : :em0 at pci3 dev 0 function 0 Intel I210 rev 0x03: msi, address 0c:.. :em1 at pci4 dev 0 function 0 Intel I210 rev 0x03: msi, address 0c:.. : :Also working on : :em0 at pci1 dev 0 function 0 Intel

Re: Possible fix for i217 problem

2015-08-05 Thread Peter Hessler
:with 1000baseT as well. : :em0 at pci1 dev 0 function 0 Intel 82574L rev 0x00: msi, address 00:.. :em1 at pci0 dev 25 function 0 Intel I218-V rev 0x00: msi, address f0:.. : : :On Wed, Aug 05, 2015 at 12:24:42PM +0200, Peter Hessler wrote: : On 2015 Aug 05 (Wed) at 10:08:05 +0200 (+0200), Mark Patruck wrote

Re: OpenBSD::Tame perl wrapper for tame(2)

2015-07-22 Thread Peter Hessler
On 2015 Jul 21 (Tue) at 23:51:37 +0300 (+0300), li...@wrant.com wrote: : Your contributions to the lists are rants or useless noise. What's your : motivation and do you really gain something by doing that? : :Like mentioning the ruby idiot is an idiot? Sure. Who the contributor :are you? : The

Re: [patch] update unbound forwards with dhclient nameservers

2015-07-19 Thread Peter Hessler
I really like this idea, modulo the comments that Florian made. On 2015 Jul 19 (Sun) at 13:08:46 +0200 (+0200), Gregor Best wrote: :Hello, : :the following is a patch that adds an option called `update_unbound' to :dhclient.conf. With this option enabled, dhclient will call : :

Re: carp backup becomes no carrier

2015-04-28 Thread Peter Hessler
On 2015 Apr 28 (Tue) at 11:36:00 +0200 (+0200), Martin Pieuchot wrote: :Hello Johan and thanks for your great report! : :On 27/04/15(Mon) 11:54, Johan Huldtgren wrote: : If you try 1.250 and 1.253 and tell me if you can reproduce the problem : that would be really helpful. In case you see

Re: Compiling ports tree on older architecture question

2015-04-05 Thread Peter Hessler
I do the 32bit sparc packages builds. We hvae a cluster of 5 machines, and they take roughly 3 weeks to build if there are no crashes or other issues. Right now thought, not all machines are able to build, so it will be closer to 5 weeks. On 2015 Apr 05 (Sun) at 00:23:38 -0400 (-0400), ian

Re: Small ifconfig output tweak for inet6?

2015-03-27 Thread Peter Hessler
On 2015 Mar 27 (Fri) at 11:54:16 +0100 (+0100), Henning Brauer wrote: :* Florian Obser flor...@openbsd.org [2015-03-26 18:36]: : On Thu, Mar 26, 2015 at 05:46:12PM +0100, Henning Brauer wrote: : * Mike Belopuhov m...@belopuhov.com [2015-03-26 14:36]: : however I agree that if we do this for

Re: apmd: add on demand adjustement mode

2015-03-03 Thread Peter Hessler
That code was fixed in -current, and will be in 5.7. Now, the kernel does the measurements and scaling. On 2015 Mar 02 (Mon) at 15:04:09 + (+), Jérôme Frgacic wrote: :Hello, : :At present, there is no middle between cool running and automatic adjustement mode. :I would suggest to add

Re: NTP

2014-12-20 Thread Peter Hessler
On 2014 Dec 20 (Sat) at 12:42:52 +0100 (+0100), Hanno B??ck wrote: :On Fri, 19 Dec 2014 18:22:47 -0700 :Theo de Raadt dera...@cvs.openbsd.org wrote: : : openntpd is not vulnerable. : :Depends on which vulnerability you mean. : :It is probably vulnerable to this one:

Re: 802.11 autoassoc

2014-09-30 Thread Peter Hessler
On 2014 Sep 30 (Tue) at 14:37:08 +0400 (+0400), Vadim Zhukov wrote: :2014-09-30 14:27 GMT+04:00 Stefan Sperling s...@openbsd.org: : On Tue, Sep 30, 2014 at 11:59:25AM +0200, Martin Pieuchot wrote: : Hey Vadim, I'm happy to see you've put some efforts into improving : how wireless networks are

Re: 802.11 autoassoc

2014-09-30 Thread Peter Hessler
On 2014 Sep 30 (Tue) at 08:10:40 -0400 (-0400), sven falempin wrote: :On Tue, Sep 30, 2014 at 8:04 AM, Peter Hessler phess...@theapt.org wrote: : On 2014 Sep 30 (Tue) at 14:37:08 +0400 (+0400), Vadim Zhukov wrote: : :2014-09-30 14:27 GMT+04:00 Stefan Sperling s...@openbsd.org: : : On Tue, Sep 30

Re: apmd -A induced hangs

2014-07-29 Thread Peter Hessler
On 2014 Jul 29 (Tue) at 00:19:43 +0200 (+0200), Alexander Bluhm wrote: :On Sun, Jul 13, 2014 at 04:05:41PM +0200, Mark Kettenis wrote: : Some people have reported that apmd -A makes their machines hang. : Could those people try the diff below and see whether it helps? : :I am running this diff and

Re: Changing a running process' cmd name/argv[0]

2014-07-15 Thread Peter Hessler
On 2014 Jul 15 (Tue) at 10:25:49 +0200 (+0200), Gustav Fransson Nyvell wrote: :On 07/15/14 09:48, Philip Guenther wrote: :When the process that's executing your .xinitrc exits, startx/xinit :will shutdown the X server and then itself exit, taking you back to :the non-X shell prompt. Your .xinitrc

Re: 9p

2014-06-04 Thread Peter Hessler
On 2014 Jun 04 (Wed) at 02:19:49 -0500 (-0500), strake...@gmail.com wrote: :On Tue, Jun 03, 2014 at 10:44:57PM -0700, Philip Guenther wrote: : Yes, some code I copied verbatim from plan9port or earlier work of mine, : so that's fully in plan9 or my habitual style. : : IF YOU COPIED MORE THAN

Re: hangs with apmd

2014-01-15 Thread Peter Hessler
On 2014 Jan 15 (Wed) at 10:23:17 +0100 (+0100), Antoine Jacoutot wrote: :On Wed, Jan 15, 2014 at 09:08:45AM +, Stuart Henderson wrote: : As seen by at least ajacoutot, myself and various others (e.g. : the thread including http://marc.info/?l=openbsd-miscm=123598831213309) : some systems hang

Re: rdomain - rtableid confusion

2013-11-27 Thread Peter Hessler
OK On 2013 Nov 26 (Tue) at 12:38:48 +0100 (+0100), Martin Pieuchot wrote: :These two functions take a rtableid not a rdomain as an argument, simple :renaming to avoid confusion. : :ok? : :Index: net/if.c :=== :RCS file:

Re: Support for External Random Number Server

2013-11-18 Thread Peter Hessler
Check out /etc/rc, and look for random_seed() and writes into /dev/arandom On 2013 Nov 18 (Mon) at 19:23:55 + (+), Hendrickson, Kenneth wrote: :Use Case : :I have several headless computers. Their only source of randomness is from the network. I also have a hardware true random number

Re: ipv6 atomic draft - rfc6946 diff

2013-08-22 Thread Peter Hessler
Have you verified that we follow the RFC, and not just -00 of the draft? On 2013 Aug 21 (Wed) at 23:40:12 -0700 (-0700), Loganaden Velvindron wrote: :Hi, : :The draft is now an RFC. :Perhaps the code should reflect those changes as well ? : : :Index: sys/netinet6/frag6.c

Re: acpi global lock diff that needs testing

2013-07-30 Thread Peter Hessler
On 2013 Jul 30 (Tue) at 00:20:22 -0600 (-0600), Luis Coronado wrote: :notes: :Compaq CQ43 :suspend works ok if you run it with zzz. Only the first time the lid is :closed suspend works, further attempts to do it only get the screen shut :down. : Is this different behaviour from before the diff?

Re: ftpd: Overflow

2013-07-26 Thread Peter Hessler
http://www.openbsd.org/security.html#reporting On 2013 Jul 26 (Fri) at 15:51:39 +0200 (+0200), Maxime Villard wrote: :Hi, :I've found an overflow in ftpd. Even if it is not necessarily a security :issue, I guess it's not a good idea to report it on a public mailing :list. : :So, who am I

Re: iked address pools

2013-06-06 Thread Peter Hessler
You can use cvs add against a mirror to add files. Directories require write access, so that won't work. Then use cvs diff -Nup to include all of the (N)ew files. tech@ is the preferred mailing list for diffs. On 2013 Jun 05 (Wed) at 23:23:53 -0600 (-0600), Ryan Slack wrote: :I wish to submit

Re: ftpd log address format

2013-05-07 Thread Peter Hessler
On 2013 May 07 (Tue) at 14:26:07 -0400 (-0400), Ted Unangst wrote: :On Sun, May 05, 2013 at 15:18, Stuart Henderson wrote: : : I don't feel too strongly about it but my preference would be to : log both. There are circumstances (e.g. dhcp with dynamic dns updates) : where it's useful to have the

Re: install(1) confusing error message

2013-02-15 Thread Peter Hessler
better error messages are far better. OK phessler@ On 2013 Feb 14 (Thu) at 20:38:02 + (+), Miod Vallat wrote: :This is what happens when install(1) is used to install files on a :read-only filesystem: : :# mount -u -o ro /usr :# cd /usr/src :# make build :cd /usr/src/share/mk exec make

Re: pfctl / nat / dhcp

2013-02-07 Thread Peter Hessler
On 2013 Feb 07 (Thu) at 13:44:22 + (+), Stuart Henderson wrote: :On 2013/02/07 08:29, sven falempin wrote: : Hello, : : I run OpenBSD 5.2 GENERIC#278 i386 for a while at home (wifi/router), and : since the release no reboot nor problem. : The Box is connected to a cable modem router that

Re: pfctl / nat / dhcp

2013-02-07 Thread Peter Hessler
On 2013 Feb 07 (Thu) at 09:26:03 -0500 (-0500), sven falempin wrote: :On Thu, Feb 7, 2013 at 8:47 AM, Peter Hessler phess...@theapt.org wrote: : : On 2013 Feb 07 (Thu) at 13:44:22 + (+), Stuart Henderson wrote: : :On 2013/02/07 08:29, sven falempin wrote: : : Hello, : : : : I run OpenBSD

Sync bgpd pftable name length

2013-01-08 Thread Peter Hessler
Almost exactly 10 years ago, we updated the name length of PF tables to 32. Bump the length in bgpd, so we can use longer names. Index: usr.sbin/bgpd/bgpd.h === RCS file: /cvs/openbsd/src/usr.sbin/bgpd/bgpd.h,v retrieving revision

Re: upstream vendors and why they can be really harmful

2012-11-06 Thread Peter Hessler
On 2012 Nov 06 (Tue) at 16:45:17 +0100 (+0100), Lars von den Driesch wrote: :If you want people to gain traction you will need to :reduce some standards... This is exactly what happened in Linux-land, and brought us to this place in the first point. -- Math is like love -- a simple idea but

[s...@cd80.net: Re: rtadvd(8) patch 2/2 : finalize server-side RFC 6106 support]

2012-07-07 Thread Peter Hessler
ressurecting an old patch. OK from me, anyone else? - Forwarded message from Stephane A. Sezer s...@cd80.net - Date: Thu, 23 Feb 2012 21:18:30 -0800 From: Stephane A. Sezer s...@cd80.net To: tech@openbsd.org Subject: Re: rtadvd(8) patch 2/2 : finalize server-side RFC 6106 support

Re: bnx(4) flow control support.

2012-06-28 Thread Peter Hessler
So we have been running with this diff in the office, and it is working well for us. bnx0 at pci7 dev 0 function 0 Broadcom BCM5709 rev 0x20: apic 0 int 6 bnx0: address 1c:c1:de:e4:5e:b0 brgphy0 at bnx0 phy 1: BCM5709 10/100/1000baseT PHY, rev. 8 As a side note, having TXPAUSE and RXPAUSE

Re: cwm tiling

2012-06-09 Thread Peter Hessler
On 2012 Jun 09 (Sat) at 13:17:29 +0200 (+0200), Mike Belopuhov wrote: :On Sat, Jun 9, 2012 at 12:41 PM, Stuart Henderson s...@spacehopper.org :wrote: : On 2012/06/09 14:09, Alexander Polakov wrote: : I appreciate that the defaults would stay the same, but really, : what is the point in doing

Re: Remove timezone support from the kernel

2012-04-24 Thread Peter Hessler
On 2012 Apr 24 (Tue) at 16:27:00 +0400 (+0400), Vadim Zhukov wrote: :23 P0P?QP5P;Q 2012B P3. 21:37 P?PP;Q P7PP2P0QP5P;Q Matthew Dempsky :matt...@dempsky.org P=P0P?P8QP0P;: : There's no reason for the kernel to track the system's timezone : anymore. B This is handled in userspace by the TZ

Re: gif: allow layer2 tunnels over ipv6

2012-03-13 Thread Peter Hessler
obviously, OK from me. On 2012 Mar 13 (Tue) at 16:41:52 +0100 (+0100), Mike Belopuhov wrote: :this allows us to bridge two ipv4 networks over an ipv6 link with gif. :any objections? oks? the change was well tested by phessler. : :diff --git netinet6/in6_proto.c netinet6/in6_proto.c :index

Re: Unbound in base

2012-02-23 Thread Peter Hessler
On 2012 Feb 23 (Thu) at 09:37:57 +0100 (+0100), Bjvrn Ketelaars wrote: : - Could you try to link ldns static and not install neither the ldns :library, include files nor the man-pages? : :The latest iteration includes: : :- Removal of ldns-includes, -library and -manpages; :- Static link of ldns;

Re: Unbound in base

2012-02-14 Thread Peter Hessler
On 2012 Feb 14 (Tue) at 13:23:01 +0400 (+0400), Mo Libden wrote: :14 QP5P2QP0P;Q 2012, 12:59 PQ Gregory Edigarov g...@bestnet.kharkov.ua: : On Tue, 14 Feb 2012 08:09:16 + : Peter van Oord van der Vlies peter.vanoordvandervl...@itisit.nl wrote: : : Hello, : : Why replacing bind ? : :

add pcidev id for ATI Radeon 6320

2012-01-27 Thread Peter Hessler
I just bought a new laptop and the graphics is not fully supported. Accordin to the X.org driver, all Evergreen chipsets are the same as R7xx, so act as RV770. OK? Index: dev/pci/pcidevs === RCS file:

Re: tcpbench: add timer command-line option

2012-01-26 Thread Peter Hessler
On 2012 Jan 26 (Thu) at 15:30:27 +0100 (+0100), Henning Brauer wrote: :* Lawrence Teo l...@lteo.net [2012-01-26 03:13]: : This diff adds a timer to tcpbench as a command-line option (-t) so : that it is possible to stop the tcpbench client after a certain number : of seconds. This makes it easier

allow _proxy variables in sudoers

2012-01-15 Thread Peter Hessler
When you are in a place that requires proxy configs to reach the internet, it would be very nice if you could then use pkg_add. So, add ftp_proxy and http_proxy to the default env_keep variable. OK? Index: usr.bin/sudo/sudoers ===

fix dates in newsyslog

2011-11-15 Thread Peter Hessler
jeremy@ noticed that when newsyslog is set to rotate files once a month, it will always show the current calendar month for the next trim time, even if that is in the past. This accidentally worked, because we would only rotate if we were within the same hour as the next trim time. $ date

rdomain support for ntpd

2011-09-20 Thread Peter Hessler
To add rtable support for most daemons, we just run them multiple times. with ntpd, that turns into hilarity as each daemon thinks it has exclusive control over the clock. watching the time skew when you have 3 or 4 is a fun thing for a rainy afternoon. since it isn't raining today, I'm sending

Re: Test max_states as part of the rule matching

2011-08-10 Thread Peter Hessler
On 2011 Aug 10 (Wed) at 22:08:25 +0900 (+0900), Ryan McBride wrote: :On Wed, Aug 10, 2011 at 02:53:02PM +0200, Henning Brauer wrote: : * Ryan McBride mcbr...@openbsd.org [2011-08-10 14:49]: : On Wed, Aug 10, 2011 at 01:07:28PM +0200, Henning Brauer wrote: : this is indeed the way it was

Re: En/disabling power button shutdown

2011-06-11 Thread Peter Hessler
On 2011 Jun 11 (Sat) at 15:00:10 + (+), Christian Weisgerber wrote: :Mark Kettenis mark.kette...@xs4all.nl wrote: : : Like I asked on icb, why do we need a knob for this at all? : :I don't need one. I'd be just as happy to simply rip out :machdep.kbdreset where it's currently abused for

enable msi for ix(4)

2011-05-31 Thread Peter Hessler
similar to other such diffs, this enables msi for ix(4). OK? Index: dev/pci/if_ix.c === RCS file: /cvs/src/sys/dev/pci/if_ix.c,v retrieving revision 1.51 diff -u -p -r1.51 if_ix.c --- dev/pci/if_ix.c 15 Apr 2011 15:12:27 -

automatically set the default console?

2011-04-19 Thread Peter Hessler
When I'm installing over a serial line, I would expect to use that as my console in the future. This diff sets the default console to the one we are currently using, so it's just another [enter]. (The style is based on the xdm case immediately above) OK? Index: distrib/miniroot/install.sub

Re: no really, be quiet mode for ping{,6}

2011-04-06 Thread Peter Hessler
On 2011 Apr 06 (Wed) at 12:47:40 +0200 (+0200), David Vasek wrote: :On Wed, 6 Apr 2011, Peter Hessler wrote: : :Sometimes I want ping to be quiet. Not quiet in the only show me :headers way that the original author thought was cute, but in the :don't show me anything way, so cron doesn't spam me

no really, be quiet mode for ping{,6}

2011-04-05 Thread Peter Hessler
Sometimes I want ping to be quiet. Not quiet in the only show me headers way that the original author thought was cute, but in the don't show me anything way, so cron doesn't spam me with useless crap. So, in honor of that, here is a patch to add -Q to ping and ping6. OK? Index:

Re: vlan vlandev fix

2011-02-17 Thread Peter Hessler
This fixes the breakage I saw with a carp child. This also works with a bridge child. The routing socket sees the interface status changes, so things that care get notified. OK. On 2011 Feb 16 (Wed) at 14:27:18 +0100 (+0100), Reyk Floeter wrote: :Hi! : :My previous change to vlan(4) allows to

Re: vlan vlandev fix

2011-02-17 Thread Peter Hessler
On 2011 Feb 17 (Thu) at 12:45:35 +0100 (+0100), Camiel Dobbelaar wrote: :On 16-2-2011 14:27, Reyk Floeter wrote: : My previous change to vlan(4) allows to change the vlandev and vlan id : on-the-fly without re-creating the vlan interface. : :I hesitated to ask this simple question, because I might

have isakmpd only listen on interfaces within the rtable it is assigned

2011-01-25 Thread Peter Hessler
When using isakmpd in conjunction with routing tables / rdomains, you need to create an isakmpd.conf file telling it to only listen on some interfaces. This diff changes isakmpd to only listen on the interfaces within the same routing table, so the config file is no longer needed. OK? Index:

Re: Missing check in ftp(1)

2010-06-27 Thread Peter Hessler
On 2010 Jun 27 (Sun) at 12:41:21 +0200 (+0200), Alexander Schrijver wrote: :Now it just does nothing, like it is supposed to (The second is with your fix applied): : :$ echo 'mget -r . ' | ftp ftp://ftp.cs.cmu.edu :Segmentation fault (core dumped) :$ echo 'mget -r . ' | ./ftp

Re: Missing check in ftp(1)

2010-06-26 Thread Peter Hessler
Hi Alexander This diff had some issues for me, namely the chunk below. :+ if (line == NULL); However I did adjust it and came up with this instead, does it also fix the issue for you? Index: list.c === RCS

Re: Atheros AR5424 rev 0x01 hal error

2010-04-20 Thread Peter Hessler
this is a known unsupported chip. I believe the ISC atheros driver is compatible, so you may be able to borrow code from linux/freebsd/netbsd to fix it. (think of it as a TODO item ;) ) On 2010 Apr 20 (Tue) at 10:55:18 -0400 (-0400), Adam M. Dutko wrote: :When I attempt to use my wireless card

<    1   2