How do i patch 2.4.21-37 kernel with antidote2 security patch
I have a problem here. I have downloaded a kernel patch called antidote2 which provides a defence against arp spoofing. I tried to patch it to 2.4.21-37 Kernel and it does not succeed. Anybody has any idea of where to find a patch that can be applied to the above kernel ?
I have downloaded a kernel patch called antidote2
Please be verbose. From where? We're low on ESP.
I tried to patch it to 2.4.21-37 Kernel and it does not succeed.
Same. What's the actual and exact message?
Anybody has any idea of where to find a patch that can be applied to the above kernel ?
AFAIK Antidote2 for kernel 2.4 was updated to 2.4.26. If your 2.4.21-37 is a RHEL-patched kernel with all the fixes backported then you will probably need to "patch" with more --fuzz and manually fill in the rejects. If your 2.4.21-37 is a stock one you should go for 2.4.33-n. The patch job would be similar.
BTW, this thread is not about Linux security but about patching.
Hence this thread will be moved to Linux - Kernel.
The link for antidote patch is :
I had a doubt. Say i have a kernel (2.4.21-37) running right now in my machine.
I go to /usr/src directory and unpack the antidote.diff.gz to get /usr/src/antidote.diff
Then i go to /usr/src and patch it using "patch -p0 < antidote.diff"
Then i go to /usr/src/linux-2.4.21-37 directory and do a make mrproper
Then i copy /boot/config-xxx to /usr/src/linux-2.4.21-37/.config
Then i go to /usr/src/linux-2.4.21-37 and type "make dep"
Then i do a "make bzImage"
I copy arch/i386/boot/bzImage thus formed after the previous command and reboot.
Is this the end of it or should i do something more ?
Also, what exactly does make dep do ?
Sorry for some silly questions, and Thanks in advance
What you want, what you really, really want is to read "compiling The Linux Kernel HOWTO". If you properly compiled and installed the kernel there is nothing left to do AFAIK: the patch doesn't provide sysctl knobs to tweak or stuff to do.
Thanks for that document
Thanks for the doc. I will go through that too. In the meantime, if you find any patch that works on 2.4.21-37, please reply
|All times are GMT -5. The time now is 08:05 AM.|