Re: computer hangs after varying amount of data is received from network via ssh

2010-10-13 Thread Ted Unangst
On Wed, Oct 13, 2010 at 1:24 PM, Robert Halberg robert.halb...@gmail.com wrote: After hundreds of megabytes are successfully transferred, the following message occurs on the OpenBSD system, effectively halting it: re2: watchdog timeout wd0(pciide0:0:0): timeout type: ata c_bcount:

Re: RESOLVED: segmentation faults during compiling

2010-10-13 Thread Ted Unangst
On Wed, Oct 13, 2010 at 6:37 PM, Amit Kulkarni amitk...@gmail.com wrote: My question is: when we do an initial/fresh install, are these limits set dynamically or they are hard coded? If I install on another machine do I have to change the limits in /etc/login.conf manually? login.conf is the

Re: computer hangs after varying amount of data is received from network via ssh

2010-10-13 Thread Ted Unangst
On Wed, Oct 13, 2010 at 5:25 PM, Robert info...@die-optimisten.net wrote: On Wed, 13 Oct 2010 16:55:18 -0400 Ted Unangst ted.unan...@gmail.com wrote: can be done about it, and 10 year old quirky PC hardware doesn't attract a of interest... As long as it's on [1] I hope it does? I guess I'm

Re: Why renice not work in OpenBSD?

