openbsd-tech mailing list

FromSubjectsort iconDate
MR.WOOD
150 Premium Woodworking Videos
Videos on Building Custom Furniture, Chairs & Tables For Your Home Download Now : http://business-page.us/16000-woodworking-projects-and-plans.html
Dec 3, 4:10 pm 2010
Jason McIntyre
Re: mbrtowc(3) man page again
some tweaks. jmc --- mbrtowc.3 Fri Dec 3 19:33:27 2010 +++ mbrtowc.3.new Fri Dec 3 19:45:19 2010 @@ -39,7 +39,7 @@ .Sh DESCRIPTION The .Fn mbrtowc -examines at most +function examines at most .Fa n bytes of the multibyte character byte string pointed to by .Fa s , @@ -94,7 +94,7 @@ .Fa mbs . They will be used during subsequent calls of .Fn mbrtowc -to restart the conversion suspended. +to restart the suspended conversion. .Pp In state-dependent encodings, .Fa s @@ ...
Dec 3, 12:45 pm 2010
Stefan Sperling
mbrtowc(3) man page again
I spent some more time trying to understand the beast that's mbrtowc(3). uwe helped me by discussing over beer and we compared the C99 standard with the current man page. This provided quite a bit of additional insight which prompted me to more or less rewrite the entire page. The resulting diff is below. Please try to find errors! I'm not very happy anymore with the code example I posted in http://marc.info/?l=openbsd-tech&m=129029477620897&w=2 but will update that in a separate ...
Dec 3, 11:27 am 2010
Stefan Sperling
Re: mbrtowc(3) man page again
Thank you. I found one error: EUC is a stateless encoding. I confused it with ISO-2022. Updated diff: Index: mbrtowc.3 =================================================================== RCS file: /cvs/src/lib/libc/locale/mbrtowc.3,v retrieving revision 1.2 diff -u -p -r1.2 mbrtowc.3 --- mbrtowc.3 31 May 2007 19:19:29 -0000 1.2 +++ mbrtowc.3 3 Dec 2010 23:16:38 -0000 @@ -28,163 +28,214 @@ .Dd $Mdocdate: May 31 2007 $ .Dt MBRTOWC 3 .Os -.\" ...
Dec 3, 4:30 pm 2010
Heather Berkowitz
Save BIG on Restaurant Supplies at Caterers Warehouse
If you are having trouble viewing this e-mail, Please Click Here www.catererswarehouse.com Caterer's Warehouse Weekly Specials Caterer's Warehouse Weekly Hot Delas Home Specialty Stores Catering Supplies Restaurant Equipment Tabletop Specialties Bakery Supplies Bar Supplies Kitchen Supplies Disposable Supplies Commercial Furniture Janitorial Supplies Gift & Awards Hot Deals Weekly Hot Deal Item [IMAGE] [IMAGE]Find Us On ...
Dec 3, 7:45 am 2010
Karen Swarth
Could use some help finding my error in pf.conf
This host is a firewall doing NAT for $our_hosts_ext. It allows certain traffic from (a) our local network, $ourlocal and (b) partner networks, $networks_friendly. The intention here was to default-deny all traffic addressed to $our_hosts_ext and this host itself; I wrote separate rules for those so that I could test and log them separately, and so that I could keep the rulesets for "hosts" and "the firewall" separate in the config file. The problem is that I'm logging ssh attempts (on the ...
Dec 3, 9:27 am 2010
DigitalesNet
Fotografía y Video para Profesionales
USD 1499 PANASONIC NV-MD10000 Sensor: 3 CCD Sistema: PAL / Formato: Mini DV Monitor: TFT 2.5 pulgadas / Zoom: Optico: 15x Digital: 750x / Accesorios incluidos: Cables AV y USB / Batería / Adaptador-cargador AC / Software USD 770 Sony ...
Dec 3, 7:03 am 2010
Daniel Melameth
Re: Killing nfsd and then running netstat -m causes lockup
On Fri, Dec 3, 2010 at 7:09 AM, Mark Kettenis <mark.kettenis@xs4all.nl> I applied the patch on a recent snapshot, recompiled the kernel and can no longer reproduce the issue. NFS operations appear to work fine and I cannot reproduce the issue even after restarting nfsd multiple times. FWIW, I uncovered this issue after updating a system to 4.7--4.6 did not have this issue.
Dec 3, 11:05 am 2010
Mark Kettenis
Re: Killing nfsd and then running netstat -m causes lockup
Calling pool_init() multiple times is bad. This happens when you kill nfsd on a machine. Daniel does this fix your problem? ok? Index: nfs_syscalls.c =================================================================== RCS file: /cvs/src/sys/nfs/nfs_syscalls.c,v retrieving revision 1.91 diff -u -p -r1.91 nfs_syscalls.c --- nfs_syscalls.c 7 Aug 2010 03:50:02 -0000 1.91 +++ nfs_syscalls.c 3 Dec 2010 14:06:26 -0000 @@ -549,8 +549,9 @@ nfsrv_init(int terminating) ...
Dec 3, 7:09 am 2010
Ted Unangst
Re: Killing nfsd and then running netstat -m causes lockup
On Fri, Dec 3, 2010 at 9:09 AM, Mark Kettenis <mark.kettenis@xs4all.nl>
Dec 3, 7:59 am 2010
Daniel Melameth
Re: Killing nfsd and then running netstat -m causes lockup
On Fri, Dec 3, 2010 at 7:09 AM, Mark Kettenis <mark.kettenis@xs4all.nl>
Dec 3, 9:36 am 2010
Incommer
GPS NV830
GPS NV830 $ 544 pesos Entrada de video / Touchscreen / MP4 - MP3 - Juegos / Sistema operativo CE6 / Compatible con: My way / Garmin / Incluye mapas actualizados: Argentina / Brasil / Uruguay / Chile / Paraguay. / Compatible con: Mapear9 / Word / Excel / Powerpoint / PDF Viewer / Notepad. / 2GB incluídos / Touch scream / ...
Dec 3, 4:43 am 2010
loganbenton33
22文件接收☆
SP----fa-------piao------ ?* #,WIQ/#:R@H}Ax>F#,6~6~R;H}#,>FKB0M!#Q#:R@6~F_ **H}AxAx**6~0M6~Ax!# Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Dec 2, 7:15 pm 2010
DJ ORIENTADORA
CONTABILIDADE
Caso nco esteja visualizando este e-mail, clique aqui. [IMAGE] [IMAGE] [IMAGE] [IMAGE] Consulte-nos sobre campanha para sua empresa! Clique aqui se nco deseja receber mais nossos informativos.
Dec 2, 5:10 pm 2010
David Gwynne
Re: better matching of boot devices on amd64
we'll fix the bootloader eventually. i just dont think that is a great idea at this point in the cycle. dlg
Dec 2, 6:42 pm 2010
Alexander Bluhm
Re: recv buffer scaling doesn't work
tcp_update_sndspace() still rounds up to tp->t_maxseg even if SO_SNDBUF has been set. I was always wondering why the code in tcp_update_sndspace() is different from tcp_update_rcvspace(). tcp_update_sndspace() ... /* round to MSS boundary */ nmax = roundup(nmax, tp->t_maxseg); if (nmax != so->so_snd.sb_hiwat) sbreserve(&so->so_snd, nmax); } tcp_update_rcvspace() ... if (nmax == so->so_rcv.sb_hiwat) return; ...
Dec 3, 8:14 am 2010
Ben Aitchison
Re: recv buffer scaling doesn't work
Hey I just discovered that relayd isn't raising the buffer sizes, whereas squid is. There may be some issue like not accepting the data quick enough causing issues? If I set a static buffer at 49152, I get the same speeds as my (raised) default. But if I use squid I get something more comparable to the speeds I get when I raise buffer to 262144. (which isn't 5 times as fast fwiw) So I'm assuming that some applications are not increasing the window size for some reason or other; Ben
Dec 3, 3:07 am 2010
Claudio Jeker
Re: recv buffer scaling doesn't work
IIRC I changed the rcvspace version because else it would alternate between sb_hiwat and roundup(sb_hiwat, tp->t_maxseg). The problem was that roundup(sb_max, tp->t_maxseg) was bigger then sb_max and so the sbreserve() would be called everytime. I guess tcp_update_sndspace() may have a similar issue but it needs to be fixed differently because the two algorithms are too different. Btw. the scaling functions are probably not perfect and if people can come up with a better algorithm I'm happy ...
Dec 3, 9:59 am 2010
Claudio Jeker
Re: recv buffer scaling doesn't work
Window size scaling is disabled when an application is issuing a setsockopt() changing SO_SNDBUF or SO_RCVBUF.
Dec 3, 5:12 am 2010
Ben Aitchison
Re: recv buffer scaling doesn't work
Well I had been looking through the relayd code to figure out if it buffers, or how it buffers. And getting a bit confused, and figuring that libevent would do that kind of thing. Which I had only just started looking through. What I did find though was that relayd doesn't seem to set SO_SNDBUF/SO_RCVBUF unless it sets both with an explicit option. And it doesn't do so by default unless you add it to the configuration. The thing is not defining or setting it explicitally it behaved the same ...
Dec 3, 7:57 am 2010
Jacob Meuser
Re: more usb detach love
didn't get much feedback. if there are no objections I'd like to move -- jakemsr@sdf.lonestar.org SDF Public Access UNIX System - http://sdf.lonestar.org
Dec 3, 8:57 am 2010
previous daytodaynext day
December 2, 2010December 3, 2010December 4, 2010