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, Car

Re: standard FAQ procedure ... in chroot

2014-06-08 Thread Andres Perera
sy to defeat > the chroot if root. > > This list may be far longer, but I don't think the docs need fixing for the > chroot("/"); case when mknod:ing. > > > > 2014-06-08 17:44 GMT+02:00 Andres Perera : > >> On Sun, Jun 8, 2014 at 3:51 AM, Otto Moerbe

Re: standard FAQ procedure ... in chroot

2014-06-08 Thread Andres Perera
On Sun, Jun 8, 2014 at 3:51 AM, Otto Moerbeek 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 wrote: >> > I don't think there is a word for "chroot back". >> >> I do

Re: standard FAQ procedure ... in chroot

2014-06-08 Thread Andres Perera
ong. Once you limit 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

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: #include

Re: pkg_add http://${REDIRECT}

2014-04-28 Thread Andres Perera
On Mon, Apr 28, 2014 at 3:05 PM, Michał Lesiak 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 > http://10bees-agent.s3-w

Re: sudo -u & environment help

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

Re: sudo -u & environment help

2014-04-08 Thread Andres Perera
On Fri, Apr 4, 2014 at 6:00 AM, Craig R. Skinner 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 honoured: [...

Re: dead disk

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

Re: dead disk

2014-01-28 Thread Andres Perera
On Tue, Jan 28, 2014 at 4:55 AM, Philip Guenther wrote: > On Tue, Jan 28, 2014 at 12:27 AM, Andres Perera wrote: >> On Sun, Jan 26, 2014 at 5:07 PM, Philip Guenther wrote: >>> On Sun, Jan 26, 2014 at 11:40 AM, emigrant wrote: >>>> My Master machine is dead, exac

Re: dead disk

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

Re: Request for Funding our Electricity

2014-01-15 Thread Andres Perera
On Wed, Jan 15, 2014 at 2:44 PM, Peter J. Philipp wrote: > On 01/15/14 19:41, Martin Schröder wrote: >> 2014/1/15 Sia Lang : >>> 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 wants to step up >>> with seriou

Re: resolver question

2013-12-26 Thread Andres Perera
On Thu, Dec 26, 2013 at 6:09 AM, Peter J. Philipp 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. > > The

Re: resolver question

2013-12-24 Thread Andres Perera
On Tue, Dec 24, 2013 at 3:50 PM, Andy Bradford 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 lookup for chea

Re: resolver question

2013-12-24 Thread Andres Perera
On Tue, Dec 24, 2013 at 1:03 PM, Peter J. Philipp 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: >> > >> > Whenever

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 wrote: > Christian Weisgerber 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: " >> stty -ec

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 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-06 Thread Andres Perera
On Fri, Dec 6, 2013 at 8:29 AM, Paul de Weerd 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

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 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 wrote: > | > On Fri, Dec 06, 2013 at 06:59:02AM -0430, Andres Perera wrote: > | > | with C you can be very ex

Re: Are there any default password managers in OpenBSD?

2013-12-06 Thread Andres Perera
mark the variable volatile or external. what you said also holds for kernel drivers, is well known, and is much easier to understand than shell indiosyncrasies another silly person in conversation ~ On Fri, Dec 6, 2013 at 7:26 AM, Marios Makassikis wrote: > On 6 December 2013 12:29, And

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 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 >

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 wrote: > On 12/06/13 07:50, Andres Perera wrote: >> >> On Fri, Dec 6, 2013 at 1:58 AM, Jan Stary wrote: >>> >>> On Dec 05 19:09:05, andre...@zoho.com wrote: >>>> >>>> but then if the shell i

Re: Are there any default password managers in OpenBSD?

2013-12-05 Thread Andres Perera
ho feature combinations of { printf (not)? being a builtin, alternatives like ``print'' 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 Pe

Re: Are there any default password managers in OpenBSD?

2013-12-05 Thread Andres Perera
Dec 5, 2013 at 6:57 PM, Andres Perera wrote: > On Thu, Dec 5, 2013 at 8:57 AM, Christian Weisgerber > wrote: >> Zé Loff wrote: >> >>> Not sure how advisable this is, but I'm using a gpg encrypted file, >>> which I keep somewhere hidden (just because). Ju

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 wrote: > Zé Loff 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 already setup gpg). When you >>

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 > Hi there, > > having a personal dislike of Facebook (and the MeeToo-systems alike) > for their impertinent sniffing for private data I t

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 wrote: >> O

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 wrote: > I think that this post on stack exchange presents my question better.. the > answers are all pretty short and non-committal though. > http://stackoverflow.com/questions/8716047/is-there-a-specification-for-a-man-pages-synopsis-section the best

Re: Default software in the base

2013-08-01 Thread Andres Perera
On Thu, Aug 1, 2013 at 8:47 AM, 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. they are emulati

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, 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 > * C

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

2013-07-05 Thread Andres Perera
, 2013 at 10:10 PM, Nathan Goings 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

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 wrote: > On Fri, Jul 5, 2013 at 5:56 PM, patrick keshishian wrote: >> On Fri, Jul 5, 2013 at 5:52 PM, Nicholas Marriott >> wrote: >>> Ok so Return and

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 wrote: > I just setup NFS, and have gotten it worki

Re: /var/cache/fontconfig ??

2013-06-09 Thread Andres Perera
On Sun, Jun 9, 2013 at 7:12 AM, Vadim Zhukov wrote: > 2013/6/9 Otto Moerbeek > >> 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 >> > > >subdir in /

Re: Linux localhost exploits

2013-05-15 Thread Andres Genovez
Owning since 2010! 2013/5/15 Martijn van Duren > 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 work as we speak)

