Re: w(1) weirdness

2012-09-13 Thread Ted Unangst
On Thu, Sep 13, 2012 at 17:48, Michael W. Lucas wrote: w(1) gives the -a option: -a Attempt to translate network addresses into names. But this appears to be the default: wrath~;w 5:46PM up 8 days, 1:08, 1 user, load averages: 0.50, 0.45, 0.37 USERTTY FROM

Re: How to paste links from browser into xterm on OpenBSD?

2012-09-11 Thread Ted Unangst
On Tue, Sep 11, 2012 at 19:48, Zé Loff wrote: On Sep 11, 2012, at 6:06 PM, Ville Valkonen wrote: On 11 September 2012 17:20, soko.tica soko.t...@gmail.com wrote: Hello, list The question is in the subject line. I've discovered get_flash_videos, so I need the answer. I expect RTFMs but

Re: pxeboot, machine dependent kernel

2012-09-08 Thread Ted Unangst
On Fri, Sep 07, 2012 at 13:14, russell wrote: can be configured via boot.conf but there is no way to specify a kernel based on the machine actually booting, can only hard code the kernel image in. and even if I kept different pxeboot binarys they would still use the same boot.conf when

Re: ext2 max filesystem size

2012-09-07 Thread Ted Unangst
On Fri, Sep 07, 2012 at 15:11, Claus Lensbøl wrote: Hi I'm trying to figure out the maximum file system size for ext2 on openbsd, but I can't seem to find it documented anywhere. Does anybody know if the limitation is the old 2TB (as in linux pre 2.6.17 ish), or 32TB as newer

Re: Any T410/T420 with suspend/resume fully working in 5.1 or current?

2012-09-07 Thread Ted Unangst
On Sat, Aug 11, 2012 at 17:25, Christian Weisgerber wrote: Ted Unangst t...@tedunangst.com wrote: While we're on the subject, the T430 and T430s (ivy bridge update) do not work at present, or at least my T430s didn't. ahci times out initializing, so there's no hard drive. The wireless didn't

Re: Language bindings to OpenBSD's filesystem

2012-09-06 Thread Ted Unangst
On Thu, Sep 06, 2012 at 11:09, benh...@gmx.us wrote: Hi, for which programming languages a binding for OpenBSD's native filesystem is already available? Support for extended attributes is also needed. I would be particularly interested in Ada or Lua bindings, but willing to consider

Re: !!!!

2012-09-06 Thread Ted Unangst
On Thu, Sep 06, 2012 at 18:05, Rowdy OpenBSD wrote: I already said there are no plans to start signing things. What more is there to discuss? Two things: 1) Why not? I'd like to know the reasons. I've read the FAQ, I've checked the archives, and I've read all of the messages in this

Re: Signatures for distribution sets and packages?

2012-09-05 Thread Ted Unangst
On Wed, Sep 05, 2012 at 11:36, Rowdy OpenBSD wrote: Is there any way to verify that distribution sets and packages that I have downloaded have not been tampered with (e.g., by someone with access to the mirror from which I downloaded them)? Download the checksums from another mirror using a

Re: !!!!

2012-09-05 Thread Ted Unangst
On Thu, Sep 06, 2012 at 10:26, Rowdy OpenBSD wrote: OpenBSD's package system already supports package signing, and OpenSSL can sign files, so there is nothing for which to submit a diff. All of the code is there; it's just not being used. I already said there are no plans to start signing

Re: Suspend stuff on TOSHIBA laptop.

2012-09-04 Thread Ted Unangst
On Tue, Sep 04, 2012 at 16:23, David Walker wrote: Hi. I'm trying to deploy a slave nameserver on a laptop to sit at somebodies home. It runs NSD and other than salving and serving queries it polls an NTP server and that's it. It doesn't run X11 ... Functionally it all works and I'm

Re: xenocara not building on amd64-current

2012-09-04 Thread Ted Unangst
On Mon, Sep 03, 2012 at 22:29, Theo de Raadt wrote: http://openbsd.org/faq/current.html#20120831a Read the second sentence again: Everyone is encouraged to update via snapshots (dated after 2012/08/31); To put some emphasis on this, it took several developers quite a bit of time to work

Re: encrypt() without _XOPEN_SOURCE defined

2012-09-03 Thread Ted Unangst
On Mon, Sep 03, 2012 at 19:14, Gregor Pintar wrote: Hello. I have a problem compiling my ANSI C (with GTK+) code on OpenBSD. It seems gtk.h includes unistd.h and conflicts with my encrypt() function, but as far as I know encrypt() shouldn't be defined unless _XOPEN_SOURCE is defined, which

Re: Android tethering via urndis(4)

