eth stim and capture

2004-03-09 Thread Erez Doron
hi i am trying to use linux as a network stimulator and analyzer. i need to capture all the packets , even which are short, long or with crc errors. and i need to send the same kind of packets. any idea if linux supports that ? and which nics support it ? cheers, erez.

Re: eth stim and capture

2004-03-09 Thread Official Flamer/Cabal NON-Leader
Quoth Erez Doron: i need to capture all the packets , even which are short, long or with crc errors. and i need to send the same kind of packets. First, RTFM. Second, yes. You will need to operate in raw mode, hadcrafting injected frames. As for snarfing bad frames - you will need to hack

Re: GUI for MySQL

2004-03-09 Thread Oded Arbel
09 2004, 13:42,Christoph Bugel: Yehuda Zadik wrote: Hi all Can you recommend me a good GUI for MySQL ? Maybe you can also check out the option of java GUIs. They are cross platorm and cross-database (using jdbc) I used 'ISQL Viewer' for some time, Now I sometimes use the

kernel compilation

2004-03-09 Thread David Sapir
Hi, I have a Linux RH9, and I want to compile the kernel to add support for encrypted file system (using the loop device). My question is: How can I set all the parameters compiled in my current kernel version (2.4.20-8) which came with the distribution? (This way I will only change the

Re: kernel compilation

2004-03-09 Thread Gilad Ben-Yossef
On Tuesday 09 March 2004 14:41, David Sapir wrote: I have a Linux RH9, and I want to compile the kernel to add support for encrypted file system (using the loop device). My question is: How can I set all the parameters compiled in my current kernel version (2.4.20-8) which came with the

Re: double RPMs

2004-03-09 Thread Shlomi Fish
On Mon, 8 Mar 2004, Lior Kesos wrote: Shlomo Solomon wrote: Below is part of the command: rpm -q -a |sort As you can see there are several RPMs which **seem** to be installed twice (2 different versions). I tried rpm -rebuilddb but that didn't help. Obviously the packages are not really

Kernel .config differences? (was: Re: kernel compilation)

2004-03-09 Thread Omer Zak
Are there still 2241 changes even after you use the options -iEbB, and ignore changes in comment lines and trailing comments? Yedidyah Bar-David wrote: Hi all, I want to point out a question, and might even get an answer. Even if not, whoever regularly compile their own kernels and try

Re: kernel compilation

2004-03-09 Thread Shachar Shemesh
Gilad Ben-Yossef wrote: Install the RedHat kernel source RPM (no, not SRPM, there's an RPM of the kernel sources), then go to /usr/src/linux-version/configs and you'll find the configuration files used to compile the RedHat supplied kernel. There are several config files suitable for SMP/UP,

Re: kernel compilation

2004-03-09 Thread David Sapir
Hi Gilad, Thanks for your answer. I found the config files you mentioned. I will try to just enable encryption compilation. I would also like to state that it is the first time I'm trying to compile the kernel, so forgive me if my questions seem stupid or obvious. Q1: How do I know which of the

Re: kernel compilation

2004-03-09 Thread guy keren
On Tue, 9 Mar 2004, David Sapir wrote: Thanks for your answer. I found the config files you mentioned. I will try to just enable encryption compilation. I would also like to state that it is the first time I'm trying to compile the kernel, so forgive me if my questions seem stupid or

Re: kernel compilation

2004-03-09 Thread David Sapir
Guy, Not only I looked at your slides (I keep them as reference), but I attended your lecture (which I enjoyed very much). This gave me the push to take the encryption assignment and to try compiling the kernel myself. I know compiling the kernet is very easy *if you have done it before*. As I

Re: kernel compilation

2004-03-09 Thread Muli Ben-Yehuda
On Tue, Mar 09, 2004 at 04:34:53PM +0200, David Sapir wrote: How do I know which of the config files were used to compile my kernel (the original distro kernel)? Usually, there's correspondence between the kernel version of the running kernel (try 'uname -a' to see it) and the config file's

Re: kernel compilation

2004-03-09 Thread Oron Peled
On Tuesday 09 March 2004 16:34, David Sapir wrote: Guy, Q1: How do I know which of the config files were used to compile my kernel (the original distro kernel)? SMP - if you have more than one CPU i386/i686/athlon - depends on your CPU type (cat /proc/cpuinfo if you don't know) bigmem - if

Re: setting sendmail.cf to send messages to myself

2004-03-09 Thread David Harel
Summary, I did as Tzafrir Cohen suggested and installed postfix from: ftp://ftp.tau.ac.il/pub/unix/mail/postfix/index.html. It seems to me that this installation demolished everything regarding sendmail. Note: The installation procedure crashed at first and I was required to setup a user

Re: kernel compilation

2004-03-09 Thread Gilad Ben-Yossef
On Tuesday 09 March 2004 15:31, Shachar Shemesh wrote: Gilad Ben-Yossef wrote: Install the RedHat kernel source RPM (no, not SRPM, there's an RPM of the kernel sources), then go to /usr/src/linux-version/configs and you'll find the configuration files used to compile the RedHat supplied

Re: kernel compilation

2004-03-09 Thread Muli Ben-Yehuda
On Tue, Mar 09, 2004 at 07:08:39PM +0200, Gilad Ben-Yossef wrote: No, it's a /usr/src/linux-version that contain a Redhat patched version of the kernel. Usefull if you want to debug the kernel, build some (mostly badly written) modules that require kernel sources to build etc. Hmpf, pet

Re: kernel compilation

2004-03-09 Thread Shachar Shemesh
Muli Ben-Yehuda wrote: On Tue, Mar 09, 2004 at 07:08:39PM +0200, Gilad Ben-Yossef wrote: No, it's a /usr/src/linux-version that contain a Redhat patched version of the kernel. Usefull if you want to debug the kernel, build some (mostly badly written) modules that require kernel sources to

Re: kernel compilation

2004-03-09 Thread Tzafrir Cohen
On Tue, Mar 09, 2004 at 03:37:18PM +0200, David Sapir wrote: Hi Gilad, Thanks for your answer. I found the config files you mentioned. I will try to just enable encryption compilation. I would also like to state that it is the first time I'm trying to compile the kernel, so forgive me if

Re: kernel compilation

2004-03-09 Thread Muli Ben-Yehuda
On Tue, Mar 09, 2004 at 07:37:34PM +0200, Shachar Shemesh wrote: I think you misunderstood Gilad (though you may have not, in which case I misunderstood you) (it is also I misunderstood Gilad, so please, anyone, answer with what you meant). Look, it's all just one big misunderstanding.

Re: kernel compilation

2004-03-09 Thread Muli Ben-Yehuda
On Tue, Mar 09, 2004 at 07:46:50PM +0200, Tzafrir Cohen wrote: If your encrypted FS is the root FS then you'll need it built-in. Either built-in or you need to build an initrd, which if you're using the RH config, you need anyway, since IDE and SCSI are both modular by default. Cheers, Muli

Re: kernel compilation

2004-03-09 Thread Yedidyah Bar-David
Hi all, I want to point out a question, and might even get an answer. Even if not, whoever regularly compile their own kernels and try different configs, pay attention. I noticed this a few days ago, on Fedora Core 1. Since I currently do not have access to such a machine, I did not try it on

Re: kernel compilation

2004-03-09 Thread Shachar Shemesh
Yedidyah Bar-David wrote: I copied configs/kernel-2.4.22-i686.config to .config, ran 'make menuconfig', immediately selected exit, yes for save. diff between the original conf and the new .config is 2241 lines. Bad enough, you say? Well, now I ran again menuconfig, now entered the first submenu

Re: Kernel .config differences? (was: Re: kernel compilation)

2004-03-09 Thread Yedidyah Bar-David
On Tue, Mar 09, 2004 at 11:07:33PM +0200, Omer Zak wrote: Are there still 2241 changes even after you use the options -iEbB, and ignore changes in comment lines and trailing comments? My diff doesn't know about 'E'. % diff -ibB configs/kernel-2.4.22-i686.config .config | grep -v '#' | grep

Re: kernel compilation

2004-03-09 Thread Yedidyah Bar-David
On Tue, Mar 09, 2004 at 11:14:31PM +0200, Shachar Shemesh wrote: Yedidyah Bar-David wrote: I copied configs/kernel-2.4.22-i686.config to .config, ran 'make menuconfig', immediately selected exit, yes for save. diff between the original conf and the new .config is 2241 lines. Bad enough, you