CardBus Support

2015-01-02 Thread Andres Chavez
Hi, any idea on how to enable CardBus Support on 5.6 ? i'm getting this message on boot related to the PCMCIA card that i'm trying to use on my old toshiba lapto, the card works just fine under pfsense/freebsd Dmesg: cbb0 at pci1 dev 4 function 0 ENE CB-1410 CardBus rev 0x01: apic 1 int 16,

Re: standard FAQ procedure ... in chroot

2014-06-08 Thread Andres Perera
yourself into a chroot, you are stuck in it and get special treatment until you exit. Apart from why mknod wants to fail inside chroots, having a simple syscall being able to take you out of it would defeat the whole purpose, no? 2014-06-08 4:36 GMT+02:00 Andres Perera andre...@zoho.com

Re: standard FAQ procedure ... in chroot

2014-06-08 Thread Andres Perera
On Sun, Jun 8, 2014 at 3:51 AM, Otto Moerbeek o...@drijf.net wrote: On Sun, Jun 08, 2014 at 02:59:08AM -0430, Andres Perera wrote: On Sun, Jun 8, 2014 at 2:24 AM, Janne Johansson icepic...@gmail.com wrote: I don't think there is a word for chroot back. I don't think you read, understood

Re: standard FAQ procedure ... in chroot

2014-06-08 Thread Andres Perera
for the chroot(/); case when mknod:ing. 2014-06-08 17:44 GMT+02:00 Andres Perera andre...@zoho.com: On Sun, Jun 8, 2014 at 3:51 AM, Otto Moerbeek o...@drijf.net wrote: On Sun, Jun 08, 2014 at 02:59:08AM -0430, Andres Perera wrote: On Sun, Jun 8, 2014 at 2:24 AM, Janne Johansson icepic

Re: standard FAQ procedure ... in chroot

2014-06-07 Thread Andres Perera
The description of EINVAL in mknod(2) is wrong: [EINVAL] The process is running within an alternate root directory, as created by chroot(2). Even if a process chroot()s back to /, it can't create a device node. The program below exits with EINVAL:

Re: pkg_add http://${REDIRECT}

2014-04-28 Thread Andres Perera
On Mon, Apr 28, 2014 at 3:05 PM, Michał Lesiak mic...@10bees.com wrote: Hello, I'm trying to invent a oneliner for installing a specific package. The problem is, the destination file is a redirect file forwarding a request to a target package. The result is: # pkg_add -v

Re: sudo -u environment help

2014-04-08 Thread Andres Perera
On Fri, Apr 4, 2014 at 6:00 AM, Craig R. Skinner skin...@britvault.co.uk wrote: Hi, When sudo'ing to another user, how can I obtain all of their environment settings as they receive when logging in themselves? When I use sudo in this manner, settings such as $PATH, $MAIL umask aren't being

Re: sudo -u environment help

2014-04-08 Thread Andres Perera
On Tue, Apr 8, 2014 at 7:17 AM, Andres Perera andre...@zoho.com wrote: On Fri, Apr 4, 2014 at 6:00 AM, Craig R. Skinner skin...@britvault.co.uk wrote: Hi, When sudo'ing to another user, how can I obtain all of their environment settings as they receive when logging in themselves? When I

Re: dead disk

2014-01-28 Thread Andres Perera
On Sun, Jan 26, 2014 at 5:07 PM, Philip Guenther guent...@gmail.com wrote: On Sun, Jan 26, 2014 at 11:40 AM, emigrant emig...@gmail.com wrote: My Master machine is dead, exactly HDD(thank you God for CARP+pfsync) :). root@master[/etc]wd0(pciide0:0:0): timeout type: ata

Re: dead disk

2014-01-28 Thread Andres Perera
On Tue, Jan 28, 2014 at 4:55 AM, Philip Guenther guent...@gmail.com wrote: On Tue, Jan 28, 2014 at 12:27 AM, Andres Perera andre...@zoho.com wrote: On Sun, Jan 26, 2014 at 5:07 PM, Philip Guenther guent...@gmail.com wrote: On Sun, Jan 26, 2014 at 11:40 AM, emigrant emig...@gmail.com wrote: My

Re: dead disk

2014-01-28 Thread Andres Perera
On Tue, Jan 28, 2014 at 6:12 AM, Philip Guenther guent...@gmail.com wrote: On Tue, Jan 28, 2014 at 2:03 AM, Andres Perera andre...@zoho.com wrote: On Tue, Jan 28, 2014 at 4:55 AM, Philip Guenther guent...@gmail.com wrote: ... I'm no expert on softdeps, so maybe you have a better explanation

Re: Request for Funding our Electricity

2014-01-15 Thread Andres Perera
On Wed, Jan 15, 2014 at 2:44 PM, Peter J. Philipp p...@centroid.eu wrote: On 01/15/14 19:41, Martin Schröder wrote: 2014/1/15 Sia Lang silverlangu...@gmail.com: That small donation wouldn't have amounted to much, but I am positive you being the leader of this project is the very reason no one

Re: resolver question