2012-09-02 Thread Ted Unangst
On Sun, Sep 02, 2012 at 18:46, Jan Stary wrote: What could be the reason for that? The apparent difference between the two, USB-wise, is (amd64 box) uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 (i386 laptop) uhub0 at usb0 VIA UHCI root hub rev 1.00/1.00 addr 1 i.e. USB2 vs

Re: how to generate kernel message for testing

2012-09-02 Thread Ted Unangst
On Mon, Sep 03, 2012 at 02:44, IMAP List Administration wrote: I haven't seen anything in /var/log/kern since it's been running (days). Is there some way to generate a test kernel message ala logger(1)? If not, how about a harmless way to get the kernel to report an error? plug something

Re: Notebook dmesg gathering. Developers, what info do you want?

2012-09-01 Thread Ted Unangst
On Sat, Sep 01, 2012 at 17:46, Dave Anderson wrote: On Sat, 25 Aug 2012, Dave Anderson wrote: If there's no interest in this info, I won't burn an afternoon collecting it. If there is interest, answers to my questions would be useful. It's probably not that useful. In the event the

Re: smtpd queue encryotion

2012-08-29 Thread Ted Unangst
On Wed, Aug 29, 2012 at 16:34, Kurt Mosiejczuk wrote: And I'm fairly certain blowfish did get a lot of attention. And since bcrypt is reasonably popular, I'd imagine blowfish *still* gets attention from the cryptographic community. The security of bcrypt is almost completely unrelated to the

Re: OpenSSL handling intermediate certificates

2012-08-23 Thread Ted Unangst
On Thu, Aug 23, 2012 at 01:37, Justin N. Lindberg wrote: So why isn't there a good way for an end user to strictly limit trust in, for example, a Google Internet Authority to those domains that are actually owned by Google, and conversely, not to trust any other authority to sign certs for

Re: OpenSSL handling intermediate certificates

2012-08-23 Thread Ted Unangst
On Thu, Aug 23, 2012 at 13:12, Ryan Kirk wrote: One thing I've never understood is that if you're MITM'd, what good is a cert revocation going to do? The proxying individual can easily block access to the revocation lists, and your browser be none the wiser. hahaha, I've seen exactly one

i want emulate middle button back

2012-08-22 Thread Ted Unangst
I have a laptop with two buttons. To middle click, I click both at the same time. Until, in a fit of stupidity, I plugged in a USB mouse and clicked the real middle button. Now, the middle button emulation has oh so helpfully disabled itself. Except I'm no longer using the mouse. I'm not sure

Re: i want emulate middle button back

2012-08-22 Thread Ted Unangst
is emulated by pressing both buttons simultaneously. Default: on, until a press of a physical button 3 is detected. On Thu, Aug 23, 2012 at 12:08:20AM -0400, Ted Unangst wrote: I have a laptop with two buttons. To middle click, I click both at the same time. Until, in a fit of stupidity, I

Re: i want emulate middle button back

2012-08-22 Thread Ted Unangst
On Thu, Aug 23, 2012 at 00:49, Ted Unangst wrote: Switching to a text console and back has not resolved the problem for me. I didn't know that was supposed to work, but now that two people have told me about it, I can announce I tried it without success. OK, one detail I have omitted which

Re: i want emulate middle button back

2012-08-22 Thread Ted Unangst
On Thu, Aug 23, 2012 at 00:49, Ted Unangst wrote: Honestly, I suspect some incantation of xinput should resolve this, but fuck if I know how to use this thing. So my core pointer has no properties. wsmouse already has WS Pointer Middle Button Emulation set to 2. Maybe I should turn it up

Re: The ultimate OpenBSD email server

2012-08-15 Thread Ted Unangst
On Wed, Aug 15, 2012 at 14:09, Mikkel Bang wrote: - spamassassin: Too old, too huge and too hard to set up (but maybe those who advised against it had more against Perl than anything else) Not that you have to use it, but spamassassin is still actively maintained. Maybe you shouldn't use

Re: Any T410/T420 with suspend/resume fully working in 5.1 or current?

2012-08-11 Thread Ted Unangst
On Fri, Aug 10, 2012 at 22:03, James Hartley wrote: On Tue, Aug 7, 2012 at 9:06 PM, Ted Unangst t...@tedunangst.com wrote: While we're on the subject, the T430 and T430s (ivy bridge update) do not work at present, or at least my T430s didn't. ahci times out initializing, so there's no hard

Re: Sierra Wireless AC595U Device problems in OpenBSD -current/-stable.

2012-08-10 Thread Ted Unangst
On Thu, Aug 09, 2012 at 18:51, Sergey Prysiazhnyi wrote: Hello misc@. Did anybody have experience of the successful use of Subj device in OpenBSD?.. The problem is that the device attached quite normal by the system: # dmesg | grep umsm umsm0 at uhub2 port 2 configuration 1 interface 0