Re: who is using obsd

2013-05-14 Thread Andres Genovez
2013/5/14 Tomas Bodzar > On Mon, May 13, 2013 at 11:12 PM, Pau 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 try > BSDmag and similar reso

Re: faxing

2013-04-22 Thread Andres Genovez
2013/4/22 Corey > 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 year I ta

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? Thank

Re: [patch] tic man page file path error

2013-03-23 Thread Andres Perera
On Sat, Mar 23, 2013 at 6:00 PM, Creamy 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

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 wrot

Re: WebRTC, google and firefox

2013-03-08 Thread Andres Perera
cause color highlighting is for weird people anyway On Fri, Mar 8, 2013 at 1:22 PM, Dmitrij D. Czarkoff 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

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 wrote: >>> "The OpenBSD kernel and network stack still do run only on CPU0, so if > all you plan to do is >>> use PF to

Re: A slight twist on the OpenBSD laptop question

2013-03-07 Thread Andres Perera
my system can handle 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 wrote: > On Wed, Mar 06, 2013 at 12:10:18PM -0430, Andres Perera wrote: >> i don't think it

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 wrote: > On Tue, Mar 05, 2013 at 11:00:01PM -0800, patrick keshishian wrote: >> On Tue, Mar 5, 2013 at 10:53 PM, Brad Smith

Re: WebRTC, google and firefox

2013-03-06 Thread Andres Perera
On Wed, Mar 6, 2013 at 8:40 AM, Dmitrij D. Czarkoff 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 when you consid

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 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 information ab

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 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 usually seen it used as

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 yo

Re: bootable OpenBSD USB stick from windows?

2013-02-12 Thread Andres Perera
On Tue, Feb 12, 2013 at 8:29 AM, Heptas Torres wrote: > On 2/12/13, Jan Stary wrote: >> On Feb 11 23:55:30, hepta...@gmail.com wrote: >>> On 2/11/13, Jiri B wrote: >>> > On Mon, Feb 11, 2013 at 10:51:29PM +, Heptas Torres wrote: >>> >> Hello >>> >> I have an old laptop with no CD-ROM but can

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 wrote: > --- On Mon, 1/28/13, Andres Perera 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 Tue, Jan 29, 2013 at 12:52 AM, Andres Perera wrote: > On Mon, Jan 28, 2013 at 7:43 PM, Bohdan Tashchuk wrote: >> Hi guys, >> >> For many years, I've read pf and dhcp related threads like, e.g.: >> http://marc.info/?l=openbsd-misc&m=125907434809727&w=2

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 wrote: > Hi guys, > > For many years, I've read pf and dhcp related threads like, e.g.: > http://marc.info/?l=openbsd-misc&m=125907434809727&w=2 > > Some text from that post: > "dhcp packets are grabbed by dhclient or dhcpd before pf sees them." > >

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 wrote: > Sirs: Is there a way t

Re: OT using absolute paths in scripts

2013-01-14 Thread Andres Perera
he time the shell is invoked, in which case the shell shall set IFS towhen it is invoked. "may" 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
2013/1/9 Gene > On Wed, Jan 9, 2013 at 10:54 AM, Andres Genovez > wrote: > > 2012/12/31 BARDOU Pierre > > > >> Hello, > >> > >> I would be very interested by an OpenBSD port too. > >> Usage : home router with firewall, DNS and DHCP. >

Re: Running OpenBSD on Raspberry Pi

2013-01-09 Thread Andres Genovez
2012/12/31 BARDOU Pierre > 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 and I like

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 > 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 up. But no us

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 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

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 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 the source file

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 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 m-to-m copy, >

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 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 that only goes so > f

Re: trivial with echo command

2012-12-18 Thread Andres Perera
On Tue, Dec 18, 2012 at 6:32 AM, Marc Espie wrote: > On Tue, Dec 18, 2012 at 11:47:59AM +0100, Alexander Hall wrote: >> >> >> Andres Perera wrote: >> >> >On Mon, Dec 17, 2012 at 7:07 PM, Alexander Hall >> >wrote: >> >> >> >>

Re: trivial with echo command

2012-12-17 Thread Andres Perera
g the sh/ksh builtin. When > printing 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:~ $

Re: trivial with echo command