2013-12-26 Thread Andres Perera
On Thu, Dec 26, 2013 at 6:09 AM, Peter J. Philipp p...@centroid.eu wrote: On 12/24/13 22:08, Andres Perera wrote: i think further investigation is due on OP's part OK. I first removed the domain keyword out of the /etc/resolv.conf and updated /etc/resolv.conf.tail. Then I stuck search

Re: resolver question

2013-12-24 Thread Andres Perera
On Tue, Dec 24, 2013 at 1:03 PM, Peter J. Philipp p...@centroid.eu wrote: On Tue, Dec 24, 2013 at 10:25:06AM -0500, Kenneth R Westerback wrote: On Mon, Dec 23, 2013 at 02:37:47PM +0100, Peter J. Philipp wrote: I'm trying to track down the code in the libasr that causes this behaviour:

Re: resolver question

2013-12-24 Thread Andres Perera
On Tue, Dec 24, 2013 at 3:50 PM, Andy Bradford amb-open...@bradfords.org wrote: Thus said Peter J. Philipp on Tue, 24 Dec 2013 17:33:10 +: I was browsing http://chealth.canoe.ca when I saw the above log. I'm supposing the resolver looks up chealth.canoe.ca, and then eventually does a

Re: Are there any default password managers in OpenBSD?

2013-12-07 Thread Andres Perera
On Sat, Dec 7, 2013 at 4:10 AM, Jan Stary h...@stare.cz wrote: On Dec 06 02:20:49, andre...@zoho.com wrote: conclusion: shell is not good for this Yeah right. Who would even think of doing this in shell. apparently at least one person did I was being sarcastic of course, dipshit.

Re: Are there any default password managers in OpenBSD?

2013-12-07 Thread Andres Perera
On Sat, Dec 7, 2013 at 2:22 PM, Christian Weisgerber na...@mips.inka.de wrote: Christian Weisgerber na...@mips.inka.de wrote: --- #!/bin/sh SAFE=$HOME/.pwsafe TMPFILE=`mktemp /tmp/pwsafeXX` || exit 1 trap 'rm -P $TMPFILE' 0 1 2 15 STTY=`stty -g` echo -n Password:

Re: Are there any default password managers in OpenBSD?

2013-12-06 Thread Andres Perera
On Fri, Dec 6, 2013 at 5:22 AM, Alexander Hall alexan...@beard.se wrote: On 12/06/13 07:50, Andres Perera wrote: On Fri, Dec 6, 2013 at 1:58 AM, Jan Stary h...@stare.cz wrote: On Dec 05 19:09:05, andre...@zoho.com wrote: but then if the shell implementation uses tmpfiles for heredoc

Re: Are there any default password managers in OpenBSD?

2013-12-06 Thread Andres Perera
On Fri, Dec 6, 2013 at 7:09 AM, Paul de Weerd we...@weirdnet.nl wrote: On Fri, Dec 06, 2013 at 06:59:02AM -0430, Andres Perera wrote: | with C you can be very explicit about where you store and when you zero out with shell you can be very explicit about where you store and when you zero out

Re: Are there any default password managers in OpenBSD?

2013-12-06 Thread Andres Perera
2013 12:29, Andres Perera andre...@zoho.com wrote: On Fri, Dec 6, 2013 at 5:22 AM, Alexander Hall alexan...@beard.se wrote: On 12/06/13 07:50, Andres Perera wrote: On Fri, Dec 6, 2013 at 1:58 AM, Jan Stary h...@stare.cz wrote: On Dec 05 19:09:05, andre...@zoho.com wrote: but then if the shell

Re: Are there any default password managers in OpenBSD?

2013-12-06 Thread Andres Perera
On Fri, Dec 6, 2013 at 8:07 AM, Paul de Weerd we...@weirdnet.nl wrote: On Fri, Dec 06, 2013 at 07:41:17AM -0430, Andres Perera wrote: | On Fri, Dec 6, 2013 at 7:09 AM, Paul de Weerd we...@weirdnet.nl wrote: | On Fri, Dec 06, 2013 at 06:59:02AM -0430, Andres Perera wrote: | | with C you can

Re: Are there any default password managers in OpenBSD?

2013-12-06 Thread Andres Perera
On Fri, Dec 6, 2013 at 8:29 AM, Paul de Weerd we...@weirdnet.nl wrote: On Fri, Dec 06, 2013 at 08:15:19AM -0430, Andres Perera wrote: | you use cat, muffin face: | ... | STTY=`stty -g` | echo -n Password: | stty -echo | cat PASSWORD_FILE_DONT_READ_IF_YOU_ARE_OTHER_PROCESS_PLS | stty

Re: Are there any default password managers in OpenBSD?

2013-12-05 Thread Andres Perera
On Thu, Dec 5, 2013 at 8:57 AM, Christian Weisgerber na...@mips.inka.de wrote: Zé Loff zel...@zeloff.org wrote: Not sure how advisable this is, but I'm using a gpg encrypted file, which I keep somewhere hidden (just because). Just put them in file foo and do 'gpg -e foo' (assuming you've

