repair fstat broken ipv6 dest address

2011-06-09 Thread Stuart Henderson
ok? Index: kern/kern_sysctl.c === RCS file: /cvs/src/sys/kern/kern_sysctl.c,v retrieving revision 1.202 diff -u -p -r1.202 kern_sysctl.c --- kern/kern_sysctl.c 18 Apr 2011 21:44:56 - 1.202 +++ kern/kern_sysctl.c 9 Jun 2011

Re: En/disabling power button shutdown

2011-06-12 Thread Stuart Henderson
On 2011/06/11 21:06, gilbert.fernan...@orange.fr wrote: We have to add one, so move the others on one side, and by moving one we accidentally pressed a power button and the machine did shut down... Without almost a hundred machines depending on it and people working on

Re: pf.conf, comments and continuation lines

2011-06-14 Thread Stuart Henderson
On 2011/06/14 09:33, Florian Obser wrote: anyone? This is just how it works. http://thread.gmane.org/gmane.os.openbsd.misc/144553/focus=144586 but doesn't explain the semantics of continuation lines. I don't feel qualified to provide a patch for pf.conf(5). How about this? I tried a few

tcp keepalive diff #2: always_keepalive

2011-06-14 Thread Stuart Henderson
add sysctl net.inet.tcp.always_keepalive, setting this to 1 acts as if SO_KEEPALIVE were set on all TCP sockets. based on code added to FreeBSD ~15 years ago, these days it's enabled by default there and in dfbsd, here I've left the default as being disabled. useful for a client machine behind a

Re: tcp keepalive diff #1

2011-06-14 Thread Stuart Henderson
On 2011/06/14 16:22, Stuart Henderson wrote: actually send keepalives at tcp_keepintvl half-seconds. previously, tcp_timer.c would arm the timer at tcp_keepintvl half-seconds in tcp_timer_keep(), but then the code touched in the diff below would reset it to tcp_keepidle half-seconds instead

Re: pf.conf, comments and continuation lines

2011-06-14 Thread Stuart Henderson
On 2011/06/14 15:43, Jason McIntyre wrote: On Tue, Jun 14, 2011 at 03:58:46PM +0200, Florian Obser wrote: if you want to document it, i'd prefer to try and tuck it in nice and neat, without an example. how about rearranging the section to something like this:

Re: tcp keepalive diff #2: always_keepalive

2011-06-15 Thread Stuart Henderson
On 2011/06/14 16:33, Stuart Henderson wrote: -#define TCPCTL_MAXID 22 +#define TCPCTL_ALWAYS_KEEPALIVE 22 /* assume SO_KEEPALIVE is always set */ +#define TCPCTL_MAXID 23 I wasn't going to post a followup just for this but seeing as a few people have mentioned

Re: pf.conf, comments and continuation lines

2011-06-15 Thread Stuart Henderson
On 2011/06/15 09:18, Jason McIntyre wrote: You're right about it getting copied to other places, there are 9 copies in tree and I'd rather not come up with an example for each, so I would be happier to have it in the text rather than as an example if it can be done clearly, but I

Re: pf.conf, comments and continuation lines

2011-06-15 Thread Stuart Henderson
On 2011/06/15 10:03, Jason McIntyre wrote: so i guess we're looking for a text only (i.e. no example) solution. here is another stab. nicely crafted words, this is good. ok sthen@ I'll handle the other copies of this if you like. Index: pf.conf.5

Re: pf.conf, comments and continuation lines

2011-06-15 Thread Stuart Henderson
so something like this... ok mandoc@ Index: sbin/isakmpd/isakmpd.conf.5 === RCS file: /cvs/src/sbin/isakmpd/isakmpd.conf.5,v retrieving revision 1.127 diff -u -p -r1.127 isakmpd.conf.5 --- sbin/isakmpd/isakmpd.conf.5 22 Sep 2010

Re: ld.so speedup for large binaries with many shared libraries

2011-06-16 Thread Stuart Henderson
On 2011/04/23 23:47, Dale Rahn wrote: Here is a diff that was originally hatched at c2k10 and finally implemented at k2k11. This has been tested lightly so needs to be tested on all systems with big and small programs. This breaks 'doveadm' in the dovecot package; to test, pkg_add dovecot,

use unique MIIDEVS strings

2011-06-19 Thread Stuart Henderson
some different versions of MII devices print identical strings when they attach, this diff makes them unique. ok? Index: miidevs === RCS file: /cvs/src/sys/dev/mii/miidevs,v retrieving revision 1.116 diff -u -p -r1.116 miidevs ---

Re: MSI for bnx(4)