2012-12-17 Thread Andres Perera
On Mon, Dec 17, 2012 at 6:13 PM, Stuart Henderson wrote: > On 2012-12-17, sven falempin 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. >> >> Echo in openbsd does not

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

Re: KSH command logged to syslog

2012-12-16 Thread Andres Perera
On Sun, Dec 16, 2012 at 8:07 AM, Alexander Hall 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 either lazyness or d

Re: KSH command logged to syslog

2012-12-16 Thread Andres Perera
On Sun, Dec 16, 2012 at 7:10 AM, Paul de Weerd 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 wrote: > | > On Sun, Dec 16, 2012 at 11:02:31AM +0100, David Coppa wrote: > | > | > .profile can be in

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 wrote: > > #include > #include > #include > #define sp "/usr/bin/script" > #define sf "/var/db/ghetto_act/%ju" > &g

Re: KSH command logged to syslog

2012-12-16 Thread Andres Perera
On Sun, Dec 16, 2012 at 5:47 AM, Paul de Weerd 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 is p

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 wrote: > Dear misc, > > I'm a new to OpenBSD and BSD in general. > > On

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 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 >> wrote: >> > On Thu, 22 Nov 2012 09:30:41 -0430 >> &g

Re: Crowding out OpenBSD

2012-11-17 Thread Andres Perera
temd documentation advised daemon authors not to double fork. 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 Per

Re: Crowding out OpenBSD

2012-11-16 Thread Andres Perera
On Sat, Nov 17, 2012 at 1:55 AM, Rod Whitworth 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 $$$ "rleigh,

Re: Is this legal CVS?

2012-10-23 Thread Andres Perera
On Tue, Oct 23, 2012 at 6:59 AM, John Long 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 would be nicer

Re: nasm problem - SOLVED

2012-10-15 Thread Andres Perera
On Mon, Oct 15, 2012 at 10:41 AM, John Long 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 >> > d

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 wrote: > On current/i386, tmux seems to open a new shell with the current > directory being the same as in the window I am opening from

Re: !!!!

2012-09-05 Thread Andres Perera
On Wed, Sep 5, 2012 at 6:34 PM, Kevin Chadwick wrote: > On Wed, 5 Sep 2012 16:49:34 -0430 > Andres Perera wrote: > >> On Wed, Sep 5, 2012 at 4:06 PM, Kevin Chadwick wrote: >> > On Wed, 5 Sep 2012 15:49:15 -0430 >> > Andres Perera wrote: >> > >>

Re: !!!!

2012-09-05 Thread Andres Perera
On Wed, Sep 5, 2012 at 4:06 PM, Kevin Chadwick 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

Re: !!!!

2012-09-05 Thread Andres Perera
On Wed, Sep 5, 2012 at 2:22 PM, Kevin Chadwick 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 source cod

Re: website page to fix

2012-08-24 Thread Andres Perera
On Sat, Jun 30, 2012 at 4:51 PM, Ted Unangst 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. > > The big blo

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: 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 did

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 t

Re: problem in fstab

2012-07-26 Thread Andres Perera
/.profile. every 120 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 wrote: > Thu, 26 Jul 2012 07:06:02 -0430 от Andres Perera : >> the pr

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 wrote: > Tue,

Re: Calomel.org

2012-07-26 Thread Andres Perera
On Thu, Jul 26, 2012 at 4:30 AM, Paulm 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 meant to solve

Re: Calomel.org

2012-07-26 Thread Andres Perera
On Thu, Jul 26, 2012 at 4:33 AM, Wojciech Puchar 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 with DNS? It is rather ea

Re: AMD Brazos C60

2012-07-26 Thread Andres Perera
On Thu, Jul 26, 2012 at 5:37 AM, David Scott 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 instruction set, no

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
uring. netmap's site 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 wrote: > On Fri, Jul 13, 2012 at 16:06, Andres Perera wrote: > >> you did! you ex

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 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 >> >

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

2012-07-13 Thread Andres Perera
wayland is not an x replacement, it just does compositing" On Fri, Jul 13, 2012 at 3:24 PM, Chris Cappuccio 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 ca

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
On Fri, Jul 13, 2012 at 11:59 AM, Chris Cappuccio 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 typical response t

Re: missing /etc/fstab

2012-07-08 Thread Andres Perera
On Sun, Jul 8, 2012 at 7:41 PM, Nico Kadel-Garcia wrote: > On Sun, Jul 8, 2012 at 8:29 AM, Theo de Raadt 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 be nice to move system

Re: "Virtualizing" firewalling scenarios in one physical OpenBSD host

2012-07-05 Thread Andres Perera
;t run the system out of resources, that's the main thing xoxo On Thu, Jul 5, 2012 at 10:46 AM, Henning Brauer wrote: > * Andres Perera [2012-07-04 17:42]: >> out of curiosity, how would you make pf(4) only handle rules >> pertaining to a certain anchor depending on the proc

  1   2   3   4   >