Re: strange system resource limits

2012-08-10 Thread Ted Unangst
On Fri, Aug 10, 2012 at 23:35, Friedrich Locke wrote: There are different level of responsaiblity. 0. setrlimit should be allowed to set any limit the super user wants. 1. physical addressing to 64 bit boundary 2. hardware pratical limit Anyway using arbitraty limits like openbsd does for

Re: top res column size column

2012-08-10 Thread Ted Unangst
On Sat, Aug 11, 2012 at 00:30, Friedrich Locke wrote: I am monitoring my process using the top program. I started vim on a file with 55 lines and 939 character. Top reports the vim using 6008K of the res column and 2944K of the size column. My questions is (based on the fact that res means

Re: Any T410/T420 with suspend/resume fully working in 5.1 or current?

2012-08-07 Thread Ted Unangst
On Tue, Aug 07, 2012 at 23:18, Jes wrote: Can anyone report a successful suspend and resume in a Thinkpad T410 or T420? My T410 with current (5.2) resumes but with usb ports down (no power). While we're on the subject, the T430 and T430s (ivy bridge update) do not work at present, or at

Re: OpenBSD on GitHub

2012-08-05 Thread Ted Unangst
On Sun, Aug 05, 2012 at 10:46, Darrin Chandler wrote: On Sat, Aug 04, 2012 at 07:05:38PM +0200, Marc Espie wrote: Well, git just has a different set of bugs than cvs. ... I would deem cvs MORE painful than git on average, it's just that we're more accustomed to the pain... Yes, this is

Re: man page contents [was: Re: C******.org]

2012-07-27 Thread Ted Unangst
On Fri, Jul 27, 2012 at 15:27, ropers wrote: On 27 July 2012 14:50, Eric Oyen technomage.ha...@gmail.com wrote: I need to use something that supports DOC 7? What is DOC 7? Do you mean the Microsoft Office 97 binary .doc file format? mdoc. I think his screen reader doesn't even read man

Re: man page contents [was: Re: C******.org]

2012-07-27 Thread Ted Unangst
On Fri, Jul 27, 2012 at 19:11, Marc Espie wrote: I'm surprised there aren't more plugins to fix that. Especially since the link shows the actual location, encoded ! maybe try this? pretty simple, worksforme (c). http://userscripts.org/scripts/show/107272

Re: Calomel.org

2012-07-27 Thread Ted Unangst
On Fri, Jul 27, 2012 at 22:51, mxb wrote: On Jul 27, 2012, at 8:41 PM, Juan Francisco Cantero Hurtado wrote: Calomel is ranked 2 on google There is must be a reason why this kind of sites exists. Ppl whom take care of www.openbsd.org documentation/FAQ maybe have to take a look and

Re: Calomel.org

2012-07-26 Thread Ted Unangst
On Thu, Jul 26, 2012 at 09:53, Peter Laufenberg wrote: /reference/, they're not meant to solve high-level problems. The FAQs are really are no FAQs at all but a gigantic snowball with floppy install instructions crucially leaving out 5 1/4 and 8 media. That's because 5 and 8 floppy drives

web site idea of the week

2012-07-26 Thread Ted Unangst
I just realized I haven't sent out a suggestion on how to improve the web site this week. I apologize for the delay, I know how eagerly some people look forward to ignoring my ideas. The FAQ has a couple sections that combine instructions interleaved with screen output (the install section being

Re: Calomel.org

2012-07-26 Thread Ted Unangst
On Thu, Jul 26, 2012 at 10:54, Eric Oyen wrote: well, I am wondering what packages I can use to edit man pages. also, I may have to change how a man page would be laid out because my screen reader (both in linux and OS X) seem to have trouble handling the change in content when I navigate

Re: [SPAM]: Re: (no subject)

2012-07-26 Thread Ted Unangst
On Thu, Jul 26, 2012 at 10:44, Eric Oyen wrote: is it me or does there seem to be a lot more spam on the lists of late? There's a spam filter, sometimes it works, sometimes not so much. You should probably be running your own. As an aside, gmail's spam filter is great until it isn't.

Re: man page contents [was: Re: C******.org]

2012-07-26 Thread Ted Unangst
On Thu, Jul 26, 2012 at 17:27, Eric Oyen wrote: man, the format of that page is ugly to listen to. lots of back slashes. I noticed there didn't appear to be any line/returns in there (and that is something my screen reader doesn't make clear either). It is a markup language. Is editing HTML

vmware guest clock skew