Re: Are there any default password managers in OpenBSD?

2013-12-05 Thread Andres Perera
, 2013 at 6:57 PM, Andres Perera andre...@zoho.com wrote: On Thu, Dec 5, 2013 at 8:57 AM, Christian Weisgerber na...@mips.inka.de wrote: Zé Loff zel...@zeloff.org wrote: Not sure how advisable this is, but I'm using a gpg encrypted file, which I keep somewhere hidden (just because). Just put them

Re: Are there any default password managers in OpenBSD?

2013-12-05 Thread Andres Perera
'' and ``echo'' are unportable } even if it keeps heredocs in memory you have no idea if it zeros it out afterwards On Thu, Dec 5, 2013 at 6:57 PM, Andres Perera andre...@zoho.com wrote: On Thu, Dec 5, 2013 at 8:57 AM, Christian Weisgerber na...@mips.inka.de wrote: Zé Loff zel...@zeloff.org wrote

Re: Blocking facebook.com: PF or squid?

2013-10-18 Thread Andres Genovez
Regards, The way it gets blocked (but not all for a wise kid) properly is via CDIR and block DNS via OpenDNS services Greetings. 2013/10/18 Stefan Wollny stefan.wol...@web.de Hi there, having a personal dislike of Facebook (and the MeeToo-systems alike) for their impertinent sniffing for

PF+ALTQ and real time monitoring

2013-08-26 Thread Andres Chavez
Hi, can anyone tell me the best or at least the most used real time bandwith monitoring tool, when using the PF+ALTQ solution please? thanks in advance.

Re: Man page that explains the file format of man pages?

2013-08-13 Thread Andres Perera
he's not talking about the source level mandoc/man macros the subject is about the SYNOPSIS section language for utilities e.g. in ``grep [ file ]'' the [ ] operator signifies 0 or 1 in ``rm file...'' the ... operator signifies 1 or more On Tue, Aug 13, 2013 at 2:58 AM, Jan Stary

Re: Man page that explains the file format of man pages?

2013-08-12 Thread Andres Perera
On Mon, Aug 12, 2013 at 11:49 PM, Evan Root cellarr...@gmail.com wrote: I think that this post on stack exchange presents my question better.. the answers are all pretty short and non-committal though.

Re: Default software in the base

2013-08-01 Thread Andres Perera
On Thu, Aug 1, 2013 at 8:47 AM, h...@riseup.net wrote: Almost forgot to say about this vttest thing. Um, you do realize that it's been written by the author of XTerm? that does not imply bias. you're coming off as ignorant And how it is XTerm-specific? and these are xterm replacements.

Re: Default software in the base

2013-07-31 Thread Andres Perera
when st or a similarly small project passes a test for vim, emacs, mutt, other popular ncurses clients, then it's worth thinking about replacing xterm in absence of such test, settle for vttest, which also tests for features that aren't as widely used something like an xterm replacement needs to

Re: Default software in the base

2013-07-29 Thread Andres Perera
On Mon, Jul 29, 2013 at 2:18 PM, h...@riseup.net wrote: Hello @misc, I am yet another interested in provided OpenBSD defaults. More specifically the XTerm and GCC. Apparently there are better alternatives like: URXVT * The code base is half the size of XTerm's * Consumes 25% less memory

Re: Handling nested partition mounts with NFS (/usr/src)

2013-07-05 Thread Andres Perera
you want nested nfs mounts which nfsv3/2 can't provide the export is associated to the mount point, it won't cross device limits either put /usr/src in the same file system, or use another nfs host On Fri, Jul 5, 2013 at 7:52 PM, Nathan Goings binarysp...@binaryspike.com wrote: I just setup

Re: tmux and Shift+Return combination

2013-07-05 Thread Andres Perera
according to key_string_set_modifiers() in key-string.c, :bind-key -n s-enter send-key enter On Fri, Jul 5, 2013 at 9:13 PM, patrick keshishian pkesh...@gmail.com wrote: On Fri, Jul 5, 2013 at 5:56 PM, patrick keshishian pkesh...@gmail.com wrote: On Fri, Jul 5, 2013 at 5:52 PM, Nicholas

Re: Handling nested partition mounts with NFS (/usr/src)

2013-07-05 Thread Andres Perera
, 2013 at 10:10 PM, Nathan Goings binarysp...@binaryspike.com wrote: On 7/5/2013 7:33 PM, Andres Perera wrote: you want nested nfs mounts which nfsv3/2 can't provide the export is associated to the mount point, it won't cross device limits either put /usr/src in the same file system, or use

Re: /var/cache/fontconfig ??

2013-06-09 Thread Andres Perera
On Sun, Jun 9, 2013 at 7:12 AM, Vadim Zhukov persg...@gmail.com wrote: 2013/6/9 Otto Moerbeek o...@drijf.net On Sun, Jun 09, 2013 at 10:10:06AM +0100, Jason McIntyre wrote: On Sun, Jun 09, 2013 at 05:06:01AM -0400, Jiri B wrote: Sorry but this seems to bizzare to make 'cache' appropriate