2011-06-19 Thread Stuart Henderson
On 2011/06/19 02:50, Brad wrote: Unfortunately I don't have any systems at the moment that are supported for MSI (with the -current code) although they loook to be MSI capable. So if you have a bnx(4) adapter(s) please take this for a spin. I don't see any indication from the FreeBSD/Linux

Re: use unique MIIDEVS strings

2011-06-19 Thread Stuart Henderson
On 2011/06/19 14:46, Mark Kettenis wrote: Date: Sun, 19 Jun 2011 12:52:43 +0100 From: Stuart Henderson s...@spacehopper.org some different versions of MII devices print identical strings when they attach, this diff makes them unique. ok? I think this is ugly. Unless

Re: hibernate_machdep.c depends on acpi

2011-06-20 Thread Stuart Henderson
On 2011/06/20 13:22, Mark Kettenis wrote: Date: Mon, 20 Jun 2011 11:04:24 +0200 From: Mike Belopuhov m...@crypt.org.ru hi, the hibernate_machdep.c file depends on the acpi so it would be nice if we excluded this file if kernel config doesn't reference acpi. a simple fix that

Re: Identifying disks by name

2011-06-22 Thread Stuart Henderson
On 2011/06/22 21:07, Wouter Coene wrote: Also, this is certainly not useless if you have more than a handfull of disks or SAN volumes, or for removable media. Which of the following is more readable? mount 1234567890abcdef.a /mnt mount backups.a /mnt mount bac1.a

Re: notyet, notever

2011-06-28 Thread Stuart Henderson
On 2011/06/28 15:05, Ted Unangst wrote: if pss(4) mpu support, or wdc isapnp support, or whatever else isn't done yet in isa/, i'm officially betting it's not getting done. atticize. Index: pss.c FWIW, there are even fewer pss(4) in dmesglog than mcd(4).. (i.e. none, the only entries are

lo(4): send RTM_IFINFO when adding if

2011-07-04 Thread Stuart Henderson
ospfd doesn't pick up an lo(4) added while it's running unless you manually ifconfig down+up. this does the same dance as if_gif.c to ensure RTM_IFINFO gets sent. ok? Index: if_loop.c === RCS file: /cvs/src/sys/net/if_loop.c,v

tcp keepalives

2011-07-04 Thread Stuart Henderson
let's try again with this. regenerated diffs because the only complaints were about whitespace issues, no real changes compared to the diffs I sent out previously. - add sysctl net.inet.tcp.always_keepalive to act as if SO_KEEPALIVE was set on all TCP connections. - fix old bug where

Re: tcp keepalives

2011-07-04 Thread Stuart Henderson
On 2011/07/04 22:44, Claudio Jeker wrote: But this is correct since because of the reception of a TCP keepalive response we do not consider the TCP session idle anymore Ah, this is what I was missing. and keepintvl comes only into play when the other side does not respond. At least that is

Re: powerpc interrupt rewrite.

2011-07-08 Thread Stuart Henderson
On 2011/07/07 19:30, Dale Rahn wrote: At c2k11 I managed to revive the powerpc (macppc/socppc) interrupt rewrite from a few years ago. It had been backed out because of problems attributed to other previously fixed bugs. At some prodding the dust was blown off the diff and it is working on at

Re: Expose openat(2), etc in libc

2011-07-08 Thread Stuart Henderson
On 2011/07/08 01:53, Matthew Dempsky wrote: Now that all of the new AT_* flags are supported, it's okay to expose openat(2), etc. in libc. This will need at least a minor libc bump (not included below). I know martynas@ has a major bump planned for libc, so I figure it makes sense to

Re: Expose openat(2), etc in libc

2011-07-08 Thread Stuart Henderson
On 2011/07/08 03:51, Matthew Dempsky wrote: On Fri, Jul 8, 2011 at 3:45 AM, Stuart Henderson s...@spacehopper.org wrote: On 2011/07/08 01:53, Matthew Dempsky wrote: Now that all of the new AT_* flags are supported, it's okay to expose openat(2), etc. in libc. This will need at least

setrlimit code

2011-07-08 Thread Stuart Henderson
On 2011/07/08 20:51, Henning Brauer wrote: CVSROOT: /cvs Module name: src Changes by: henn...@cvs.openbsd.org 2011/07/08 20:51:18 Modified files: usr.sbin/bgpd : rde.c session.c Log message: remove that rlimit code, rc.d and login classes do it much betterer these days.

-n lines support for syslogc(8)

2011-07-09 Thread Stuart Henderson
I often find I want to see more than the default 10 lines of output with syslogc -f. This diff adds support for -n, like in tail. It works both with and without -f. e.g.: # syslogc -n 5 ospfd Jul 9 08:28:43 gr1-pl7 last message repeated 3 times Jul 9 08:29:18 gr1-pl7 ospfd[26625]: recv_packet:

Re: -n lines support for syslogc(8)