2012-07-25 Thread Ted Unangst
I have an OpenBSD guest running in vmware player on my laptop. My problem is that when I suspend the laptop, the clock in vmware doesn't keep ticking, and before I know it, openbsd thinks it's last Monday. I see vmt provides a timedelta sensor, but I don't think ntp is up to the task of jamming

Re: vmware guest clock skew

2012-07-25 Thread Ted Unangst
On Wed, Jul 25, 2012 at 11:14, Matthew Dempsky wrote: In vmt_tick() we could notice anytime the reported sensor value jumps significantly and then wind forward the clocks like we do when recovering from ACPI sleep. Yes, I was thinking something like that. vmt should maybe provide a real

Re: vmware guest clock skew

2012-07-25 Thread Ted Unangst
On Wed, Jul 25, 2012 at 11:14, Matthew Dempsky wrote: In vmt_tick() we could notice anytime the reported sensor value jumps significantly and then wind forward the clocks like we do when recovering from ACPI sleep. I like this, and I think it even works. Scary warnings about no locking in

Re: switching between ethernet and wifi

2012-07-23 Thread Ted Unangst
On Tue, Jul 24, 2012 at 01:13, frantisek holop wrote: consider a notebook with two nic's: re0 (ethernet) and urtwn0 (usb wifi). let's say, at boot time there is ethernet connection and /etc/hostname.re0 contains dhcp. urtwn0 is not plugged in. later, i want to switch to wifi. The best

Re: softraid metadata removal

2012-07-13 Thread Ted Unangst
On Fri, Jul 13, 2012 at 22:03, Henning Brauer wrote: * Michael W. Lucas mwlu...@michaelwlucas.com [2012-07-13 21:46]: I'm playing with softraid on a test machine. I reuse disks. This makes me trip over metadata: # bioctl -c 1 -l sd2n,sd3n softraid0 softraid0: volume level does not match

Re: Does OpenBSD have any plan to support Netmap framework?

2012-07-13 Thread Ted Unangst
On Fri, Jul 13, 2012 at 16:06, Andres Perera wrote: you did! you explicitly said that it would be advantageous for programs looking to perform analysis on captured packets. for those programs, it turns out the placement of the filter doesn't matter Sure it matters. Simple example: count

Re: Does OpenBSD have any plan to support Netmap framework?

2012-07-13 Thread Ted Unangst
On Fri, Jul 13, 2012 at 17:56, Geoff Steckel wrote: On 07/13/2012 05:13 PM, Ted Unangst wrote: On Fri, Jul 13, 2012 at 16:06, Andres Perera wrote: you did! you explicitly said that it would be advantageous for programs looking to perform analysis on captured packets. for those programs

Re: misc questions from beginner

2012-07-12 Thread Ted Unangst
On Thu, Jul 12, 2012 at 19:40, Wojciech Puchar wrote: 2) is TRIM planned? Quite important thing i think. No TRIM roughly equals of running SSD with all filesystems full. Yes, someday, though we ran into a few issues trying to make it work the way we wanted. My recommendation would be to only

Re: mojibake

2012-07-01 Thread Ted Unangst
On Sun, Jul 01, 2012 at 17:23, ropers wrote: http://www.openbsd.org/papers/bsdcan11-mandoc-openbsd.html that page is encoded iso 8859-1, doesn't state so anywhere, breaks with browsers configured to default to utf8 in the absence of encoding qualifiers. I think that complaint, as pointed

website page to fix

2012-06-30 Thread Ted Unangst
Somebody wants to fix something? Straighten the hell out of anoncvs.html. For starters, I'm like 90% sure that all the jibber jabber about rsh vs ssh vs pserver can die in a fire. The list of crypto files is a joke. The big block of mirrors should probably be closer to the end. CVS already

Re: OpenBSD's webpage desing

2012-06-28 Thread Ted Unangst
On Thu, Jun 28, 2012 at 10:31, Marc Espie wrote: On Wed, Jun 27, 2012 at 03:46:12PM -0700, Chris Cappuccio wrote: IIRC, Theo did the current design himself after everyone else failed to come up with something good. Well, Theo had some rather fun constraints, like making a web site that works

Re: OpenBSD's webpage desing

2012-06-28 Thread Ted Unangst
All the stuff under papers comes from wherever. It's not really part of the website proper. Consolidating all that content into a consistent style, any style, would be great. On Thu, Jun 28, 2012 at 12:00, Andres Perera wrote: imo the issue has more to do with one page using a completely

Re: OpenBSD's webpage desing

2012-06-27 Thread Ted Unangst
On Wed, Jun 27, 2012 at 08:19, Alvaro Mantilla Gimenez wrote: Really? Can we do that? Seems, by this thread and previous about this subject, that nobody is waiting for any diffs regarding this There's so much low hanging fruit that could be improved before somebody starts dicking about