Re: Linux localhost exploits

2013-05-15 Thread Andres Genovez
Owning since 2010! 2013/5/15 Martijn van Duren martijn...@gmail.com Hello misc@, Just for laughs for those who don't work with Linux in their daily lives and to present some gray hairs to those who do: http://packetstormsecurity.com/files/121616/semtex.c (applying patched kernels at my

Re: who is using obsd

2013-05-14 Thread Andres Genovez
2013/5/14 Tomas Bodzar tomas.bod...@gmail.com On Mon, May 13, 2013 at 11:12 PM, Pau vim.u...@gmail.com wrote: on his/her laptop as *only* OS and uses it daily for scientific work? please contact me off list. Thanks I'm not sure if there will be some official readings available (you can

Re: faxing

2013-04-22 Thread Andres Genovez
2013/4/22 Corey clinge...@gmail.com On 04/22/13 12:30, Peter Fraser wrote: Several years ago I put an OpenBSD system in as a firewall and mail server at a small charity that I volunteer at (kwaccessablility.ca) that fixed nearly all the problems that they had with viruses, spam etc. Last

How many rounds to use for a pbkdf2 encrypted disk?

2013-04-21 Thread andres
The example in vnconfig shows 20,000. I picked 30K. This is a 2.8G core2 duo machine, encrypting mail and other stuff. I haven't found sources on the net that have explained what low security is, up to total paranoia with regards # of rounds. Ideas? URLs for good places to read?

Re: [patch] tic man page file path error

2013-03-23 Thread Andres Perera
On Sat, Mar 23, 2013 at 6:00 PM, Creamy cre...@nocrater.com wrote: On Sat, Mar 23, 2013 at 05:31:15PM -0430, Andres Perera wrote: $ ident src/lib/libcurses/tinfo/read_bsd_terminfo.c src/lib/libcurses/tinfo/read_bsd_terminfo.c: $OpenBSD: read_bsd_terminfo.c,v 1.18 2010/01/12 23:22:06 nicm

Re: Client-side font rendering system - from FAQ

2013-03-16 Thread Andres Perera
as of msttcorefonts-2.0p0 the package does not override /etc/fonts/conf.d/31-nonmst.conf that's the one glaring exception i can think of (there are also old bmp fonts that install outside default paths, but i've no idea if such packages exist) On Sat, Mar 16, 2013 at 3:40 AM, James Griffin

Re: WebRTC, google and firefox

2013-03-08 Thread Andres Perera
color highlighting is for weird people anyway On Fri, Mar 8, 2013 at 1:22 PM, Dmitrij D. Czarkoff czark...@gmail.com wrote: On Wed, Mar 06, 2013 at 12:00:57PM -0430, Andres Perera wrote: dbus isn't big at all though, and it's even smaller when you consider that something else in your modern

Re: A slight twist on the OpenBSD laptop question

2013-03-07 Thread Andres Perera
1080p... even if it could handle more, broadband is 128K/12K really this whole obsd sucks for video thing is out of proportion On Wed, Mar 6, 2013 at 11:25 PM, Brad Smith b...@comstyle.com wrote: On Wed, Mar 06, 2013 at 12:10:18PM -0430, Andres Perera wrote: i don't think it's as drastic

Re: Intel hyperthreading w/ Atom E6xx OpenBSD 5.2?

2013-03-07 Thread Andres Perera
wait wait ~ can someone comment on this http://www.daemonology.net/hyperthreading-considered-harmful/ ? is it still in vogue? On Fri, Mar 8, 2013 at 12:31 AM, David Ruggiero thatseattle...@gmail.com wrote: The OpenBSD kernel and network stack still do run only on CPU0, so if all you plan to

Re: WebRTC, google and firefox

2013-03-06 Thread Andres Perera
On Wed, Mar 6, 2013 at 8:40 AM, Dmitrij D. Czarkoff czark...@gmail.com wrote: One may notice that even minimalist web browsers (dwb, surf, uzbl, xombrero) end up depending on D-BUS and GNOME components. Hell, even Qt-based Arora pulls dconf. dbus isn't big at all though, and it's even smaller

Re: A slight twist on the OpenBSD laptop question

2013-03-06 Thread Andres Perera
i don't think it's as drastic as that if you buy a Clarkdale cpu you're good to go these came out ~2010, they are still modern On Wed, Mar 6, 2013 at 2:34 AM, Brad Smith b...@comstyle.com wrote: On Tue, Mar 05, 2013 at 11:00:01PM -0800, patrick keshishian wrote: On Tue, Mar 5, 2013 at 10:53

Re: Precisions on ZFS (was: Millions of files in /var/www inode / out of space issue.)

2013-02-21 Thread Andres Perera
On Thu, Feb 21, 2013 at 9:59 PM, Juan Francisco Cantero Hurtado i...@juanfra.info wrote: OpenBSD doesn't have support for loadable kernel modules or FUSE, so OpenBSD should include the code inside of the kernel. This is a big difference with FreeBSD/NetBSD/Linux. lkm(4) is outdated with wrong

