[Haifux] slides for monday's 'kernel, modules, drivers' lecture

2004-01-17 Thread guy keren

the slides are temporarily available at:

http://users.actcom.co.il/~choo/kernel-modules-drivers/

These slides do NOT cover kernel compilation procedures - these will be
covered by a seperate lecture, in 2 weeks from now.

the current lecture deals with the notions and basic ideas one needs in
order to be prepared for the grand kernel compilation task ;)

the downloadable tar.gz file is at

http://users.actcom.co.il/~choo/kernel-modules-drivers.tar.gz

hopefully, someone would install it on haifux's web site soon.
(by the way, if it's more convinient that i e-mail the tar.z file to
 someone, please let me know, for the next time to come.)

thanks,
-- 
guy

"For world domination - press 1,
 or dial 0, and please hold, for the creator." -- nob o. dy

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




Re: [Haifux] upcoming kernel talk

2004-01-17 Thread guy keren

On Sat, 17 Jan 2004, Muli Ben-Yehuda wrote:

> Howdy, folks,
>
> I'll be giving a talk on the Linux kernel in the February 9th
> meeting (Ron and me switched). The question is, which would you rather
> hear at that time?
>
> - What's new in Linux Kernel 2.6 (loosely based on
> http://www.mulix.org/lectures/kernel_two_five/kernel_two_five.pdf), or
> - Introduction to writing Linux device drivers

device drivers in _which_ kernel, exactly? 2.4 or 2.6? is there a
difference, at all, in the basic API?

i prefer the kernel 2.6 overview, actually.

-- 
guy

"For world domination - press 1,
 or dial 0, and please hold, for the creator." -- nob o. dy

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




Re: [Haifux] upcoming kernel talk

2004-01-17 Thread Muli Ben-Yehuda
On Sat, Jan 17, 2004 at 09:14:13PM +0200, guy keren wrote:
> 
> On Sat, 17 Jan 2004, Muli Ben-Yehuda wrote:
> 
> > Howdy, folks,
> >
> > I'll be giving a talk on the Linux kernel in the February 9th
> > meeting (Ron and me switched). The question is, which would you rather
> > hear at that time?
> >
> > - What's new in Linux Kernel 2.6 (loosely based on
> > http://www.mulix.org/lectures/kernel_two_five/kernel_two_five.pdf), or
> > - Introduction to writing Linux device drivers
> 
> device drivers in _which_ kernel, exactly? 2.4 or 2.6? is there a
> difference, at all, in the basic API?

2.6. I don't play with 2.4 anymore if I have a choice. 

Yes, there are quite a lot of differences, but they are spread over a
lot of functionality, so you are unlikely to meet all of them in a
given driver. See lwn.net's driver porting series
(http://lwn.net/Articles/driver-porting/) for details. My talk is more
of an introduction to the basic concepts of writing "software" device
drives for Linux, and thus while the code is based on 2.6, it should
be fairly easily portable to 2.4. 

> i prefer the kernel 2.6 overview, actually.

Noted. I think that's 2 for Drivers, 1 for kernel 2.6 so far. I don't
mind either way. 

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


Re: [Haifux] slides for monday's 'kernel, modules, drivers' lecture

2004-01-17 Thread Orr Dunkelman
Slides can be also d/led from http://www.haifux.org/lectures/084-sil2/

On
Sat, 17 Jan 2004, guy keren wrote:

>
> the slides are temporarily available at:
>
> http://users.actcom.co.il/~choo/kernel-modules-drivers/
>
> These slides do NOT cover kernel compilation procedures - these will be
> covered by a seperate lecture, in 2 weeks from now.
>
> the current lecture deals with the notions and basic ideas one needs in
> order to be prepared for the grand kernel compilation task ;)
>
> the downloadable tar.gz file is at
>
> http://users.actcom.co.il/~choo/kernel-modules-drivers.tar.gz
>
> hopefully, someone would install it on haifux's web site soon.
> (by the way, if it's more convinient that i e-mail the tar.z file to
>  someone, please let me know, for the next time to come.)
>
> thanks,
>

-- 
Orr Dunkelman,
[EMAIL PROTECTED]

"Any human thing supposed to be complete, must for that reason infallibly
be faulty" -- Herman Melville, Moby Dick.

Spammers: http://vipe.technion.ac.il/~orrd/spam.html

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




Re: [Haifux] slides for monday's 'kernel, modules, drivers' lecture

2004-01-17 Thread Orna Agmon
On Sat, 17 Jan 2004, guy keren wrote:
>
> hopefully, someone would install it on haifux's web site soon.
> (by the way, if it's more convinient that i e-mail the tar.z file to
>  someone, please let me know, for the next time to come.)
>

guy, and every other propect lecturer:
supplying a URL from which the whole slides show can be downloaded is a
great way to transfer them.

Thanks to wget!

Orna.

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




Re: [Haifux] slides for monday's 'kernel, modules, drivers' lecture

2004-01-17 Thread Muli Ben-Yehuda
On Sat, Jan 17, 2004 at 09:10:46PM +0200, guy keren wrote:
> 
> the slides are temporarily available at:
> 
> http://users.actcom.co.il/~choo/kernel-modules-drivers/

slide 1 

- the capitalization of Kernel, Driver and Hardware is a bit
jarring. Same thing for all other slides. 

slide 2

- the kernel can be compiled entirely monolithic (no modules)

slide 8

- mention what 'c' and 'b' stand for

- explain why we have major and minors?

slide 10

- mention that for the user, the distrinction between character and
block devices is irrelevant? it's only the driver that cares
(different kernel APIs)

slide 11

- 2.6 disables module unloading (by default?) 

slide 13

- mention /lib/modules/`uname -r`/build?

slide 16

- mention that module options can also be passed on the
insmod/modprobe command line?

- mention how to find which modules options a driver supports?
(modinfo, source)

Overall, excellent talk! see you on Monday. 

Cheers, 
Mul i
-- 
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] A suggestion for a lecture - How to protect your network, using IPtables.

2004-01-17 Thread Adir Abraham
Hi all,

I wish to give a lecture regarding IPtables(netfilter, if to be exact).
Since until now, there were only two specific lectures regarding IPtables
(mainly about NAT), I wish to give a lecture for a wider audience - the
concepts of IPtables, how to use it (properly), some examples, and alike. I
also wish to show some ways to protect your home/office network using IPtables,
against attacks such as denial of service, some floods, etc. I will also
talk about building internet firewalls based on stateless and stateful
packet filtering, if there's enough time left.

If the lecture (while I plan it), becomes larger than what I expect, I
might wish to split it to two lectures. The first lecture will deal with
working with IPtables, and many examples, and the 2nd one will talk more
about the common attacks and the ways to use IPtables in order to protect
against them, in addition to building a firewall for the specific problem.

Let me know if you wish to hear such a lecture, and if you do - would you
prefer one lecture (that won't get too deep into the subject, but will
show concepts and examples), or two lectures, as mentioned above.

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 

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]