Re: relayd layer 7 http proxy and filtering questions

2008-03-19 Thread Rolf Sommerhalder
 As a test, the URL or path filtering can allow /, *.html and *.jpg.
 We are unable to figure out how to get relayd to allow only these
types of files, and deny any other access.

Same question here as I was unable to find answers yet either, after
studing the man pages, trial-and-error testing and finally looking at
the source of relayd. But before giving up and returning to Pound, I was
about to contact the authors (reyk@, pyr@) for guidance.

Thus I'd be interested in any hints and working examples, too. Then, for
one outcome, we might try to improve relayd's man page section about
filtering.

Thanks,
Rolf



Re: using openbsd to make presentations

2008-03-19 Thread Pau Amaro-Seoane
Hi,

yes, I also thought of something similar, but the result is that gs
produces slides which are not smooth, i.e. you can almost see the
pixels. You can increase the resolution but this makes also the
slides heavier and then you run into the same snag...

Thanks

Pau

2008/3/19, Alexandre Ratchov [EMAIL PROTECTED]:
 On Tue, Mar 18, 2008 at 10:18:30PM +0100, Pau Amaro-Seoane wrote:
   Hi,
  
   very often I have to give a talk about my work etc... The slides
   contain a lot of math equations, plots and even sometimes some movies.
  
   I was used to latex-beamer to do all this because I want something I
   can edit with vi(m) and it fulfilled all requisites ... and I was used
   to it when I was using linux.
  
   I have switched to OpenBSD since some 1.5 years and I am very happy to
   report here, by the way, that OpenBSD _does_ start X on the projector
   where most linux peecees and macs fail :) BUT -and this is the main
   reason to write now- the pdf slides created with latex-beamer feel
   heavy... What I mean is that when using full screen (with xpdf or
   kpdf etc) it takes some 3-4 seconds to change a slide. I don't know
   why... I can provide you with a test talk, so that you udnerstand what
   I mean.
  
   This is very bad when somebody in the public asks a question of plot
   number 2 in slide #3 and you're in slide #55. Sure there are ways to
   overcome the problem, with the progress bar of latex-beamer, for
   instance, but still I don't like it.
  
   I just want to ask here in misc whether somebody has had the same
   problem and what other alternatives there are.
  


 yes i've the same problem, i've been using latex-beamer on a slow
  machine. To speedup the display, i converted the whole presentation
  to pnm images (one image per slide) and then made my presentation
  using graphics/qiv port. For instance, to generate the pnm files:

 gs -r248 -sDEVICE=pnmraw -sOutputFile=%d.ppm -dTextAlphaBits=4 \
 -dGraphicsAlphaBits=4 -dNOPAUSE doc.ps -c quit

 for i in ?.ppm; do mv $i 0$i done

  then to display them:

 qiv -f -i ??.ppm

  using space and backspace keys you can switch between slides very
  quickly even on a slow machine. Furthermore you can skip 5 slides
  using page-up and page-down keys, which is very handy when somebody
  asks you to go a particular slide.

  hth,


  -- Alexandre



Re: using openbsd to make presentations

2008-03-19 Thread Girish Venkatachalam
On 22:18:30 Mar 18, Pau Amaro-Seoane wrote:
 Hi,

 very often I have to give a talk about my work etc... The slides
 contain a lot of math equations, plots and even sometimes some movies.

 I was used to latex-beamer to do all this because I want something I
 can edit with vi(m) and it fulfilled all requisites ... and I was used
 to it when I was using linux.

 I have switched to OpenBSD since some 1.5 years and I am very happy to
 report here, by the way, that OpenBSD _does_ start X on the projector
 where most linux peecees and macs fail :) BUT -and this is the main
 reason to write now- the pdf slides created with latex-beamer feel
 heavy... What I mean is that when using full screen (with xpdf or
 kpdf etc) it takes some 3-4 seconds to change a slide. I don't know
 why... I can provide you with a test talk, so that you udnerstand what
 I mean.

 This is very bad when somebody in the public asks a question of plot
 number 2 in slide #3 and you're in slide #55. Sure there are ways to
 overcome the problem, with the progress bar of latex-beamer, for
 instance, but still I don't like it.

 I just want to ask here in misc whether somebody has had the same
 problem and what other alternatives there are.

 I have noticed that a lot of people are using magicpoint out there. I
 had a look at it, but it seems not obvious to use when it comes to
 latex. As far as i know, there are these two possibilities:

 http://www.sonycsl.co.jp/person/nishida/mgp-users/msg00241.html

 http://www.sonycsl.co.jp/person/nishida/mgp-users/msg00290.html

 I have made some tests and I could not use all latex commands... I run
 into a snag in a number of occasions.

 Question: Do you have any recommendation / suggestion to prepare talks
 to be shown in a projector including mathematical equations, plots
 and, eventually, movies (I can live without this last point)?

Wow! This is very interesting. ;)

I am in the same boat as you but guess what?

You got a lot of responses for the xpdf slowness problem and can you
guess how I solved it?

Of course you know that Acroread is not slow at all...that is my
solution, not something I like though.

What about evince? Evince is not slow either.

xpdf is blazing fast on my gentoo. So it looks like
there is something wrong with xpdf on OpenBSD.

I have never played with apm(8), so I am not so sure what is to be done.

As to mgp and LaTeX beamer, well I think there is no question. ;)

mgp is quite painful since many people cannot get that running properly
under linux and it never works on Windows. I find this a problem when I
want to distribute the slides. And they are completely lifeless when you
view the html...

OTOH LaTeX Beamer is superb. But bear in mind that nowadays you have
www.slideshare.net and I uploaded my jQuery talk and they completely
fucked my slides. I think it converts it into flash and they have no
clue what to do with slide overlays.

Anyway I got some new ideas from this thread, that of trying out the
seminar class and other LaTeX packages. Let me try my luck.

As to scalable fonts, I have never had a problem with fonts breaking
under xpdf. My slides invariably have pictures in them. It is just that
xpdf gets angry when you view your slides in fullscreen.

I have never seen the source of xpdf but it is in the back of my mind.
If I get around to it, I want to fix whey xpdf is slow on OpenBSD but
fast on gentoo.

Or it might be that I have never played with apm.

Anyway,
-Girish

--
unix soi qui mal y pense

UNIX to him who evil thinks

+--+
| GnuPG key  : 0xC7BBF207  |  http://wwwkeys.nl.pgp.net|
| Fingerprint: 2AFF C264 20CE C80C DDFF  CC15 AD3E F190 C7BB F207  |
+--+

[demime 1.01d removed an attachment of type application/pgp-signature]



Re: using openbsd to make presentations

2008-03-19 Thread Pau Amaro-Seoane
Hi Predrag,

I am mostly interested in the speed... do you have an example that I
can see (send privately to me)? You say also that it's easy to add
movies to the slides, can you embed them, actually? This would be very
interesting.

Pau

2008/3/19, Predrag Punosevac [EMAIL PROTECTED]:
 Pau Amaro-Seoane wrote:
   Hi,
  
   very often I have to give a talk about my work etc... The slides
   contain a lot of math equations, plots and even sometimes some movies.
  
   I was used to latex-beamer to do all this because I want something I
   can edit with vi(m) and it fulfilled all requisites ... and I was used
   to it when I was using linux.
  
   I have switched to OpenBSD since some 1.5 years and I am very happy to
   report here, by the way, that OpenBSD _does_ start X on the projector
   where most linux peecees and macs fail :) BUT -and this is the main
   reason to write now- the pdf slides created with latex-beamer feel
   heavy... What I mean is that when using full screen (with xpdf or
   kpdf etc) it takes some 3-4 seconds to change a slide. I don't know
   why... I can provide you with a test talk, so that you udnerstand what
   I mean.
  
   This is very bad when somebody in the public asks a question of plot
   number 2 in slide #3 and you're in slide #55. Sure there are ways to
   overcome the problem, with the progress bar of latex-beamer, for
   instance, but still I don't like it.
  
   I just want to ask here in misc whether somebody has had the same
   problem and what other alternatives there are.
  
   I have noticed that a lot of people are using magicpoint out there. I
   had a look at it, but it seems not obvious to use when it comes to
   latex. As far as i know, there are these two possibilities:
  
   http://www.sonycsl.co.jp/person/nishida/mgp-users/msg00241.html
  
   http://www.sonycsl.co.jp/person/nishida/mgp-users/msg00290.html
  
   I have made some tests and I could not use all latex commands... I run
   into a snag in a number of occasions.
  
   Question: Do you have any recommendation / suggestion to prepare talks
   to be shown in a projector including mathematical equations, plots
   and, eventually, movies (I can live without this last point)?
  
  

 I am a mathematician so I am quite often in the same position as you to
  give presentations which contain
  lots of formulas and images.

  I use Powerdot class of Latex presentations (descendant of Prosper an
  obsolete class of presentations )  which is as an alternative to the
  Beamer class. For the comprehensive review of all classes of
  presentations for latex you may check

  http://texcatalogue.sarovar.org/bytopic.html#present

  The advantages over Powerdot over Beamer are numerous.
  Powerdot is far easier (has only 60 man pages v.s. Beamer man pages are
  over 400 pages).
  It is also very simple to incorporate movies into your slides. The
  slides are easily customized
  and in my point of view far more beautiful than the Beamer.

  The popularity of Beamer seems comes from the fact that you can use
  pdflatex to produce pdf slides.
  That is not possible with Powerdot as it uses some PostScript tricks. So
  you will have to latex slides followed by
  dvips and ps2pdf or dvipdfm to produce pdf slides. The ultimate goal of
  course is to produce pdf slides.

  I noticed that one has to use Adobe Reader (I prefer Xpdf as well) which
  is only available from ports due to the
  license issues in order to have alive links on slides. That seems to be
  built in feature ( I would call it bug)
  which should be communicated probably up stream. The slides are very
  responsive.  I  personally have not seen better
  looking slides on any platform and I think I have seen it all.

  Powerdot class of presentations is part of TeXLive but not the part of
  teTeX. As you know teTeX is
  dead for about three years now and the TeXLive is official TeX
  distribution for Unix maintained by TeX community.
  TeXLive  is available only from ports for OpenBSD 4.2.
  However you will have to use port for 4.3 current (soon to be release)
  as I stumbled upon a bug in Powerdot
  class of presentation. The bug was in TeXLive source code and was well
  documented.
  It is already fixed by port maintainer for OpenBSD 4.3.

  As far as I know TeXLive will be regular package (you will not need to
  use ports) starting OpenBSD 4.3. This is
  only second Unix like system after Debian to have fully functional
  TeXLive thanks to Edd Baret porter of TeXLive
  for OpenBSD. On the last note I recommend that you install full TeXLive
  which is about 1Gb but includes
  all TeX/Latex features coded at the moment. I am not sure if the TeXLive
  base includes Powerdot. I would guess yes.


  Most Kind Regards,
  Predrag Punosevac

   Thanks,
  
   Pau