Re: Millions of files in /var/www inode / out of space issue.

2013-02-19 Thread Andres Perera
On Tue, Feb 19, 2013 at 8:11 AM, Nick Holland n...@holland-consulting.net wrote: I use ZFS, and have a few ZFS systems in production, and what it does is pretty amazing, but mostly in the sense of the gigabytes of RAM it consumes for basic operation (and unexplained file system wedging). I've

Re: bootable OpenBSD USB stick from windows?

2013-02-12 Thread Andres Perera
On Tue, Feb 12, 2013 at 8:29 AM, Heptas Torres hepta...@gmail.com wrote: On 2/12/13, Jan Stary h...@stare.cz wrote: On Feb 11 23:55:30, hepta...@gmail.com wrote: On 2/11/13, Jiri B ji...@devio.us wrote: On Mon, Feb 11, 2013 at 10:51:29PM +, Heptas Torres wrote: Hello I have an old

Re: Legal Question: OpenBSD Spin-off

2013-02-12 Thread Andres Perera
your comments hint to you not being very familiar with packages(7) you can distribute it as an executable that ultimately installs a package i say this because reusing the infrastructure, and having it take part of the db for easy removal and inspection is a great bonus. it means less work for

Re: bug / misunderstanding in how pf interacts with dhclient

2013-01-29 Thread Andres Perera
On Tue, Jan 29, 2013 at 4:28 AM, Bohdan Tashchuk btashc...@yahoo.com wrote: --- On Mon, 1/28/13, Andres Perera andre...@zoho.com wrote: more than that, really, why should you or anybody care using bpf or not should be an implementation detail. no one should be making decisions as far

Re: bug / misunderstanding in how pf interacts with dhclient

2013-01-28 Thread Andres Perera
On Mon, Jan 28, 2013 at 7:43 PM, Bohdan Tashchuk btashc...@yahoo.com wrote: Hi guys, For many years, I've read pf and dhcp related threads like, e.g.: http://marc.info/?l=openbsd-miscm=125907434809727w=2 Some text from that post: dhcp packets are grabbed by dhclient or dhcpd before pf sees

Re: bug / misunderstanding in how pf interacts with dhclient

2013-01-28 Thread Andres Perera
On Tue, Jan 29, 2013 at 12:52 AM, Andres Perera andre...@zoho.com wrote: On Mon, Jan 28, 2013 at 7:43 PM, Bohdan Tashchuk btashc...@yahoo.com wrote: Hi guys, For many years, I've read pf and dhcp related threads like, e.g.: http://marc.info/?l=openbsd-miscm=125907434809727w=2 Some text from

Re: pf rule idea

2013-01-25 Thread Andres Perera
i highly doubt that they would add any sort of layer 7/string checking capability to pf. it's completely against its design that's just not going to happen

Re: getting apps en masse

2013-01-24 Thread Andres Perera
there are ways, including pkg_add it seems that's not good enough, and i'm guessing it's because downloading-installing isn't parallelized... you can use other clients; ftp, http, rsync, afs (lol) to download packages On Thu, Jan 24, 2013 at 9:00 PM, John Newton johnnewto...@yahoo.com wrote:

Re: OT using absolute paths in scripts

2013-01-14 Thread Andres Perera
isn't a requirement, but what's a standard if a significant amount of implementations agree on what's right? andres@pote:~/tmp $ IFS=asd bash -c 'echo $IFS' | vis \t\$ \$ andres@pote:~/tmp $ IFS=asd ksh -c 'echo $IFS' | vis \t\$ \$ therefore i conclude that you are talking out of your poopy hole

Re: Running OpenBSD on Raspberry Pi

2013-01-09 Thread Andres Genovez
2012/12/31 BARDOU Pierre bardo...@mipih.fr Hello, I would be very interested by an OpenBSD port too. Usage : home router with firewall, DNS and DHCP. I am looking into FreeBSD and NetBSD ports, but I would prefer to have the latest PF and OpenSSH versions... plus I am more used to OpenBSD

Re: Running OpenBSD on Raspberry Pi

2013-01-09 Thread Andres Genovez
2013/1/9 Gene gh5...@gmail.com On Wed, Jan 9, 2013 at 10:54 AM, Andres Genovez andresgeno...@gmail.com wrote: 2012/12/31 BARDOU Pierre bardo...@mipih.fr Hello, I would be very interested by an OpenBSD port too. Usage : home router with firewall, DNS and DHCP. I am looking

Re: Strange ksh history behaviour

2013-01-07 Thread Andres Perera
I've been using a patch I made months ago. I haven't submitted it to tech@ since I believe people actually want to keep it. I can't post it at the moment because it's just on the CVS checkout and I have other ksh changes that I have to split first.

Re: Various system freeze

2012-12-29 Thread Andres Genovez
2012/12/29 epsilon epsilo...@t-online.de Hi all, recently we read a lot of total system freezes. Let me try to summarize: Common in many cases is: The system totally freezes. No keyboard interaction possible. No kernel panic. No coredump. Nothing in the logs. Network (ICMP, routing) looks

