Re: [Haifux] Unique identification of a computer

2004-01-18 Thread Muli Ben-Yehuda
On Sun, Jan 18, 2004 at 10:35:40AM +0200, David Sapir wrote:

 Hi,
 I need to identify a computer in a unique way. Can anyone point me to 
 source code in C or C++ that gets from the system:

There is no way to do this, in the general case, except maybe by using
the CPU ID, which doesn't exist on most CPUs and is disabled on most
of the rest. You can take a look under /proc/* to see most of these
values, though. You should also add the MAC address. 

 BIOS ID
 HardDisk ID
 Volume ID
 Motherboard ID
 CPU ID
 
 I'm using Linux Red Hat 9.0
 
 This code should work on various hardware configurations.
 
 I already looked for it using Google, but I had no luck.

A better question would be why do you need it. If it's for copy
protection, forget about it - it's trivial to defeat, not to mention
highly obnoxious. 

Cheers, 
Muli 
-- 
Muli Ben-Yehuda
http://www.mulix.org | http://mulix.livejournal.com/

the nucleus of linux oscillates my world - [EMAIL PROTECTED]



signature.asc
Description: Digital signature


[Haifux] Seminar Demos by Denis Girou

2004-01-18 Thread Gustavo Halperin
 Hello

 I'm trying to compile the Demos writed by Denis Girou.
And there are some packages that I can't find.
 The File seminar.com use the next package:
\usepackage{pst-fr3d}   % PSTricks 3D framed boxes
\usepackage{pst-grad}   % PSTricks gradient mode
\usepackage{pst-node}   % PSTricks nodes
\usepackage{pst-slpe}   % Improved PSTricks gradients
\usepackage{semcolor}   % Seminar colored slides
  and others.
For example the package   pst-fr3d I can't find.
 Do you now this class ??, Where I can download it??
Any one compile the demos of Denis Girou??
 Thanks
   Gusti
--
Regards.
gustavo halperin
_
Laboratory for Computer Graphics and CAD
Faculty of Mechanical Engineering
Technion - Israel Institute of Technology
Haifa, Israel 32000
Tel:  972-4-829-2334
Fax:972-4-829-5711
e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
_
%% -*- Mode: Latex -*- 
%% sem-dem.sty --- General utility macros for these Seminar demonstration files
%%
%% Author  : Denis GIROU (CNRS/IDRIS - France) [EMAIL PROTECTED]
%% Created the : Sun Dec  9 21:49:38 2001
%% Last mod. by: Denis GIROU (CNRS/IDRIS - France) [EMAIL PROTECTED]
%% Last mod. the   : Fri Apr  5 21:02:35 2002
%%%

% Identification of the file (constant parameters)
\def\FileAuthor{Denis Girou}
\def\FileInfoA{Seminar demonstration files}
\def\FileName{\jobname}

% Write identification in the PDF file (if one will be generated)
\newcommand{\HyperSetUp}{%
\hypersetup{pdftitle={\FileInfoA{} - \FileInfoB},
pdfsubject={\FileName{}
[\FileDate{} - Version \FileVersion]},
pdfauthor={\FileAuthor},
pdfkeywords={\FileInfoB{} PSTricks Seminar slides}}}

% Header/footer initialization
\def\SeminarStandardHeaderFooterDemos{%
\date{\HLa{\FileDate}}%
\SeminarStandardHeaderFooter
  {\LARGE\HLe{Demonstration of \MakeLowercase{\FileInfoB}}}
  {\HLa{\FileInfoA{} -- \FileInfoB}}
  {\HLa{Version \FileVersion{} -- }}
  {\HLe{\FileAuthor}}}

\SeminarStandardHeaderFooterDemos

% General first slide for all the demonstration files
\newcommand{\SeminarFirstSlide}{{%
\SeminarSlideFrameBackground{SeminarBackgroundSolid}
\begin{slide}
  \ifx\SeminarPaperVersion\AnswerYes
  \else
\vspace*{\stretch{1}} % Due to the special annotation for full screen mode
  \fi

  \begin{center}
\psframebox[fillstyle=solid,fillcolor=red,framearc=0.2]{%
  \Large\bfseries\color{yellow}
  \begin{tabular}{c}
Seminar demonstration files\\
[EMAIL PROTECTED] demonstration files}}%
[EMAIL PROTECTED]
[EMAIL PROTECTED][EMAIL PROTECTED]
  [EMAIL PROTECTED]
\else
  [EMAIL PROTECTED]
\fi
\FileInfoB
  \end{tabular}}

\vspace{1cm}
\psframebox[fillstyle=solid,fillcolor=LightBlue,
framesep=0.2,framearc=0.4]{%
  \bfseries
  \begin{tabular}{c}
\FileAuthor\\
\FileDate
  \end{tabular}}

\ifx\SeminarPaperVersion\AnswerYes
\else
  \vspace{\stretch{1}}
  \hfill%
  \rput[br](0.2,0){%
\psframebox[linewidth=0.02,framesep=0.05]{%
  \footnotesize\bfseries
  \shortstack[l]{%
With Acroread, \textcolor{red}{CTRL-L} switch\\[-1mm]
between full screen and window mode}}}
\fi
  \end{center}
\end{slide}}}

% List of slides
\newcommand{\SeminarListOfSlides}{{%
% Background changing
\ifx\SeminarColorVersion\AnswerYes
  \renewcommand{\SeminarBackgroundGradientColorBegin}{PaleGreen}%
  \renewcommand{\SeminarBackgroundGradientColorEnd}{green}%
  \renewcommand{\SeminarBackgroundGradientAngle}{-90}%
  \SeminarSlideFrameBackground{SeminarBackgroundGradient}
\fi
\renewcommand{\slidestretch}{0.7}% We compress the lines
\begin{slide}
  \listofslides
\end{slide}}}

\endinput
%%% -*- Mode: Latex -*- %%
%% seminar.con --- Customization of the Seminar document class.
%% We take care to do this for easy adaptations in other
%% institutions and contexts.
%%
%% Author  : Denis GIROU (CNRS/IDRIS - France) [EMAIL PROTECTED]
%% Created the : 1993
%% Last mod. by: Denis GIROU (CNRS/IDRIS - France) [EMAIL PROTECTED]
%% Last mod. the   : Wed Jun 19 19:31:03 2002
%%%

\def\FileVersion{3.1}
\def\FileDate{June 19, 2002}
\typeout{seminar.con file: example of customization of the Seminar
 document class^^J%
 (Version \FileVersion\space of \FileDate (D.G.))}

% Packages used
% -

% General packages (all are on CTAN)
\usepackage{calc}   % Simple computations with LaTeX variables
\usepackage[hang]{caption2}

Re: [Haifux] Seminar Demos by Denis Girou

2004-01-18 Thread Oron Peled
On Sunday 18 January 2004 11:40, Gustavo Halperin wrote:
 For example the package   pst-fr3d I can't find.
   Do you now this class ??, Where I can download it??

Google for it -- first and second hits...

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron

Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html


--
Haifa Linux Club Mailing List (http://www.haifux.org)
To unsub send an empty message to [EMAIL PROTECTED]




[Haifux] A LaTeX to HTML tool that works

2004-01-18 Thread Eli Billauer
Hello list.

I just want to tip you off, that there's a great tool for converting 
LaTeX to HTML. It's called TeX4ht, and it's nothing like LaTeX2html and 
friends. This one WORKS, even if there are nested macros, as most of us 
by-hand LaTeX authors have. It also generates beautiful output, 
including equations and graphics.

The fantastic thing was that I managed to translate the 200-page manual 
of Perlilog to HTML, with no hassle at all (I have to admit that it took 
my about 30 minutes, but still, that's no time).

TeX4ht also claims to translate to Open Office and MS Word, but I 
haven't tried either.

The reason it works so smootly is that TeX4ht doesn't attempt to parse 
the input itself, but comes in somewhere in the DVI stage. So it's not 
TeX rewritten, like other tools I've seen, but an extension of the 
well-known, stable TeX.

For all of you who have documents published in LaTeX, PS and pdf, this 
is the time to publish them in HTML as well. Keep in mind that google 
parses these documents rather poorly. Most of us want to be found if 
someone looks for what we've written about.

I got my copy from 
http://at.rpmfind.net/opsys/linux/RPM/suse.com/i386/8.1/suse/i586/tex4ht-20020613-68.i586.html 
. It's intended for SuSe 8.1, but it worked nicely on my RH7.3 even 
though I forced installation, ignoring the failed dependency of the 
te_latex package (almost all files in the latter exist on my system).

I also recommend to download the source at 
http://www.ctan.org/tex-archive/support/TeX4ht/?action=/tex-archive/support/ 
or similar, because there are some documentation files in that package. 
Beware that the ZIP file opens flat in the current directory.

Having the package installed, simply go
htlatex.sh myfile.tex
and it will behave very much like good old LaTeX. If you want a split of 
sections into separate files, simply go
htlatex.sh myfile.tex html,2
for a file on each section, or change the 2 to 3 to get a file for each 
subsection.

The result is surprisingly good.

Hope you'll enjoy it,

   Eli

--
Web: http://www.billauer.co.il


--
Haifa Linux Club Mailing List (http://www.haifux.org)
To unsub send an empty message to [EMAIL PROTECTED]



Re: [Haifux] A suggestion for a lecture - How to protect your network, using IPtables.

2004-01-18 Thread Eli Billauer
Hello Adir.

As you may recall, I gave a lecture about iptables, which covered both 
masquerading and some basic firewalling. But it seems like iptables is a 
very popular topic: The knockout winner of google searches, that bring 
people to my site, is exactly iptables and masquerading (since I keep my 
lecture slides there as well). So obviously, there is a demand.

And yes, I treated firewalling as a side issue in my lecture. After all, 
we trust our fellow internet users, don't we? ;)

Do have a look on my slides. You may find the sketches useful.

It seems to me that those who are with Haifux for a long time will not 
be so interested, while the Staying-in-Linux audience can find it very 
useful. Besides, that's your chance to get a slot before May. ;)

And what I see happening is that we get two tracks of lectures: One for 
experts and one for newbies. I think this is a great thing. Maybe we 
should make this official.

  Eli

--
Web: http://www.billauer.co.il


--
Haifa Linux Club Mailing List (http://www.haifux.org)
To unsub send an empty message to [EMAIL PROTECTED]



Re: [Haifux] A suggestion for a lecture - How to protect your network, using IPtables.

2004-01-18 Thread Adir Abraham
Hi Eli,

On Sun, 18 Jan 2004, Eli Billauer wrote:

 As you may recall, I gave a lecture about iptables, which covered both
 masquerading and some basic firewalling. But it seems like iptables is a

Yes, I remember that.

 And yes, I treated firewalling as a side issue in my lecture. After all,
 we trust our fellow internet users, don't we? ;)

Ofcourse we do ;)

Firewalling is not going to be a side issue of my lecture. I will focus
more on the filter options part of IPTables, actually.

 Do have a look on my slides. You may find the sketches useful.

I just had a look. Your slides are very good and I remember them.
What I plan to talk about is in totally different view. First of all - I
am not going to mention NAT, neither mangling at all. I won't talk about
masquerading but I'll focus on filtering, giving a wide introcution regarding
the logic behind IPtables, I'll describe useful commands and give examples as
well. At the 2nd part, I wish to describe some attacks scenarios and how to
defend against them using IPtables. I'll also want to describe the concepts of
building a firewall, using IPtables. I hope that there are people who like
chains, in addition to traditional code :)

 It seems to me that those who are with Haifux for a long time will not
 be so interested, while the Staying-in-Linux audience can find it very
 useful. Besides, that's your chance to get a slot before May. ;)

Maybe. I'm not sure who wants to hear about it and who doesn't. It's
actually a very relevant Linux subject which I believe that even the
veteran users (who wish to know better what IPtables is) will be glad to
hear about (Google proves my point ;). As for slotting it before May - I'm
afraid that I won't have time to start working on it before March (exams, etc),
so starting to work on it afterwards, while getting scehduled in the end of
May, is great for me. Otherwise - I would have considered to give it
earlier.

 And what I see happening is that we get two tracks of lectures: One for
 experts and one for newbies. I think this is a great thing. Maybe we
 should make this official.

Maybe. It sounds like a good idea. Anyway, regarding my lecture(s), if I
split it to two, naturally there will be a basic lecture and a more
advanced one. I'll be glad to give both as regular lectures and see
later where and how it fits to a SiL series (of next year).

Best regards.

-- 

Adir Abraham
Technion's Advisors Group and Public PC Farms Manager
[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
Haifa, Israel
ICQ# 1841481
Cel# +972-53-243438, +972-55-481245
KeyID: 0xD8DC85C7  Fingerprint: 138D 8F41 7A06 44A0  3DBB 9DC3 FE8B 2658



-BEGIN PGP PUBLIC KEY BLOCK-
Version: PGPfreeware 7.0.3 for non-commercial use http://www.pgp.com

mQEPAzLax/sAAAEIAK2bI8utornDYd5LdU+/TABNmqXneiXuLx4j8OKD2GjfS/O8
E6nrX69ot4uU5ryjp5h+7VHBZqCQz+8VC8ly2ANtycejAc82gllVC96fbA+Y6uuN
uI9aXkwNqhphmmQZIVaOZDRAo9//1zX9r41xY+8rKSQuNcp+FPD/A5Itng0xhsfS
KkCV4tT0mGpiydUHFrugk/bouXPYwUHXSnHp/mPdGsjgqipezHPzCWIn3xcJjk2/
tjd5/ym+arWpKW5nvTuvalcMi2DIcEilSrT5NLwgeuh3eqitYOc9WTiMNMvUiVcP
sucJkdxNwjEX9MgD/bLY9wT/13brqxk71tjchccAEQEAAbQnQWRpciBBYnJhaGFt
IDxhZGlyQHZpcGUudGVjaG5pb24uYWMuaWw+iQEVAwUQMtrH+6sZO9bY3IXHAQGb
0gf9FwrJBKaTP0yvf3+vwtB+9ftS0woz1TawJwflC5EoHJs7D/5GzkAaRV82RSkH
P9fSHmM+LUB0huBBK1qtNyXHWIjQTmYwFYC8Oen4q0Fyze7cloSnpD1rVjI0HoCO
UU8bbz0Iseizdjhnl2PTItQ+dkKzLcww1jW5iPXOWd1o8/8s2aebhrpDRO8BfAYg
H29jhmDtuVQDPgFfkN/kP+xpHQplMN5Qh1oP22f+Wyg8sVvSv8P7cM+88u46FHi3
zvHpVnZKIBtKhksnH1PYXtz7FvS7vA+MbpM47kgmQGL5Ygig0pUUbBCGlzmg2Hvd
262YCdVYNwpIjQWBLJI8orea0Q==
=dgNP
-END PGP PUBLIC KEY BLOCK-

--
Haifa Linux Club Mailing List (http://www.haifux.org)
To unsub send an empty message to [EMAIL PROTECTED]




Re: [Haifux] Seminar Demos by Denis Girou

2004-01-18 Thread Gustavo Halperin


Oron Peled wrote:

On Sunday 18 January 2004 11:40, Gustavo Halperin wrote:
 

For example the package   pst-fr3d I can't find.
 Do you now this class ??, Where I can download it??
   

Google for it -- first and second hits...
 

Sorry do you right. I did my search on google for linux.
I also find another bug, my 'seminar.bg2' was so I change it for newest one.
Now when I compile the sem-dem0.tex I receive the next error:
 ! TeX capacity exceeded, sorry [pool size=70945].
 [EMAIL PROTECTED] -OT1/helvetica/m/n/14.4
 
 l.36 \SeminarFirstSlide
 
 No pages of output.
 Transcript written on sem-dem0.log.

 Any Idea how to fix or find the problem??

 Thanks
   Gusti
--
Regards.
gustavo halperin
_
Laboratory for Computer Graphics and CAD
Faculty of Mechanical Engineering
Technion - Israel Institute of Technology
Haifa, Israel 32000
Tel:  972-4-829-2334
Fax:972-4-829-5711
e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
_
--
Haifa Linux Club Mailing List (http://www.haifux.org)
To unsub send an empty message to [EMAIL PROTECTED]



Re: [Haifux] A suggestion for a lecture - How to protect your network, using IPtables.

2004-01-18 Thread Orna Agmon
On Sun, 18 Jan 2004, Eli Billauer wrote:

 Hello Adir.

 As you may recall, I gave a lecture about iptables, which covered both
 masquerading and some basic firewalling. But it seems like iptables is a
 very popular topic: The knockout winner of google searches, that bring
 people to my site, is exactly iptables and masquerading (since I keep my
 lecture slides there as well). So obviously, there is a demand.

 And yes, I treated firewalling as a side issue in my lecture. After all,
 we trust our fellow internet users, don't we? ;)

 Do have a look on my slides. You may find the sketches useful.

 It seems to me that those who are with Haifux for a long time will not
 be so interested, while the Staying-in-Linux audience can find it very
 useful. Besides, that's your chance to get a slot before May. ;)

 And what I see happening is that we get two tracks of lectures: One for
 experts and one for newbies. I think this is a great thing. Maybe we
 should make this official.

Eli

I agree with Eli on this point. I think this is a great lecture for SIL,
but Eli's lecture was given not so long ago, and I feel there is a bit
more to GNU and Linux than repeating topics in such a small time interval.

Adir, If March (the next SIL slot) is too soon, we can schedule your
IPtables lecture as a SIL lecture a bit afterwards, but May 31st is a date
reserved for a regular lecture (veteran, advanced, new, whatever you may
call it).

However, since most of the Haifux veterans have already enjoyed Eli's
lecture, and can go to the slides to refresh their memory (no need to
hammer that info inside heads), I see no reason for a causing a drought of
lectures (4 or 6 weeks between new topics).

Orna.

--
Haifa Linux Club Mailing List (http://www.haifux.org)
To unsub send an empty message to [EMAIL PROTECTED]




Re: [Haifux] A suggestion for a lecture - How to protect your network, using IPtables.

2004-01-18 Thread Adir Abraham
On Sun, 18 Jan 2004, Orna Agmon wrote:

 I agree with Eli on this point. I think this is a great lecture for SIL,
 but Eli's lecture was given not so long ago, and I feel there is a bit
 more to GNU and Linux than repeating topics in such a small time interval.

I will not repeat on his topics at all.. There is a lot to cover in
IPtables, and extremely little was talked regarding what I want to talk
about in great expend, and more that he didn't talk about at all (in my
opinion). It's almost like saying that we are talking about Linux all the
time :)

 Adir, If March (the next SIL slot) is too soon, we can schedule your
 IPtables lecture as a SIL lecture a bit afterwards, but May 31st is a date
 reserved for a regular lecture (veteran, advanced, new, whatever you may
 call it).

As I said, I don't mind about the status of the first lecture (as I see
it, it is going to be two lectures). However the 2nd one (attacks
scenarios and ways to prevent them, in addition to building a real
firewall via IPtables) is considered advanced because it assumes knowledge of
IPtables, its important concepts or at least the previous lecture. What I
suggest, in this case, is to give the advanced lecture on a regular
date, and to give the basic lecture a week before, just like we do with
the SiL, unless people want the two lectures to be scheduled regular, and
in a difference of two weeks. In this case, I will like to get two
regular dates so people won't get tired after 4 lectures in a month (a
lecture every week).

In addition to that, before we decide that it's good for the SiL or not,
I'd like to give the lecture in order to know how good it is (it will be a
first run, after all). If it's going to be good enough, we can schedule it
once again as a SiL lecture for next year, like we did with other successful
(or wanted) lectures.

 However, since most of the Haifux veterans have already enjoyed Eli's
 lecture, and can go to the slides to refresh their memory (no need to
 hammer that info inside heads), I see no reason for a causing a drought of
 lectures (4 or 6 weeks between new topics).

Eli's slides are not going to overlap with mine, as I will give a totally
different view. It's just like saying that advanced networking shouldn't
be covered because we talked about it once. I don't need to say that
advanced networking is a general subject. Also iptables, in this case.
Besides that - Eli's lecture was given in April 2003 (28/4/2003, if to be
exact). That makes it 9 months, not 6 weeks...


 Orna.


-- 

Adir Abraham
Technion's Advisors Group and Public PC Farms Manager
[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
Haifa, Israel
ICQ# 1841481
Cel# +972-53-243438, +972-55-481245
KeyID: 0xD8DC85C7  Fingerprint: 138D 8F41 7A06 44A0  3DBB 9DC3 FE8B 2658



-BEGIN PGP PUBLIC KEY BLOCK-
Version: PGPfreeware 7.0.3 for non-commercial use http://www.pgp.com

mQEPAzLax/sAAAEIAK2bI8utornDYd5LdU+/TABNmqXneiXuLx4j8OKD2GjfS/O8
E6nrX69ot4uU5ryjp5h+7VHBZqCQz+8VC8ly2ANtycejAc82gllVC96fbA+Y6uuN
uI9aXkwNqhphmmQZIVaOZDRAo9//1zX9r41xY+8rKSQuNcp+FPD/A5Itng0xhsfS
KkCV4tT0mGpiydUHFrugk/bouXPYwUHXSnHp/mPdGsjgqipezHPzCWIn3xcJjk2/
tjd5/ym+arWpKW5nvTuvalcMi2DIcEilSrT5NLwgeuh3eqitYOc9WTiMNMvUiVcP
sucJkdxNwjEX9MgD/bLY9wT/13brqxk71tjchccAEQEAAbQnQWRpciBBYnJhaGFt
IDxhZGlyQHZpcGUudGVjaG5pb24uYWMuaWw+iQEVAwUQMtrH+6sZO9bY3IXHAQGb
0gf9FwrJBKaTP0yvf3+vwtB+9ftS0woz1TawJwflC5EoHJs7D/5GzkAaRV82RSkH
P9fSHmM+LUB0huBBK1qtNyXHWIjQTmYwFYC8Oen4q0Fyze7cloSnpD1rVjI0HoCO
UU8bbz0Iseizdjhnl2PTItQ+dkKzLcww1jW5iPXOWd1o8/8s2aebhrpDRO8BfAYg
H29jhmDtuVQDPgFfkN/kP+xpHQplMN5Qh1oP22f+Wyg8sVvSv8P7cM+88u46FHi3
zvHpVnZKIBtKhksnH1PYXtz7FvS7vA+MbpM47kgmQGL5Ygig0pUUbBCGlzmg2Hvd
262YCdVYNwpIjQWBLJI8orea0Q==
=dgNP
-END PGP PUBLIC KEY BLOCK-

--
Haifa Linux Club Mailing List (http://www.haifux.org)
To unsub send an empty message to [EMAIL PROTECTED]




[Haifux] Updated W2L site

2004-01-18 Thread Alon Altman
Hi,
  I updated the W2L site to reflect the fact that the series is over. I also
added an English page with the titles of the lectures for foriegn visitors.
Take a look at http://www.haifux.org/newcomers

(Don't worry, the old site is backed up)

  Alon

-- 
This message was sent by Alon Altman ([EMAIL PROTECTED]) ICQ:1366540
GPG public key at http://alon.wox.org/pubkey.txt
Key fingerprint = A670 6C81 19D3 3773 3627  DE14 B44A 50A3 FE06 7F24
--
 -=[ Random Fortune ]=-
Nothing makes one so vain as being told that one is a sinner.
Conscience makes egotists of us all.
-- Oscar Wilde

--
Haifa Linux Club Mailing List (http://www.haifux.org)
To unsub send an empty message to [EMAIL PROTECTED]