Re: using openbsd to make presentations

2008-03-19 Thread Girish Venkatachalam
On 17:45:26 Mar 18, Predrag Punosevac wrote:
 I am a mathematician so I am quite often in the same position as you to
 give presentations which contain
 lots of formulas and images.
 I use Powerdot class of Latex presentations (descendant of Prosper an
 obsolete class of presentations )  which is as an alternative to the Beamer
 class. For the comprehensive review of all classes of presentations for
 latex you may check

 http://texcatalogue.sarovar.org/bytopic.html#present

 The advantages over Powerdot over Beamer are numerous.
 Powerdot is far easier (has only 60 man pages v.s. Beamer man pages are
 over 400 pages).
 It is also very simple to incorporate movies into your slides. The slides
 are easily customized
 and in my point of view far more beautiful than the Beamer.

That will be really cool. ;)

I love beauty both in women and in my work. ;)

What about movies?


 The popularity of Beamer seems comes from the fact that you can use
 pdflatex to produce pdf slides.
 That is not possible with Powerdot as it uses some PostScript tricks. So
 you will have to latex slides followed by
 dvips and ps2pdf or dvipdfm to produce pdf slides. The ultimate goal of
 course is to produce pdf slides.


That is no problem at all.

 I noticed that one has to use Adobe Reader (I prefer Xpdf as well) which is
 only available from ports due to the
 license issues in order to have alive links on slides. That seems to be
 built in feature ( I would call it bug)
 which should be communicated probably up stream. The slides are very
 responsive.  I  personally have not seen better
 looking slides on any platform and I think I have seen it all.

 Powerdot class of presentations is part of TeXLive but not the part of
 teTeX. As you know teTeX is
 dead for about three years now and the TeXLive is official TeX distribution
 for Unix maintained by TeX community.
 TeXLive  is available only from ports for OpenBSD 4.2.
 However you will have to use port for 4.3 current (soon to be release) as I
 stumbled upon a bug in Powerdot
 class of presentation. The bug was in TeXLive source code and was well
 documented.
 It is already fixed by port maintainer for OpenBSD 4.3.

 As far as I know TeXLive will be regular package (you will not need to use
 ports) starting OpenBSD 4.3. This is
 only second Unix like system after Debian to have fully functional TeXLive
 thanks to Edd Baret porter of TeXLive
 for OpenBSD. On the last note I recommend that you install full TeXLive
 which is about 1Gb but includes
 all TeX/Latex features coded at the moment. I am not sure if the TeXLive
 base includes Powerdot. I would guess yes.


I don't mind waiting till May 1.

It is much better than Beamer?

Do I have to go thro' the same learning curve?

Your argument is quite convincing though. What about movies?

-Girish

--
unix soi qui mal y pense

UNIX to him who evil thinks

+--+
| GnuPG key  : 0xC7BBF207  |  http://wwwkeys.nl.pgp.net|
| Fingerprint: 2AFF C264 20CE C80C DDFF  CC15 AD3E F190 C7BB F207  |
+--+

[demime 1.01d removed an attachment of type application/pgp-signature]



Re: using openbsd to make presentations

2008-03-19 Thread Girish Venkatachalam
On 22:43:32 Mar 18, Jonathan Thornburg wrote:
 I find that the speed, or lack thereof, which which xpdf renders
 each new page (or progessive-overlay-on-the-same-page) varies from
 too fast for any perceptable delay to a couple of seconds and
 sometimes even to 10 secondes.  It seems to depend entirely on how
 big/complex the graphics are that I include -- if a page has only
 text and/or latex math, it renders instantly.  But if there are
 big/complex graphics, then it can be slower.  (The 10 seconds is
 only for some really nasty graphics files.)


I have observed something around 3 to 4 seconds. It is not exactly
painful but distracting.

All my slides have pictures or source code, so xpdf is mostly
unacceptable.

It is very fast when you don't view fullscreen , so the issue is in
scaling.

In fact I would also venture to say that color pictures give a lot of
fun and life to your boring technical talks be it math or software or
hardware or even if you are making a sales/marketing pitch.

I always look for powerful imagery from flickr.com.

-Girish

--
unix soi qui mal y pense

UNIX to him who evil thinks

+--+
| GnuPG key  : 0xC7BBF207  |  http://wwwkeys.nl.pgp.net|
| Fingerprint: 2AFF C264 20CE C80C DDFF  CC15 AD3E F190 C7BB F207  |
+--+

[demime 1.01d removed an attachment of type application/pgp-signature]



Re: using openbsd to make presentations

2008-03-19 Thread Pau Amaro-Seoane
Nice to see that such a thing exists... I was thinking of doing
something similar by myself... nevertheless the installer of mathml
seems to be a bit lame and I am a bit worried about the portability of
the final file. Sometimes, as you know, you are asked to not plug in
your laptop, so that speakers do not waste time trying to configure X
and in those cases they ask you for a pdf (or even ppt, buerk!) file
which they will copy over to the conference laptop...

Otherwise it seems indeed a very nice idea.

2008/3/19, Matthew Szudzik [EMAIL PROTECTED]:
  Question: Do you have any recommendation / suggestion to prepare talks
   to be shown in a projector including mathematical equations, plots
   and, eventually, movies (I can live without this last point)?


 HTML is probably the most portable solution for your problem, and movies
  would work fine too (using VLC's Mozilla plug-in).  Graphics display
  quickly and Firefox has MathML for displaying equations, but special
  fonts are required, and I'm unsure if anyone has ever tried to install
  them on OpenBSD (I certainly haven't).  An example of MathML used in
  HTML is at

   http://pear.math.pitt.edu/mathzilla/Examples/markupOftheWeek.mhtml

  Personally, I use Mathematica on my OpenBSD laptop--it has a nice
  presentation mode and renders equations beautifully.  Of course, it's
  proprietary software that costs money, so it's not for everyone.



Re: using openbsd to make presentations

2008-03-19 Thread Lars Noodén
Matthew Szudzik wrote:
 ... HTML is probably the most portable solution for your problem, 
 and movies would work fine too (using VLC's Mozilla plug-in).  ...

That would also probably work with S5:

http://meyerweb.com/eric/tools/s5/

Putting on my ODF and OOo hats, I feel obligated ;) to mention that both
Koffice and OpenOffice.org suites have presentation tools for OpenBSD,
Kpresenter and OOo Impress.

http://www.openbsd.org/4.2_packages/i386/koffice-1.6.3p0.tgz-long.html
http://www.openbsd.org/4.2_packages/i386/openoffice-2.2.1p0.tgz-long.html

Both suites also have formula editors, Kformula and OOo Math
respectively (1), but they may or may not meet your needs.  All four use
the OpenDocument Format, which is zipped XML and for which a variety of
developer tools exist:

http://www.opendocumentfellowship.com/resources/dev_tools

The ODF specification has no constraints on reuse.

Currently, though I abhor slide presentations and prefer HTML in
general, I have been making heavy use of OOo Impress the last two years
at work.

-Lars


(1) http://www.openoffice.org/product/math.html
http://koffice.org/kformula/



Re: Samba(SMB) or Netatalk(AFP)?

2008-03-19 Thread Almir Karic
On Wed, Mar 19, 2008 at 11:12 AM, Barry Commander
[EMAIL PROTECTED] wrote:
 Doesn't NFS mean restricting root access on each client in order to prevent
  people accessing other files? Is there a way (short of restricting root
  access)
   to prevent this?


RTFM. -maproot is what you want, see exports(5).




-- 
error: one bad user found in front of screen



Re: using openbsd to make presentations

2008-03-19 Thread Predrag Punosevac
In the next couple sentences I will try to answer some of the questions 
you guys asked me about powerdot

class of latex presentations.

1. Yes it is easier to learn than the Beamer but if know Beamer and it 
works for you maybe you should

stick to your guns.

This is the link to documentation and the source file for powerdot

http://texcatalogue.sarovar.org/entries/powerdot.html

I want to reiterate that is very easy to customize slides unlike Beamer 
although you can see in the documentation that
the package comes with about 20 different layouts and many more 
different color patterns.


Trying to install manually on the top of teTeX will probably fail due to 
the fact that teTeX uses some outdated
fonts. I tired in the past. It is not worthy as TeXLive in current ports 
three is rock solid.



2. There were many questions about Movies. Yes, It is possible to embed 
movies  into  the slides.

Please follow the link

http://tug.ctan.org/tex-archive/macros/latex/contrib/movie15/


The following link contains also extensive discussion of movie15 package 
and some examples

http://www.uoregon.edu/~noeckel/PDFmovie.html

Cheers,
Predrag










Girish Venkatachalam wrote:




On 17:45:26 Mar 18, Predrag Punosevac wrote:
  

I am a mathematician so I am quite often in the same position as you to
give presentations which contain
lots of formulas and images.
I use Powerdot class of Latex presentations (descendant of Prosper an
obsolete class of presentations )  which is as an alternative to the Beamer
class. For the comprehensive review of all classes of presentations for
latex you may check

http://texcatalogue.sarovar.org/bytopic.html#present

The advantages over Powerdot over Beamer are numerous.
Powerdot is far easier (has only 60 man pages v.s. Beamer man pages are
over 400 pages).
It is also very simple to incorporate movies into your slides. The slides
are easily customized
and in my point of view far more beautiful than the Beamer.



That will be really cool. ;)

I love beauty both in women and in my work. ;)