Re: A point about the BSD license I'm feeling edgy about

2012-12-28 Thread Andres Perera
On Fri, Dec 28, 2012 at 8:50 PM, Live user nots...@live.com wrote: 3) The copyright holder of the object files is the original author even if the compiler is a third party person Nope, that depends on the compiler/transformation. Consider GNU autoconf. the output isn't derivative work of

Re: A point about the BSD license I'm feeling edgy about

2012-12-28 Thread Andres Perera
On Fri, Dec 28, 2012 at 9:03 PM, Live user nots...@live.com wrote: On 29/12/2012 2:28, Andres Perera wrote: Consider GNU autoconf. the output isn't derivative work of the source files, regardless of how big their BSD headers are. That's the biggest problem with autoconf, imo

Re: High performance IO (sendfile(), caching, and libev(ent))

2012-12-20 Thread Andres Perera
On Thu, Dec 20, 2012 at 4:23 AM, Jean-Philippe Ouellet jean-phili...@ouellet.biz wrote: Hello, I'm trying to learn about writing high performance servers, and I have a few questions not clearly answered by any documentation I can find. I'm comfortable with select(), poll(), and kqueue(), but

Re: High performance IO (sendfile(), caching, and libev(ent))

2012-12-20 Thread Andres Perera
On Thu, Dec 20, 2012 at 6:06 AM, Tobias Ulmer tobi...@tmux.org wrote: The file will be in the buffer cache. While it still takes a few in-memory copies (which is what sendfile saves you), this should be fast enough for most cases. If you keep the data in your address space, you save one

Re: trivial with echo command

2012-12-18 Thread Andres Perera
On Tue, Dec 18, 2012 at 6:32 AM, Marc Espie es...@nerim.net wrote: On Tue, Dec 18, 2012 at 11:47:59AM +0100, Alexander Hall wrote: Andres Perera andre...@zoho.com wrote: On Mon, Dec 17, 2012 at 7:07 PM, Alexander Hall alexan...@beard.se wrote: For scripting, echo is one of the commands

Re: trivial with echo command

2012-12-17 Thread Andres Perera
echo expands nil from C backslash sequences just fine: andres@pote:~/tmp $ alias vis vis='vis -cl -F$COLUMNS' andres@pote:~/tmp $ echo '\0a' | vis \0a\$ andres@pote:~/tmp $ perl -e 'print \0a\n' | vis \0a\$ what's most likely happening is that the protocol that you're targeting treats '\0

Re: trivial with echo command

2012-12-17 Thread Andres Perera
On Mon, Dec 17, 2012 at 6:13 PM, Stuart Henderson s...@spacehopper.org wrote: On 2012-12-17, sven falempin sven.falem...@gmail.com wrote: Hello misc readers, First, openBSD threads are awesome for debugging. The trivial topic, echo -ne \x00 | nc port send a null byte with a GNU echo.

Re: trivial with echo command

2012-12-17 Thread Andres Perera
unknown data, I usually end up using 'print -r -- $var' (or 'printf %s $var' if I care about portability). /Alexander the worrysome part is what happens with make: andres@pote:~ $ echo '/nonexsistent:;@echo -e hello' | make -f- | vis -e hello\$ andres@pote:~ $ echo '/nonexsistent:;@echo -e

Re: KSH command logged to syslog

2012-12-16 Thread Andres Perera
On Sun, Dec 16, 2012 at 5:47 AM, Paul de Weerd we...@weirdnet.nl wrote: On Sun, Dec 16, 2012 at 11:02:31AM +0100, David Coppa wrote: | .profile can be interrupted with ctrl+c. | | Because it is under controle or the user and he/she can disable | such funcionality. | | the safer way imho

Re: KSH command logged to syslog

2012-12-16 Thread Andres Perera
btw, this program should be the only entry in /etc/shells so only root is allowed privacy On Sun, Dec 16, 2012 at 6:38 AM, Andres Perera andre...@zoho.com wrote: #include sys/types.h #include stdio.h #include unistd.h #define sp /usr/bin/script #define sf /var/db/ghetto_act/%ju main

Re: KSH command logged to syslog

2012-12-16 Thread Andres Perera
On Sun, Dec 16, 2012 at 7:10 AM, Paul de Weerd we...@weirdnet.nl wrote: On Sun, Dec 16, 2012 at 06:38:08AM -0430, Andres Perera wrote: | On Sun, Dec 16, 2012 at 5:47 AM, Paul de Weerd we...@weirdnet.nl wrote: | On Sun, Dec 16, 2012 at 11:02:31AM +0100, David Coppa wrote: | | .profile can

Re: KSH command logged to syslog

2012-12-16 Thread Andres Perera
On Sun, Dec 16, 2012 at 8:07 AM, Alexander Hall alexan...@beard.se wrote: I still want to know the reason for all this. If it's for security, it sure feels ass-backwards and questionable at best. it's useful for honeypot scenarios, with all proposed solutions so far being influenced by

Re: SSHD doesn't honor login.conf's setenv