2010-10-12 Thread Ted Unangst
On Tue, Oct 12, 2010 at 4:27 PM, Matthew Dempsky matt...@dempsky.org wrote: On Tue, Oct 12, 2010 at 1:15 PM, Dmitry-T dmitr...@yandex.ru wrote: Have OpenBSD non-preemptible kernel code? OpenBSD kernel code running in process context (i.e., kernel threads and user processes running system

Re: insecure scheduler in OpenBSD 4.7

2010-10-11 Thread Ted Unangst
On Mon, Oct 11, 2010 at 4:41 PM, Dmitry-T dmitr...@yandex.ru wrote: Run as _normal user_: dd if=/dev/urandom of=/dev/null It is not secure. One user script or program may load CPU and database or another servers lost speed in disk operations. This is hole for DOS attacks in OpenBSD design.

Re: libc glob issue?

2010-10-08 Thread Ted Unangst
On Fri, Oct 8, 2010 at 1:15 AM, Jeremy Chase jeremych...@gmail.com wrote: I found this article that claims 4.7's ftpd and sftp are vulnerable to DoS: http://www.h-online.com/open/news/item/Flaw-in-libc-implementation-threatens-FTP-servers-1103319.html Which links to:

Re: OpenBSD Vim Programming FAQ

2010-10-08 Thread Ted Unangst
On Fri, Oct 8, 2010 at 6:27 PM, Vladimir Kirillov pro...@uaoug.org.ua wrote: style(9): Indentation is an 8 character tab. Second level indents are four spaces. while (cnt 20) z = a + really + long + statement + that + needs + two + lines + gets + indented + four +

Re: FreeBSD isn't Free

2010-10-06 Thread Ted Unangst
On Wed, Oct 6, 2010 at 12:09 PM, Super Biscuit super_bisq...@yahoo.com wrote: Did they get the licensing, approval, or letter? I'm pretty sure that not every FreeBSD user with a laptop system incorporating such software has such a letter because I know I sure as hell never got one.

Re: Is GeForce 8200 supported ?

2010-10-02 Thread Ted Unangst
On Sat, Oct 2, 2010 at 4:55 AM, Jean-Francois jfsimon1...@gmail.com wrote: Is there noway to solve this with existing software, such as a compatible but limited driver ? Have you called up nvidia? You have a support contract, right?

Re: [OpenCV] Compilation error

2010-10-02 Thread Ted Unangst
There is no dl library. Remove references to it. On Fri, Oct 1, 2010 at 6:31 PM, Benjamin GUILLER orion.64.loves@gmail.com wrote: Hello world, I am trying to install OpenCV library onto my laptop for making a robot running on OpenBSD. I need to install OpenCV library, so I've read the

Re: Incorrect FAQ entry about ksh(1) does not appear to read my .profile

2010-10-02 Thread Ted Unangst
On Sat, Oct 2, 2010 at 5:33 PM, Amit Kulkarni amitk...@gmail.com wrote: http://www.openbsd.org/faq/faq8.html#ksh echo XTerm*loginShell: true ~/.Xdefaults My .Xdefaults has XTerm*loginShell:true Notice the missing space before true. I upgraded from a August 16,2010 snapshot to -current

Re: How to use /dev/srandom

2010-09-29 Thread Ted Unangst
On Wed, Sep 29, 2010 at 9:57 AM, Simon Perreault simon.perrea...@viagenie.ca wrote: I'm trying to use /dev/srandom, but I can't get even a single byte out of it. Independent of other problems, I don't think you should be using srandom. We should just take that interface away, people see it and

Re: How to use /dev/srandom

2010-09-29 Thread Ted Unangst
On Wed, Sep 29, 2010 at 12:49 PM, Kevin Chadwick ma1l1i...@yahoo.co.uk wrote: And isn't srandom sometimes (very rarely!) appropriate? E.g. for generating encryption keys? If arandom is somehow not appropriate for generating keys, it should be fixed. I'd be interested to hear more. I notice

Re: How to use /dev/srandom

2010-09-29 Thread Ted Unangst
On Wed, Sep 29, 2010 at 11:39 AM, Theo de Raadt dera...@cvs.openbsd.org wrote: Independent of other problems, I don't think you should be using srandom. We should just take that interface away, people see it and then they want to use it, but it doesn't work the way they want. Taking it away

Re: How to find out if process runs chrooted?

2010-09-08 Thread Ted Unangst
On Wed, Sep 8, 2010 at 8:55 AM, Elmar Bschorer elmar.bscho...@bugconsulting.de wrote: short question - how can i find out if a process runs chrooted? i couldn't find any hints in man chroot :-( fstat | awk '$4 == root'

Re: mounting a disk from macppc on i386

2010-09-01 Thread Ted Unangst
On Wed, Sep 1, 2010 at 11:24 AM, Rodolfo Gouveia rgouv...@cosmico.net wrote: Say I have a macppc machine and it dies. Could I mount the disk on an i386 one to salvage the information? With a ffs filesystem of course. No, the filesystem is endian dependent.

Re: veriexec in OpenBSD?

2010-09-01 Thread Ted Unangst
On Wed, Sep 1, 2010 at 4:14 PM, Milin merlyn...@gmail.com wrote: I've just read about NetBSD's veriexec and I think it would be great to have it in OpenBSD. Is anyone working on porting/rewrite? If not, could you write why? Is it because some caveat in veriexec's design, not enough time, or

Re: dmesg first line information

2010-08-31 Thread Ted Unangst
On Tue, Aug 31, 2010 at 11:32 AM, p...@bell.net wrote: Hi, I am able to spare a machine to follow -current. So far so good with cvs, updates, and compiling. Is it possible to change one attribute in the dmesg? For example - dmesg first line --- OpenBSD 4.8-current (GENERIC) #0 (...) ---

Re: which kernel/OS ?

2010-08-26 Thread Ted Unangst
On Thu, Aug 26, 2010 at 4:16 PM, Chris Smith obsd_m...@chrissmith.org wrote: I'm building up an OpenBSD box on an Atom D510 (dual core) platform running -current . Use will be strictly as a firewall running PF. I've read that SMP doesn't really help PF, but it may assist in speeding up

Re: OpenSSH sshd_config Match KeyFingerprint .... feature enquiry

2010-08-24 Thread Ted Unangst
On Tue, Aug 24, 2010 at 11:37 AM, Thomas Keusch f...@gedankenverbrechen.org wrote: This creates a problem if there will be multiple logins to account foo from the machine bar, as there is no way to tell them apart, i.e. if a given login is to be chrooted or not. Are there plans for something

Re: Some apps kill/hang X when using scrotwm(1) as wm

2010-08-17 Thread Ted Unangst
On Tue, Aug 17, 2010 at 3:30 AM, Tomas Bodzar tomas.bod...@gmail.com wrote: did someone saw similar problem in scrotwm(1)? Eg. when I start xeyes(1) on empty workspace from menu M-p it simply shut down X. If I start eg. xcalc(1) then everything is ok. Another problem is with xlock(1). When I

Re: install of Aug 11 snapshot hangs

2010-08-12 Thread Ted Unangst
On Thu, Aug 12, 2010 at 1:27 PM, Mark Bucciarelli mkb...@gmail.com wrote: i downloaded a 4.8 snapshot this morning and am trying to install via pxeboot on an x30. boot disable acpi boot boot bsd.rd ran fine until Which one is the root disk? [wd0] I pressed enter, and

Re: developing openbsd?

2010-08-08 Thread Ted Unangst
On Sun, Aug 8, 2010 at 11:06 AM, Tomas Vavrys vav...@cleancode.cz wrote: It would be great if anybody could share whole .vim/ .vimrc. I could write OpenBSD Vim C Programming manual once and for all. cp /usr/local/share/vim/vim72/vimrc_example.vim .vimrc

Re: memory fragmentation

2010-08-07 Thread Ted Unangst
On Sat, Aug 7, 2010 at 8:19 AM, Edwin Eyan Moragas e...@yndy.org wrote: assuming that a long running app would malloc(3) when needed and then free(3)s the resource immediately when it is done, is memory fragmentation still a concern for long running apps? what are steps that you take to

xrandr to turn display back on?

2010-08-07 Thread Ted Unangst
I plugged a monitor into my laptop's VGA port. I ran xrandr --auto and got the mirrored screen. I found it a little distracting, so I turned off the LVDS: xrandr --output LVDS --off. So far, so good. Now I want to unplug the monitor. How do I turn the laptop screen back on? I note that there

Re: Question about suspend+resume X11-application buggy-ness

2010-08-06 Thread Ted Unangst
On Fri, Aug 6, 2010 at 5:01 PM, Christiano F. Haesbaert haesba...@haesbaert.org wrote: On 2 August 2010 00:47, Theo de Raadt dera...@cvs.openbsd.org wrote: Suspend and resumes are completely invisible, except that time makes an uncomfortable jump forward. Processes are not made aware in any

Re: HP laptops again

2010-07-28 Thread Ted Unangst
On Wed, Jul 28, 2010 at 4:36 PM, Jan Stary h...@stare.cz wrote: Actually a test with up to the second -current would be helpful to get a baseline where we are at with this machine. What is the second -current? -current that is current as of this second.

Re: -static -lX11 breaks pthreads (4.6)

2010-07-26 Thread Ted Unangst
On Mon, Jul 26, 2010 at 7:06 AM, Jay K jay.kr...@cornell.edu wrote: $ gcc 1.c -L/usr/X11R6/lib -lX11 -pthread -static $ ./a.out 0x0 0x0 I use -static deliberately so I can give binaries that work on other OpenBSD versions. I give source too, it's not too keep source private, but it is

Re: mount ffs as msdos, system hangs

2010-07-25 Thread Ted Unangst
On Sun, Jul 25, 2010 at 4:46 PM, frantisek holop min...@obiit.org wrote: does that almost nothing include the partition type number? because i dont see why would the kernel msdos mount code even try to start mounting an msdos filesystem with type of A6. You are more likely to see things if you

Re: PTY allocation error

2010-07-12 Thread Ted Unangst
On Mon, Jul 12, 2010 at 2:06 AM, Peter Bako pe...@bakonet.org wrote: 2) Setting up a RO system gives a level of redundancy in the case of power outages (or more likely in my neck of the world) or brownouts. I've had a case in the past where a normal OpenBSD install, on a micro-drive, was in a