Re: OpenBSD's webpage desing

2012-06-27 Thread Ted Unangst
On Wed, Jun 27, 2012 at 15:11, Nick Holland wrote: Others in this thread have described what would need to be maintained in any improvement. Let me add (as I don't think it was mentioned), static pages, managed by CVS, able to be mirrored by anyone, publicly or privately. Multiple rendering

Re: OpenBSD's webpage desing

2012-06-27 Thread Ted Unangst
On Wed, Jun 27, 2012 at 13:53, Matthew Dempsky wrote: On Wed, Jun 27, 2012 at 1:41 PM, Ted Unangst t...@tedunangst.com wrote: Here's something I think would be a *major* improvement. Fix magicpoint to export slides in a format better than jpg. Or extend mandoc to support Comic Sans so

Re: trouble with wireless

2012-06-24 Thread Ted Unangst
On Sun, Jun 24, 2012 at 08:40, Tomas Bodzar wrote: It's attached to by ugen, the generic USB driver, so there's no support in the kernel for using it as a network device. BTW what is the reason for system showing PCI device as something under USB? Because that's how it's attached? The

Re: Memory error with latest snapshot

2012-06-23 Thread Ted Unangst
On Sat, Jun 23, 2012 at 12:10, Chris Bennett wrote: I am getting the following error when trying to run gvim and xombrero I also got it on snapshot before latest for xombrero. ***MEMORY-ERROR***: xombrero[25991]: GSlice: failed to allocate 8184 bytes (alignment: 8192): Invalid argument

Re: ipsec tunnel speeds

2012-06-22 Thread Ted Unangst
On Fri, Jun 22, 2012 at 12:52, Ryan McBride wrote: 550Mb/s with aes-128-gcm (requires AES-NI and amd64) on hw.model=Intel(R) Xeon(R) CPU E5649 @ 2.53GHz hw.vendor=HP hw.product=ProLiant DL360 G7 what's the reason aes-128-gcm requires amd64? we can't add that code to i386?

Re: Recommendation about books related with OS internals

2012-06-21 Thread Ted Unangst
On Fri, Jun 22, 2012 at 04:07, Juan Francisco Cantero Hurtado wrote: These days I'm buying a few books related to programming and OSs. I don't want convert this mailing list on an books recomendation website, so let me take advantage of the last questions about books for one question more and

Re: Mozillas choice of malloc implementation

2012-06-21 Thread Ted Unangst
On Fri, Jun 22, 2012 at 00:21, Kevin Chadwick wrote: I doubt it will make any devs wanting to take advantage of OpenBSDs malloc job easier by getting the ear of Mozilla but I'd be interested if anyone would like to comment on this thread from the mozilla security list? You never know it might

Re: Following -current through a semi-automatic process: a strategy for encouraging user involvement?

2012-06-19 Thread Ted Unangst
On Tue, Jun 19, 2012 at 21:41, eagir...@cox.net wrote: What may be a slightly faster method of tracking close to current: http://www.tedunangst.com/snapper.html I haven't used it in a while, because I used to build the kernel with NTFS support, and never got back to using it after that

Re: OpenBSD forked

2012-06-19 Thread Ted Unangst
On Wed, Jun 20, 2012 at 08:28, Jay Patel wrote: Hi all users, I am users too. Thanks cody. I am learning C too. from C primus plus any thoughts from devs. which we should read? You will not truly learn C, or any language, until you *do* something with it. Project euler has some problems if

Re: OpenBSD forked

2012-06-17 Thread Ted Unangst
On Sun, Jun 17, 2012 at 16:14, Peter Laufenberg wrote: Funny thing is, I've never been upset about the 20+ OpenBSD and ex-OpenBSD developers who now work for google. Do they still work on OpenBSD and contribute back? yes. some more, some less.

Re: pf-smp alpha on freebsd

2012-06-17 Thread Ted Unangst
On Sun, Jun 17, 2012 at 11:43, Holger Glaess wrote: i dident wont start about smp on openbsd but what about this porject ? Did you read the part below? I think it's pretty clear this project isn't going to have much relevance for OpenBSD. From the very beginning of the project it was

Re: OpenBSD is just an OS, not a firewall...

2012-06-10 Thread Ted Unangst
On Sun, Jun 10, 2012 at 09:44, Chris Smith wrote: On Sat, Jun 9, 2012 at 11:52 PM, Lars Hansson romaby...@gmail.com wrote: Hmm..I get This post could not be found. Apparently the original post has been deleted by its author. His prerogative, but I think it's in bad taste to create such

Re: llround(), round() broken?

2012-06-04 Thread Ted Unangst
On Mon, Jun 04, 2012 at 20:40, Theo de Raadt wrote: This seems to come up most often regarding the math functions. Which Unix system doesn't require -lm for those math functions? I think these people have no experience writing any C and OpenBSD is the first place they've tried it. Trying to

Re: (Kinda O.T.) Digital Millennium Copyright Act used to censor hardware specifications

2012-05-31 Thread Ted Unangst
On Thu, May 31, 2012 at 11:11, Brett wrote: Pursuant to a rights owner notice under the Digital Millennium Copyright Act (DMCA), the Wikimedia Foundation acted under the law and took down and restricted the content in question. A copy of the received notice can be Reverse engineering

Re: Idea for apmd

2012-05-31 Thread Ted Unangst
On Thu, May 31, 2012 at 08:28, Tomas Bodzar wrote: On Thu, May 31, 2012 at 3:45 AM, Juan Francisco Cantero Hurtado i...@juanfra.info wrote: This is important because when I open a web page with a lot of javascript, the browser is very slow. Also when I compile something with make -j1, apmd

Re: Upgrading OpenBSD

2012-05-21 Thread Ted Unangst
On Mon, May 21, 2012 at 19:20, Richards, Toby wrote: Will pkg_add -ui upgrade between major releases, such as php 5.2.x = 5.3.x? When I upgraded OpenBSD 4.9 = 5.0, there was a huge issue because it supported both PHP 5.2.x AND 5.3.x. I'd have loved to seamlessly upgraded to 5.3.x, but the

Re: Disk not configured after VM crash

2012-05-20 Thread Ted Unangst
On Sun, May 20, 2012 at 20:47, Joaquin Herrero wrote: Hi, An OpenBSD 4.3 GENERIC Virtual Machine I have on VMware ESXi 3.5 crashed and after rebooting it complains that one of the disks is not configured: No traces of the a partition in the disklabel! I accessed the hypervisor via ssh and

Re: release failing to build. hardware related?

2012-05-15 Thread Ted Unangst
On Tue, May 15, 2012 at 17:03, Marc Peters wrote: Hi list, i am trying to built a 5.1 release which fails at disklabel -w vnd0 floppy576 disklabel: unknown disk type: floppy576 Your /etc/disklabel is missing something.

Re: Error while copying data from another disk

2012-05-14 Thread Ted Unangst
On Mon, May 14, 2012 at 10:19, Jan Stary wrote: On May 14 08:11:43, Mik J wrote: My first question is that I don't understand the term fsbn. http://lmgtfy.com/?q=openbsd+fsbn The results for that aren't particularly helpful in explaining the term. file system block number.

Re: fw_update

2012-05-09 Thread Ted Unangst
On Wed, May 09, 2012 at 21:33, mark sullivan wrote: I was coming to OpenBSD 5.1 looking for reasonable privacy and when I install it (amd64 flavour), I see that fw_update automatically installs propietary firmware without my permission. Actually even worse, it updates it automatically from the

Re: fw_update

2012-05-09 Thread Ted Unangst
On Thu, May 10, 2012 at 10:34, Brett wrote: You can use pf to block those network devices that have firmware you don't trust Way too late at that point. It's already copied your top zecret data to the NSA.

Re: acer aspire one D270

2012-05-04 Thread Ted Unangst
On Fri, May 04, 2012 at 12:33, Weldon Goree wrote: On Fri, 2012-05-04 at 07:37 +0100, Laurence Rochfort wrote: I wouldn't recommend the iwn(4) devices. I've had a bad experience even with those in the man page. YMMV; I've had good results with the 4965 AGN. Of note: NetBSD 6 (in beta) has a

Re: File descriptor - name?

2012-05-04 Thread Ted Unangst
On Sat, May 05, 2012 at 00:14, Alan Corey wrote: Is there a way to get the name of a file that's open when all you've got is a file descriptor? I'm working on porting something, that I didn't write. with directories full of source. I'm seeing a problem with an ioctl being the wrong type,

Re: Security Patch Announcements

2012-05-02 Thread Ted Unangst
On Wed, May 02, 2012 at 11:44, Martin SchrC6der wrote: 2012/5/2 Sebastian Reitenbach sebas...@l00-bugdead-prods.de: On Tuesday, May 1, 2012 18:36 CEST, Martin SchrC6der mar...@oneiros.de wrote: But citing the 5.1 Announce E-Mail: ... Security patch announcements are sent to the

Re: Sandybridge will not poweroff

2012-04-28 Thread Ted Unangst
On Sat, Apr 28, 2012 at 12:35, patrick keshishian wrote: right. i suppose, what I really meant was, based on the dmesg from OP, how does one determine sandybridge-ness? (my eyeballs didn't catch any obvious references). Or does one need to read the manufacturer's marketing docs to know?

Re: Why does the ports system delete distfiles?

2012-04-26 Thread Ted Unangst
On Thu, Apr 26, 2012 at 07:33, Alexander Hall wrote: Alan Corey ab...@devio.us wrote: I've seen this before, I wonder if there's some environment variable I can set to stop it? I try make fetch on a port, it fails due to a bad site. I hit Ctrl-C to stop it, it goes to the next site and

Re: SETUID perl script leaves backdoor open after dropping privileges

2012-04-25 Thread Ted Unangst
On Wed, Apr 25, 2012 at 07:15, Christopher Zimmermann wrote: As requested, here's the same test case a little more readable: This leaves a backdoor open (possibly in the saved UID): Yes, if you don't clear the saved uid, you can still switch back to it. You should use setresuid if it's

Re: ksh and # in the command line

2012-04-24 Thread Ted Unangst
On Tue, Apr 24, 2012 at 14:25, frantisek holop wrote: hi there, how can i make ksh leave the '#' alone in the url i am passing as a parameter? Put it in quotes. $ echo url#anchor url#anchor $ curl -v http://example.com/test#1; GET /test HTTP/1.1 ^

Re: ksh and # in the command line

2012-04-24 Thread Ted Unangst
On Tue, Apr 24, 2012 at 16:07, Louis V. Lambrecht wrote: Be cautious when citing examples on a list :-) louis@athlon ~ $ whois example.com What's your point? RFC 2606 specifically reserves example.com for example purposes.

Re: all freezes when I move windows in twm

2012-04-18 Thread Ted Unangst
On Wed, Apr 18, 2012 at 12:07, Gleydson Soares wrote: On Wed, Apr 18, 2012 at 06:29:46PM +0400, Alexei Malinin wrote: At a time when I listen to music on the xmms and simultaneously begin to move any X window, the sound stops. The sound resumes after finishing of moving of the window . try

Re: OpenBSD 5.1 SSD

2012-04-14 Thread Ted Unangst
On Sat, Apr 14, 2012, Laurence Rochfort wrote: Hi, I'm considering purchasing a domestic SSD for my laptop. Does OpenBSD 5.1 support SSDs and the TRIM command if needed? It supports SSD drives like any other drive, but no special features. Specifically, there's no TRIM support.

Re: rfork(2) considered harmful? [Re: CVS: cvs.openbsd.org: src]

2012-04-12 Thread Ted Unangst
On Thu, Apr 12, 2012, Mo Libden wrote: Wow. If memory serves, rfork() availability was a feature. Now it is gone... Any reasons to share please? It allowed creation of interesting types of processes, awesome flexibility regarding share of memory space and/or file handle tables. rthreads

Re: LiveUSB OpenBSD and LiveCD-OpenBSD site updated

2012-04-09 Thread Ted Unangst
On Mon, Apr 09, 2012, Andres Perera wrote: if they don't use the following to boot: * bootp (requires more than one system) * a cd (requires an optical drive) * a floppy (requires a floppy drive) then they boot from hdd. it doesn't matter if it's usb, sata or what have you there are no

Re: sending hex string to /dev/ttyU1

2012-04-08 Thread Ted Unangst
On Sun, Apr 08, 2012, edasky wrote: rs232 -d /dev/ttyUSB1-s'\h 2A 61 00 06 88 01 20 87 3E \r -r8 -hex Now I need to achieve the same result under OpenBSD (5.0) Anybody got an idea how to send such a hex string in /dev/ttyU1 ? Maybe something like perl -e 'print \x2a\x61\x00\x88' /dev/ttyU1

Re: Havege entropy gathering

2012-04-06 Thread Ted Unangst
On Fri, Apr 06, 2012, Kevin Chadwick wrote: I was looking at this entropy gatherer (havege) and was wondering if OpenBSD uses any similar techniques? www.irisa.fr/caps/projects/hipsor/ No. We don't think limiting entropy to being used as a seed for a random number generator is a limitation.

Re: Is nginx to complement or replace apache?

2012-04-03 Thread Ted Unangst
On Tue, Apr 03, 2012, C)C CC C;C CC CC C wrote: nginx is great piece of software, but it doesn't do CGI, how users will run bgplg, for example ? There's about a dozen different ways to make cgi scripts work with nginx.