2012-12-11 Thread Andres Perera
as a temporary workaround, you can do sudo -u $SAMEUSER -c - -i in, e.g., ~/.profile at the logged-in machine that way you don't duplicate env settings in ssh_config proper On Tue, Dec 11, 2012 at 6:14 AM, Martijn van Duren m.vandu...@jonker.nl wrote: Dear misc, I'm a new to OpenBSD and BSD

Re: upstream vendors and why they can be really harmful

2012-11-25 Thread Andres Perera
(cc'ing misc instead of tech) On Sat, Nov 24, 2012 at 7:21 PM, William Ahern will...@25thandclement.com wrote: On Thu, Nov 22, 2012 at 01:27:46PM -0430, Andres Perera wrote: On Thu, Nov 22, 2012 at 11:58 AM, Kevin Chadwick ma1l1i...@yahoo.co.uk wrote: On Thu, 22 Nov 2012 09:30:41 -0430

Re: Crowding out OpenBSD

2012-11-17 Thread Andres Perera
. presumably cgroups wasn't in the radar at the time * several (all?) openbsd daemons have options for not double-forking. some of these daemons have the gall of preceding systemd On Sat, Nov 17, 2012, at 02:21 AM, Andres Perera wrote: On Sat, Nov 17, 2012 at 1:55 AM, Rod Whitworth glis

Re: Crowding out OpenBSD

2012-11-16 Thread Andres Perera
On Sat, Nov 17, 2012 at 1:55 AM, Rod Whitworth glis...@witworx.com wrote: On Fri, 16 Nov 2012 20:49:37 -0600, Amit Kulkarni wrote: https://lwn.net/Articles/524606/ don't have a subscription but for those who do, enjoy. But http://lwn.net/Articles/524920/ will give you the idea without $$$

Re: Is this legal CVS?

2012-10-23 Thread Andres Perera
On Tue, Oct 23, 2012 at 6:59 AM, John Long codeb...@inbox.lv wrote: However, updates must be done directory-by-directory Based on this I was doing it directory-by-directory but based on Tomaz's post quoted above it seems you can combine directories for CVS up also? If this is correct it

Re: nasm problem - SOLVED

2012-10-15 Thread Andres Perera
On Mon, Oct 15, 2012 at 10:41 AM, John Long codeb...@inbox.lv wrote: On Mon, Oct 15, 2012 at 09:48:57AM -0500, Chris Bennett wrote: On Mon, Oct 15, 2012 at 09:31:34AM -0500, Chris Bennett wrote: I have added this: section .note.openbsd.ident align 2 dd 8 dd 4 dd 1 db

Re: tmux and current directory

2012-09-30 Thread Andres Perera
more of a case of man gratuitously changing cwd shells spawned by $PAGER also have a cwd of the base of the man path On Sun, Sep 30, 2012 at 12:38 PM, Jan Stary h...@stare.cz wrote: On current/i386, tmux seems to open a new shell with the current directory being the same as in the window I am

Re: !!!!

2012-09-05 Thread Andres Perera
On Wed, Sep 5, 2012 at 2:22 PM, Kevin Chadwick ma1l1i...@yahoo.co.uk wrote: On Wed, 5 Sep 2012 23:12:37 +0800 Rowdy OpenBSD wrote: To the OP. When checking I choose a source mirror or two and download just the SHA256. There is no sha256 for src.tgz and sys.tgz but you can use ssh for the

Re: !!!!

2012-09-05 Thread Andres Perera
On Wed, Sep 5, 2012 at 4:06 PM, Kevin Chadwick ma1l1i...@yahoo.co.uk wrote: On Wed, 5 Sep 2012 15:49:15 -0430 Andres Perera wrote: doesn't in any way justify downloading sha256 from more than one mirror from the same connection, kevin It does if a lower tier has been compromised and I

Re: !!!!

2012-09-05 Thread Andres Perera
On Wed, Sep 5, 2012 at 6:34 PM, Kevin Chadwick ma1l1i...@yahoo.co.uk wrote: On Wed, 5 Sep 2012 16:49:34 -0430 Andres Perera wrote: On Wed, Sep 5, 2012 at 4:06 PM, Kevin Chadwick ma1l1i...@yahoo.co.uk wrote: On Wed, 5 Sep 2012 15:49:15 -0430 Andres Perera wrote: doesn't in any way

Re: website page to fix

2012-08-24 Thread Andres Perera
On Sat, Jun 30, 2012 at 4:51 PM, Ted Unangst t...@tedunangst.com wrote: 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.

Re: Dilemma: between OpenBSD and NetBSD

2012-08-10 Thread Andres Perera
i find it hard to believe you're involved in such project. more portable, more secure don't mean anything unless details are involved. i mean, if it runs on your target hosts, what could more portable possibly mean? it's better to say: i'm trying out these two and i want a comparison. lying,

Re: route(8) doc question

2012-08-01 Thread Andres Perera
use `route get x` flags are expanded, unlike with show i know of at least one place where route(1) is used in scripts, /etc/netstart. if that weren't the case, i would suggest altering the output of `route -v`. i would expect the latter to also be used in scripts since manipulating routes in

Re: Kernel Level Audio Next Generation

2012-08-01 Thread Andres Perera
i particularly enjoy the part where an opposing spectator conflated gdm with the only way to deal with handicapped users. he also proceeded to discredit the talker by stating that he hated the handicapped, even though that couldn't possibly be inferred from the presentation thus far. not only

Re: AMD Brazos C60

2012-07-26 Thread Andres Perera
On Thu, Jul 26, 2012 at 5:37 AM, David Scott dmscott...@gmail.com wrote: The OpenBSD website says that the support for the amd64 platform covers all versions of the AMD Athlon 64 processors and their clones. assuming it's this page: http://www.openbsd.org/amd64.html making a reference to the

Re: Calomel.org

2012-07-26 Thread Andres Perera
On Thu, Jul 26, 2012 at 4:33 AM, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: I'm used to learning tech from scratch and mastering then using it but my work load is punishing and I would like to clean up DNS on my lan since the devices are just adding up too fast... what a problem

Re: Calomel.org

2012-07-26 Thread Andres Perera
On Thu, Jul 26, 2012 at 4:30 AM, Paulm pa...@tetrardus.net wrote: Dynamic content proper search would also put an end to just wade through marc.info fuck-offs and self-righteous RTFD when one has to egrep -Rli serial /usr/share/man, say. Man/info pages are the ultimate /reference/, they're not

Re: problem in fstab

2012-07-26 Thread Andres Perera
the problem with this logic is that there are numerous curses programs: less, top, systat, vi; just to name the ones i recall from base. surely retrofitting them with prompts isn't an option, specially when having TERM unset isn't the norm On Thu, Jul 26, 2012 at 4:33 AM, Mo Libden

Re: problem in fstab

2012-07-26 Thread Andres Perera
moons or so, when you actually need to be single user, just source that file. that way vi and mg can be used without duplicating logic in both of them. On Thu, Jul 26, 2012 at 10:20 AM, Mo Libden m0lib...@mail.ru wrote: Thu, 26 Jul 2012 07:06:02 -0430 от Andres Perera andre...@zoho.com: the problem

Reminder about your invitation from Andres Genovez

2012-07-23 Thread Andres Genovez (LinkedIn Invitations)
LinkedIn This invitation is awaiting your response: From Andres Genovez -- (c) 2012, LinkedIn Corporation

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

2012-07-13 Thread Andres Perera
On Fri, Jul 13, 2012 at 11:59 AM, Chris Cappuccio ch...@nmedia.net wrote: But having a generic mechanism to bring network data in/out userland for analysis or manipulation, abstracted in a secure way from the kernel across multiple network card types, and zero copy, could be very useful. The

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

2012-07-13 Thread Andres Perera
from their site: netmap implements a special device, /dev/netmap, which is the gateway to switch one or more network cards to netmap mode, where the card's datapath is disconnected from the operating system. open(/dev/netmap) returns a file descriptor that can be used with ioctl(fd, NIOCREG, ...)

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

2012-07-13 Thread Andres Perera
compositing On Fri, Jul 13, 2012 at 3:24 PM, Chris Cappuccio ch...@nmedia.net wrote: Andres Perera [andre...@zoho.com] wrote: so i should move the whole filtering stack to userland... seems like a needless work for simple packet capture And I completely disagree. You think what the kernel

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

2012-07-13 Thread Andres Perera
On Fri, Jul 13, 2012 at 3:40 PM, Chris Cappuccio ch...@nmedia.net wrote: Andres Perera [andre...@zoho.com] wrote: for clients (processes) that need to do trivial filtering, e.g., tcpdump 'ether multicast and not broadcast', it's an overhaul for nothing the placement of the filtering stack

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

2012-07-13 Thread Andres Perera
offers a bridge implementation as an example -- i would think that's an area where netmap's offerings are more attractive On Fri, Jul 13, 2012 at 4:43 PM, Ted Unangst t...@tedunangst.com wrote: On Fri, Jul 13, 2012 at 16:06, Andres Perera wrote: you did! you explicitly said that it would

Re: missing /etc/fstab

2012-07-08 Thread Andres Perera
On Sun, Jul 8, 2012 at 7:41 PM, Nico Kadel-Garcia nka...@gmail.com wrote: On Sun, Jul 8, 2012 at 8:29 AM, Theo de Raadt dera...@cvs.openbsd.org wrote: I remember some early 5.1 snapshot which installed and successfully run without /etc/fstab however, 5.1-RELEASE came with /etc/fstab it would

Re: Virtualizing firewalling scenarios in one physical OpenBSD host

2012-07-05 Thread Andres Perera
the system out of resources, that's the main thing xoxo On Thu, Jul 5, 2012 at 10:46 AM, Henning Brauer lists-open...@bsws.de wrote: * Andres Perera andre...@zoho.com [2012-07-04 17:42]: out of curiosity, how would you make pf(4) only handle rules pertaining to a certain anchor depending

  1   2   3   4   >