Re: Other FS support in OpenBSD

2010-07-11 Thread Ted Unangst
On Sun, Jul 11, 2010 at 12:59 PM, Paolo Aglialoro paol...@gmail.com wrote: is there some way (fuse or also exotic) to mount JFS or XFS partitions in OpenBSD, at least ro? No.

Re: OpenBSD : FFS : Large Directories : Small files

2010-07-11 Thread Ted Unangst
On Sun, Jul 11, 2010 at 4:22 AM, Mayuresh Kathe mayur...@kathe.in wrote: Hello, may I know of limitations on supporting large directories (over 5 million files) with small files (less than 10 KB) under FFS/FFS2? This is for a research project under AMD x86 with SATA Disk[s]. It wouldn't be

Re: Odd hw.setperf quirk

2010-07-09 Thread Ted Unangst
On Fri, Jul 9, 2010 at 12:42 AM, Joe Gidi j...@entropicblur.com wrote: hw.cpuspeed=2493 hw.setperf=99 None of my other machines have ever shown hw.setperf=99; they always boot up at 100. It's not a problem, just a little quirk. The machine runs fine and SpeedSteps properly with apmd. Running

Re: Ordering CDs in Europe becoming increasingly difficult

2010-07-08 Thread Ted Unangst
On Thu, Jul 8, 2010 at 7:22 PM, ropers rop...@gmail.com wrote: I admit that I'm a bit ignorant here, as I've myself never administered an SSL web site, but I am not convinced by this: Doesn't the above just mean that it switches to HTTPS *after* transmitting my information in the clear? Or can

Re: Dynamic Tracing

2010-07-05 Thread Ted Unangst
On Sat, Jul 3, 2010 at 3:26 AM, Luis Useche use...@gmail.com wrote: I googled this a bit but I couldn't find anything. I just want to check if there is a dynamic tracing tool for OpenBSD. Similar tools are kprobes for Linux or DTrace for Solaris. No, nothing quite like that.

Re: Current status of suspend AND resume on X200s

2010-07-01 Thread Ted Unangst
It works for me if you suspend from console, but not X. I made the following apm/suspend diff to make sure that happens. #!/bin/sh wsconsctl display.focus=1 sleep 5 This shouldn't be necessary, so a gold star to whoever fixes it. On Thu, Jul 1, 2010 at 9:59 AM, Andreas Bihlmaier

Re: Current status of suspend AND resume on X200s

2010-07-01 Thread Ted Unangst
On Thu, Jul 1, 2010 at 1:06 PM, Ted Unangst ted.unan...@gmail.com wrote: It works for me if you suspend from console, but not X. I made the following apm/suspend diff to make sure that happens. #!/bin/sh wsconsctl display.focus=1 sleep 5 This shouldn't be necessary, so a gold star

Re: OpenBSD sends RSTs for gratuitous traffic