Re: openbsd / ipsec / hardware

2012-04-02 Thread Ted Unangst
On Mon, Apr 02, 2012, Stuart Henderson wrote: i'm using a simple scp of a 100MB file. scp reports its transmission speed. and i'm comparing the same transmission of the same file between the same two hosts with and without vpn encryption. it may not be the best or most accurate measurement,

Re: Is nginx to complement or replace apache?

2012-03-29 Thread Ted Unangst
On Thu, Mar 29, 2012, Andres Perera wrote: Maybe you could also close some of those 999 keep-alive sessions and pre-load sessions you have open and retry. Seriously why does a webbrowser need 1024 file descriptors to be open at the same time? Are you concurrently reading 500 homepages? you

Re: udevadm equivalent

2012-03-28 Thread Ted Unangst
On Wed, Mar 28, 2012, Beavis wrote: hi, is there an equivalent to udevadm in OpenBSD or BSD in particular? hotplugd maybe.

Re: Performance issues

2012-03-25 Thread Ted Unangst
On Sun, Mar 25, 2012, Jay Hart wrote: 1. Unless I disable acpi (see dmesg), box freezes at 'acpiec0 at acpi0' What about just disabling acpiec?

Re: Performance issues

2012-03-25 Thread Ted Unangst
On Sun, Mar 25, 2012, Jay Hart wrote: On Sun, Mar 25, 2012, Jay Hart wrote: 1. Unless I disable acpi (see dmesg), box freezes at 'acpiec0 at acpi0' What about just disabling acpiec? You're a GENIUS, that was it! ;') How do I make that stick reboot to reboot? Assume I need to