2011-07-12 Thread Stuart Henderson
On 2011/07/12 12:46, Stuart Henderson wrote: As suggested by Theo, also handle syslogc -nnn (like tail does). Code borrowed from tail with some changes as syslogc only deals with lines (and I see no need to extend that). Updated manual (I meant to use 'lines' instead of the 'number' which I

Re: setrlimit code

2011-07-26 Thread Stuart Henderson
On 2011/07/09 09:45, Claudio Jeker wrote: On Sat, Jul 09, 2011 at 06:51:04AM +0100, Stuart Henderson wrote: On 2011/07/08 20:51, Henning Brauer wrote: CVSROOT: /cvs Module name: src Changes by: henn...@cvs.openbsd.org 2011/07/08 20:51:18 Modified files: usr.sbin

s/firmwares/firmware/, it's already plural

2011-07-27 Thread Stuart Henderson
ok? Index: distrib/miniroot/install.sub === RCS file: /cvs/src/distrib/miniroot/install.sub,v retrieving revision 1.647 diff -u -p -r1.647 install.sub --- distrib/miniroot/install.sub14 Jul 2011 14:54:57 - 1.647 +++

Re: ospf fib reload and rtm_desync

2011-08-01 Thread Stuart Henderson
On 2011/07/29 14:33, Stuart Henderson wrote: Here's a diff. Rather than reloading directly on receipt of RTM_DESYNC it arms an evtimer so that it defers reloading until 1sec after the last desync message. (Randomly chosen value and might want to be larger, but it serves well as a demonstration

Re: isakmpd NAT-T interoperability

2011-08-04 Thread Stuart Henderson
Mitja requested a tcpdump diff to go with this. Index: print-ike.c === RCS file: /cvs/src/usr.sbin/tcpdump/print-ike.c,v retrieving revision 1.35 diff -u -p -r1.35 print-ike.c --- print-ike.c 7 Jun 2010 16:20:58 - 1.35 +++

Re: etc/rc.d/spamlogd needs pflog

2011-08-06 Thread Stuart Henderson
On 2011/08/06 13:36, Andres Perera wrote: On Sat, Aug 6, 2011 at 7:11 AM, Stuart Henderson s...@spacehopper.org wrote: Since pflog interface creation was moved to rc.d/pflogd, you can no longer run spamlogd without also running pflogd. This diff copies the interface creation code from

Re: new dhclient.conf option: host-route

2011-08-16 Thread Stuart Henderson
On 2011/08/16 16:24, Stefan Sperling wrote: Either way (your patch or with a wrapper script) if a new IP address is assigned you might have some problems with delete_old_routes flushing all routes including the route over the tunnel; not sure how important this is in practice in your case,

Re: LAC LNS server with OpenBSD

2011-08-17 Thread Stuart Henderson
On 2011/08/17 12:18, Gruel Bruno wrote: Hello, I just want to know if it plan to have a real implitation of L2TP on OpenBSD. Is there a work in progress ? or never ? See /usr/src/usr.sbin/npppd; it is not built/distributed by default yet, but the code is there.

allow ospfd -v to set verbose logging in ospfe/rde

2011-08-17 Thread Stuart Henderson
Currently when ospfd is started with ospfd -v, the verbose logging flag is only set for the parent process, so the detailed messages from rde/ospfe are not logged. The diff below passes it to the other processes so that if you store all ospfd logs you'll get the same information logged with -v as

Re: allow ospfd -v to set verbose logging in ospfe/rde

2011-08-17 Thread Stuart Henderson
On 2011/08/17 17:28, Stuart Henderson wrote: I guess ripd, ldpd, ospf6d, bgpd, ldapd and dvmrpd will have a similar problem, oh, and a few others, I was just looking for IMSG_CTL_LOG_VERBOSE...

Re: allow ospfd -v to set verbose logging in ospfe/rde

2011-08-17 Thread Stuart Henderson
On 2011/08/17 17:28, Stuart Henderson wrote: Currently when ospfd is started with ospfd -v, the verbose logging flag is only set for the parent process, so the detailed messages from rde/ospfe are not logged. The diff below passes it to the other processes so that if you store all ospfd

Re: Fix tcpbench libevent segfault

2011-08-20 Thread Stuart Henderson
On 2011/08/20 03:37, Christiano F. Haesbaert wrote: Hi there, this fixes a segfault seen by sthen@ which I could only reproduce yesterday. I had fogotten to event_del() a persistent event. Ah yes that makes sense, and it fixes my problem. Thanks! OK to commit it? Index: tcpbench.c

Re: allow ospfd -v to set verbose logging in ospfe/rde

2011-08-20 Thread Stuart Henderson
On 2011/08/17 22:29, Claudio Jeker wrote: I don't like it and the diff is wrong -- the parent process will still not log verbose. I think the problem should be fixed at the source and change the way log_init() and log_verbose() work. Currently the second log_init() call in ospfd.c will

Re: allow ospfd -v to set verbose logging in ospfe/rde

2011-08-20 Thread Stuart Henderson
same diff for the other daemons which have log_verbose() and don't already handle this case:- bgpd dvmrpd ospf6d iscsid ldpd ripd. iscsid currently only supports increasing log level via iscsictl, so I've added the -v flag there (including usage/manual). I haven't looked at these yet, they don't

bgpd irrfilter

2011-08-26 Thread Stuart Henderson
Some networks use AS23456 in their IRR macros because they have downstreams with ASN = 65536 and obviously they want any 16-bit-only-speaking upstreams to accept their customer prefixes. I noticed AS-BLANK and AS-SPACENET but there are others; see http://www.robtex.com/as/as23456.html So

Re: Dahi on OpenBSD one day ??

2011-09-06 Thread Stuart Henderson
On 2011/09/06 00:36, Gruel Bruno wrote: I read that dahdi was port on freebsd.Is someone plan to port it on openbsd ? I'm not aware of anyone planning to do this. Stuart (asterisk port maintainer)

Re: [patch] pf_norm: clear IPv4 reserved flag

2011-09-08 Thread Stuart Henderson
On 2011/09/08 13:00, Steffen Wendzel wrote: Final patch: Index: pf_norm.c === RCS file: /cvs/src/sys/net/pf_norm.c,v retrieving revision 1.140 diff -u -p -r1.140 pf_norm.c --- pf_norm.c 18 Jul 2011 21:03:10 - 1.140

Re: [patch] pf_norm: clear IPv4 reserved flag

2011-09-08 Thread Stuart Henderson
On 2011/09/08 17:32, Steffen Wendzel wrote: Am Donnerstag, den 08.09.2011, 16:20 +0100 schrieb Stuart Henderson: On 2011/09/08 13:00, Steffen Wendzel wrote: Final patch: Index: pf_norm.c === RCS file: /cvs/src/sys

Re: sftp upload diff similar to scp

2011-09-19 Thread Stuart Henderson
On 2011/09/19 16:29, Christiano F. Haesbaert wrote: Not sure if I got this, but why not using scp then ? You might need to use the sftp protocol rather than scp with some servers. On 19 September 2011 14:52, elitter.net logana...@elitter.net wrote: It's annoying to upload using interactive

Re: A few kernel-related questions: UVM, W^X and PAE

2011-10-02 Thread Stuart Henderson
On 2011/10/02 07:38, Barbier, Jason wrote: 3. What's the point in keeping sys/arch/i386/i386/pmapae.c? Are there any plans for re-enabling PAE support? PAE will always be needed for 32bit processors as I understand it. There are some 32bit processors out there that the boards will allow for

Re: UPDATE: usr.bin/less

2011-10-06 Thread Stuart Henderson
With the old version of less, when called as either more or less, if you press either G or F ^C, you would be left at a prompt at the end of the file. In the updated version these differ; called as less this works fine, but as more it exits. Not sure if this is intentional but I'm finding it

Re: UPDATE: usr.bin/less

2011-10-06 Thread Stuart Henderson
); scan_option(-X); On Thu, Oct 06, 2011 at 11:07:30AM +0100, Stuart Henderson wrote: With the old version of less, when called as either more or less, if you press either G or F ^C, you would be left at a prompt at the end of the file. In the updated version these differ; called as less