2010-06-14 Thread Ted Unangst
On Mon, Jun 14, 2010 at 12:50 AM, Patrick Coleman blin...@gmail.com wrote: The strange thing is that occasionally, the OpenBSD box will reply to the gratuitous traffic with a spoofed TCP RST. For example, see [1] - a TCP connection was initiated from 203.135.184.10 (an OSX server) to

Re: i7-720QM one more time

2010-06-03 Thread Ted Unangst
On Thu, Jun 3, 2010 at 4:44 PM, Kyle Smith airf...@sugarloafshores.net wrote: But, I am leary of shoe horning in this value, because, the root cause seems to be a lack of appropriate recognition of data placed in the PSS struct from the acpi code of the kernel, and I am not an experienced kernel

Re: mouse cursor keeps jumping up and left in latest snapshot

2010-06-03 Thread Ted Unangst
On Thu, Jun 3, 2010 at 5:21 PM, Christopher Zimmermann madro...@zakweb.de wrote: Are you sure this is a problem in kernel? Christopher Linn and I only experience this problem with gtk2 apps. How could the kernel know wether the current focus is on a gtk2 window? Because the kernel is

Re: A codec with a BSD Licence

2010-05-20 Thread Ted Unangst
On Thu, May 20, 2010 at 10:23 AM, Jacob Meuser jake...@sdf.lonestar.org wrote: and that's what matters. considering the ffmpeg devs also claimed theora's code could be considered to fall under other MPEG patents, and no lawsuits were filed, I find it unlikely google will face much legal

Re: Differences between www.openbsd.org and openbsd.org

2010-05-19 Thread Ted Unangst
On Wed, May 19, 2010 at 4:54 PM, Bohdan Tashchuk btashc...@yahoo.com wrote: I suggest that there are many clueless people like me out there. The default behavior should be changed. opendbsd.org should redirect to www.openbsd.org, and the people who need to access the machine in Theo's

something to do

2010-05-17 Thread Ted Unangst
Here's something for the great OpenBSD todo list. George Neville-Neil gave a talk at BSDCan about hardware performance monitors in FreeBSD. There was a similar talk at DCBSDCon too. You should be able to find the slides online. It sounds like the driver framework should be easy enough to port

Re: Crash during boot. Fresh install of 4.7

2010-05-17 Thread Ted Unangst
It really helps if you provide more of the output, like everything the kernel printed up to the point of the crash. If your disassembly is accurate, it looks like a divide by zero because high and low have the same value near the end of est_init. You can probably work around this by booting with

Re: tls proxy in front of spamd?

2010-05-04 Thread Ted Unangst
On Wed, May 5, 2010 at 11:06 AM, Kevin Chadwick ma1l1i...@yahoo.co.uk wrote: I understand that currently the rfcs state plain must be supported on publicly listed servers, but can anyone save me the trouble of delving into more rfcs and tell me if it's possible (atleast potentially) to use a

Re: OpenBSD disk scheduler

2010-05-03 Thread Ted Unangst
On Mon, May 3, 2010 at 12:09 AM, Luis Useche use...@gmail.com wrote: Reading some archives, I found people saying that OpenBSD has no disk scheduler. My first question is: is this true? If so, what is the reason? Is it technical or there are no resources for this? OpenBSD has a disk scheduler,

Re: Forking and catching SIGCHLD, si_pid always contains 0.

2010-05-01 Thread Ted Unangst
On Sat, May 1, 2010 at 9:59 AM, Jesus Sanchez zexe...@gmail.com wrote: As said in Advanced Programming in the Unix Environment book, when calling a sigaction function there is a siginfo_t * with data about the process sending the signal. On this struct, the member int si_pid contains the

Re: Hunting Down a Memory Leak

2010-04-30 Thread Ted Unangst
On Fri, Apr 30, 2010 at 11:52 AM, Jim Rosenberg jrosenb...@rossint.net wrote: The machines that aren't running OpenVPN seem to be OK. If I take a machine running OpenVPN and kill openvpn, I don't get the memory back. Is it possible that somehow the tun driver is taking the memory? The picture I

Re: Question about odd OpenBSD shell behavior

2010-04-30 Thread Ted Unangst
On Fri, Apr 30, 2010 at 4:24 PM, Dan Crowley dcrow...@coresecurity.com wrote: I'm doing some research into how various operating systems handle various characters, and I ran into something funny on OpenBSD 4.6: Any use of characters in the hex range between 0x9d and 0x9f cause the shell to

Re: Source Overview

2010-04-21 Thread Ted Unangst
To beat a dead horse a little deader and make one final attempt to help, I'll add a few remarks about a diff I committed last night. The diff had previously been posted to tech. On the learning front, the first question to ask might be Why does removing proc.h from uvm_map.h cause an error in

Re: Radius Auth and Insecurity Outputs

