bgplg: remember entered address in form field

2012-03-28 Thread Stuart Henderson
Seeing gsoares@ diff reminded me I've had this diff lying in my tree for a while. - change the variable name from cmd= to arg= to match most other looking glasses, giving a hint to browser autocomplete for addresses you type regularly. - default the form input field to the previously entered

Re: login_yubikey does not accept user.name

2012-04-04 Thread Stuart Henderson
On 2012/04/04 15:34, Bjvrn Ketelaars wrote: 2012/4/3 Theo de Raadt dera...@cvs.openbsd.org: Hmm, I'd like to see that refactored somehow. Also, '-' should not be legal at the start of a login name. There are things that care. I think at the end it is OK, though. Crazy eh. Isn't

Re: [cwm patch 4/6] Unmaximize window when moving it

2012-04-08 Thread Stuart Henderson
this will really get in my way, if it goes in, it needs to be configurable On 2012/02/12 14:18, Alexander Polakov wrote: every window manager around does this, i guess diff --git a/client.c b/client.c index 74bb2e2..1daa4c2 100644 --- a/client.c +++ b/client.c @@ -438,7 +438,11 @@

Re: [cwm patch 2/6] Focus MRU client when doing group_only()

2012-04-08 Thread Stuart Henderson
Undecided about this.. I like the auto-raising but not so keen on the pointer snapping around. On 2012/02/12 14:18, Alexander Polakov wrote: diff --git a/calmwm.h b/calmwm.h index b365983..9ac93b0 100644 --- a/calmwm.h +++ b/calmwm.h @@ -319,6 +319,7 @@ void

Re: [cwm patch 1/6] Implement shell-like tab-completion for menus

2012-04-08 Thread Stuart Henderson
On 2012/01/20 00:44, Alexander Polakov wrote: window/application menu: tab completes the word. exec menu: tab completes the word, when at the end of the word file menu appears. I like this quite a lot, but there is a bug in a directory with a lot of files, see

Re: [cwm patch 3/6] Better modifier suppression detection

2012-04-08 Thread Stuart Henderson
On 2012/01/20 00:15, Alexander Polakov wrote: The obvious solution: just check for every possible modifier. client.c: In function 'client_cycle': client.c:641: error: 'struct screen_ctx' has no member named 'altpersist'

ftp, ignore whitespace at end of Content-Length

2012-04-23 Thread Stuart Henderson
As noted on misc, ftp http://www.spamhaus.org/drop/drop.lasso fails due to whitespace after the value of the content-length header. wget/curl/lynx/w3m all handle this. OK? Index: fetch.c === RCS file: /cvs/src/usr.bin/ftp/fetch.c,v

Re: add vmxnet3 to pcidevs

2012-04-23 Thread Stuart Henderson
On 2012/04/23 10:32, mxb wrote: User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Ne point resending now as it's simple enough to redo, but Thunderbird mangled your diff, see this for info

Re: Remove timezone support from the kernel

2012-04-24 Thread Stuart Henderson
On 2012/04/24 16:27, 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 environment variable, and

Re: pfctl: fix printing of 'foo/*' anchors

2012-04-27 Thread Stuart Henderson
On 2012/04/27 00:51, Lawrence Teo wrote: The diff below fixes pfctl so that it will show the 'authpf/*' anchor as intended: This is extremely useful for relayd/ftp-proxy too. Note that since this diff changes the behavior of pfctl -a 'foo/*' -sr, it will also change the pfload* regression

Re: relayd.conf(5): relay mode hash/loadbalance documentation

2012-05-05 Thread Stuart Henderson
On 2012/05/05 16:14, Sebastian Benoit wrote: Index: relayd.conf.5 === RCS file: /opt/OpenBSD-CVS/src/usr.sbin/relayd/relayd.conf.5,v retrieving revision 1.127 diff -u -p -r1.127 relayd.conf.5 --- relayd.conf.5 24 Apr 2012

Re: Using MCLGETI for sk(4)

2012-05-07 Thread Stuart Henderson
On 2012/05/06 21:34, Brad Smith wrote: I have resurrected the old jumbo allocator to MCLGETI conversion diff that was reverted with rev 1.152. The commit did not indicate why that was so. I updated it to -current and have tested it a fair bit on amd64 with a SysKonnect GEnesis board using

Re: ldpctl(8) fix invalid uptime

2012-05-14 Thread Stuart Henderson
I can't test ldpd at the moment, but the same diff applies to ospfd and works there, any OK's for me to commit it to both? On 2012/05/11 00:00, Rafael Zalamena wrote: This patch fixes the invalid uptime for interface which are not active (no link). When ldpd is running on an interface with no

unbound, fix accept spinning