Re: ctrl+alt+backspace bypasses xlock and allows terminal access

2012-03-23 Thread Ted Unangst
On Sat, Mar 24, 2012, Brett wrote: On Sat, 24 Mar 2012 02:43:53 +0100 Henning Brauer lists-open...@bsws.de wrote: how exactly is preventing yourself from killing your own X server increasing security again? By stopping anyone wandering by my desk (or the cat) from pressing a few buttons

Re: using access(2)

2012-03-23 Thread Ted Unangst
On Fri, Mar 23, 2012, Jan Stary wrote: However, access() is used in test(1): Is this a problem? It is not possible to close the race between when test sees a file and when the parent process sees test's exit code. Write your shell scripts with caution.

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

2012-03-15 Thread Ted Unangst
On Thu, Mar 15, 2012, Olivier Cochard-LabbC) wrote: I can't do a make release with up-to-date -current code (just synchronized) with default value (no personnal hack/patch). amd64/ramdiskA kernel seems too big for the floppy image, here is an extract of my log file: It should be fixed now.

Re: Strange sshd + /etc/nologin behaviour

2012-03-14 Thread Ted Unangst
On Sun, Mar 11, 2012, AndrC) S. wrote: why are the /etc/nologin contents not printed (neither to root nor to test) when PermitRootLogin is no? this is a bug. pr6641 to be exact.