2010-04-20 Thread Ted Unangst
On Tue, Apr 20, 2010 at 7:04 AM, Alexander Hall ha...@openbsd.org wrote: Set the encrypted password to * Thank you Stuart for not recommending hacking away on /etc/security but instad provide the correct answer. :-) And while the awk-literate audience might have noticed that any

Re: TRIM support?

2010-04-20 Thread Ted Unangst
On Tue, Apr 20, 2010 at 3:11 PM, Marco Peereboom sl...@peereboom.us wrote: And no, TRIM isn't supported. The problem is that we're copying the entire disk, so, as far as the disk (i.e., SSDs) is aware, that disk is 100% full-- all blocks are marked as used even if they're empty. If I

Re: Source Overview

2010-04-19 Thread Ted Unangst
On Mon, Apr 19, 2010 at 2:02 PM, Christiano F. Haesbaert haesba...@haesbaert.org wrote: I know this has been discussed before, yet I call for your attention. This post seems like a genuine attempt on getting pointers on starting hacking in OpenBsd. I remember doing the same a while ago. How

Re: Radius Auth and Insecurity Outputs

2010-04-19 Thread Ted Unangst
On Mon, Apr 19, 2010 at 3:14 PM, Andrew Klettke aklet...@opticfusion.net wrote: When I install the OS, I create a local user with local authentication. After the box's network config is all done, I then change the login class of the user to so I can use RADIUS, by modifying /etc/master.passwd

Re: Radius Auth and Insecurity Outputs

2010-04-19 Thread Ted Unangst
On Mon, Apr 19, 2010 at 5:42 PM, Andrew Klettke aklet...@opticfusion.net wrote: You mean the * field? I've replaced that with radius, as you suggested, so it looks like so: (removed):radius:1000:10:radius:0:0:nocstaff:/home/(removed):/bin/ksh It works, the user can log in fine still; however,

Re: Generic Discuss about CPU resource scheduling

2010-04-18 Thread Ted Unangst
On Sun, Apr 18, 2010 at 9:35 AM, Aaron Lewis aaron.lewis1...@gmail.com wrote: In chapter 5.3 , it talks about a schedule algorithm: SJF SJF means shortest jobs schedules firstly. That looks much reasonable , but my question is , how does an OS know that a process will

Re: licensing

2010-04-15 Thread Ted Unangst
On Thu, Apr 15, 2010 at 11:47 AM, Ted Roby ted.r...@gmail.com wrote: So how does that work with OpenBSD? How to I introduce code with shady licensing, and take all the brunt of it? I don't suppose you've stopped to ask if the OpenBSD project is at all interested in whatever code you feel like

Re: Question regarding MSS

2010-04-15 Thread Ted Unangst
On Thu, Apr 15, 2010 at 1:46 PM, Matthew Sullenberger su...@sadburger.com wrote: establish a connection. I don't have another host that doesn't send an MSS to test with, nor am I really sure how I would go about producing one. So would this be possibly a bug in the OpenBSD PMTU implementation

Re: OpenBSD culture?

2010-04-15 Thread Ted Unangst
http://en.wikipedia.org/wiki/United_States_copyright_law#Duration_of_copyright On Sat, Apr 17, 2010 at 3:13 AM, VICTOR TARABOLA CORTIANO vt...@c3sl.ufpr.br wrote: Now this is interesting... Does anything supersede Copyright Law? What if I release my work as Anonymous with no text in regards

Re: SOLVED OT - C compiler, assignement on double-declared variable with different types

2010-04-11 Thread Ted Unangst
On Sun, Apr 11, 2010 at 8:47 AM, Michael Small sma...@panix.com wrote: where my wi wireless card stopped working on my old latitude. I noticed an ansification of functions in pccbb.c happening (revision 164) that claimed to make no binary change but actually changed the signature of

Re: is skype using encryption?

2010-04-10 Thread Ted Unangst
On Sat, Apr 10, 2010 at 10:55 AM, Jozsi Vadkan jozsi.avad...@gmail.com wrote: Can someone [same subnet, e.g.: with a hub, not switch..] sniff my skype password when i'm using Skype? Is it encrypted? Check the source. Oh wait

mandoc

2010-04-07 Thread Ted Unangst
I just wanted to write a short note about mandoc. You may have seen it mentioned in some recent posts. It's a fantastic replacement for groff. How fantastic? This fantastic: mini:~/src/share/man/man9 time nroff -Tascii -mandoc *.9 /dev/null 0m2.23s real 0m2.29s user 0m0.03s system

Re: Strange read(2) behavior on powerpc.

2010-04-06 Thread Ted Unangst
On Tue, Apr 6, 2010 at 9:05 PM, Ludwig Mises ludwigmi...@gmail.com wrote: The following code exits cleanly (exit status 0) on i386, but on macppc exits 4: s = (char *) malloc(st.st_size); If you didn't have bogus casts in your code, the compiler could tell you what's wrong with it.

Re: wpa2 not working

