18/04/2005

 FreeBSD "FreeBSD-SA-05:04.ifconf" uyarısı  ve sistemin yamanması

Asagida verilen adreslerden gerekli dosyalari indirilerek yamama islemine baslanilir.

FreeBSD 4.x serisi için;

# fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/patches/SA-05:04/ifconf4.patch
# fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/patches/SA-05:04/ifconf4.patch.asc


FreeBSD 5.3 için;

# fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/patches/SA-05:04/ifconf5.patch
# fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/patches/SA-05:04/ifconf5.patch.asc


Yamanın Uygulanması


#cd /usr/src
#patch < /tmp/ifconf5.patch


Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: sys/net/if.c
|===================================================================
|RCS file: /home/ncvs/src/sys/net/if.c,v
|retrieving revision 1.225
|diff -u -p -r1.225 if.c
|--- sys/net/if.c 20 Mar 2005 14:31:45 -0000 1.225
|+++ sys/net/if.c 14 Apr 2005 22:06:17 -0000
--------------------------
Patching file sys/net/if.c using Plan A...
Hunk #1 succeeded at 1520 (offset -76 lines).
done


#cd /usr/src/sys/i386/conf
#config GENERIC

Kernel build directory is ../compile/GENERIC
Don't forget to do a ``make depend''

#cd ../compile/GENERIC/

#make depend

#make install

#reboot

komutu ile sistem başlatılarak yeni çekirdek kullanılabilir.

Kaynak:

[1]ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-05:04.ifconf.asc

                                            Huzeyfe ÖNAL

                                      [email protected]