2012-05-14 Thread Stuart Henderson
If anyone is running unbound from base (which you would have had to build yourself as it is not enabled yet), please try this diff and let me know if you see any regressions. Index: daemon/remote.c === RCS file:

Re: Latest libpcap 1.2.0 diff (2012-05-11)

2012-05-15 Thread Stuart Henderson
On 2012/05/15 14:19, Lawrence Teo wrote: I sent a diff to update libpcap in base in November 2011 [1]. Here's the latest version that fixes a bug I found after running regression tests on all pcap-based ports in the ports tree. For the record Lawrence has done a huge bunch of testing on this

Re: Using MCLGETI for sk(4)

2012-05-18 Thread Stuart Henderson
On 2012/05/17 21:16, Brad Smith wrote: On Mon, May 07, 2012 at 10:24:37AM +0100, Stuart Henderson wrote: On 2012/05/06 21:34, Brad Smith wrote: I have resurrected the old jumbo allocator to MCLGETI conversion diff that was reverted with rev 1.152. The commit did not indicate why

Re: Using MCLGETI for sk(4)

2012-05-19 Thread Stuart Henderson
On 2012/05/19 19:09, Loganaden Velvindron wrote: On Fri, May 18, 2012 at 5:16 AM, Brad Smith b...@comstyle.com wrote: On Mon, May 07, 2012 at 10:24:37AM +0100, Stuart Henderson wrote: On 2012/05/06 21:34, Brad Smith wrote: I have resurrected the old jumbo allocator to MCLGETI conversion

add AMT ports to /etc/services

2012-06-02 Thread Stuart Henderson
As with other entries in /etc/services, this adds to the ports to net.inet.tcp.baddynamic, preventing using the associated ports as a valid dynamic source port number. OK? Index: services === RCS file: /cvs/src/etc/services,v

Re: ramdisk overflow during make release with -stable on amd64

2012-06-06 Thread Stuart Henderson
On 2012/06/06 16:24, Peter Bisroev wrote: Thank you Ted. That makes sense. So what is the best way to skip making the floppy image when doing 'make release'? iirc, just edit SUBDIR in distrib/amd64/Makefile. On Wed, Jun 6, 2012 at 4:13 PM, Ted Unangst t...@tedunangst.com wrote: it happens.  

Re: cwm tiling

2012-06-09 Thread Stuart Henderson
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 this? cwm can't be everything to everyone. The point is: when you want tiling from time to time, it's impractical to switch to a tiling window

Re: tmux and login shells

2012-06-21 Thread Stuart Henderson
On 2012/06/21 15:52, Daniel Bolgheroni wrote: On Thu, Jun 21, 2012 at 04:21:30PM +0100, Nicholas Marriott wrote: I'm afraid tmux defaults are never going to please everyone. Some even had the gall to hate on the nice green status line ;-). Oh, the green... I should have mentioned this...

Re: route(8): /prefixlen syntax for -inet6

2012-06-28 Thread Stuart Henderson
It's a step in the right direction, but compare this: # route add 5.5.5.1/26 127.0.0.1 add net 5.5.5.1/26: gateway 127.0.0.1 # route delete 5.5.5.1/26 delete net 5.5.5.1/26 ...with this: # route add -inet6 ff55::1/96 ::1 add net ff55::1/96: gateway ::1 # route delete -inet6 ff55::1/96 route:

Re: Bridge rules

2012-06-30 Thread Stuart Henderson
On 2012/06/29 20:05, sven falempin wrote: ifconfig bridge0 rule pass in on fxp0 src de:ff:* wouldn't it be simpler to just allow a mask value to be set, then you don't need to mess with extra flag variables, just mask the MAC address with this value before comparison. ifconfig bridge0 rule

Re: Bridge rules

2012-06-30 Thread Stuart Henderson
On 2012/06/30 09:47, sven falempin wrote: Stuart, The flag is there to not change old behavior. Since masking with all 0's is pointless, you can use that to identify the standard behaviour, checking against 0 is a fast way to determine if the mask should be applied at all (this means a mask

Re: brgphy(4) fix jumbo setup code

2012-07-04 Thread Stuart Henderson
OK with me, I tested this on various bge and bnx last time it was around. On 2012/07/04 04:53, Brad Smith wrote: This was part of the bnx(4) jumbo diff but it should be commited separately as it pertains to bge(4) as well. Correct the jumbo setup code within brgphy(4). The code had a mistake

Re: [xenocara] freetype-2.4.10

2012-07-05 Thread Stuart Henderson
On 2012/07/05 11:38, David Coppa wrote: On Thu, Jul 5, 2012 at 11:35 AM, Stuart Henderson s...@spacehopper.org wrote: On 2012/07/05 10:11, David Coppa wrote: Hi, Here's an update to the latest freetype release (2.4.10). Please review, I'm a bit unsure about shlib_version bumping