2010-04-01 Thread Ted Unangst
On Fri, Apr 2, 2010 at 12:01 AM, Chris Henderson henders...@gmail.com wrote: wpa2 doesn't seem to be working. My driver is ipw(4). I have done: wpa-psk ssid secret-wpa2-password and generated the key. And then ifconfig ipw0 wpa wpapsk generated-key and dhclient ipw0 and I get: ipw0: no link

Re: whiteboard over the net

2010-03-30 Thread Ted Unangst
On Tue, Mar 30, 2010 at 1:49 PM, Marco Peereboom sl...@peereboom.us wrote: aka irc. I need a whiteboard not a chatter! etherpad is nothing like irc. If it's not what you want, you're going to have to define what you mean by whiteboard, because whiteboard with tubes is exactly what I use

Re: whiteboard over the net

2010-03-30 Thread Ted Unangst
On Tue, Mar 30, 2010 at 4:15 PM, Marco Peereboom sl...@peereboom.us wrote: Drawing shit with the mouse. Not typing stuff with the keybored. webcanvas.com Just carve off a section as your territory, like http://webcanvas.com/100N600W#-228000,-3,0

Re: gnu grep -o flag

2010-03-24 Thread Ted Unangst
On Wed, Mar 24, 2010 at 1:00 PM, Gregory Edigarov g...@bestnet.kharkov.ua wrote: Just wonder how could one implement what gnu grep -o flag does using our toolchain? With a 10 line patch.

Re: Controlling exported symbol on shared libraries

2010-03-23 Thread Ted Unangst
On Tue, Mar 23, 2010 at 9:11 AM, Christiano F. Haesbaert haesba...@haesbaert.org wrote: I'm building a shared library and I'm not sure how to control which symbols I want to have exported, what's the common practice ? I took a look at libevent, libmenu and libpcap and it seems they do nothing.

Re: RouterBOARD RB600A support

2010-03-23 Thread Ted Unangst
On Tue, Mar 23, 2010 at 4:36 PM, David Vasek va...@fido.cz wrote: there are bad news about RB600A. As everybody can read on MicroTik's website, RB600A has suddenly been discontinued: http://www.routerboard.com/pricelist.php?showProduct=55 They also removed the case for this board. Why did

Re: ZFS in OpenBSD

2010-03-22 Thread Ted Unangst
On Mon, Mar 22, 2010 at 12:45 PM, VICTOR TARABOLA CORTIANO vt...@c3sl.ufpr.br wrote: Isn't ZFS license copyleft? I mean, if one includes zfs in the kernel the whole kernel would have to be CDDL? (Like the GPL) No. No.

Re: ZFS in OpenBSD

2010-03-22 Thread Ted Unangst
On Mon, Mar 22, 2010 at 1:10 PM, Ted Unangst ted.unan...@gmail.com wrote: On Mon, Mar 22, 2010 at 12:45 PM, VICTOR TARABOLA CORTIANO vt...@c3sl.ufpr.br wrote: Isn't ZFS license copyleft? I mean, if one includes zfs in the kernel the whole kernel would have to be CDDL? (Like the GPL

Re: earmark on hfsplus port

2010-03-22 Thread Ted Unangst
On Mon, Mar 22, 2010 at 1:07 PM, Bryan Irvine sparcta...@gmail.com wrote: On Mon, Mar 22, 2010 at 9:59 AM, Ted Roby ted.r...@gmail.com wrote: I've noticed this environment variable in misc/hfsplus # this only makes sense on macintosh (powerpc) systems. ONLY_FOR_ARCHS= powerpc It used to

Re: Buying ThinkPad for OpenBSD

2010-03-20 Thread Ted Unangst
On Sat, Mar 20, 2010 at 4:05 AM, Daniele Pilenga dpile...@gmail.com wrote: Don't be so sure about Intel graphics, I have been said not all of the GMA types are supported (I think intel(4) is your friend, here). The GMA 500 isn't supported, but it only comes with Atom CPUs.

Re: siteXX.tgz and install.site behaviour questions

2010-03-20 Thread Ted Unangst
On Sat, Mar 20, 2010 at 7:39 PM, a b obsdmisc...@yahoo.co.uk wrote: 1/ Why does OpenBSD not chown files to root ? How would you install a file owned by somebody else? 2/ Why does OpenBSD expect the install.site file to be already chmod 755 ? Because those are the permissions that identify

Re: OpenBSD 4.7 pre-orders are live!

2010-03-14 Thread Ted Unangst
On Sun, Mar 14, 2010 at 2:07 AM, Predrag Punosevac punoseva...@gmail.com wrote: I am probably missing something big time but could somebody enlight me and explain why would 4.7 be released May 19 2010? If the schedule is going back to normal it should be May 1st. If 4.7 is to be released six

Re: Hardening OpenBSD : Just delete!