What about movies?

  

The popularity of Beamer seems comes from the fact that you can use
pdflatex to produce pdf slides.
That is not possible with Powerdot as it uses some PostScript tricks. So
you will have to latex slides followed by
dvips and ps2pdf or dvipdfm to produce pdf slides. The ultimate goal of
course is to produce pdf slides.




That is no problem at all.

  

I noticed that one has to use Adobe Reader (I prefer Xpdf as well) which is
only available from ports due to the
license issues in order to have alive links on slides. That seems to be
built in feature ( I would call it bug)
which should be communicated probably up stream. The slides are very
responsive.  I  personally have not seen better
looking slides on any platform and I think I have seen it all.

Powerdot class of presentations is part of TeXLive but not the part of
teTeX. As you know teTeX is
dead for about three years now and the TeXLive is official TeX distribution
for Unix maintained by TeX community.
TeXLive  is available only from ports for OpenBSD 4.2.
However you will have to use port for 4.3 current (soon to be release) as I
stumbled upon a bug in Powerdot
class of presentation. The bug was in TeXLive source code and was well
documented.
It is already fixed by port maintainer for OpenBSD 4.3.

As far as I know TeXLive will be regular package (you will not need to use
ports) starting OpenBSD 4.3. This is
only second Unix like system after Debian to have fully functional TeXLive
thanks to Edd Baret porter of TeXLive
for OpenBSD. On the last note I recommend that you install full TeXLive
which is about 1Gb but includes
all TeX/Latex features coded at the moment. I am not sure if the TeXLive
base includes Powerdot. I would guess yes.




I don't mind waiting till May 1.

It is much better than Beamer?

Do I have to go thro' the same learning curve?

Your argument is quite convincing though. What about movies?

-Girish

--
unix soi qui mal y pense

UNIX to him who evil thinks

+--+
| GnuPG key  : 0xC7BBF207  |  http://wwwkeys.nl.pgp.net|
| Fingerprint: 2AFF C264 20CE C80C DDFF  CC15 AD3E F190 C7BB F207  |
+--+

[demime 1.01d removed an attachment of type application/pgp-signature]




Re: Samba(SMB) or Netatalk(AFP)?

2008-03-19 Thread Barry Commander
Doesn't NFS mean restricting root access on each client in order to prevent
people accessing other files? Is there a way (short of restricting root
access)
 to prevent this?



Re: Samba(SMB) or Netatalk(AFP)?

2008-03-19 Thread Barry Commander
You could still either su to the user whos files you want from root, or you
could map their UID.
Both would allow you access to other users files.

On 19/03/2008, Almir Karic [EMAIL PROTECTED] wrote:

 On Wed, Mar 19, 2008 at 11:12 AM, Barry Commander
 [EMAIL PROTECTED] wrote:
  Doesn't NFS mean restricting root access on each client in order to
 prevent
   people accessing other files? Is there a way (short of restricting root
   access)
to prevent this?
 


 RTFM. -maproot is what you want, see exports(5).





 --
 error: one bad user found in front of screen



Re: Samba(SMB) or Netatalk(AFP)?

2008-03-19 Thread Almir Karic
On Wed, Mar 19, 2008 at 11:27 AM, Barry Commander
[EMAIL PROTECTED] wrote:
 You could still either su to the user whos files you want from root, or you
 could map their UID.
 Both would allow you access to other users files.

yep, welcome to the wonderful world of NFS :-), a toy such as kerberos
will be needed to secure it, i have never done this on OBSD tho.

-- 
error: one bad user found in front of screen



Re: using openbsd to make presentations

2008-03-19 Thread Pau Amaro-Seoane
movie15... yes, I know it from latex-beamer... it's (was?) crap

It will only embed movies under acroread AND windows... and asks for
very recent pdflatex versions... at least this was the case one year
ago, when I gave it a chance last time...

evince, on the other hand, is not displaying perfectly the beamer
layout and I don't know how to tell evince that it must use xine to
reproduce the linked movies of my pdf talks... kpdf is more
intelligent but as slow as a Spanish bureaucrat...

For now latex-beamer + apm -H + evince seems to be the winner
combination in my case

2008/3/19, Predrag Punosevac [EMAIL PROTECTED]:
 In the next couple sentences I will try to answer some of the questions
  you guys asked me about powerdot
  class of latex presentations.

  1. Yes it is easier to learn than the Beamer but if know Beamer and it
  works for you maybe you should
  stick to your guns.

  This is the link to documentation and the source file for powerdot

  http://texcatalogue.sarovar.org/entries/powerdot.html

  I want to reiterate that is very easy to customize slides unlike Beamer
  although you can see in the documentation that
  the package comes with about 20 different layouts and many more
  different color patterns.

  Trying to install manually on the top of teTeX will probably fail due to
  the fact that teTeX uses some outdated
  fonts. I tired in the past. It is not worthy as TeXLive in current ports
  three is rock solid.


  2. There were many questions about Movies. Yes, It is possible to embed
  movies  into  the slides.
  Please follow the link

  http://tug.ctan.org/tex-archive/macros/latex/contrib/movie15/


  The following link contains also extensive discussion of movie15 package
  and some examples
  http://www.uoregon.edu/~noeckel/PDFmovie.html

  Cheers,

 Predrag











  Girish Venkatachalam wrote:



   On 17:45:26 Mar 18, Predrag Punosevac wrote:
  
   I am a mathematician so I am quite often in the same position as you to
   give presentations which contain
   lots of formulas and images.
   I use Powerdot class of Latex presentations (descendant of Prosper an
   obsolete class of presentations )  which is as an alternative to the 
 Beamer
   class. For the comprehensive review of all classes of presentations for
   latex you may check
  
   http://texcatalogue.sarovar.org/bytopic.html#present
  
   The advantages over Powerdot over Beamer are numerous.
   Powerdot is far easier (has only 60 man pages v.s. Beamer man pages are
   over 400 pages).
   It is also very simple to incorporate movies into your slides. The slides
   are easily customized
   and in my point of view far more beautiful than the Beamer.
  
  
   That will be really cool. ;)
  
   I love beauty both in women and in my work. ;)
  
   What about movies?
  
  
   The popularity of Beamer seems comes from the fact that you can use
   pdflatex to produce pdf slides.
   That is not possible with Powerdot as it uses some PostScript tricks. So
   you will have to latex slides followed by
   dvips and ps2pdf or dvipdfm to produce pdf slides. The ultimate goal of
   course is to produce pdf slides.
  
  
  
   That is no problem at all.
  
  
   I noticed that one has to use Adobe Reader (I prefer Xpdf as well) which 
 is
   only available from ports due to the
   license issues in order to have alive links on slides. That seems to be
   built in feature ( I would call it bug)
   which should be communicated probably up stream. The slides are very
   responsive.  I  personally have not seen better
   looking slides on any platform and I think I have seen it all.
  
   Powerdot class of presentations is part of TeXLive but not the part of
   teTeX. As you know teTeX is
   dead for about three years now and the TeXLive is official TeX 
 distribution
   for Unix maintained by TeX community.
   TeXLive  is available only from ports for OpenBSD 4.2.
   However you will have to use port for 4.3 current (soon to be release) as 
 I
   stumbled upon a bug in Powerdot
   class of presentation. The bug was in TeXLive source code and was well
   documented.
   It is already fixed by port maintainer for OpenBSD 4.3.
  
   As far as I know TeXLive will be regular package (you will not need to use
   ports) starting OpenBSD 4.3. This is
   only second Unix like system after Debian to have fully functional TeXLive
   thanks to Edd Baret porter of TeXLive
   for OpenBSD. On the last note I recommend that you install full TeXLive
   which is about 1Gb but includes
   all TeX/Latex features coded at the moment. I am not sure if the TeXLive
   base includes Powerdot. I would guess yes.
  
  
  
   I don't mind waiting till May 1.
  
   It is much better than Beamer?
  
   Do I have to go thro' the same learning curve?
  
   Your argument is quite convincing though. What about movies?
  
   -Girish
  
   --
   unix soi qui mal y pense
  
   UNIX to him who evil thinks
  
   