Re: posix_spawn(3)

2012-03-12 Thread Ted Unangst
On Mon, Mar 12, 2012, Mo Libden wrote: 10 PP0QQP0 2012, 06:28 PQ Ted Unangst t...@tedunangst.com: On Fri, Mar 09, 2012, Frank Denis wrote: Hi Matthew, Good catch. I'm going to fix that. On Mar 9, 2012, at 10:54 AM, Matthew Dempsky matt...@dempsky.org wrote: I briefly looked over

Re: Which automake and autoconfig versions to compile NTOP v4?

2012-03-11 Thread Ted Unangst
On Sun, Mar 11, 2012, Kaya Saman wrote: try: automake --version autoconf --version The messages should be self-explanatory if you didn't define certain environment variables, e.g., I have this in my environment: automake --version autoconf --version come up with this #

Re: My OpenBSD 5.0 installation experience (long rant)

2012-03-08 Thread Ted Unangst
On Thu, Mar 08, 2012, Kenneth R Westerback wrote: On Thu, Mar 08, 2012 at 04:40:47PM -0700, Barry Grumbine wrote: Available disks are: sd0 sd1 sd2 Which one is the root disk? (or 'done') [sd0] At this point I usually say oh crap, hit ^c, and go read the dmesg or `disklabel sd1` to make sure

Re: openbsd 5.0 lifebook p1110 kernal panic on suspend/standby

2012-03-07 Thread Ted Unangst
As a short term workaround, type -c at the boot prompt, then disable cbb at the next prompt, then quit, and see what happens. On Wed, Mar 07, 2012, Kendall Shaw wrote: Kendall Shaw ks...@kendallshaw.com writes: Hi, I have a lifebook p1110 which causes a kernel panic related to APM, I

Re: My OpenBSD 5.0 installation experience (long rant)

2012-03-07 Thread Ted Unangst
On Wed, Mar 07, 2012, Nick Holland wrote: On 03/07/12 18:32, Marc Espie wrote: On Wed, Mar 07, 2012 at 10:10:12AM -0500, Nick Holland wrote: yes, scrollback is something that was sacrificed on the installer to keep it able to fit on a floppy (contrary to another contribution to this thread).

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