let usr.sbin/httpd build with SSLv2 disabled

2012-07-07 Thread Stuart Henderson
ok? Index: src/modules/ssl/ssl_engine_init.c === RCS file: /cvs/src/usr.sbin/httpd/src/modules/ssl/ssl_engine_init.c,v retrieving revision 1.27 diff -u -p -r1.27 ssl_engine_init.c --- src/modules/ssl/ssl_engine_init.c 9 Feb 2005

tcpdump -A

2012-07-10 Thread Stuart Henderson
adds support for -A for tcpdump, to print captured text without the hex dump. can be useful if you're watching text-based protocols like HTTP or SIP. tcpdump.org uses the same flag (this isn't their code though). comments? OK? Index: tcpdump.8

Re: tcpdump -A

2012-07-10 Thread Stuart Henderson
On 2012/07/10 14:15, Mike Small wrote: Stuart Henderson s...@spacehopper.org writes: +/* dump the text from the buffer */ +void +default_print_ascii(const u_char *cp, unsigned int length, unsigned int offset) +{ + int c, i; + + printf(\n); + for (i = 0; i length; i

Re: Virtio drivers for OpenBSD

2012-07-11 Thread Stuart Henderson
On 2012/07/11 14:13, Otto Moerbeek wrote: On Wed, Jul 11, 2012 at 02:07:00PM +0200, Stefan Fritsch wrote: Hi, I have been working on porting NetBSD's virtio drivers to OpenBSD. I am not finished yet, but in order to prevent duplicate work, I thought I'd publish the current state

Re: Virtio drivers for OpenBSD

2012-07-12 Thread Stuart Henderson
On 2012/07/11 13:01, Matthew Dempsky wrote: Are you able to configure VMWare to emulate a different mpi(4) device? E.g., one that uses SAS or FC instead? Do you use the 53c1030 with Linux too? Yes, dmesg below from a VM with one of each type of emulated mpi(4). Note the lack of scsibus

Re: Huawei E303

2012-07-16 Thread Stuart Henderson
On 2012/07/15 19:00, Paul Irofti wrote: On Sun, Jul 15, 2012 at 05:40:03PM +0200, David Coppa wrote: Il giorno 15/lug/2012 16:56, Paul Irofti p...@irofti.net ha scritto: Unfortunately, I have no clue where to go from there. I'd like to connect to vodafone in Germany via UMTS, but I

Re: new pci ids

2012-07-16 Thread Stuart Henderson
On 2012/07/13 19:06, Kirill Bychkov wrote: Hi. Here is the bunch of pci devices, found in some laptops and desktops I get in my hands. OK to commit? product CMI CMI8738B 0x0112 CMI8738B Audio product CMI HSP560x0211 HSP56 AMR +product CMI CMI8788 0x8788

Re: Huawei E303

2012-07-17 Thread Stuart Henderson
On 2012/07/16 20:22, Andreas Bartelt wrote: Thanks a lot -- it basically works! Good :) OK 'AT+CPIN=1234' note that this will probably fail if the pin was already sent. From /var/log/messages: Jul 16 19:52:36 obsd pppd[19227]: Connect: ppp0 -- /dev/cuaU0 Jul 16 19:52:36 obsd pppd[19227]:

Re: small net80211 node cache fix

2012-07-18 Thread Stuart Henderson
On 2012/07/18 12:51, Stefan Sperling wrote: Node cache eviction is too agressive, possibly kicking off associated stations for no good reason. I missed that associated stations are in state IEEE80211_S_RUN rather than IEEE80211_S_ASSOC (which means trying to associate). there's

Re: Any idea of donate a Raspberry Pi to a developer?

2012-07-18 Thread Stuart Henderson
On Tue, Jul 17, 2012 at 06:08:24PM +0200, Johan Ryberg wrote: Hi. I wounder if it's any idea to donate a Raspberry Pi to a developer to make it work on OpenBSD? As understood it is the hardware spec to closed give it a chance but I rather ask then not. If there's somebody with the

Re: SNMPv3 Support

2012-07-18 Thread Stuart Henderson
On 2012/07/18 21:42, Reyk Floeter wrote: In fact we thought about this. But then, are there any SNMP management stations in the field that support this transport module? I have no idea. Well, the question is if there are any stations with TSM support yet. AFAIK, TSM was defined with

Re: intermittent crash

2012-07-22 Thread Stuart Henderson
On 2012/07/21 21:52, Mike Belopuhov wrote: On Sat, Jul 21, 2012 at 19:25 +0100, Stuart Henderson wrote: On 2012/07/21 18:49, Mike Belopuhov wrote: this sppp_clear_ip_addrs_args dance looks totally unneeded if i read the diff correctly. why don't you just pass sp as an argument

Re: Another nsd vulnerability fix

2012-07-28 Thread Stuart Henderson
On 2012/07/28 12:21, Loganaden Velvindron wrote: It can be triggered if nsd was compiled with --enable-zone-stats. http://www.nlnetlabs.nl/downloads/CVE-2012-2979.txt nsd isn't built with this option in OpenBSD so I don't see any big reason to take this as a separate patch, we will of course

UQ_BAD_HID

2012-08-09 Thread Stuart Henderson
Thanks to mpi@, libusb now has some support for communicating with devices even though they're not attached to ugen(4). What do people think about removing the UQ_BAD_HID entries in usb_quirks.c which prevents these devices from attaching to uhid(4)? My Liebert UPS is okay, yubikeys can be

Re: UQ_BAD_HID

2012-08-10 Thread Stuart Henderson
On 2012/08/10 13:46, Martin Pieuchot wrote: I'm also in favor of removing quirks however I would suggest to remove them on a case-by-case basis until libusb have full support for communicating with any usb device (hopefully in this release cycle). Many items on that list are UPS which share

Re: UQ_BAD_HID

2012-08-11 Thread Stuart Henderson
On 2012/08/10 10:05, Vijay Sankar wrote: I tested one APC UPS I have here with apcupsd and it works well. If this information is of any use, please let me know and I can test it with other APC UPS'es we have here (ES 550 etc.) and report back. Thanks, is that with the APC entries in

Re: vmt ref vmwh

2012-08-13 Thread Stuart Henderson
On 2012/08/13 10:51, Lawrence Teo wrote: OK for me as well; I prefer the version that spells out the port name as sysutils/vmwh We direct users towards packages not ports.

Re: systat(1) manpage clarification

2012-08-16 Thread Stuart Henderson
On 2012/08/16 21:22, Jason McIntyre wrote: On Thu, Aug 16, 2012 at 10:39:16AM -0400, Okan Demirmen wrote: clarify that -w is used for raw output only (removes the 'not sure' XXX comment). ok? how does it work? doing something like systat -b -w 10 seems to make no difference. the

add -Wdeclaration-after-statement to CDIAGFLAGS

2012-08-20 Thread Stuart Henderson
Now that we have a default set of CDIAGFLAGS, would it make sense to add this? It doesn't affect kernel builds, but at least helps pick up problems creeping in to userland. OK? Index: bsd.own.mk === RCS file:

Re: System is halted while installing on IBM x 3550 M3 server

2012-08-20 Thread Stuart Henderson
On 19 August 2012 08:52, mu...@nitrkl.ac.in wrote: I am using openbsd 5.1 i386 arch. While installing openbsd5.1 i get these error message. acpi0 at bios0:rev2uvm_fault (0xd07ea4,.) fatal page_fault (6) in supervisor mode trap type 6 code 0eipd02ef7ba cs 8

Re: ntpd(8) option to provide time even when not being synced

2012-09-08 Thread Stuart Henderson
On 2012/09/07 20:16, Mike. wrote: On 9/7/2012 at 6:35 PM Patrick Wildt wrote: |I have machines which might not have an internet connection, but still |need to |be synchronized, |even if the time's not correct. What's important is, that every machine in |the |network has the |same time.

Re: BCM5719 support for bge(4)

2012-09-10 Thread Stuart Henderson
On 2012/09/10 22:57, David Gwynne wrote: i dont have this hardware, so i can only test that it hasnt broken this chip: bge0 at pci3 dev 4 function 0 Broadcom BCM5714 rev 0xa3, BCM5715 A3 (0x9003): ivec 0x795, address 00:14:4f:a9:34:90 brgphy0 at bge0 phy 1: BCM5714 10/100/1000baseT/SX PHY,

Re: usermod: lock/unlock local password

2012-09-11 Thread Stuart Henderson
On 2012/09/11 03:47, Ted Unangst wrote: On Mon, Sep 10, 2012 at 17:01, Antoine Jacoutot wrote: In effect locking/unlocking the password means to add a '!' in front of the encrypted entry in master.passwd. Note that this disable the _password_ not the account of course (you could still

Re: tcp ping

2012-09-14 Thread Stuart Henderson
On 2012/09/13 13:54, Matthew Dempsky wrote: On Thu, Sep 13, 2012 at 12:02 PM, Ted Unangst t...@tedunangst.com wrote: This adds a -T portnum option to ping. I haven't polished the output because I'm not sure if this is desirable or not, but I found it useful. If it's not a hell no, never

Re: PF: match dir ... tag tag; pass tagged { tag, tag } keep state

2012-09-17 Thread Stuart Henderson
On 2012/09/17 17:14, Mike Belopuhov wrote: On Mon, Sep 17, 2012 at 5:03 PM, Henning Brauer henn...@openbsd.org wrote: * mxb m...@alumni.chalmers.se [2012-09-10 17:51]: is there any plans to expand 'tagged' keyword in PF into list? not that I am aware of, but it would make sense to have

Re: Threads related SIGSEGV in random.c

2012-09-20 Thread Stuart Henderson
On 2012/09/19 22:06, Stefan Sperling wrote: On Wed, Sep 19, 2012 at 10:37:09PM +0300, Alexey Suslikov wrote: Could you guide me how to rebuild/reinstall libc in a proper way? It's easy, just needs 11 steps. This is how I did it: 1) $ cd /usr/src/lib/libc 2) edit files 3) $ make obj 4)

Re: Threads related SIGSEGV in random.c

2012-09-20 Thread Stuart Henderson
On 2012/09/20 12:04, Paul Irofti wrote: On Thu, Sep 20, 2012 at 09:42:16AM +0100, Stuart Henderson wrote: On 2012/09/19 22:06, Stefan Sperling wrote: On Wed, Sep 19, 2012 at 10:37:09PM +0300, Alexey Suslikov wrote: Could you guide me how to rebuild/reinstall libc in a proper way

Re: proto cksum madness

2012-09-21 Thread Stuart Henderson
On 2012/09/20 20:16, Henning Brauer wrote: I need your help testing. This diff has a kinda high breakage potential, since there are quite a few output pathes. On the plus side breakage is easy to spot, since that'll result in bad checksums and thus these packets getting dropped. Should be all

Re: proto cksum madness

2012-09-22 Thread Stuart Henderson
On 2012/09/22 13:29, Camiel Dobbelaar wrote: On 21-9-2012 23:40, Stuart Henderson wrote: $ ifconfig vr0 hwfeatures|head -2 vr0: flags=8b43UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST mtu 1500 hwfeatures=8017CSUM_IPv4,CSUM_TCPv4,CSUM_UDPv4,VLAN_MTU,WOL No problems

Re: Intel azalia(4) and MSI

2012-09-26 Thread Stuart Henderson
On 2012/09/24 03:49, Brad Smith wrote: I've always wondered why this workaround was not removed once MSI support was added. This was added before we had MSI support to workaround some Intel azalia(4) being setup by the BIOS as far as I know to use MSI and thus interrupts on system that were

Re: gem(4): simplify gem_attach_pci() variant detection code a bit

2012-09-28 Thread Stuart Henderson
On 2012/09/28 10:08, Kenneth R Westerback wrote: This is better IMHO. I was mildly concerned about the previous versions that seemed to recognize previously unknown chips. ok krw@ The driver won't attach to unknown chips anyway, if someone adds a new id to gem_pci_devices[], either the

Re: smtpd require auth

2012-10-09 Thread Stuart Henderson
On 2012/10/09 18:49, Alexander Hall wrote: On 10/09/12 17:38, Gilles Chehade wrote: On Tue, Oct 09, 2012 at 09:29:25AM -0600, Bob Beck wrote: On Tue, Oct 9, 2012 at 9:25 AM, Gilles Chehade gil...@poolp.org wrote: I agree with you that people will probably not want port 587 without auth

Re: Unable to mount SAN IBM DS3400 through Qlogic HBA 24XX on openbsd 5.1

2012-10-11 Thread Stuart Henderson
On 2012/10/11 15:25, mu...@nitrkl.ac.in wrote: Still i am waiting for some hope. Nobody attach SAN With openbsd till now in the world ?. Yes people have used SAN with OpenBSD, isp tends to be a bit more quirky than mpi though..

Re: MD5 checksums - checksums in pkg.conf.5

2012-10-11 Thread Stuart Henderson
On 2012/10/11 19:20, Dawe wrote: As the ports system has moved on from MD5 I hope this makes sense: Index: pkg.conf.5 === RCS file: /cvs/src/usr.sbin/pkg_add/pkg.conf.5,v retrieving revision 1.4 diff -u -p -u -p -r1.4

Re: Scheduler improvements, take 1001, Patch 2/5

2012-10-15 Thread Stuart Henderson
On 2012/10/15 16:18, David Coppa wrote: On Sun, Oct 14, 2012 at 4:53 PM, Gregor Best g...@ring0.de wrote: On Sun, Oct 14, 2012 at 11:05:36AM +0200, David Coppa wrote: On Tue, Oct 9, 2012 at 6:21 PM, Gregor Best g...@ring0.de wrote: This patch simply halves the timeslice processes get until

Re: SIIG 4S PCIe 4-port Serial Card

2012-10-19 Thread Stuart Henderson
On 2012/10/19 12:44, William Ahern wrote: The puc(4) man page lists the SIIG Cyber 4S PCI as supported. I just inserted a SIIG Cyber 4S PCIe. I figured it would look the same as the PCI card, considering that the new chip is named OXPCIe954, similar to the old OXPCI954. But obviously that

Re: cwm reload support

2012-10-30 Thread Stuart Henderson
On 2012/10/29 19:32, Okan Demirmen wrote: will anyone miss reload support? one can always re-exec cwm, or any other wm for a matter of fact. yes - I use this when I've updated the config file - re-exec would be ok because the window groups etc are memorized between instances, but I'd quite

Re: bge(4): enable TCP/UDP checksum offload

2012-11-05 Thread Stuart Henderson
On 3 nov 2012, at 22:41, Christian Weisgerber na...@mips.inka.de wrote: Henning's epic rewrite of the checksum handling has fixed On 2012/11/05 18:57, mxb wrote: Can someone, please, point me to the right cvs URL for those changes. Thanks.

Re: em(4): enable TCP/UDP checksum offload

2012-11-06 Thread Stuart Henderson
For people who are testing checksum-offload-enabling diffs, it would help if you could say what sort of things have tested. Things like fragments/NFS are far more likely to exercise bugs in the hardware than standard web browsing.

Re: heads-up: on -current, -static may not be as static as you think

2012-11-06 Thread Stuart Henderson
On 2012/11/05 13:57, Marc Espie wrote: This stuff is totally a moving target, it is probably going to change in the future. Note that there are very good reasons to prefer pie binaries in MOST cases, including for 'static' binaries... So, as far as the chroot way goes, the most

Re: [PATCH] mlockall() problem in OpenBSD 5.2

2012-11-08 Thread Stuart Henderson
Oh talking of RLIMIT reminds me...can someone who knows this area take a look at http://thread.gmane.org/gmane.os.aeriebsd.general/100 please?

Re: src/sys/net/if_pflow.c - fix kernel builds without bpfilter

2012-11-08 Thread Stuart Henderson
On 2012/11/08 11:52, Gleydson Soares wrote: Hi, protect bpfilter portion with #if NBPFILTER 0. fix kernel builds without bpfilter. OK ? Due to the variable ifp being unused. Yep, OK. Index: if_pflow.c === RCS file:

Re: Major dhclient(8) changes - no more dhclient-script

2012-11-15 Thread Stuart Henderson
On 2012/11/15 16:59, Jiri B wrote: On Fri, Nov 09, 2012 at 09:44:01AM -0500, Kenneth R Westerback wrote: Those of you following -current or running very recent snaps may have noticed a lot of changes to dhclient in the last couple of weeks. Aside from some major clean up, these changes

Re: Disable modload(8)

2012-11-21 Thread Stuart Henderson
On 2012/11/21 12:01, Mike Belopuhov wrote: On Wed, Nov 21, 2012 at 11:50 AM, Alexey E. Suslikov alexey.susli...@gmail.com wrote: Hello tech@. Following this http://blog.crowdstrike.com/2012/11/http-iframe-injecting-linux-rootkit.html Besides of doing #option LKM, is there any other

Re: upstream vendors and why they can be really harmful

2012-11-23 Thread Stuart Henderson
Guys are not probably reading you enough. See http://lists.gnu.org/archive/html/gnu-system-discuss/2012-11/msg0.html and https://news.ycombinator.com/item?id=4821488 :-) Can you please take this to another mailing list or off-list? Developer's Lists These lists are for technical

Re: Display hardmtu with ifconfig hwfeatures

2012-11-23 Thread Stuart Henderson
On 2012/11/23 17:46, Christian Weisgerber wrote: Stuart Henderson s...@spacehopper.org wrote: This adds an ioctl to retrieve if_hardmtu, and adds code to display it via ifconfig hwfeatures. I'm worried that our drivers don't set this or that the value doesn't accurately reflect

Re: hostname.if(5) clarification

2012-11-26 Thread Stuart Henderson
On 2012/11/26 17:40, Jason McIntyre wrote: anyway...i still dislike the idea of just saying order matters. also, could someone really expect the file to not be parsed top down Yes, I think they might; people are used to config files being read and parsed before being applied, and because this

Re: hostname.if(5) clarification

2012-11-27 Thread Stuart Henderson
On 2012/11/26 22:24, Christian Weisgerber wrote: Mark Kettenis: I don't really see what this buys us. You still have to maintain the backwards compat code. You'll end up with an inconsistent mess of hostname.if and if.whatever files. And all of this to fix what exactly? To preserve

Re: hostname.if(5) clarification

2012-11-27 Thread Stuart Henderson
On 2012/11/27 23:50, Alexander Hall wrote: IIRC, isn't there a few distinct (non-ifconfig-compatible) cases we handle specially, yes, but it's the important ones: inet and inet6. inet by itself is pretty easy, it's the default anyway so you can just write 11.22.33.44/28 directly in

Re: rc.d/dhcpd

2012-11-28 Thread Stuart Henderson
On 2012/11/28 10:24, mxb wrote: Then running dhcpd with pf-support (-A tbl -C tbl). dhcpd spawns child process which is not handled by rc-script then stop/restart. This is a bug in dhcpd, not the rc script.

Re: cloneable tun

2012-11-29 Thread Stuart Henderson
On 2012/11/28 22:21, Mike Belopuhov wrote: Drawback: This diff would require to patch all the existing users of /dev/tun* in ports and the tree to add the TUNSIFUNIT ioctl. The benefit is that you don't have to MAKEDEV all the tuns anymore and can open up to around 1024 active tun(4)

Re: Problems compiling libsqlite3

2012-12-03 Thread Stuart Henderson
Run 'make includes' in /usr/src (this is part of 'make build' so a standard full build would work ok). James Turner ja...@calminferno.net wrote: I'm trying to build the latest libsqlite3 in tree and am running into a number of problems. First I want to make sure I'm following the correct build

Re: group.5

2012-12-09 Thread Stuart Henderson
On 2012/12/09 05:51, Jiri B wrote: On Sun, Dec 09, 2012 at 03:07:18PM +1030, David Walker wrote: Hey. I noticed adding a user to wheel doesn't provide su capability automatically. This is described in su(1). I though it might be useful to mention it in group(5) also. --- group.5

profiling kernels

2012-12-14 Thread Stuart Henderson
Are profiling kernels known to be broken at the moment? I'm trying to track down why my laptop crawls during pkg_add -u (slow interactive response, 40%+ cpu in irq) but if I run kgmon -b while pkg_add is running the machine hangs. (no ddb, no keyboard LEDs). It also hangs after kgmon -b with X

Re: profiling kernels

2012-12-15 Thread Stuart Henderson
On 2012/12/14 13:40, Mike Belopuhov wrote: On 14 December 2012 13:38, Stuart Henderson s...@spacehopper.org wrote: Are profiling kernels known to be broken at the moment? profiling has never worked on MP kernels... pity, can't reproduce the problem with UP.

Re: [patch] sndio.7

2012-12-21 Thread Stuart Henderson
On 2012/12/21 18:31, Jason McIntyre wrote: -There's no hardware involved: thru boxes are created by +There is no hardware involved: thru boxes are created by i don;t see why this is an improvement. what's wrong with it? No hardware is involved might be a slight improvement, There is no ...

Re: diff: dhcp-options(5) vs. dhcpd/tables.c

2013-01-03 Thread Stuart Henderson
On 2013/01/03 16:00, MERIGHI Marcus wrote: j...@kerhand.co.uk (Jason McIntyre), 2013.01.02 (Wed) 18:39 (CET): On Sun, Dec 16, 2012 at 07:24:53PM +0100, MERIGHI Marcus wrote: playing with option-252 I found it already has a name. Found that as well:

Re: adduser: better locked password

2013-01-04 Thread Stuart Henderson
On 2013/01/03 21:06, Chris Cappuccio wrote: Tobias Ulmer [tobi...@tmux.org] wrote: Adding a user with a locked password is a deliberate action. Set the password to * to stop security(8) from complaining about the new user. I think it'd make more sense if security(8) didn't

bgpd sending notification: HoldTimer expired, unknown subcode 0

2013-01-10 Thread Stuart Henderson
subcode 0 is normal for ERR_HOLDTIMEREXPIRED; don't print unknown subcode for this. OK? Index: log.c === RCS file: /cvs/src/usr.sbin/bgpd/log.c,v retrieving revision 1.56 diff -u -p -r1.56 log.c --- log.c 10 Jun 2012 11:16:08

Re: vr(4) TX interrupt reduction

2013-01-14 Thread Stuart Henderson
On 2013/01/14 14:03, Chris Cappuccio wrote: Micha?? Markowski [markows...@gmail.com] wrote: 2013/1/14 Darren Tucker dtuc...@zip.com.au: Testing on any VIA Rhine chips would be appreciated (especially ones that are not 6105M like my ALIX). Hi, nothing conclusive on VIA VT6107 (dmesg:

Re: terminfo entries for rxvt-unicode

2013-01-15 Thread Stuart Henderson
On 2013/01/15 10:05, Nicholas Marriott wrote: On Tue, Jan 15, 2013 at 01:59:47AM -0700, David Coppa wrote: Since rxvt-unicode is becoming increasingly popular as an alternative to xterm, here's why I'm asking to add its terminfo entries to the system termcap... Well, my point is that we

Re: terminfo entries for rxvt-unicode

2013-01-15 Thread Stuart Henderson
On 2013/01/15 04:54, David Coppa wrote: From: Stuart Henderson st...@openbsd.org Date: Tue, Jan 15, 2013 at 11:30 AM Subject: Re: terminfo entries for rxvt-unicode To: Nicholas Marriott nicholas.marri...@gmail.com Cc: dco...@gmail.com, tech@openbsd.org On 2013/01/15 10:05

allow sending certain frames on trunkdevs for LLDP

2013-01-16 Thread Stuart Henderson
Daemons which send LLDP advertisements (e.g. ladvd and lldpd) need to send frames on trunk member ports in order that the individual port can be identified to the switch; currently there is a blanket restriction on sending via these ports, the following diff changes this to permit AF_UNSPEC and

Re: allow sending certain frames on trunkdevs for LLDP

2013-01-16 Thread Stuart Henderson
On 2013/01/17 00:56, Claudio Jeker wrote: On Thu, Jan 17, 2013 at 12:40:32AM +0100, Marco Pfatschbacher wrote: On Wed, Jan 16, 2013 at 10:56:25PM +, Stuart Henderson wrote: Daemons which send LLDP advertisements (e.g. ladvd and lldpd) need to send frames on trunk member ports in order

Re: bge(4) support for BCM57{18,19,20}

2013-01-18 Thread Stuart Henderson
On 2013/01/18 13:35, Christian Weisgerber wrote: Claudio Jeker cje...@diehard.n-r-g.com wrote: Here is a diff to support the newer Broadcom chips seen in Dell and HP servers. This was tested against a BCM57765, BCM5721, and BCM5720. This needs a lot of testing on ANY bge(4). I already

pool_debug and network throughput on Alix

2013-01-22 Thread Stuart Henderson
Seeing some odd behaviour on an alix firewall and wondering if other people see the same, or it's something odd with my setup. I'm testing by running tcpbench on two other machines, with the traffic routed through the alix, ethernet-ethernet, not natted. With pool_debug enabled (sysctl

Re: add usb quirk to attach foo2zjs printers as ugen

2013-01-25 Thread Stuart Henderson
On 2013/01/25 15:36, Stefan Sperling wrote: On Fri, Jan 25, 2013 at 03:11:57PM +0100, Stefan Sperling wrote: If this diff goes in I'll later add more printers listed at http://www.openprinting.org/driver/foo2zjs/ once I've obtained their device IDs. It seems only 4 HP printers really

Re: WPA Enterprise on OpenBSD

2013-01-27 Thread Stuart Henderson
I will merge this with my port diff to update to 2.0 and send out a diff soon. Mark Kettenis mark.kette...@xs4all.nl wrote: The recent rantings on misc@ made me look at getting this to work once more. And this time I got it to work, sortof. The approach uses wpa_supplicant, but since the

Re: WPA Enterprise on OpenBSD

2013-01-27 Thread Stuart Henderson
On 2013/01/27 17:33, Stuart Henderson wrote: I will merge this with my port diff to update to 2.0 and send out a diff soon. I haven't tested WPA enterprise, but I have tested wired authentication with this version (TP-Link switch / MD5 / freeradius). I made a start at enabling the privilege

Re: beaglebone JTAG (FT2232H)

2013-01-28 Thread Stuart Henderson
Have you checked if this is still necessary? libusb on OpenBSD is now able to talk to devices claimed by drivers other than ugen. Raphael Graf r...@undefined.ch wrote: The diff below makes the jtag and serial interfaces of the beaglebone (FT2232H) work simultaneously. This is how the

Re: WPA Enterprise on OpenBSD

2013-01-28 Thread Stuart Henderson
On 2013/01/28 11:29, Mark Kettenis wrote: Looks like you and Gregor duplicated some effort. Yes (I had already done the update to 2.0 and was waiting on an OK).

Re: Rapoo V7 Keyboard Driver

2013-01-28 Thread Stuart Henderson
On 2013/01/28 14:20, Mike Larkin wrote: On Mon, Jan 28, 2013 at 06:50:28PM -0200, Daniel Bolgheroni wrote: Hi tech@, anyone with a patch lurking around to work with a Rapoo V7 keyboard? Linux has a workaround, but don't know if works:

Re: PATCH: relayd is not working under a non INET6 kernel

2013-01-29 Thread Stuart Henderson
On 2013/01/29 05:40, Brad Smith wrote: - Original message - Hi. With a non INET6 kernel, relayd is not working : fatal: icmp_init: socket: Protocol not supported. Cheers I could be wrong but I don't believe there is a INET6 define in userland so this would just break

Re: PATCH: relayd is not working under a non INET6 kernel

2013-01-29 Thread Stuart Henderson
On 2013/01/29 15:44, Julien Dhaille wrote: Just tried with a GENERIC kernel, however it's still working. So, if i follow you, this usage of INET6 define is definitely ugly ? Actually...it is irrelevant whether the kernel has v6 support or not when you build this userland program, the same

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