Re: using openbsd to make presentations

2008-03-19 Thread Pau Amaro-Seoane
I must apologise for speaking like that but I have spent HOURS in the
past trying to make movie15 work... until I realised of the points I
made in my last email. I was very angry

2008/3/19, Pau Amaro-Seoane [EMAIL PROTECTED]:
 movie15... yes, I know it from latex-beamer... it's (was?) crap

  It will only embed movies under acroread AND windows... and asks for
  very recent pdflatex versions... at least this was the case one year
  ago, when I gave it a chance last time...

  evince, on the other hand, is not displaying perfectly the beamer
  layout and I don't know how to tell evince that it must use xine to
  reproduce the linked movies of my pdf talks... kpdf is more
  intelligent but as slow as a Spanish bureaucrat...

  For now latex-beamer + apm -H + evince seems to be the winner
  combination in my case


  2008/3/19, Predrag Punosevac [EMAIL PROTECTED]:

  In the next couple sentences I will try to answer some of the questions
you guys asked me about powerdot
class of latex presentations.
  
1. Yes it is easier to learn than the Beamer but if know Beamer and it
works for you maybe you should
stick to your guns.
  
This is the link to documentation and the source file for powerdot
  
http://texcatalogue.sarovar.org/entries/powerdot.html
  
I want to reiterate that is very easy to customize slides unlike Beamer
although you can see in the documentation that
the package comes with about 20 different layouts and many more
different color patterns.
  
Trying to install manually on the top of teTeX will probably fail due to
the fact that teTeX uses some outdated
fonts. I tired in the past. It is not worthy as TeXLive in current ports
three is rock solid.
  
  
2. There were many questions about Movies. Yes, It is possible to embed
movies  into  the slides.
Please follow the link
  
http://tug.ctan.org/tex-archive/macros/latex/contrib/movie15/
  
  
The following link contains also extensive discussion of movie15 package
and some examples
http://www.uoregon.edu/~noeckel/PDFmovie.html
  
Cheers,
  
   Predrag
  
  
  
  
  
  
  
  
  
  
  
Girish Venkatachalam wrote:
  
  
  
 On 17:45:26 Mar 18, Predrag Punosevac wrote:

 I am a mathematician so I am quite often in the same position as you to
 give presentations which contain
 lots of formulas and images.
 I use Powerdot class of Latex presentations (descendant of Prosper an
 obsolete class of presentations )  which is as an alternative to the 
 Beamer
 class. For the comprehensive review of all classes of presentations for
 latex you may check

 http://texcatalogue.sarovar.org/bytopic.html#present

 The advantages over Powerdot over Beamer are numerous.
 Powerdot is far easier (has only 60 man pages v.s. Beamer man pages are
 over 400 pages).
 It is also very simple to incorporate movies into your slides. The 
 slides
 are easily customized
 and in my point of view far more beautiful than the Beamer.


 That will be really cool. ;)

 I love beauty both in women and in my work. ;)

 What about movies?


 The popularity of Beamer seems comes from the fact that you can use
 pdflatex to produce pdf slides.
 That is not possible with Powerdot as it uses some PostScript tricks. 
 So
 you will have to latex slides followed by
 dvips and ps2pdf or dvipdfm to produce pdf slides. The ultimate goal of
 course is to produce pdf slides.



 That is no problem at all.


 I noticed that one has to use Adobe Reader (I prefer Xpdf as well) 
 which is
 only available from ports due to the
 license issues in order to have alive links on slides. That seems to be
 built in feature ( I would call it bug)
 which should be communicated probably up stream. The slides are very
 responsive.  I  personally have not seen better
 looking slides on any platform and I think I have seen it all.

 Powerdot class of presentations is part of TeXLive but not the part of
 teTeX. As you know teTeX is
 dead for about three years now and the TeXLive is official TeX 
 distribution
 for Unix maintained by TeX community.
 TeXLive  is available only from ports for OpenBSD 4.2.
 However you will have to use port for 4.3 current (soon to be release) 
 as I
 stumbled upon a bug in Powerdot
 class of presentation. The bug was in TeXLive source code and was well
 documented.
 It is already fixed by port maintainer for OpenBSD 4.3.

 As far as I know TeXLive will be regular package (you will not need to 
 use
 ports) starting OpenBSD 4.3. This is
 only second Unix like system after Debian to have fully functional 
 TeXLive
 thanks to Edd Baret porter of TeXLive
 for OpenBSD. On the last note I recommend that you install full TeXLive
 which is about 

Re: Samba(SMB) or Netatalk(AFP)?

2008-03-19 Thread Barry Commander
I was under the impression kerberos support was only available with NFSv4 -
looking at the manpages,
it seems OpenBSD is using NFSv3

On 19/03/2008, Almir Karic [EMAIL PROTECTED] wrote:

 On Wed, Mar 19, 2008 at 11:27 AM, Barry Commander

 [EMAIL PROTECTED] wrote:

  You could still either su to the user whos files you want from root, or
 you
  could map their UID.
  Both would allow you access to other users files.


 yep, welcome to the wonderful world of NFS :-), a toy such as kerberos
 will be needed to secure it, i have never done this on OBSD tho.


 --

 error: one bad user found in front of screen



Re: Laptop display refresh rate

2008-03-19 Thread Owain Ainsworth
On Tue, Mar 18, 2008 at 09:01:22PM +0100, Rafal Brodewicz wrote:
 Hello.
 
 Is there any tool to find out what V,H refresh rates should I set in
 xorg.conf for my laptop display? It's HP Copmaq 6510b with 1280x800
 resolution.
 
 Are they still needed btw?

Shouldn't be needed. I recommend you do
X -configure
as root, to get a basic xorg.conf.new, then edit that to add anything
you need (like XkbLayout that's the only reason i still need a conf
file).

If you're playing with xrandr, you may want to re-add the 
Monitor-{lvds,vga} entries too.


Cheers,
-0-
-- 
The average woman would rather have beauty than brains, because the
average man can see better than he can think.



Re: obsd 3.4 port of mysql may have error9 issue again...

2008-03-19 Thread Paul Pruett

OpenBSD 4.3, you mean.


If I run mysqlcheck -A  against a lot of databases...
about the last database it comes back errors...

Error: File './*_drupal/vocabulary_node_types.MYD' not found
(Errcode: 9)
Error: Got error9 from storage engine
error: Corrupt


No such issues there with OpenBSD 4.3.


yes, 4.3
apologies on that typo.

mysqlcheck is suppose to really exercise mysql, so
I thought I'd best post in case someone else saw it,
because the open file limit had been an issue in the past with version 
3.* (possibly how my brain flipped the numbers...)


The test computer has a new hard drive and hardware, amd64 with generic.mp
I will also try a reboot with generic instead of generic.mp
and see if it happens.

Hopefully it is something
in my.cnf that I setup and not the version of mysql.



Re: using openbsd to make presentations

2008-03-19 Thread Predrag Punosevac

Pau Amaro-Seoane wrote:

movie15... yes, I know it from latex-beamer... it's (was?) crap

It will only embed movies under acroread AND windows... and asks for
very recent pdflatex versions... at least this was the case one year
ago, when I gave it a chance last time...

  
Well in all honestly lots of thing were not working properly due to the 
fact that most new packages
require fonts and packages only included in TeXLive or if you like in 
MiKTeX 2.8 for Windows.
teTeX was unmaintained for more than three years so of course the things 
that were coded in last couple

of years didn't work on teTeX.

I share your frustration about the fact that Acroread is also required. 
I think, I mentioned this in my first post.
Xpdf is just not going to cut for lots of these new Latex packages 
because people who use them are working on
Windows. If you ask me personally that is just poor coding but I 
unfortunately have to relay on others to write
macros for TeX. The  best  thing  is of course if you could write  your  
own  macros and  packages.


Finally, my students are using very simple trick to show  their  
movies  in  my  class.  They collapse slides all

together, start MatLab and play their animations from there.

Obviously MatLab is not free software but I can not force anybody to use 
FreeMath or SciLab (Not even ported for OpenBSD).  If you look  older 
threads you will see that installing Maple, MatLab, or Mathematica is 
non-trivial on

OpenBSD.

Could you tell me at least what kind of movies are you trying to embed 
into your slides?


Best,
Predrag

evince, on the other hand, is not displaying perfectly the beamer
layout and I don't know how to tell evince that it must use xine to
reproduce the linked movies of my pdf talks... kpdf is more
intelligent but as slow as a Spanish bureaucrat...

For now latex-beamer + apm -H + evince seems to be the winner
combination in my case

2008/3/19, Predrag Punosevac [EMAIL PROTECTED]:
  