Re: enable aucat by default

2011-10-07 Thread Stuart Henderson
On 2011/10/06 22:36, Alexandre Ratchov wrote: sorry, my diff is wrong.. I forgot the '-aoff' in the diff, but -aoff will become the default soon (this is to keep the device closed when not used). Without -a off behaviour I would object to this, but this clears up all the usability problems

Re: DIOCCHANGERULE

2011-10-07 Thread Stuart Henderson
On 2011/10/07 12:44, Henning Brauer wrote: anybody using pf's DIOCCHANGERULE ioctl? libdnet xorp if they're actually doing anything useful with them, which I find hard to believe, they probably ought to be doing that with anchors instead.

Re: dd disp option

2011-10-20 Thread Stuart Henderson
dd is on the ramdisks, have you tested them at all? On 2011/10/19 21:12, Thomas Pfaff wrote: This adds a new option disp that can be set to human for a more human- readable completion message. This does not change the current behavior. $ dd if=/dev/zero of=/tmp/kthxbye bs=1337K count=42

Re: [new devices] Alcatel One Touch X210/X220

2011-10-20 Thread Stuart Henderson
On 2011/10/20 11:49, David Coppa wrote: The diff below add an entry for the Alcatel One Touch X220 (also good for the X210 which is more or less identical). Tested with a X220 (it's the new usb modem my employer is giving to on-call sysadmins). Ok? Just modem mode is enough. No point

Re: PPPoEoA DSL bandwidth shaping

2011-10-31 Thread Stuart Henderson
On 2011/10/30 15:41, Daniel Melameth wrote: On Sun, Oct 30, 2011 at 2:37 PM, Christopher Zimmermann madro...@zakweb.de wrote: Bandwidth shaping on PPPoE links is difficult, because you don't know what the modem will do to you packets. On my DSL PPPoE links the DSL modem sends the

rc.d/xdm, check for broken xkb

2011-11-01 Thread Stuart Henderson
If you hit the xkb file/directory problem (for example, if you follow the upgrading without install kernel instructions), you can't type at the keyboard, even to switch to a text console. What does anyone think about disabling xdm if this brokenness is found? Index: xdm

Re: rc.d/xdm, check for broken xkb

2011-11-02 Thread Stuart Henderson
On 2011/11/02 14:00, Stefan Sperling wrote: On Wed, Nov 02, 2011 at 08:31:19AM -0400, Kenneth R Westerback wrote: On Tue, Nov 01, 2011 at 04:39:29PM +, Stuart Henderson wrote: If you hit the xkb file/directory problem (for example, if you follow the upgrading without install kernel

print ASNs in traceroute, another try..

2011-11-02 Thread Stuart Henderson
my last attempt to do this fetched info from bgpd, which is great for some things, but not so many people could use it. this version uses cymru.com's dns based lookups instead (nicer than the various other traceroute implementations which do this using whois lookups, as of course this gets

Re: the ipsec mess and ipsecctl

2011-11-07 Thread Stuart Henderson
On 2011/11/07 20:28, Henning Brauer wrote: unless someone has ze magic recipe for those two connections being able to live in one ipsec.conf that i might have missed (despite help), i declare it impossible to have both in one due to the default peer conflict - both connections have an

Re: Dell 5540 HSDPA

2011-11-09 Thread Stuart Henderson
On 2011/10/20 10:25, rivo nurges wrote: cdce port must be enabled before use by sending following to one of the serial ports(should it be somehow documented in the manpage?): AT+CFUN=1 # enable radio AT+CGDCONT=1,IP,internet # configure apn AT*ENAP=1,1 # enable cdce port I've committed

sparc64 gcc4/asm illegal operands, Re: CVS: cvs.openbsd.org: ports

2011-11-14 Thread Stuart Henderson
Looks like these Illegal operands errors from the assembler started after the move to gcc4, the offending asm code looks like fdtox %f12, %f9 fdtox %f10, %f15 fdtox %f8, %f9 fdtox %f12, %f7 Any suggestions? On 2011/11/14 04:05, Stuart Henderson wrote: CVSROOT: /cvs Module name

Re: belated spring clean-up: bsd.port.mk

2011-11-22 Thread Stuart Henderson
On 2011/11/22 20:16, Marc Espie wrote: - FTP_KEEPALIVE set to 0 ! ftp(1)'s keepalives have been known to cause problems with some ftp servers, so setting FTP_KEEPALIVE to 0 is safer there (otherwise ftp defaults to sending them every 60 seconds). Usually it works well to have this disabled in

Re: Make Apple products somewhat usable

2011-12-01 Thread Stuart Henderson
On 2011/12/01 11:32, David Hill wrote: For those who have an iProduct from Apple, you know it spams the dmesg with uhids when plugged in. It also attacheds itself as a uaudio device as well. + { { USB_VENDOR_APPLE, USB_PRODUCT_APPLE_IPHONE_4G }, + UAUDIO_FLAG_BAD_AUDIO }, +

Re: openconnect and libproxy

2011-12-05 Thread Stuart Henderson
On 2011/12/05 10:00, Vitali wrote: Anyway I decided to go on with the experiments and poked about libproxy in ports. In the patch file /usr/ports/net/libproxy/patches/patch-libproxy_cmake_libproxy_cmk there was a replacement line: - target_link_libraries(libproxy

Re: openconnect and libproxy

2011-12-05 Thread Stuart Henderson
On 2011/12/05 11:02, David Coppa wrote: On Mon, Dec 5, 2011 at 10:31 AM, Stuart Henderson s...@spacehopper.org wrote: On 2011/12/05 10:00, Vitali wrote: Anyway I decided to go on with the experiments and poked about libproxy in ports. In the patch file /usr/ports/net/libproxy/patches

Re: important audio settings to test

2011-12-12 Thread Stuart Henderson
On 2011/12/12 20:14, Alexandre Ratchov wrote: By default sndiod (aka aucat) uses 2940 frame blocks at 44.1kHz, iirc to please uaudio, but this is not required anymore. On the other hand, programs that use audio block rate for synchronization (ex. mplayer) need smaller blocks (ex. to get smooth

let 'route show' filter on priority

2011-12-17 Thread Stuart Henderson
I expected this to work and it doesn't, does anyone else think this might be useful? OK? Index: route.8 === RCS file: /cvs/src/sbin/route/route.8,v retrieving revision 1.69 diff -u -p -r1.69 route.8 --- route.8 3 Sep 2011

Re: let 'route show' filter on priority

2011-12-17 Thread Stuart Henderson
On 2011/12/17 13:13, Stuart Henderson wrote: I expected this to work and it doesn't, does anyone else think this might be useful? OK? doh. thanks henning, this version fixes printing without -priority. Index: route.8 === RCS file

Re: RFC 4638 support for pppoe(4)

2011-12-31 Thread Stuart Henderson
On 2011/12/27 21:12, Matt Dainty wrote: Attached are three patches for RFC 4638 PPPoE support. The first two are for pppoe(4) based on similar changes made to NetBSD. The third patch is to tcpdump(8) so it recognises the additional tag type. .. I'm aware the patch as it currently stands

Re: problem with puc(4) on -current

2012-01-03 Thread Stuart Henderson
Grrr, so the vendor changed the device without changing any IDs that we currently use for matching (main/subsystem device/vendor IDs) or revision number - so somebody is going to need a custom kernel to get the device working. Anyone know which is the more common card? I note there are *no*

Re: rc.d unbound daemon start order

2012-01-05 Thread Stuart Henderson
On 2012/01/04 23:48, Chris Cappuccio wrote: Peter Bisroev [pe...@int19h.net] wrote: After looking in the 'starting early daemons:' section in /etc/rc I ccan see that named and nsd are started before ntpd. If named is used as a recursive caching DNS server everything would work as

pmap_remove_ptes: unmanaged page marked PG_PVLIST

2012-01-07 Thread Stuart Henderson
Can anyone suggest reasons for a firewall doing this? Happened a few times to this machine, first on i386 GENERIC from May 3, now on Dec 9th. [-- MARK -- Fri Jan 6 22:00:00 2012] [-- MARK -- Fri Jan 6 23:00:00 2012] [-- MARK -- Sat Jan 7 00:00:00 2012] [-- MARK -- Sat Jan 7 01:00:00 2012] [--

Re: etc/rc.d/sendmail diff

2012-01-18 Thread Stuart Henderson
OK sthen@. It is easy to get in this state if untarring new base*.tgz on a system where sendmail is running. On 2012/01/17 07:40, Dan Harnett wrote: The sendmail daemon can be in a state where it is rejecting new messages and sets the proc title accordingly. The current rc.d script ignores

Re: Proxy ARP, but network interface specific

2012-01-23 Thread Stuart Henderson
On 2012/01/23 17:42, Gerlach, Hendrik wrote: I know the man page, but this doesn't help me. Normally Proxy ARP is used at a router. But we have the need to use it at a transparent Firewall. Typically on OpenBSD (and I think all BSDs) transparent firewalls have been implemented by bridging

tcpdump IKE dissector: print UDP_ENCAP_*_DRAFT

2012-01-28 Thread Stuart Henderson
cizco still use the IDs from the draft for nat-t, let tcpdump print them, useful for diagnosis even if the isakmpd patches are too messy. OK? Index: ike.h === RCS file: /cvs/src/usr.sbin/tcpdump/ike.h,v retrieving revision 1.23

Re: small vr(4) patch.

2012-01-28 Thread Stuart Henderson
On 2012/01/27 21:54, Brynet wrote: Remove redundant call to vr_reset, it gets called in vr_init. Can you show me where it gets called? I don't see it. -Bryan. Index: if_vr.c === RCS file: /cvs/src/sys/dev/pci/if_vr.c,v

sppp(4): remove some crap

2012-01-28 Thread Stuart Henderson
Any comments? (bleurgh is implicitly assumed). OK? This mail was sent through a router running it. Index: if_spppsubr.c === RCS file: /cvs/src/sys/net/if_spppsubr.c,v retrieving revision 1.95 diff -u -p -r1.95 if_spppsubr.c ---

tcpdump print-radius: use safeputs

2012-01-28 Thread Stuart Henderson
Some radius decodes have unprintable characters. Use safeputs() to escape them. Test file showing the problem at http://www.wand.net.nz/trac/libtrace/export/1746/trunk/test/traces/radius.pcap OK? Index: print-radius.c === RCS

Re: sppp(4): remove some crap

2012-01-28 Thread Stuart Henderson
On 2012/01/28 14:20, Mike Belopuhov wrote: On Sat, Jan 28, 2012 at 12:06 PM, Stuart Henderson s...@spacehopper.org wrote: Any comments? (bleurgh is implicitly assumed). OK? This mail was sent through a router running it. hi, if you remove pp_fastq, why don't i see it being removed

Re: patch - RFC 4638 increased MTU support for pppoe(8) w/ ppp(8)

2012-01-31 Thread Stuart Henderson
On 2012/01/29 14:18, Ben Gould wrote: Hi All, The following is tested with: Stock 5.0 as client server. These modification to 5.0 client server. Recent pppoe(4) patches for RFC 4638 support applied to 5.0 as the client. It appears to be broken in with -current from a few days ago +

Re: patch - RFC 4638 increased MTU support for pppoe(8) w/ ppp(8)

2012-01-31 Thread Stuart Henderson
On 2012/01/31 23:53, Ben Gould wrote: I couldn't get the pppoe server to work on -current, rebuilt -current yesterday and it now works - user error. The following works in all the combinations 5.0 client/server userland and with -current client/server and with -current pppoe(4). -- ben

db_read_bytes uvm_fault

2012-02-01 Thread Stuart Henderson
Machine needs an update anyway, but does anyone know offhand what this might be? OpenBSD 4.9-current (GENERIC) #497: Tue Mar 22 13:50:20 MDT 2011 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC uvm_fault(0x80d1d0e0, 0x0, 0, 4) - e kernel: page fault trap, code=0

Re: rc.d unbound daemon start order

2012-02-10 Thread Stuart Henderson
iirc there were some objections to it. On 2012/02/10 11:14, Peter Bisroev wrote: On Fri, Jan 6, 2012 at 14:16, Chris Cappuccio ch...@nmedia.net wrote: Peter Bisroev [pe...@int19h.net] wrote: Thank you for a quick response guys! Chris if you are talking about modifying /etc/rc does that

Re: Unbound in base

2012-02-13 Thread Stuart Henderson
On 2012/02/13 22:35, Bjvrn Ketelaars wrote: After some recent discussions [1, 2] on the topic of unbound in base, and (more important) really liking the idea of an alternative for BIND in base, I made a start with fitting the different pieces of the puzzle. What is finished: 2.) Testing

Re: Unbound in base

2012-02-15 Thread Stuart Henderson
On 2012/02/15 09:54, Gregory Edigarov wrote: On Tue, 14 Feb 2012 15:48:49 -0500 Brad Smith b...@comstyle.com wrote: On 14/02/12 3:17 PM, roberth wrote: On Mon, 13 Feb 2012 22:35:15 +0100 Bjvrn Ketelaarsbjorn.ketela...@hydroxide.nl wrote: How and when do we automatically generate

Re: Unbound in base

2012-02-17 Thread Stuart Henderson
On 2012/02/17 10:38, Jan Klemkow wrote: I think we need modern bind in ports if we do the replacement. So that the admins out there could easily use OpenBSD as a DNS-Server with such extra features. Yes of course. It's also needed for people doing split-horizon with views, and various other

Re: Unbound in base

2012-02-17 Thread Stuart Henderson
On Fri, Feb 17, 2012 at 12:01:46PM +0100, Henning Brauer wrote: * Jan Klemkow j.klem...@wemelug.de [2012-02-17 10:45]: There is an other problem with replacing bind with unbound and nsd. If you have a setup where you need to do authoritative and recursive resolving of domains with the

Re: vmmap replacement -- please test

2012-02-17 Thread Stuart Henderson
On 2012/02/17 22:01, Anton Maksimenkov wrote: Hello. I want to ask you about vmmap changes introduced here and in your presentation http://openbsd.org/papers/tdose_memalloc/presentation.html 1. http://openbsd.org/papers/tdose_memalloc/presentation.html#%2816%29 Browsers, java mono

Re: [resend] ipv6 support for tftp

2012-03-06 Thread Stuart Henderson
On 2011/01/22 19:40, Gleydson Soares wrote: can anyone test this diff? your feedback will be most welcome On Wed, Sep 08, 2010 at 11:51:11AM -0300, Gleydson Soares wrote: hi, - ipv6 support for tftp client. based on an old itojun's diff. weerd@ pointed out this old diff - here's a

Re: relayd and rdomain/prio defaults

2012-03-06 Thread Stuart Henderson
On 2012/03/06 10:20, Gabriel Linder wrote: On 03/05/12 21:10, Erik Lax wrote: On 3/2/12 5:09 PM, Gabriel Linder wrote: Since 5.0 rules injected by relayd includes on rdomain 0 and prio 0, I guess that's not intended ? I think you're right. And if so, the same problem seem to exist for the

Re: md5: new -C flag to skip non-existent files in checklist

2012-03-12 Thread Stuart Henderson
On 2012/03/12 00:49, Daniel C. Sinclair wrote: What do you think of making cksum output: (SHA256) nonexistant.txt: MISSING instead of FAILED and the extra output to stderr saying No such file or directory? I think this would be useful (in particular, for people downloading a set of

Re: gif: allow layer2 tunnels over ipv6

2012-03-13 Thread Stuart Henderson
On 2012/03/13 16:41, 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 7575055..8cf3de4 100644 --- netinet6/in6_proto.c +++

cvs, stop ignoring *@#%@# files/directories named core

2012-03-20 Thread Stuart Henderson
core dumps on OpenBSD are not named 'core' anyway so ignoring them is pointless and gets in the way. OK? Index: gnu/usr.bin/cvs/src/ignore.c === RCS file: /cvs/src/gnu/usr.bin/cvs/src/ignore.c,v retrieving revision 1.15 diff -u -p

Re: cvs, stop ignoring *@#%@# files/directories named core

2012-03-20 Thread Stuart Henderson
On 2012/03/20 11:42, Mark Kettenis wrote: Date: Tue, 20 Mar 2012 10:07:35 + From: Stuart Henderson s...@spacehopper.org core dumps on OpenBSD are not named 'core' anyway so ignoring them is pointless and gets in the way. OK? Why should cvs on OpenBSD behave different from

Re: random() always returns 0 with srandom(0)

2012-03-21 Thread Stuart Henderson
On 2012/03/21 12:37, Jeremy C. Reed wrote: My co-worker was troubleshooting why some of our unittests (that work on multiple operating systems and architectures) failed on OpenBSD and saw that if you call srandom(0) to initialize the RNG, random() will always return 0. (I was able to

Re: random() always returns 0 with srandom(0)

2012-03-21 Thread Stuart Henderson
On 2012/03/21 17:41, Stuart Henderson wrote: On 2012/03/21 12:37, Jeremy C. Reed wrote: My co-worker was troubleshooting why some of our unittests (that work on multiple operating systems and architectures) failed on OpenBSD and saw that if you call srandom(0) to initialize the RNG

Re: ssl certificate chains (in relayd)

2012-03-21 Thread Stuart Henderson
On 2012/03/21 20:51, Stuart Henderson wrote: On 2012/03/21 15:38, Todd T. Fries wrote: Separately, I'd also love to be able to specify the certificate by name per relay, as sometimes a given relayd instance might receive redirected traffic for multiple external addresses. Sure

Re: vmmap speed increase diff

2012-03-23 Thread Stuart Henderson
On 2012/03/23 21:50, Ariane van der Steldt wrote: Hi, With the recent introduction of vmmap, I introduced a slowdown which affects programs with alot of memory (browsers for instance). First of all, since I've heard very few complaints, thanks for putting up with this. I knew you were

Re: base httpd ProxyPreserveHost not working

2012-03-24 Thread Stuart Henderson
On 2012/03/24 16:58, Jacob L. Leifman wrote: following up on my own post (the only reponse I received was the suggestion to switch to nginx, and while it does appear that much development is happening there, I am not in a position to deploy current right away...) Your analysis and diff

Re: base httpd ProxyPreserveHost not working

2012-03-25 Thread Stuart Henderson
On 2012/03/24 21:33, Stuart Henderson wrote: On 2012/03/24 16:58, Jacob L. Leifman wrote: following up on my own post (the only reponse I received was the suggestion to switch to nginx, and while it does appear that much development is happening there, I am not in a position to deploy

Re: cvs, stop ignoring *@#%@# files/directories named core

2012-03-26 Thread Stuart Henderson
On 2012/03/23 11:33, Marc Espie wrote: On Tue, Mar 20, 2012 at 11:42:23AM +0100, Mark Kettenis wrote: Date: Tue, 20 Mar 2012 10:07:35 + From: Stuart Henderson s...@spacehopper.org core dumps on OpenBSD are not named 'core' anyway so ignoring them is pointless and gets

Re: cvs, stop ignoring *@#%@# files/directories named core

2012-03-26 Thread Stuart Henderson
On 2012/03/26 10:16, Stuart Henderson wrote: An addition to ignore .git files, some of us use git locally to track changes pre-commit and, just like the existing ignore entries for RCS/SCCS/CVS control files, there is no reason to import these to CVS without an explicit ignore. A few offlist

Re: bgplg: use -A with traceroute6 to print the AS number

2012-03-28 Thread Stuart Henderson
I think this pushes the width of the page a bit too far, it's ok on my desktop machine, and maybe on my netbook when tracing over networks that don't use long v6 addresses in their network, but I would prefer to bump the div width in bgplg.head too. It's currently 599, increasing this to 800 or so

<    1   2   3   4   5   6   7   8   9   10   >