Re: find(1) manpage caveats section
On Wed, Feb 09, 2011 at 12:25:09AM -0700, Clint Pachl wrote: > In the caveats section it states the following: > > > Passing the output of find to other programs requires some care: > >$ find . -name \*.jpg | xargs rm > or >$ rm `find . -name \*.jpg` > > would, given files ``important .jpg'' and ``important'', remove > ``important''. Use the -print0 or -exec primaries instead. > > > Is this an error? The language indicates that ``important'' will be > removed (and possibly ``important.jpg''; it's not clear) when > executing both above commands. Is this correct? > > If it is correct, then I don't get what the caveat is. For example: > > $ touch important important.jpg > $ find . -name \*.jpg | xargs rm > $ ls > important > > What does -print0 or -exec have to do with it? You should read more carefully. There's a space in one of the filenames. -0tto
Re: find(1) manpage caveats section
Subtle; and what a caveat it is. Thanks Paul and Otto for setting me straight. Paul de Weerd wrote: On Wed, Feb 09, 2011 at 12:25:09AM -0700, Clint Pachl wrote: | In the caveats section it states the following: | | | Passing the output of find to other programs requires some care: | |$ find . -name \*.jpg | xargs rm | or |$ rm `find . -name \*.jpg` | | would, given files ``important .jpg'' and ``important'', remove | ``important''. Use the -print0 or -exec primaries instead. | | | Is this an error? The language indicates that ``important'' will be | removed (and possibly ``important.jpg''; it's not clear) when | executing both above commands. Is this correct? | | If it is correct, then I don't get what the caveat is. For example: | | $ touch important important.jpg | $ find . -name \*.jpg | xargs rm | $ ls | important | | What does -print0 or -exec have to do with it? There's a space in the first filename. "important .jpg". Paul 'WEiRD' de Weerd
Re: By default, should `lynx ` work?
The explanation I received is that "the VPS is behind a NAT". Does it make sense now? Thanks again. On Fri, Feb 4, 2011 at 10:35 PM, Benny Lofgren wrote: > On 2011-02-04 21.12, Ezequiel Garzsn wrote: > > Hello! By chance I tried this from my fresh OpenBSD VPS, which I > > assume has had a default installation. Basically by chance (it didn't > > make much sense) I tried lynx *from my VPS*, and it > > didn't work, even though it did work from my desktop PC: > > -- > > Looking up first > > Looking up > > Making HTTP connection to > > Alert!: Unable to connect to remote host. > > lynx: Can't access startfile http:/// > > -- > > But there's more. A similar situation happens with ping (which, again, > > works when called from another computer): > > -- > > PING (): 56 data bytes > > --- ping statistics --- > > 219 packets transmitted, 0 packets received, 100.0% packet loss > > -- > > Is this normal behavior by default? I know both things work from other > > OSes, so I'm wondering if this has something to do with OpenBSD's > > added security measures. > > No, this is not normal behaviour. Your VPS provider have some explaining > to do. > > (And by the way, making things not work is hardly ever an "added > security measure" - it's just a plain inconvenience. And inconvenienced > people tend to be more prone to do something stupid while trying to work > around their inconvenience than people whos stuff just work as expected...) > > > Regards, > /Benny > > -- > internetlabbet.se / work: +46 8 551 124 80 / "Words must > Benny Lvfgren/ mobile: +46 70 718 11 90 / be weighed, >/ fax:+46 8 551 124 89/not counted." > /email: benny -at- internetlabbet.se
Re: By default, should `lynx ` work?
On Wed, Feb 09, 2011 at 10:31:05AM +0100, Ezequiel Garzsn wrote: > On Fri, Feb 4, 2011 at 10:35 PM, Benny Lofgren wrote: > > On 2011-02-04 21.12, Ezequiel Garzsn wrote: > > > Hello! [F]rom my fresh OpenBSD VPS, which I > > > assume has had a default installation (...) I tried lynx > > > *from my VPS*, and it didn't work, even though it > > > did work from my desktop PC: [likewise for ping] > > > Is this normal behavior by default? I know both things work from other > > > OSes, so I'm wondering if this has something to do with OpenBSD's > > > added security measures. > > > > No, this is not normal behaviour. Your VPS provider have some explaining > > to do. > > > > (And by the way, making things not work is hardly ever an "added > > security measure" - it's just a plain inconvenience. And inconvenienced > > people tend to be more prone to do something stupid while trying to work > > around their inconvenience than people whos stuff just work as expected...) > > The explanation I received is that "the VPS is behind a NAT". Does it make > sense now? Thanks again. Not really, no. I don't think this will hurt you, but if it does, good luck debugging this issue on a sane setup... Joachim -- PotD: books/JVMS - Sun's official Java VM Specification, 2nd Ed. http://www.joachimschipper.nl/
pf.conf and user IDs / names
Hi all, I have been a happy user of OpenBSD for years. Currently I have some problems I am trying to trace (and hopefully resolve). In my pf.conf I want to use a rule with a user name. The pf.conf manual page shows two things related to this: When logging add '(user)' after the log and when filtering add user to the rule. To test all this I used nc to output some UDP traffic and I added the following rule to my pf.conf: ==> pass out log (user) quick on $ExtIF proto udp with "tcpdump -eli pflog0" I can see the result of my nc UDP output traffic but no user name is displayed. I modified the rule into: ==> pass out log (user) quick on $ExtIF proto udp user The rule is not matched anymore. I also tried my user ID instead of name but that did not match either. Can anybody tell me what I am doing wrong in relation to the rule in pf.conf and maybe the options for tcpdump when trying to display the user name -- Peter
Re: Security List
On 02/09/11 02:04, SJP Lists wrote: On 9 February 2011 12:37, woolsherpahat wrote: On 6 February 2011 05:23, Alessandro Baggi wrote: Hi List, i had registered me to the security list: security-annou...@openbsd.org since 9 Genuary 2011, but any email come on my account. Some that had security list subscribtion, can tell me if since 09/01/2001 at today there are mails? I use a script which scrapes http://www.openbsd.org/errata48.html daily and emails me the changes as they occur. Shane That sounds pretty cool... any chance you would be willing to share? Okay, I'm probably not doing this the best way, so as embarrassing as this is, it might hopefully get improved by someone... #!/bin/sh # # OpenBSD_errata48.sh # # Check for any changes to the OpenBSD 4.8 Errata list and email # an alert if so. # Move the lastest successful OpenBSD errata grab so that is becomes # the previous successful grab. mv /home/scripts/OpenBSD_errata48_latest.txt \ /home/scripts/OpenBSD_errata48_previous.txt # Use lynx to just output to stdout the text of the OpenBSD Errata # page, without a URL list. Output the status to an error file so # that sending bogus emails due to server being unavailable does not # occur. # # Then filter out everything but the errata detail lines and output # to a temporary file that will only be used if the web server status # is "200 OK". lynx -dump -nolist -error_file=/home/scripts/OBSD_errata48_err.txt \ http://www.openbsd.org/errata48.html | egrep "^ \* ?| ?" \ > /home/scripts/OpenBSD_errata48_current.txt # Check the error status file to make sure the file was successfully # retrieved. If successful, procede with comparison between the # current and previous errata, to determine whether an email should # be sent. if egrep " 200 OK" /home/scripts/OBSD_errata48_err.txt then mv /home/scripts/OpenBSD_errata48_current.txt \ /home/scripts/OpenBSD_errata48_latest.txt if ! diff /home/scripts/OpenBSD_errata48_latest.txt \ /home/scripts/OpenBSD_errata48_previous.txt> /dev/null then diff /home/scripts/OpenBSD_errata48_latest.txt \ /home/scripts/OpenBSD_errata48_previous.txt \ | egrep "^\<" | sed 's/\< //g' \ | tr -d "\n" | perl -pe 's/\* /\n\n/g' \ | sed 's/ */ /g' \ | mail -s "OpenBSD 4.8 Errata!" y...@yourdomain.net fi else rm /home/scripts/OpenBSD_errata48_current.txt fi rm /home/scripts/OBSD_errata48_err.txt Why not reuse existing functionality? Add your lynx command (which downloads file) to a crontab; then add filename to /etc/changelist I've sometimes thought it would be nice to have the 'changelist' code extracted from /etc/security to a separate script so user-defined changes could be emailed to users other than root. Coding this is beyond my capabilities. I think this new script would need three parameters: - /etc/changelist [list of files] - /var/backups [dir for .backup and .current files] - root [user to receive email notifications] For an adventurous coder; perhaps /etc/changelist would allow url's to monitor remote webpages.
IPv6 status
colleagues, I need to know if the ipv6 status it's mature, or al least very usable and well conformant to rfcs, any comments, links, Best regards, LeaL
Re: IPv6 status
On Wed, Feb 09, 2011 at 08:31:05AM -0600, Orestes Leal R. wrote: | colleagues, I need to know if the ipv6 status it's mature, or al | least very usable | and well conformant to rfcs, any comments, links, I've been using OpenBSD with IPv6 for more than 10 years now. In fact, my first OpenBSD install was also my first IPv6 tunnel endpoint providing IPv6 to my home network, more than 11 years ago. I'd say the v6 stack in OpenBSD is more sane than those of other OSes, despite some (well deserved, at times) hostility from certain key developers. Paul 'WEiRD' de Weerd -- >[<++>-]<+++.>+++[<-->-]<.>+++[<+ +++>-]<.>++[<>-]<+.--.[-] http://www.weirdnet.nl/
Re: IPv6 status
Leal, I think good start is to visit http://www.kame.net man inet6 man ip6 On Wed, Feb 9, 2011 at 4:31 PM, Orestes Leal R. wrote: > colleagues, I need to know if the ipv6 status it's mature, or al least very > usable > and well conformant to rfcs, any comments, links, > > Best regards, > LeaL > > -- -- With regards, Eugene Sudyr
Re: ospf6d doesn't announce passive interfaces
Hi, On Tue, 9 Nov 2010 14:04:22 +0100 Jan Johansson wrote: ... >| I am now trying to replicate this setup for IPv6 using >| ospf6d but it seems that it will only announce addresses on >| active interfaces. FYI, having the same problem (on passive emX; I haven't tried on carp), I've applied your patch: http://patrick.ld.net.au/ospf6d-fix-passive-interfaces-mk2.patch which solve this problem but create a new one: loopback (lo1 in my case) is no more announced. PR opened: http://cvs.openbsd.org/cgi-bin/query-pr-wrapper?full=yes&numbers=6559 Manuel
Re: IPv6 status
On Wed, Feb 9, 2011 at 8:57 AM, Paul de Weerd wrote: > On Wed, Feb 09, 2011 at 08:31:05AM -0600, Orestes Leal R. wrote: > | colleagues, I need to know if the ipv6 status it's mature, or al > | least very usable > | and well conformant to rfcs, any comments, links, > > I've been using OpenBSD with IPv6 for more than 10 years now. B In > fact, my first OpenBSD install was also my first IPv6 tunnel endpoint > providing IPv6 to my home network, more than 11 years ago. > > I'd say the v6 stack in OpenBSD is more sane than those of other OSes, > despite some (well deserved, at times) hostility from certain key > developers. > > Paul 'WEiRD' de Weerd > > -- >>[<++>-]<+++.>+++[<-->-]<.>+++[<+ > +++>-]<.>++[<>-]<+.--.[-] > B B B B B B B B http://www.weirdnet.nl/ > > I agree OpenBSD has probably the sanest ipv6 implementation of all OS's I've played with it on. Thanks, Josh Smith KD8HRX email/jabber:B juice...@gmail.com phone:B 304.237.9369(c)
Re: By default, should `lynx ` work?
On Wed, Feb 9, 2011 at 4:31 AM, Ezequiel Garzsn wrote: > The explanation I received is that "the VPS is behind a NAT". Does it make > sense now? Thanks again. I suppose you could run ifconfig to find out what the machine's IP really is.
Minimally painful mail client for "rich" (spit!) messages
During recent months I've joined some mailing lists with fairly good signal to noise ratio on a specific topic, the only snag being that a distressingly large number of otherwise sane messages have been written using mail clients (fsvo) that by default bury the content in "rich" formatting that makes it hard for old-style mail readers to cope. Telling people off for their choice of mail clients is not an option (some at least have had that choice made for them), so as a workaround I probably need to start looking around for a mail client that will make reading Outlook and peers' output less painful. Does such a beast exist, preferably among OpenBSD packages (as in, it has to run on OpenBSD, but I can build locally if needs be)? I've tried and hated both Evolution and Thunderbird, but surely there must be other choices? - Peter -- Peter N. M. Hansteen, member of the first RFC 1149 implementation team http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/ "Remember to set the evil bit on all malicious network traffic" delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.
Re: Minimally painful mail client for "rich" (spit!) messages
On Wed, Feb 09, 2011 at 05:38:38PM +0100, Peter N. M. Hansteen wrote: > During recent months I've joined some mailing lists with fairly good > signal to noise ratio on a specific topic, the only snag being that a > distressingly large number of otherwise sane messages have been > written using mail clients (fsvo) that by default bury the content in > "rich" formatting that makes it hard for old-style mail readers to > cope. > > Telling people off for their choice of mail clients is not an option > (some at least have had that choice made for them), so as a workaround > I probably need to start looking around for a mail client that will > make reading Outlook and peers' output less painful. > > Does such a beast exist, preferably among OpenBSD packages (as in, it > has to run on OpenBSD, but I can build locally if needs be)? > > I've tried and hated both Evolution and Thunderbird, but surely there > must be other choices? Peter, does mutt (ports/mail/mutt/snapshot I recommend) count as 'old-style' mail reader, too? If so, it feels very modern to me and also is my choice for 'heavy' mail reading. If you are looking for some graphical client you may want to give clawsmail a try (mail/claws-mail).
Re: Minimally painful mail client for "rich" (spit!) messages
Hi Peter, Peter N. M. Hansteen wrote on Wed, Feb 09, 2011 at 05:38:38PM +0100: > During recent months I've joined some mailing lists with fairly good > signal to noise ratio on a specific topic, the only snag being that a > distressingly large number of otherwise sane messages have been > written using mail clients (fsvo) that by default bury the content in > "rich" formatting that makes it hard for old-style mail readers to > cope. Here is what i currently use; in case that doesn't work for you, you need to be more specific as to what "rich" formatting you are talking about. Yours, Ingo schwarze@iris $ cat /etc/mailcap text/html; /usr/bin/lynx -stdin -force_html -dump ; copiousoutput text/rtf; /usr/local/bin/unrtf --nopict --text %s ; copiousoutput application/pdf; /usr/local/bin/pdftotext %s - ; copiousoutput application/x-pdf; /usr/local/bin/pdftotext %s - ; copiousoutput application/msword; /usr/local/bin/antiword - ; copiousoutput application/x-shellscript; /bin/cat ; copiousoutput
Re: Minimally painful mail client for "rich" (spit!) messages
Stuff crap like this in .mailcap text/html; /usr/local/bin/links -dump '%s'; copiousoutput; description=HTML Text; na metemplate=%s.html text/html; /usr/local/bin/links '%s'; needsterminal; description=HTML Text; nametemp late=%s.html I had them for all kinds of things but can't find that file anymore. Things like antiword and stuff help. At one point I had about a $random_file to ascii converter for about everything. On Wed, Feb 09, 2011 at 05:38:38PM +0100, Peter N. M. Hansteen wrote: > During recent months I've joined some mailing lists with fairly good > signal to noise ratio on a specific topic, the only snag being that a > distressingly large number of otherwise sane messages have been > written using mail clients (fsvo) that by default bury the content in > "rich" formatting that makes it hard for old-style mail readers to > cope. > > Telling people off for their choice of mail clients is not an option > (some at least have had that choice made for them), so as a workaround > I probably need to start looking around for a mail client that will > make reading Outlook and peers' output less painful. > > Does such a beast exist, preferably among OpenBSD packages (as in, it > has to run on OpenBSD, but I can build locally if needs be)? > > I've tried and hated both Evolution and Thunderbird, but surely there > must be other choices? > > - Peter > -- > Peter N. M. Hansteen, member of the first RFC 1149 implementation team > http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/ > "Remember to set the evil bit on all malicious network traffic" > delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.
Re: ospf6d doesn't announce passive interfaces
On Wed, Feb 9, 2011 at 11:42 PM, Manuel Guesdon wrote: > Hi, > > On Tue, 9 Nov 2010 14:04:22 +0100 > Jan Johansson wrote: > ... >>| I am now trying to replicate this setup for IPv6 using >>| ospf6d but it seems that it will only announce addresses on >>| active interfaces. > > FYI, having the same problem (on passive emX; I haven't tried on carp), I've > applied your patch: > http://patrick.ld.net.au/ospf6d-fix-passive-interfaces-mk2.patch > which solve this problem but create a new one: loopback (lo1 in my case) is > no more announced. Oops. I do intend to fix this; things have just been busy recently. Hopefully soon. Cheers, Patrick -- http://www.labyrinthdata.net.au - WA Backup, Web and VPS Hosting
Re: ospf6d doesn't announce passive interfaces
On Thu, 10 Feb 2011 00:21:59 +0800 Patrick Coleman wrote: >| On Wed, Feb 9, 2011 at 11:42 PM, Manuel Guesdon >| wrote: >| > Hi, >| > >| > On Tue, 9 Nov 2010 14:04:22 +0100 >| > Jan Johansson wrote: >| > ... >| >>| I am now trying to replicate this setup for IPv6 using >| >>| ospf6d but it seems that it will only announce addresses on >| >>| active interfaces. >| > >| > FYI, having the same problem (on passive emX; I haven't tried on carp), I've >| > applied your patch: >| > B http://patrick.ld.net.au/ospf6d-fix-passive-interfaces-mk2.patch >| > which solve this problem but create a new one: loopback (lo1 in my case) is >| > no more announced. >| >| Oops. I do intend to fix this; things have just been busy recently. >| Hopefully soon. Thx ! I've made a (very) quik & dirty change in rde.c: --- rde.c.patched Wed Feb 9 13:48:20 2011 +++ rde.c Wed Feb 9 17:50:04 2011 @@ -1476,13 +1476,15 @@ * This will not advertise backup carp interfaces (which have a link * state of down). */ - if (!(LINK_STATE_IS_UP(iface->linkstate)) || + if (iface->media_type!=IFT_LOOP + &&( + !(LINK_STATE_IS_UP(iface->linkstate)) || !(iface->flags & IFF_UP) || ((iface->state & IF_STA_DOWN) && !((iface->media_type == IFT_CARP) || (iface->cflags & F_IFACE_PASSIVE))) || ((iface->linkstate == LINK_STATE_UNKNOWN) && - (iface->media_type == IFT_CARP))) { +(iface->media_type == IFT_CARP { log_debug("orig_intra_lsa_rtr: area %s, interface %s: not including" " in LSA", inet_ntoa(area->id), iface->name); continue; which bring back the loopback announcement but it's really dirty :-) Manuel
Re: Minimally painful mail client for "rich" (spit!) messages
http://openports.se/mail/sylpheed > Does such a beast exist, preferably among OpenBSD packages (as in, it > has to run on OpenBSD, but I can build locally if needs be)?
Re: Minimally painful mail client for "rich" (spit!) messages
On Wed, 9 Feb 2011, Oliver Peter wrote: > From: Oliver Peter > To: misc@openbsd.org > Date: Wed, 9 Feb 2011 16:53:53 > Subject: Re: Minimally painful mail client for "rich" (spit!) messages > X-Spam-Score: 0.0 (/) > > On Wed, Feb 09, 2011 at 05:38:38PM +0100, Peter N. M. Hansteen wrote: ... > > I probably need to start looking around for a mail client that > > will make reading Outlook and peers' output less painful. > > > > Does such a beast exist, preferably among OpenBSD packages (as > > in, it has to run on OpenBSD, but I can build locally if needs > > be)? > > > > I've tried and hated both Evolution and Thunderbird, but surely > > there must be other choices? > > Peter, does mutt (ports/mail/mutt/snapshot I recommend) count as > 'old-style' mail reader, too? If so, it feels very modern to > me and also is my choice for 'heavy' mail reading. If you are > looking for some graphical client you may want to give clawsmail a > try (mail/claws-mail). Similarly for an 'old-style' mail reader I use alpine (ports/mail/alpine) or build re-alpine: http://sourceforge.net/projects/re-alpine/ from scratch. I also quite like claws-mail as a graphical mail reader. Also sylpheed (ports/mail/sylpheed) from which claws-mail is a development. If you want to go wierder, the linux graphical mail reader mulberry: http://www.mulberrymail.com/ works well under linux emulation. Although you'll need to augment the linux emulation with the linux rpm openssl-0.9.8b-8.i386.rpm to get the secure connection stuff. -- Dennis Davis, BUCS, University of Bath, Bath, BA2 7AY, UK d.h.da...@bath.ac.uk Phone: +44 1225 386101
SSH getting blocked on PF after 30 seconds (OpenBSD 4.7)
Hello list, At the top of my pf.conf, I have the following : pass in quick inet from to any queue q_admin And right at the bottom : block in log quick to I can establish an SSH connection with no problem. But consistently after about 30 seconds, my session hangs. In the logs I get : rule 144/(match) block in on vlan5: 10.10.10.10.53675 > 11.11.11.11.22: . ack 1277 win 65535 (DF) [tos 0x10] Where rule 144 is the block rule mentioned above. I have tried the following more specific pass rule above the previous admin rule : pass in quick inet proto tcp from to any port ssh flags S/SAFR keep state queue q_admin But that makes no difference. What am I doing wrong ? Tim
On line il nuovo sito di Sanitalia
se non vedi nulla clicca qui [IMAGE]
question about tbrsize
Hello, Man of pf.conf says: tbrsize Adjusts the size, in bytes, of the token bucket regulator. If not specified, heuristics based on the interface bandwidth are used to determine the size. Can anyone explain what size should be set for 1gbit NIC and 100mbit NIC?? I am asking this because i was writing to the misc group about low performance on lan bandtwith (http://marc.info/?l=openbsd-misc&m=128990880310013&w=2) and someone said there might be a TBR related problem. -- I have found this diff on the Internet: http://www.junkpile.org/openbsd/base/altq_tbradapt.diff Was it officially adapted?? or maybe there is some developer working on making it official? - best regards, RLW
Re: Minimally painful mail client for "rich" (spit!) messages
On Feb 09, Marco Peereboom wrote: > Stuff crap like this in .mailcap > text/html; /usr/local/bin/links -dump '%s'; copiousoutput; description=HTML > Text; na metemplate=%s.html > text/html; /usr/local/bin/links '%s'; needsterminal; description=HTML Text; > nametemp late=%s.html > > I had them for all kinds of things but can't find that file anymore. Here is mine for example. Hope it will be useful for somebody on misc@ # $Id: mailcap,v 1.15 2011/02/08 18:42:07 zinovik Exp $ application/msword ; catdoc -s koi8-r.txt %s ; copiousoutput application/vnd.msword ; catdoc -s koi8-r.txt %s ; copiousoutput application/excel ; xls2csv %s | sed 's/,//g'; copiousoutput application/msexcel ; xls2csv %s | sed 's/,//g'; copiousoutput application/ms-Excel; xls2csv %s | sed 's/,//g'; copiousoutput application/vnd.ms-excel; xls2csv %s | sed 's/,//g'; copiousoutput application/x-excel ; xls2csv %s | sed 's/,//g'; copiousoutput application/octet-stream; cat %s; copiousoutput application/x-bzip2 ; bzip2 -dc %s ; copiousoutput application/x-cpio ; cpio -tvF --quiet %s ; copiousoutput application/x-csh ; cat %s; copiousoutput application/x-diff-gzip ; zcat %s ; copiousoutput application/x-gtar ; tar tvf %s; copiousoutput application/x-gzip ; tar tfz %s; copiousoutput application/gzip; tar tfz %s; copiousoutput application/x-gunzip; gzcat ; copiousoutput application/x-latex ; cat %s; copiousoutput application/x-perl ; cat %s; copiousoutput application/x-script; cat %s; copiousoutput application/x-shar ; cat %s; copiousoutput application/x-shellscript ; cat %s; copiousoutput application/x-sh; cat %s; copiousoutput application/x-tar ; tar tzf %s; copiousoutput application/x-tar-gz; gunzip -c %s | tar -tf - ; copiousoutput application/x-tcl ; cat %s; copiousoutput application/x-tex ; cat %s; copiousoutput application/x-troff ; groff -Tlatin1 %s ; copiousoutput application/x-troff-man ; man -l %s 2>/dev/null ; copiousoutput application/x-troff-me ; groff -me -Tlatin1 %s ; copiousoutput application/x-zip-compressed; unzip -v %s ; copiousoutput application/zip ; unzip -v %s ; copiousoutput text/comma-separated-values ; cat %s; copiousoutput text/x-compress-html; zcat %s | lynx -dump ; copiousoutput text/x-gzip-html; zcat %s | lynx -dump ; copiousoutput text/html ; lynx -force_html -assume_charset=koi8-r -assume_unrec_charset=utf8 -dump %s \ ; copiousoutput; nametemplate=%s.html image/* ; anytopnm %s | pnmscale -xsize 80 -ysize 50|ppmtopgm|pgmtopbm|pbmtoascii \ ; copiousoutput > Things like antiword and stuff help. At one point I had about a > $random_file to ascii converter for about everything. > > On Wed, Feb 09, 2011 at 05:38:38PM +0100, Peter N. M. Hansteen wrote: > > During recent months I've joined some mailing lists with fairly good > > signal to noise ratio on a specific topic, the only snag being that a > > distressingly large number of otherwise sane messages have been > > written using mail clients (fsvo) that by default bury the content in > > "rich" formatting that makes it hard for old-style mail readers to > > cope. > > > > Telling people off for their choice of mail clients is not an option > > (some at least have had that choice made for them), so as a workaround > > I probably need to start looking around for a mail client that will > > make reading Outlook and peers' output less painful. > > > > Does such a beast exist, preferably among OpenBSD packages (as in, it > > has to run on OpenBSD, but I can build locally if needs be)? > > > > I've tried and hated both Evolution and Thunderbird, but surely there > > must be other choices? > > > > - Peter > > -- > > Peter N. M. Hansteen, member of the first RFC 1149 implementation team > > http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/ > > "Remember to set the evil bit on all malicious network traffic" > > delilah spamd[29949]: 85.152.224.147: disconnected
Re: Minimally painful mail client for "rich" (spit!) messages
On Wed, Feb 9, 2011 at 12:26 PM, Ingo Schwarze wrote: > application/x-shellscript; /bin/cat ; copiousoutput hmm, this would be nice for syntax hl independent of mua assuming mua can parse ascii color escapes like less -R
Re: Security List
On Wed, Feb 9, 2011 at 8:06 AM, Frank Bax wrote: > Why not reuse existing functionality? B Add your lynx command (which > downloads file) to a crontab; then add filename to /etc/changelist > > I've sometimes thought it would be nice to have the 'changelist' code > extracted from /etc/security to a separate script so user-defined changes > could be emailed to users other than root. B Coding this is beyond my > capabilities. B I think this new script would need three parameters: > B B B B - /etc/changelist B B B [list of files] > B B B B - /var/backups B B B B B [dir for .backup and .current files] > B B B B - root B B B B B B B B B [user to receive email notifications] > > For an adventurous coder; perhaps /etc/changelist would allow url's to > monitor remote webpages. probably because in practice root's mail gets redirected to another user, so the need to have that as a separate script is low
Ahmed
Je suis le fils de l'ancien ministre de la Guinie (Mariame Sy Diallo) mais je vis actuellement en Angleterre, j'ai trouvi votre adresse ` la chambre de commerce ici ` Londres, j'ai besoin de votre aide pour investir au Maroc ou Algirie ou en Tunisie. Si vous jtes intiressi ` ma demandes'il vous plant contactez-moi sur mon adresse e-mail (diallah...@inmail24.com) ou sur mon numiro, (+447031869448). Merci de votre bonne comprihension Ahmed. Pour plus de ditails. Je veux en savoir plus sur vous Votre nom ... Votre ville actuelle... Votre profession ... ... ... ... .. Votre numiro de tiliphone ... ... ... ... Votre bge ... .
Re: find(1) manpage caveats section
Hi Otto, Otto Moerbeek wrote on Wed, Feb 09, 2011 at 09:43:54AM +0100: > On Wed, Feb 09, 2011 at 12:25:09AM -0700, Clint Pachl wrote: >> In the caveats section it states the following: >> >> >> Passing the output of find to other programs requires some care: >> >>$ find . -name \*.jpg | xargs rm >> or >>$ rm `find . -name \*.jpg` >> >> would, given files ``important .jpg'' and ``important'', remove >> ``important''. Use the -print0 or -exec primaries instead. >> >> >> Is this an error? The language indicates that ``important'' will be >> removed (and possibly ``important.jpg''; it's not clear) when >> executing both above commands. Is this correct? >> >> If it is correct, then I don't get what the caveat is. For example: >> >> $ touch important important.jpg >> $ find . -name \*.jpg | xargs rm >> $ ls >> important >> >> What does -print0 or -exec have to do with it? > You should read more carefully. There's a space in one of the filenames. Sure. However, since the section is called CAVEATS not RIDDLES, maybe the following is a further improvement? When committing that CAVEAT back in September, it didn't occur to me how easy it is to miss a blank character in an example when you are not already expecting whitespace to be the issue. Besides, mentioning that whitespace is not the only issue might be worthwhile as well. OK? Yours, Ingo Index: find.1 === RCS file: /cvs/src/usr.bin/find/find.1,v retrieving revision 1.81 diff -u -r1.81 find.1 --- find.1 29 Sep 2010 07:44:56 - 1.81 +++ find.1 9 Feb 2011 23:05:44 - @@ -643,7 +643,8 @@ .Ql \&; may have to be escaped from the shell. .Pp -Passing the output of +As file names may contain whitespace and shell metacharacters, +passing the output of .Nm to other programs requires some care: .Pp
Diagnosing an mbuf leak?
I upgraded my OpenBSD system to 4.8 last week, and it seems that there is a problem. Over the weekend, all available memory was chewed up and the system was page faulting like crazy. After a reboot, I started watching closely, and memory is being slowly consumed, but none of the user-mode proceses appear to be increasing in size. I have poked around a bit and found that "systat pool" is telling me that "mbpl" is increasing in size by approximately 5 per second with a request rate probably 10 times that. The "systat mbufs" display shows: 3 usersLoad 0.37 0.30 0.32 Thu Feb 10 11:30:02 2011 IFACE LIVELOCKS SIZE ALIVE LWM HWM CWM System256 315K 20176 2k19 39 lo0 vr02k 8 263 8 vr1 vr2 vr32k 7 263 7 The mbuf count seems to go up at the same rate regardless of network (or system) load. Can anyone help me to pin this down further? How can I find out what is consuming mbufs? I assume that the in-use mbuf count should typically be fairly small? Naturally I'm happy to provide dmesg output, etc, but I didn't want to clutter the list unnecessarily. The machine is a Soekris net5501. Thanks in advance, Alan
Confirmación de Reservaciones para Licitaciones de PEMEX en Cuidad de México
[IMAGE] Empresa Registrada ante la STPS Reg. COLG640205CP30005 Smguenos en Twitter@pmscapacitacion< /b> o bien en Facebook PMS de Mixico Extendemos una cordial invitacisn a este seminario y con gusto esperamos su respuesta. Licitaciones Pzblicas para la LEY de PEMEX Este programa le brindara las herramientas necesarias para analizar y explicar csmo se desarrollan los actos de los procedimientos de licitacisn pzblica que llevan a cabo Petrsleos Mexicanos y sus organismos subsidiarios, para contratar adquisiciones, arrendamientos, servicios y obras pzblicas, relacionados con las actividades sustantivas de caracter productivo. !Beneficios que obtendra con este programa! *Identificar los Puntos Crmticos de la Ley de Petrsleos Mexicanos y su Reglamento. *Conocer Las Nuevas Disposiciones Administrativas de Contratacisn en Materia de Adquisiciones, Arrendamientos, Obras y Servicios de las Actividades Sustantivas de Caracter Productivo de Petrsleos Mexicanos y Organismos Subsidiarios. ?Dsnde y cuando se presenta? Ciudad de Mixico este 18 de Febrero de 2011. Duracisn: 10 Horas de Capacitacisn Efectiva impartidas por nuestro consultor Mtro. Alberto Ledesma Gonzalez ?A Quiin va Dirigido? Empresarios, Contratistas, Servidores Pzblicos y personas relacionadas con cualquier Proceso de Contrataciones y Licitaciones de Adquisiciones, Arrendamientos y Servicios de Petrsleos Mexicanos. ?Quiin imparte nuestro seminario? El Mtro. Alberto Ledesma forma parte del grupo acadimico de PMS Capacitacisn Efectiva, egresado de la facultad de derecho de la Universidad Nacional Autsnoma de Mixico, cuenta con especialidad en la rama de amparo penal y laboral, tiene maestrma en Derecho ademas de contar con diversos diplomados por el Instituto nacional de investigaciones Jurmdicas de la UNAM y del Consejo nacional de postgrado en Derecho. !Inscrmbase Ahora! !Contamos con 8 Lugares disponibles! Solicite Mayores informes, Llamenos al (33) 8851-2365, (33) 8851-2741 Uno de nuestros asesores con gusto le atendera Responda esta invitacisn con sus datos para enviar el programa completo. Empresa: Nombre: Telifono: Email: Nzmero de Interesados: !Gracias! Copyright (C) 2010, PMS Capacitacisn Efectiva de Mixico S.C. Derechos Reservados. PMS de Mixico, El logo de PMS de Mixico son marcas registradas. ADVERTENCIA PMS de Mixico no cuenta con alianzas estratigicas de ningzn tipo dentro de la Repzblica Mexicana. NO SE DEJE ENGAQAR - DIGA NO A LA PIRATERIA. Todos los logotipos, marcas comerciales e imagenes son propiedad de sus respectivas corporaciones y se utilizan con fines informativos solamente. Este Mensaje ha sido enviado a misc@openbsd.org como usuario de Pms de Mixico o bien un usuario le refiris para recibir este boletmn. Como usuario de Pms de Mixico, en este acto autoriza de manera expresa que Pms de Mixico le puede contactar vma correo electrsnico u otros medios. Si usted ha recibido este mensaje por error, haga caso omiso de el y reporte su cuenta respondiendo este correo con el subject BAJAPEMEX Unsubscribe to this mailing list, reply a blank message with the subject UNSUBSCRIBE BAJAPEMEX Tenga en cuenta que la gestisn de nuestras bases de datos es de suma importancia y no es intencisn de la empresa la inconformidad del receptor. [demime 1.01d removed an attachment of type image/png which had a name of image001.png]
Kurs engleskog za slusanje usput na 5 CD-a GRATIS KNJIGA, RECNIK I GRAMATIKA za SAMO 1399,oo dinara!
- This mail is a HTML mail. Not all elements could be shown in plain text mode. - Kurs engleskog jezika za slusanje usput Kurs je u formatu MP3 na 5 CD-a i omogucava ljudima koji su stalno u pokretu i nemaju mnogo vremena da budu kuci pored svog racunara da uz pomoc najnovijih metoda nauce engleski jezik. Na ovaj nacin engleski jezik mozete uciti u kolima, na putu od kuce do posla i obrnuto, dok trcite ili setate, dok putujete ili se odmarate u prirodi, dakle na svom diskmenu ili MP3 player-u engleski jezik cete moci uciti na bilo kom mestu. Vreme u toku dana predvidjeno ucenje engleskog jezika nije standardno, dakle mozete sami planirati koliko cete i gde preslusavati materijal sa CD-a. Rezultati ce biti bolji ukoliko imate kontinuitet u preslusavanju nasih CD-a, sto znaci ukoliko cesce budete slusali materijal brze cete savladati engleski jezik. Materijal na diskovima obuhvata 4 nivoa engleskog jezika: pocetni nivo, produzeni kurs, visi tecaj i poslovni engleski. Ukoliko porucite ovu nesvakidasnju ponudu na poklon cete dobiti i knjigu, recnik i gramatikuu elektronskoj formi na posebnom CD-u , gde cete moci da proverite sve ono sto ste naucili ili da naucite nesto novo. Promotivna ponuda kursa engleskog jezika za slusanje usput ( srpska verzija ) kosta 1899,00 1399,oo dinara. U cenu jesu uracunati PTT troskovi slanja paketa, sto znaci da Vi placate samo cenu koja je iznad navedena, tj. 1399,oo dinara. Placanje je pouzecem, dakle po preuzimanju paketa. Ukoliko zelite da porucite ovu nasu specijalnu ponudu potrebno je da dostavite Vase ime i prezime, adresu, mesto, postanski broj i broj telefona (obavezno je navesti sve podatke) i paket ce biti kod Vas u roku od 48 sati. Porudzbine slati iskljucivo na e-mail adrese: engleskizaus...@gmail.com