2010-03-14 Thread Ted Unangst
On Sun, Mar 14, 2010 at 10:43 AM, Ozgur Kazancci ozgur.kazan...@info.uvt.ro wrote: Hello. Is this a joke? (Removing OpenBSD unnecessary and/or dangerous files) Welcome to the internet. Caution: idiots ahead.

Re: OpenBSD 4.6, Thinkpad X200s Intel WiFi Link 5150

2010-03-08 Thread Ted Unangst
On Mon, Mar 8, 2010 at 3:45 PM, Ilya Ilembitov ilembi...@yandex.ru wrote: I have just installed OpenBSD 4.6 on a Thinkpad X200s. However, Intel WiFi Link 5150 doesn't seem to work. It is supposed to work through iwn(4) driver. I followed the man page and I have installed the firmware package. I

Re: tools for finding a type of bug?

2010-03-05 Thread Ted Unangst
On Fri, Mar 5, 2010 at 12:32 PM, Mark Bucciarelli mkb...@gmail.com wrote: Now I'd like to search the tree and find all instances of this bug. How do you do this? Must it be manual or are there static analysis tools (e.g., grep awk or perhaps clang) that you use.

Re: tools for finding a type of bug?

2010-03-05 Thread Ted Unangst
On Fri, Mar 5, 2010 at 12:50 PM, Mark Bucciarelli mkb...@gmail.com wrote: On Fri, Mar 5, 2010 at 12:45 PM, Ted Unangst ted.unan...@gmail.com wrote: http://en.wikipedia.org/wiki/List_of_tools_for_static_code_analysis So which would you use to find all fopen() calls where the return value

Re: Best Mail Archive

2010-03-04 Thread Ted Unangst
On Thu, Mar 4, 2010 at 8:43 AM, nixlists nixmli...@gmail.com wrote: Every time someone tells me to go search an archive, I want to use profanity. They never think of just how painful mail archive searching is, but I guess we all have to bite the bullet and use search systems that are bad at

Re: File Server: fsck, memory requirements and large disk drives