In the next couple sentences I will try to answer some of the questions
 you guys asked me about powerdot
 class of latex presentations.

 1. Yes it is easier to learn than the Beamer but if know Beamer and it
 works for you maybe you should
 stick to your guns.

 This is the link to documentation and the source file for powerdot

 http://texcatalogue.sarovar.org/entries/powerdot.html

 I want to reiterate that is very easy to customize slides unlike Beamer
 although you can see in the documentation that
 the package comes with about 20 different layouts and many more
 different color patterns.

 Trying to install manually on the top of teTeX will probably fail due to
 the fact that teTeX uses some outdated
 fonts. I tired in the past. It is not worthy as TeXLive in current ports
 three is rock solid.


 2. There were many questions about Movies. Yes, It is possible to embed
 movies  into  the slides.
 Please follow the link

 http://tug.ctan.org/tex-archive/macros/latex/contrib/movie15/


 The following link contains also extensive discussion of movie15 package
 and some examples
 http://www.uoregon.edu/~noeckel/PDFmovie.html

 Cheers,

Predrag











 Girish Venkatachalam wrote:



  On 17:45:26 Mar 18, Predrag Punosevac wrote:
 
  I am a mathematician so I am quite often in the same position as you to
  give presentations which contain
  lots of formulas and images.
  I use Powerdot class of Latex presentations (descendant of Prosper an
  obsolete class of presentations )  which is as an alternative to the Beamer
  class. For the comprehensive review of all classes of presentations for
  latex you may check
 
  http://texcatalogue.sarovar.org/bytopic.html#present
 
  The advantages over Powerdot over Beamer are numerous.
  Powerdot is far easier (has only 60 man pages v.s. Beamer man pages are
  over 400 pages).
  It is also very simple to incorporate movies into your slides. The slides
  are easily customized
  and in my point of view far more beautiful than the Beamer.
 
 
  That will be really cool. ;)
 
  I love beauty both in women and in my work. ;)
 
  What about movies?
 
 
  The popularity of Beamer seems comes from the fact that you can use
  pdflatex to produce pdf slides.
  That is not possible with Powerdot as it uses some PostScript tricks. So
  you will have to latex slides followed by
  dvips and ps2pdf or dvipdfm to produce pdf slides. The ultimate goal of
  course is to produce pdf slides.
 
 
 
  That is no problem at all.
 
 
  I noticed that one has to use Adobe Reader (I prefer Xpdf as well) which is
  only available from ports due to the
  license issues in order to have alive links on slides. That seems to be
  built in feature ( I would call it bug)
  which should be communicated probably up stream. The slides are very
  responsive.  I  personally have not seen better
  looking slides on any platform and I think I have seen it all.
 
  Powerdot class of presentations is part of TeXLive but not the part of
  teTeX. As you know teTeX is
  dead for 

Re: using openbsd to make presentations

2008-03-19 Thread Alexandre Ratchov
On Wed, Mar 19, 2008 at 09:25:33AM +0100, Pau Amaro-Seoane wrote:
 Hi,
 
 yes, I also thought of something similar, but the result is that gs
 produces slides which are not smooth, i.e. you can almost see the
 pixels. 

Using -dTextAlphaBits=4 -dGraphicsAlphaBits=4 options of gs should
produce smooth images. Note that if the images are scaled by qiv
then the result will not be smooth (qiv doesn't do anti-aliasing);
so you'll have to force gs to produce images of the right size (see
-r option of gs)

-- Alexandre



IPv6 LAN - IPv4 Internet

2008-03-19 Thread Barry Commander
Hi guys
I've found it very easy to get all the machines on my LAN speaking IPv6 but
would like them now
to be able to access the internet using IPv6 until they reach my router,
where it converts to IPv4
and relays the data to the internet, converting back to IPv6 on the return
route.
Is this possible? Where would I find the information required to set this
up?
Thanks a lot
Barry



Re: IPv6 LAN - IPv4 Internet

2008-03-19 Thread Jonathan Schleifer
Barry Commander [EMAIL PROTECTED] wrote:

 Is this possible? Where would I find the information required to set
 this up?

It reads like you want to be able to connect to v6 servers although you
only have v4 connectivity provided by your provider. If so, have a look
at:

http://www.tunnelbroker.net/
http://www.sixxs.net/
http://www.freenet6.net/

-- 
Jonathan



Re: IPv6 LAN - IPv4 Internet

2008-03-19 Thread Barry Commander
I basically want the IPv6 clients on my LAN to be able to access IPv4
servers on the
internet transparantly - the router doing the IPv6-IPv4/IPv4-IPv6
conversion.
I was under the impression those tunnel brokers simply allow the IPv4
interface on my
router to access the limited IPv6 sites/servers
Thanks
Barry

On 19/03/2008, Jonathan Schleifer [EMAIL PROTECTED] wrote:

 Barry Commander [EMAIL PROTECTED] wrote:

  Is this possible? Where would I find the information required to set
  this up?


 It reads like you want to be able to connect to v6 servers although you
 only have v4 connectivity provided by your provider. If so, have a look
 at:

 http://www.tunnelbroker.net/
 http://www.sixxs.net/
 http://www.freenet6.net/

 --

 Jonathan



Re: IPv6 LAN - IPv4 Internet

2008-03-19 Thread Jonathan Schleifer
Barry Commander [EMAIL PROTECTED] wrote:

 I basically want the IPv6 clients on my LAN to be able to access IPv4
 servers on the
 internet transparantly - the router doing the IPv6-IPv4/IPv4-IPv6
 conversion.

You'd have to use IPv4 inside then LAN and NAT at the router as well for
that to properly work. There was some way to map IPv4 adresses inside
the IPv6 space, but IIRC, there were some issues with it.

 I was under the impression those tunnel brokers simply allow the IPv4
 interface on my
 router to access the limited IPv6 sites/servers

Yup, that's what they do.

-- 
Jonathan



Re: IPv6 LAN - IPv4 Internet

2008-03-19 Thread Paul de Weerd
On Wed, Mar 19, 2008 at 01:33:18PM +, Barry Commander wrote:
| Hi guys
| I've found it very easy to get all the machines on my LAN speaking IPv6 but
| would like them now
| to be able to access the internet using IPv6 until they reach my router,
| where it converts to IPv4
| and relays the data to the internet, converting back to IPv6 on the return
| route.

Ehm, what exactly do you mean with convert ?

If you're doing tcp, you may want to have a look at faithd(8). Another
solution may be application level proxies or gateways. For name
resolution, you can set up BIND as a caching nameserver on your router
to listen on your v6 interfaces and queries the internet over v4
(possibly also v6, with a tunnel to SixXS or someplace else). For web
you'll have to find a v6-capable proxy (I know squid isn't one). Maybe
Apache 2's mod_proxy does it (or Apache 1.3 + the IPv6 patches (see
mini.vnode.ch)).

| Is this possible? Where would I find the information required to set this
| up?

It depends : what do you mean with 'convert' and what exactly do you
want your systems behind your router to be able to do ?

Without much further details, faithd(8) is the best answer I can give
you. I don't know how workable it is, but you can find out yourself.

Cheers,

Paul 'WEiRD' de Weerd

--
[++-]+++.+++[---].+++[+
+++-].++[-]+.--.[-]
 http://www.weirdnet.nl/



Re: IPv6 LAN - IPv4 Internet

2008-03-19 Thread Barry Commander
Thanks Paul. Sorry for the confusion, I'd like to have only IPv6 traffic on
my LAN and
still be able to access IPv4 sites. I think i'll just stick to using sixx
for now.
Thanks again
Barry

On 19/03/2008, Paul de Weerd [EMAIL PROTECTED] wrote:

 On Wed, Mar 19, 2008 at 01:33:18PM +, Barry Commander wrote:
 | Hi guys
 | I've found it very easy to get all the machines on my LAN speaking IPv6
 but
 | would like them now
 | to be able to access the internet using IPv6 until they reach my router,
 | where it converts to IPv4
 | and relays the data to the internet, converting back to IPv6 on the
 return
 | route.


 Ehm, what exactly do you mean with convert ?

 If you're doing tcp, you may want to have a look at faithd(8). Another
 solution may be application level proxies or gateways. For name
 resolution, you can set up BIND as a caching nameserver on your router
 to listen on your v6 interfaces and queries the internet over v4
 (possibly also v6, with a tunnel to SixXS or someplace else). For web
 you'll have to find a v6-capable proxy (I know squid isn't one). Maybe
 Apache 2's mod_proxy does it (or Apache 1.3 + the IPv6 patches (see
 mini.vnode.ch)).


 | Is this possible? Where would I find the information required to set
 this
 | up?


 It depends : what do you mean with 'convert' and what exactly do you
 want your systems behind your router to be able to do ?

 Without much further details, faithd(8) is the best answer I can give
 you. I don't know how workable it is, but you can find out yourself.

 Cheers,

 Paul 'WEiRD' de Weerd


 --
 [++-]+++.+++[---].+++[+
 +++-].++[-]+.--.[-]
  http://www.weirdnet.nl/



Re: IPv6 LAN - IPv4 Internet

2008-03-19 Thread Paul de Weerd
On Wed, Mar 19, 2008 at 03:19:15PM +, Barry Commander wrote:
| Thanks Paul. Sorry for the confusion, I'd like to have only IPv6 traffic on
| my LAN and
| still be able to access IPv4 sites. I think i'll just stick to using sixx
| for now.

But what do you want to do ?

Several different problems exist and some have nice and easy
solutions (the DNS example from my previous mail), some are impossible
to solve (users must use MSN messenger for MSN chatting needs).

