On Tue, 28 Dec 1999,  Chris Bennett wrote about,  RE: Synflood Attack:
> Richard,
> Thank you for your reply. I am not sure about the Kernel. to Tell you the
> truth I haven't installed the kernel source yet I'm Pretty low on Hard drive
> Space so I haven't had the opportunity. I am Running the Default RH 6.1
> Kernel if that means anything. I already have the kernel source and know to
> configure it I just haven't had time to do it just yet. I have one question
> about compiling the kernel. When I Run uname -a I see [EMAIL PROTECTED]
> Well I want to Change this to [EMAIL PROTECTED] what file would I edit
> to change this? I Have Looked in the Makefile and do not see any options for
> it But then again the only kernel I have ever compiled is the 2.2.13 source
> off of kernel.org.

You can change it, but its not adviseable, the only way i know of is to
edit vmlinuz-2.2.12-20 itself which resides in boot. uname gets its info
from /proc and echoing other text to /proc/version does not seem to work.

> Tonight I will have to find a way to clear up 50 Meg of room or so and
do a > recompile. I think I have like 2 or 3 different kernel sources
archived > anyway so I will go home and do this
> #cd /usr/src

mkdir linux-2.2.13
ln -s linux-2.2.13 linux

> #tar -xzf /home/chrisben/download/linux-2.2.13.tgz
  >>>>>> #ln -sf linux-2.2.13 linux  <<<<<<<<
> #cd linux
> #pico Makefile

Just add -1 to EXTRAVERSIONS

> #make menuconfig
> #make dep clean bzImage modules modules_install
> then move the new kernel to the proper location, pico lilo.conf and then run
> lilo to change the MBR

yes, but call the kernel and System.map the same, example; 
vmlinux-2.2.13-1 and
cp /usr/src/System.map /boot/System.map-2.2.13-1

> 
> I should be okay to delete all the old kernels, kernel source, and
> modules... right? I will obviously keep a spare boot disk handy but Should
> not have any problems. One thing I run into is that there is so much stuff
> compiled into a Standard Kernel that if I try and compile a kernel with
> everything that is in the standard one that the Kernel is too big.

I for one would not remove the old kernel image, keep it just in case the
new kernel wont boot, even floppys can go bad.

> 
> I have a lot to compile into the kernel. I know for a fact that a Kernel in
> FreeBSD can Be Gigantic and that there is not real limitation. is there a
> reason for the small Limit?

The kernel kan be very large inded in linux, aonly then you need to use
bzImage, but you have noted that already.

> 
> Thank you Very Much for the Information. I think that this is something that
> I will have to take not of as Everyone should have compiled in to their
> Kernel! then all it looks like I will need added in to My Firewall script
> would then be:
> 
> echo 1 >/proc/sys/net/ipv4/tcp_syncookies 
> 
> Thank you For the suggestion!
> Regards,
> Chris Bennett
> 

-- 
Regards Richard
[EMAIL PROTECTED]
http://people.zeelandnet.nl/pa3gcu/
Happy New Year.

Reply via email to