2010-02-27 Thread Ted Unangst
On Sat, Feb 27, 2010 at 12:19 PM, Claus Niesen cnie...@gmx.net wrote: Thanks to great documentation of OpenBSD (http://www.openbsd.org/faq/faq14.html#LargeDrive) I know that I'm out of luck with default file system (FFS) on OpenBSD. What I'm not sure about is if a different file system on

Re: Intel Atom D510MO performance issue

2010-02-25 Thread Ted Unangst
Use arandom. On Thu, Feb 25, 2010 at 6:47 AM, Will Storey wsto...@gmail.com wrote: Hi, I was attempting to test temperatures under load by running cat /dev/urandom file and I thought my system had crashed. Instantly when this command begins the system becomes very unresponsive. All input

Re: Core dumps from daemon processes?

2010-02-23 Thread Ted Unangst
On Tue, Feb 23, 2010 at 11:23 AM, Anthony Howe ach...@snert.com wrote: Without the call to setuid, then the daemon will create a core file in /tmp. What I would like to know is how to get a core file when the daemon program uses setuid/seteuid family of functions, which appears to make it

Re: OT, .. but has anyone seen a crontab editor

2010-02-19 Thread Ted Unangst
On Fri, Feb 19, 2010 at 5:14 PM, L. V. Lammert l...@omnitec.net wrote: The chaps tweaking the crontab entries are Windoze admins, and they need to adjust the start/stop times on cronjobs that start and stop replication Then have them create a Windows service that runs ssh and does whatever it

Re: xterm + tmux 256 colors

2010-02-17 Thread Ted Unangst
On Wed, Feb 17, 2010 at 5:38 PM, frantisek holop min...@obiit.org wrote: i am trying to make tmux use 256 colors. i have found this: http://www.mail-archive.com/debian-bugs-d...@lists.debian.org/msg707066.html i have done step 2: $ xterm $ echo TERM $ TERM=xterm-256color It's probably

Re: xterm + tmux 256 colors

2010-02-17 Thread Ted Unangst
On Wed, Feb 17, 2010 at 5:58 PM, Ted Unangst ted.unan...@gmail.com wrote: It's probably worth noting at this point that the xterm shipped with OpenBSD doesn't support 256 colors. Oh never mind, I missed a commit. If you're running current, you do get 256 colors.

Re: error building jdk 1.5/1.6 on current as of 13 Feb

2010-02-13 Thread Ted Unangst
On Sat, Feb 13, 2010 at 6:07 AM, Louis V. Lambrecht lvl...@skynet.be wrote: /bin/sh is *NOT* /usr/local/bin/bash Very true, but I'm not sure how that is at all relevant. bash-4.0$ make /bin/sh: no closing quote *** Error code 1 Stop in /usr/ports/devel/jdk/1.5 (line 1793 of

Re: Refusal to mention OpenBSD in a MSc Advanced Networking course

2010-02-13 Thread Ted Unangst
On Sat, Feb 13, 2010 at 3:06 AM, TS Lura tsl...@gmail.com wrote: The issue is that my module leader is refusing even to consider mentioning OpenBSD, or any BSD in introductory Linux course where the focus is on network services. DNS, iptables, Apache. I went through all of college without any

Re: is the Lemote Yeeloong available in the US?

2010-02-05 Thread Ted Unangst
On Fri, Feb 5, 2010 at 12:39 AM, Miod Vallat m...@online.fr wrote: AKA it supports execute/no execute permissions, like probably every mips chip made in the last 20 years. No, execute (or lack of) permission is quite an alien concept to mips chips. Thanks for the correction. So it may still

Re: Download rate and sysctl settings

2010-02-05 Thread Ted Unangst
On Fri, Feb 5, 2010 at 4:36 AM, Ivo Chutkin open...@bgone.net wrote: I was about to post the same topic here. I observe 250K/s on any OpenBSD server in my network, versions 4.2, 4.4, 4.5 and 4.6, various hardware, using wget -O /dev/null I can start the same download many times on the same

Re: is the Lemote Yeeloong available in the US?

2010-02-04 Thread Ted Unangst
On Thu, Feb 4, 2010 at 6:49 PM, Aaron Mason simplersolut...@gmail.com wrote: Oh god - my eyes are bleeding after reading those excerpts. That's sad, especially since (according to Wikipedia) the Loongsoon has on-chip circuitry to help resist buffer overflow attacks - seems a wee bit

disknice

2010-02-03 Thread Ted Unangst
I haven't really solved the problem I want to solve, but was able to whip this up pretty quickly. Basically, it's just a wrapper that runs a command and then starves it from running. disknice is a misnomer, it also gets starved from cpu, but at the current time the only way to slow down a

Re: way to help: laptops and weekly

2010-02-02 Thread Ted Unangst
On Tue, Feb 2, 2010 at 3:04 PM, Chris Bennett ch...@bennettconstruction.biz wrote: Well, it seems clear that everyone agrees on two things 1. These scripts need to be run. 2. Pretty much anytime they are run, the will cause problems for the users. Therefore , we need a new solution to

Re: Finding bsd.rd checksums for sets without booting?

2010-01-28 Thread Ted Unangst
The program that puts the file system in the kernel can also take it out. It's called elfrdsetroot or something. Look in src/distrib. On Wed, Jan 27, 2010 at 7:36 AM, Lars Nooden lars.cura...@gmail.com wrote: What ways are there to get the checksums from bsd.rd without actually booting with

Re: Postgresql and Memory Usage

2010-01-28 Thread Ted Unangst
On Thu, Jan 28, 2010 at 6:10 PM, Tobias Ulmer tobi...@tmux.org wrote: Let's make this simple, on i386 you have 1G per process. Adding all the numbers up, you have to stay below this limit. That's quite an oversimplification. For starters, we're talking about shm, which doesn't count against

Re: fsck segfault on a big partition, 4.6

2010-01-27 Thread Ted Unangst
On Wed, Jan 27, 2010 at 10:00 AM, frantisek holop min...@obiit.org wrote: hmm, on Wed, Jan 27, 2010 at 03:28:12PM +0100, Otto Moerbeek said that Depends on the arch. i386 is limited to 1G, amd64 is limited to 8G per process. What happens if more memory is allocated than the available swap is

Re: File system

2010-01-27 Thread Ted Unangst
I suspect man growfs may be closer to his needs. Hopefully g is at the end of a drive with some space left. On Jan 27, 2010, at 5:11 PM, L. V. Lammert l...@omnitec.net wrote: On Wed, 27 Jan 2010, Yamidt Henao wrote: Hi, somebody know how I can change the mount available in me file system?

Re: fsck segfault on a big partition, 4.6

2010-01-27 Thread Ted Unangst
Obviously, as any competent sysadmin like nixlists knows, you should restrict all your processes to a max of 20 megs. On Jan 27, 2010, at 9:23 PM, bofh goodb...@gmail.com wrote: On Wed, Jan 27, 2010 at 8:14 PM, nixlists nixmli...@gmail.com wrote: On Wed, Jan 27, 2010 at 7:53 PM, Denis

Re: ssh - channel x: open failed: connect failed: Connection timed out

2010-01-26 Thread Ted Unangst
On Tue, Jan 26, 2010 at 9:52 AM, Lars Nooden lars.cura...@gmail.com wrote: I'm getting a lot of timeouts using ssh as a socks proxy between 4.6 (ssh) and current (sshd). This is an example of the messages: channel 20: open failed: connect failed: Connection timed out channel 8:

way to help: laptops and weekly

2010-01-24 Thread Ted Unangst
Are you sitting around feeling bored because you don't know how to help out OpenBSD? Did your requests for info on where to start come back with unhelpful responses? I've got just the thing for you: an idea! Cron runs the weekly update script every Saturday at 3:30am. If you use a laptop or

<    5   6   7   8   9   10   11   12   13   14   >