If you dont tell us what your needs are, we can not give you solutions
(or tell you it's impossible). It's possible to have v6 only on your
network and be productive, but it heavily depends on what you think
'being productive' means.

Cheers,

Paul 'WEiRD' de Weerd

-- 
[++-]+++.+++[---].+++[+
+++-].++[-]+.--.[-]
 http://www.weirdnet.nl/ 



BDB simple program compile problem

2008-03-19 Thread Michael Spratt
on openbsd4.2 installed db-3.1.17p8
trying to compile this simple c program using the BerkeleyDB
Could anyone help me trouble shoot my cc line optons? I believe there is a
problem with the program seing the library? I want to statically link the
libray. 

include dir is /usr/local/include/db
# pwd
/usr/local/lib/db
# ls
libdb.a   libdb.la  libdb.so.3.1  libdb_cxx.a
libdb_cxx.la  libdb_cxx.so.4.0

lib dir is /usr/local/lib/db
# pwd
/usr/local/include/db
# ls
db.h db_185.h db_cxx.h

CODE--
#include sys/types.h
#include stdio.h
#include db.h

#define DATABASE access.db

int
main()
{
DB *dbp;
int ret;

if ((ret = db_create(dbp, NULL, 0)) !=0) {
fprintf(stderr, db_creat: %s\n, db_strerror(ret));
exit(1);
}

}

COMPILE OUTPUT-
# cc t2.c
/tmp//ccdm8869.o(.text+0x1c): In function `main':
: undefined reference to `db_create'
/tmp//ccdm8869.o(.text+0x32): In function `main':
: undefined reference to `db_strerror'
collect2: ld returned 1 exit status



Re: IPv6 LAN - IPv4 Internet

2008-03-19 Thread Rafal Brodewicz
On Wed, Mar 19, 2008 at 02:41:11PM +0100, Jonathan Schleifer wrote:
 If so, have a look at:
 
 http://www.tunnelbroker.net/
 http://www.sixxs.net/
 http://www.freenet6.net/

Which one from above would you recomend to look at in first place?

Thanks.
-- 
Rafal Brodewicz



Re: IPv6 LAN - IPv4 Internet

2008-03-19 Thread Paul de Weerd
On Wed, Mar 19, 2008 at 05:15:11PM +0100, Rafal Brodewicz wrote:
| On Wed, Mar 19, 2008 at 02:41:11PM +0100, Jonathan Schleifer wrote:
|  If so, have a look at:
|  
|  http://www.tunnelbroker.net/
|  http://www.sixxs.net/
|  http://www.freenet6.net/
| 
| Which one from above would you recomend to look at in first place?

I'd recommend SixXS. It's what I use when there's no native v6. Just
Works (tm).

disclaimer : I know the people behind SixXS in person

Paul 'WEiRD' de Weerd

-- 
[++-]+++.+++[---].+++[+
+++-].++[-]+.--.[-]
 http://www.weirdnet.nl/ 



Re: IPv6 LAN - IPv4 Internet

2008-03-19 Thread Frank Habicht

Barry Commander wrote:

I basically want the IPv6 clients on my LAN to be able to access IPv4
servers on the
internet transparantly - the router doing the IPv6-IPv4/IPv4-IPv6
conversion.
I was under the impression those tunnel brokers simply allow the IPv4
interface on my
router to access the limited IPv6 sites/servers
Thanks
Barry




They did that at recent NANOG and APNIC(APRICOT) meetings:
switch off ipv4 (wireless) LAN and have everyone struggle with ipv6.
see: http://www.civil-tongue.net/6and4/


you need 2 things:
a DNS proxy that will give our clients a ipv6 () answer even if 
there's none in the real world - one is totd 
(ftp://ftp.dillema.net/pub/users/feico/totd-latest.tar.gz)


and the protocol translator
software (on linux) used mentioned here 
(http://www.civil-tongue.net/6and4/wiki/Linux%20NAT-PT%20Configuration) 
but leads to parked domain :-(


(in cisco they did like this: 
http://www.civil-tongue.net/6and4/wiki/APRICOT2008-Router)



Frank



Re: IPv6 LAN - IPv4 Internet

2008-03-19 Thread Stuart Henderson
On 2008-03-19, Barry Commander [EMAIL PROTECTED] wrote:
 I was under the impression those tunnel brokers simply allow the IPv4
 interface on my router to access the limited IPv6 sites/servers

Most tunnel brokers allow you a /48 from which you can assign /64
subnets to your LAN/s. You can then setup live IPv6 addresses on all
of your network.

 I basically want the IPv6 clients on my LAN to be able to access IPv4
 servers on the internet transparantly - the router doing the IPv6-IPv4
 /IPv4-IPv6 conversion.

As things stand at the moment on OpenBSD, your only real option is
faithd which is a userland proxy that forwards a single TCP port
between v6 and v4. PF does not handle nat-pt.

You also need some tricks so that the v6 clients see an  DNS
record for the site they try to access: this is done with the totd
port/package.



Re: IPv6 LAN - IPv4 Internet

2008-03-19 Thread Jonathan Schleifer
Paul de Weerd [EMAIL PROTECTED] wrote:

 I'd recommend SixXS. It's what I use when there's no native v6. Just
 Works (tm).

While technically not bad, they suck when it comes to problems. My
account was deleted with no further explaination, thus I asked them
why. I got a reply really fast and they said it was because I was lying
to them (which I weren't, I tried getting a tunnel at another PoP and
they said I was lying because it was in a different country then where I
live) and because a mail was bounced. My RIPE handle had an old e-mail
and my MNT wasn't reachable, so I told them that. They responded me
very quickly and said I should talk to RIPE directly and get the mail
changed. I did so, and after that, I told them that it's fixed and they
should please reactivate the account. But now they weren't replying
quickly anymore, no, then ignored me. I sent them 3 mails in 2 months
and all 3 were ignored. Before the e-mail was fixed, they answered in 1
day, but when it came to reactivating the account, they decided to
ignore me. Today, I still haven't got my account reactivated.

 disclaimer : I know the people behind SixXS in person

They are exactly the reason why you don't want to go there. I switched
to HE then and it worked fine, but don't use HE anymore since I got
native IPv6 now which works even better.

-- 
Jonathan



Re: Flexibility of pf rules created by ftp-proxy?

2008-03-19 Thread Dave Anderson
On Mon, 17 Mar 2008, Stuart Henderson wrote:

On 2008-03-17, Dave Anderson [EMAIL PROTECTED] wrote:
 I've been working on the pf configuration for my home firewall,
 including setting up ftp-proxy.  I've noticed that the command is
 getting cluttered with options to adjust the rules it creates to the
 needs of different pf configurations.

it would be better to turn this on its head, and handle these in
the anchor definition in pf.conf (i.e. define options which should
be applied to all rules under that anchor: log, tag, queue, label,
rtable, blah blah blah).

Upon consideration, I at least partially agree with you (and note that
4.3 is moving in this direction) -- but some things can't be applied to
all of the rules in the anchor.  I haven't thought it through carefully
enough to know whether this is a significant issue but, as a minor
example, I like to specify the interface in each rule (possibly overkill
for these particular rules, but I'd expect it to at least reduce the
total number of rule comparisons) and that will certainly differ from
rule to rule (since I have both a DMZ and an internal network).

doing this in ftp-proxy(/tftp-proxy/ftpsesame/pptp-proxy/wherever
else you might want it) would be an inefficient way of handling this
and annoying to keep eveything in-sync.

Is this really a problem in practice?  I'd think it likely that, since
all of these are parsing text into a structure suitable for using in an
ioctl on the pf device, they could all use a common procedure to perform
that action.  (I haven't examined the code, so there could be something
which prevents this; if you have examined it and know that there is such
a problem, I'll defer to your greater knowledge.)

Dave



Re: Flexibility of pf rules created by ftp-proxy?

2008-03-19 Thread Dave Anderson
On Tue, 18 Mar 2008, Camiel Dobbelaar wrote:

Dave Anderson wrote:
 I've been working on the pf configuration for my home firewall,
 including setting up ftp-proxy.  I've noticed that the command is
 getting cluttered with options to adjust the rules it creates to the
 needs of different pf configurations.  Has any thought been given to
 allowing arbitrary nat, rdr and pass rules to be specified in a
 configuration file (in the same syntax as for pf.conf) with macros
 defined for the server, client and proxy addresses (as in the examples;
 also, perhaps, a few other macros -- such as for the interfaces through
 which the client and server are reachable)?

 I'm not asking (let alone demanding) that anyone implement this, but
 would like to know if it's been considered and rejected for some
 reason, is on someone's to-do list, has never been thought about, or
 whatever.  It seems to me to be a good way both to avoid needing more
 and more options to tweak the generated rules and to avoid the delay
 involved in modifying the program whenever someone comes up with a new
 need.

Now that the 'tag' option is available I don't expect ftp-proxy to gain
any more options wrt. to the pf rules it creates, because you can
implement those yourself using 'tagged'.

Only if exactly the same thing should be done for all rules in the
anchor, since only one tag can be specified.  I can't think offhand of
any cases where this makes an important difference, but how sure can we
be that there are none?

The history behind the current implementation is that I wanted it to be
simple.  Having a configuration file with pf rules means that you either
have:
- embed a full parser, which is a lot of code
- run pfctl, which makes it harder to chroot

Or tweak the existing code in pfctl so it could be used (perhaps as a
library routine) from ftp-proxy and anyplace else that wanted to make
similar use of anchors.  (I haven't examined the pfctl code, so I
realize that this might turn out to be impractical.)

Also, the FTP protocol is complex.  Having the nat and rdr rules under
user control would easily break things.

Certainly true, for those who use the flexibility.

So it would be a lot of extra code for not much gain.

If using the code from pfctl is practical it shouldn't be all that much
extra code, and the amount of gain depends on whether someone comes up
with a real need for this sort of flexibility (I don't have anything
specific to propose at this time).  But I might well have made the same
decision you did if it had been mine to make.

Thanks for the discussion,

Dave

-- 
Dave Anderson
[EMAIL PROTECTED]



Re: BDB simple program compile problem

2008-03-19 Thread Mats O Jansson

If the include you need is in /usr/local/include dont include the
one in /usr/include.

-moj

On Wed, 19 Mar 2008, Michael Spratt wrote:


on openbsd4.2 installed db-3.1.17p8
trying to compile this simple c program using the BerkeleyDB
Could anyone help me trouble shoot my cc line optons? I believe there is a
problem with the program seing the library? I want to statically link the
libray.


include dir is /usr/local/include/db

# pwd
/usr/local/lib/db
# ls
libdb.a   libdb.la  libdb.so.3.1  libdb_cxx.a
libdb_cxx.la  libdb_cxx.so.4.0


lib dir is /usr/local/lib/db

# pwd
/usr/local/include/db
# ls
db.h db_185.h db_cxx.h

CODE--
#include sys/types.h
#include stdio.h
#include db.h

#define DATABASE access.db

int
main()
{
   DB *dbp;
   int ret;

   if ((ret = db_create(dbp, NULL, 0)) !=0) {
   fprintf(stderr, db_creat: %s\n, db_strerror(ret));
   exit(1);
   }

}

COMPILE OUTPUT-
# cc t2.c
/tmp//ccdm8869.o(.text+0x1c): In function `main':
: undefined reference to `db_create'
/tmp//ccdm8869.o(.text+0x32): In function `main':
: undefined reference to `db_strerror'
collect2: ld returned 1 exit status




Re: IPv6 LAN - IPv4 Internet

2008-03-19 Thread Stuart Henderson
On 2008-03-19, Paul de Weerd [EMAIL PROTECTED] wrote:
 I'd recommend SixXS. It's what I use when there's no native v6. Just
 Works (tm).

I've experienced quite a lot of difference in reliability between
the various sixxs POPs...



Re: include files in pf.conf

2008-03-19 Thread Paul de Weerd
On Mon, Mar 17, 2008 at 01:49:13PM +0100, Reyk Floeter wrote:
| On Mon, Mar 17, 2008 at 01:31:47PM +0100, Arjen Van Drie wrote:
|  Hi,
|  
|  
|  searching on the Internet gave me no clear answer: is there a way to
|  include other config files in pf.conf, like
|  
|  
| 
| the internet is for... anyway, sometimes the manpage gives a good
| answer, just look at pf.conf(5):
| 
| ---snip---
|  Additional configuration files can be included with the include keyword,
|  for example:
| 
|include /etc/pf/sub.filter.conf
| ---snap---
| 
| of course, you can also search the internet via
| http://www.openbsd.org/cgi-bin/man.cgi?query=pf.conf
| 
|  # /etc/pf.conf
|  
|  
|  Include /etc/pf.interfaces
|  
|  Include /etc/pf.natrules
|  
| 
| use lowercase letters and quotes...
| 
| include /etc/pf.interfaces

This seems to miss from the BNF spec.

Index: pf.conf.5
===
RCS file: /cvs/src/share/man/man5/pf.conf.5,v
retrieving revision 1.393
diff -u -r1.393 pf.conf.5
--- pf.conf.5   11 Feb 2008 07:46:32 -  1.393
+++ pf.conf.5   19 Mar 2008 19:09:50 -
@@ -2962,6 +2962,8 @@
 upperlimit-sc  = upperlimit sc-spec
 sc-spec= ( bandwidth-spec |
  ( bandwidth-spec number bandwidth-spec ) )
+
+include= include filename
 .Ed
 .Sh FILES
 .Bl -tag -width /etc/protocols -compact


Cheers,

Paul 'WEiRD' de Weerd

-- 
[++-]+++.+++[---].+++[+
+++-].++[-]+.--.[-]
 http://www.weirdnet.nl/ 



Re: IPv6 LAN - IPv4 Internet

2008-03-19 Thread Wijnand Wiersma

Jonathan Schleifer schreef:

My RIPE handle had an old e-mail
and my MNT wasn't reachable, so I told them that. They responded me
very quickly and said I should talk to RIPE directly and get the mail
changed.


Hmm, I have that same issue (need it just for my SixXS account), I 
should talk to RIPE too I guess :-(


Wijnand



Installing apsfilter package fails

2008-03-19 Thread Ed Flecko
I have an OpenBSD 4.2 box without X installed, and I'm trying to
install apsfilter to set up printing.

Apsfilter fails with the following message:

# pkg_add apsfilter-7.2.8p0.tgz
Can't install gettext-0.14.6p0: lib not found expat.8.0
Dependencies for gettext-0.14.6p0 resolve to: libiconv-1.9.2p3
Full dependency tree is libiconv-1.9.2p3
Can't install a2ps-4.13bp4-letter: can't resolve gettext-0.14.6p0
Can't install apsfilter-7.2.8p0: can't resolve a2ps-4.13bp4-letter

What am I doing wrong???

Thanks,
Ed



Re: BDB simple program compile problem

2008-03-19 Thread Unix Fan
 COMPILE OUTPUT-

 # cc t2.c



Why, are you running this as root?..



 /tmp//ccdm8869.o(.text+0x1c): In function `main':

 : undefined reference to `db_create'



Isn't this message rather obvious? can you not read or something?



 /tmp//ccdm8869.o(.text+0x32): In function `main':

 : undefined reference to `db_strerror'

 collect2: ld returned 1 exit status



You're not linking with the shared db library... 



$ gcc -I/usr/local/include/db4 -o t2 t2.cc -l/usr/local/lib -ldb



Last time I checked, This mailing list isn't for people learning C..



Go buy yourself a book kid..







-Nix Fan.




Re: Installing apsfilter package fails

2008-03-19 Thread Preston Kutzner
On Wed, 19 Mar 2008 13:52:15 -0700
Ed Flecko [EMAIL PROTECTED] wrote:

 I have an OpenBSD 4.2 box without X installed, and I'm trying to
 install apsfilter to set up printing.

 Apsfilter fails with the following message:

 # pkg_add apsfilter-7.2.8p0.tgz
 Can't install gettext-0.14.6p0: lib not found expat.8.0
 Dependencies for gettext-0.14.6p0 resolve to: libiconv-1.9.2p3
 Full dependency tree is libiconv-1.9.2p3
 Can't install a2ps-4.13bp4-letter: can't resolve gettext-0.14.6p0
 Can't install apsfilter-7.2.8p0: can't resolve a2ps-4.13bp4-letter

 What am I doing wrong???

 Thanks,
 Ed


If I remember correctly, you need to have the x-base package installed
for the libiconv / gettext dependencies to be met.  It's an issue with
4.2.

A quick search of the archives should yield more information for you.

[demime 1.01d removed an attachment of type application/pgp-signature which had 
a name of signature.asc]



Re: internal virtual network with qemu

2008-03-19 Thread Lord Sporkton
On 17/03/2008, Joachim Schipper [EMAIL PROTECTED] wrote:
 On Tue, Mar 11, 2008 at 09:33:10AM -0700, Lord Sporkton wrote:
   I am running OpenBSD on OpenBSD with qemu(from pkg) all 4.2
  
   I am using the host OS for network services, ntp, dns, and router,
  
   I am using the guest OS's for client services, www, ftp, sql, etc.


 Eh... are you aware that qemu without kqemu is very, very slow? And that
  this list has a virtualization does not enhance security mantra?

  Just checking. If you want to experiment with a real network without
  having a large amount of hardware, what you're doing is actually a
  pretty good way of going about it. Just don't try to *actually* run it
  in production.

That is pretty much what im trying to do, simulate a real network.
Part of that being that all my virtuals would see themselves on the
same layer2 network and would be able to talk to each other with out
the host acting as a router, same way vmware does it.



   My goal is to have all the guests on internal addresses and use the
   host to nat them to publics as needed, as well as the host providing
   ipsec tunnels to allow other locations to access the client services
   via internal address.
  
   My question is:
   Is it best to put my private gateway ip on the real ethernet interface
   or on a loopback or other interface on the host?


 I'm not really sure what you mean. Most qemu setups I've seen connect to
  the host OS via tunX, so there is not really a private gateway there.
  You could NAT your real external interface into these tun devices.

 Joachim


And part of a real network is that i would have a gateway(firewall).
I misunderstood how qemu handle networking, i was under the impression
that it piggy backed on a real interface, much the way that vmware or
windows virtual machine does, you tell it attach to x interface and it
puts a second mac on the interface and then uses that interface(all
though shared) as if it was its own physical nic.

Your reply suggests i am understanding it wrong, however i did not see
anything in the man page saying otherwise, perhaps i missed something


  --
  TFMotD: ul (1) - do underlining




-- 
-Lawrence
-Student ID 1028219



Re: internal virtual network with qemu

2008-03-19 Thread Stuart Henderson
On 2008-03-19, Lord Sporkton [EMAIL PROTECTED] wrote:
 I misunderstood how qemu handle networking, i was under the impression
 that it piggy backed on a real interface, much the way that vmware or
 windows virtual machine does, you tell it attach to x interface and it
 puts a second mac on the interface and then uses that interface(all
 though shared) as if it was its own physical nic.

there are various ways it can handle networking, read the docs...
http://fabrice.bellard.free.fr/qemu/qemu-doc.html



Kernel doesn't reclaim unused interface indexes?

2008-03-19 Thread Matthew Dempsky
OpenBSD's currently limited to using interfaces with an index  32 for
multicast, and on one of my machines I created and destroyed enough
virtual interfaces during experimentation that some of the interfaces
currently in use and that I would like to route multicast traffic to
have indexes = 32.

The simple solution is to reboot since I have fewer than 32 interfaces
total, they'll renumber and everything will be fine.  However, I saw
if_attachsetup (in net/if.c) there's some code for looping through
ifindex2ifnet twice to try to find an unused interface index, so I
figured I could avoid rebooting by creating and destroying ~65000
virtual devices to wrap the counter, and then recreating the necessary
interfaces so I could use them in multicast.

Fortunately, I tested this idea first, because it actually leads to a
kernel panic. :-)

A second somewhat closer look at the kernel's interface handling code
gives me the impression that the ifnet structures are never freed, the
ifindex2ifnet table is never zero'd out, and so that loop always
results in a panic.

Looking at the history on net/if.c, I see a commit comment from itojun
that ifindex2ifnet could become NULL when interface gets destroyed,
when we introduce dynamically-created interfaces, but this was four
years ago and if_vlan has existed for 7 (though seemingly in a
different form then).  What does dynamically-created mean if not
something like vlan/gif/carp/trunk?

Is there anything major preventing ifindex2ifnet being cleared?  (If
it's just developer interest, it *looks* like it should be a
straight-forward-enough fix that I'd be interested in trying to write
a patch.)



Re: internal virtual network with qemu

2008-03-19 Thread Lord Sporkton
On 19/03/2008, Stuart Henderson [EMAIL PROTECTED] wrote:
 On 2008-03-19, Lord Sporkton [EMAIL PROTECTED] wrote:
   I misunderstood how qemu handle networking, i was under the impression
   that it piggy backed on a real interface, much the way that vmware or
   windows virtual machine does, you tell it attach to x interface and it
   puts a second mac on the interface and then uses that interface(all
   though shared) as if it was its own physical nic.


 there are various ways it can handle networking, read the docs...
  http://fabrice.bellard.free.fr/qemu/qemu-doc.html



If you have to refer me to an outside doc, isnt that a sign that the
man page should be updated?

I dont mind updating it, infact if i can make that outside doc work,
ill be more than happy to submit updates for the man page, i just want
to make sure that the info _isnt_in the man page and i just missed it?

-- 
-Lawrence
-Student ID 1028219




Re: internal virtual network with qemu

2008-03-19 Thread Stuart Henderson
On 2008-03-20, Lord Sporkton [EMAIL PROTECTED] wrote:

 there are various ways it can handle networking, read the docs...
  http://fabrice.bellard.free.fr/qemu/qemu-doc.html

 If you have to refer me to an outside doc, isnt that a sign that the
 man page should be updated?

see Network options in the manual. the last caveat of amd(8) is
probably applicable here too (especially if you apply the patch from
http://tinyurl.com/2grup9 to let qemu talk to dynamips over udp
sockets...)



Re: Installing apsfilter package fails

2008-03-19 Thread - Edwin -
Hi,

On Thu, Mar 20, 2008 at 7:09 AM, Preston Kutzner wrote:

 On Wed, 19 Mar 2008 13:52:15 -0700
  Ed Flecko [EMAIL PROTECTED] wrote:

   I have an OpenBSD 4.2 box without X installed, and I'm trying to
   install apsfilter to set up printing.
  
   Apsfilter fails with the following message:
  
   # pkg_add apsfilter-7.2.8p0.tgz
   Can't install gettext-0.14.6p0: lib not found expat.8.0
[ ... ]
  If I remember correctly, you need to have the x-base package installed
  for the libiconv / gettext dependencies to be met.  It's an issue with
  4.2.

Another way is (1) decompress xbase42.tgz in a temp directory
(2) find libexpatsomething in usr/X11R6/lib (3) mkdir /usr/X11R6/lib
and cp the file you found in (2). Then, try pkg_add'ing apsfilter* again.

-- 
- Edwin -
The righteous themselves will possess the earth,
And they will reside forever upon it./Psalms 37:29



5.5% APR - Another Premier Rate for Loans

2008-03-19 Thread BeatthatQuote OK-mail
---

Cheapest UK loans available now!
Have you overspent this Xmas or in the January sales?
Looking to fund a new purchase in 2008?

--

Compare over 550 loan deals.

We have searched the UK to find you the cheapest loan rates
available today.

Free quotation, no obligation, no credit check at this stage. See
if you qualify today!


Mortgages
-
6-months fixed APR 0.0%
Overall cost for comparison 7% APR
Standard variable rate 7.4%

2-years fixed APR 2.85%
Overall cost for comparison 6.9% APR
Standard variable rate 7.55%

https://www.beatthatquote.com/apply/mortgages/compare_cheap_mortgages.html?so
urce=emailkeyword=IPT_LB_W4


Credit Cards

 * Find that Knock-out Credit Card deal
 * 0% balance transfer, cash-back, low interest?
 * Compare the best Credit Cards now!

https://www.beatthatquote.com/apply/mortgages/compare_cheap_mortgages.html?so
urce=emailkeyword=IPT_LB_W4


Car Insurance
-

 * You could save up to 60%
 * We'll search through 1000s of policies from top insurers
   including Budget, Swiftcover  the AA

http://tr1.mailperf.com/r5.aspx?GV1=TYOP04M001DF0003RT000465Z002ZB9LP


---

YOUR HOME MAY BE REPOSSESSED IF YOU DO NOT KEEP UP REPAYMENTS ON A
MORTGAGE OR ANY OTHER DEBT SECURED ON IT. THINK CAREFULLY BEFORE
SECURING OTHER DEBTS AGAINST YOUR HOME.

Click below for our privacy and security policy
http://tr1.mailperf.com/r5.aspx?GV1=TYOP04M001DF0003RT0004660002ZB9LP

To ensure that your Beat That Quote e-mails get to your inbox,
please add
mailto:[EMAIL PROTECTED]
to your e-mail Address Book or Safe List.
For instructions, click here.
http://tr1.mailperf.com/r5.aspx?GV1=TYOP04M001DF0003RT0004661002ZB9LP

All APRs are correct as of 4/2/2008 unless otherwise stated, and
will vary based upon your personal circumstances and amount you
wish to borrow.

1. Typical fixed rate based on borrowing B#5,000 over 3 years in the
A* market. Monthly repayments are B#155.99 per month. Total
repayable is B#5,615.66

2. 6.7% APR Typical APR based on borrowing B#7,500 over 60 months
for new customers. Monthly repayments are B#146.89 per month. Total
repayable is B#8,813.40

3. 6.9% APR Typical APR based on borrowing B#7,500 over 60 months
for new customers. Monthly repayments are B#147.50 per month. Total
repayable is B#8,853.

4. 7.4% APR Typical APR based on borrowing B#7,500, without
Barclayloan Payment Protection Insurance.Monthly repayment B#150.29.
Repayable over 60 months. Total repayable B#9,017.40

5. Available with Yorkshire Building Society. Initial Rate: 0.00%
fixed for 6 months then 6.69% fixed until 30/06/2013; changing to
standard variable rate for the rest of the term, currently 7.40%.
The overall cost for comparison is 7.0% APR. Early Repayment Charge
30/06/2013. Rates correct as of 7/1/2008

6. Available with Market Harborough BS. Initial Rate: 2.85% fixed
for 2 years; changing to standard variable rate for the rest of the
term, currently 7.55%. The overall cost for comparison is 6.9% APR.
An arrangement fee of B#595. Early Repayment Charge for 5 years.
Maximum LTV 75%. Rates correct as of 07/01/2008

7. FORD MONDEO LX 2000-2007 1798cc Manual Petrol. Cheapest B#194.16,
dearest B#488. Male, 38 years old, 9 years NCD, B#400 XS. DA1
postcode. Up to 10,000 miles per year. Garaged at night.

The information within the website has been approved by a person
and firm regulated by the Financial Services Authority. We are an
appointed representative firm of Best Value Financial Services Ltd
which is authorised and regulated by the FSA.

Our service is free to you but to operate this service we receive
commissions from the lenders and insurers we refer you to. We
present information which we obtain from independent sources and do
not give financial advice. You should check rates and terms with
the product provider. For loans, Beat That Quote does not and will
not enter into consumer credit or consumer hire agreements as a
part of its business.

BeatThatQuote.com Ltd Registered in England No. 5346120. Registered
office: Linton House, 39-51 Highgate Road, London, NW5 1RT.

---

To unsubscribe from BeatthatQuote, click here:
http://tr1.mailperf.com/r5.aspx?GV1=TYOP04M001DF0003RT0004662002ZB9LPfguidv5
=0001VV


You have received this email because you are a member of OK-mail.
To unsubscribe from OK-mail, click here:
http://tr1.mailperf.com/r5.aspx?GV1=TYOP04M001DF0003RT0004665002ZB9LPemail=m
[EMAIL PROTECTED]
OK-mail, 1 Vincent Square, London SW1P 2PN.










By clicking through you agree to be contacted directly by Beatthatqouote.

mailcode=43305