If your PHP installation is secure and you try to include a file using an absolute path or a remote file then you will face this issue. For example … More…
Pada kesempatan kali ini saya akan menulis tentang exploit yang ditemukan pada sistim operasi FreeBSD baru-baru ini. Exploit ini adalah exploit lokal yang jika dijalankan akan mengakibatkan user biasa dapat mendapat akses sebagai root pada sistem.
berikut ini adalah laporan adanya local r00t exploit ini di sebuah archive milis http://seclists.org/fulldisclosure/2009/Nov/371 More…
wawan bahtiar, System Administration
PT. Cakra Lintas Nusantara
sysadmin[at]cakralintas.net.id
Publish © 2005 Wawan Bahtiar a/n PT. Cakra Lintas Nusantara, Amacom Building, Jl. By Pass Ngurah Rai 274 Jimbaran, Bali Indonesia.
Diperbolehkan untuk diperbanyak, disebarluaskan dan atau perubahan pada dokumen ini, asal dengan menyertakan penulis dan konten hak milik. More…
Output Error;
1 2 3 4 5 6 | An older version of textproc/expat2 is already installed (expat-1.95.8_3) You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of textproc/expat2 without deleting it first, set the variable "FORCE_PKG_REGISTER" in your environment or the "make install" command line. |
kemarin dapat masalah seperti diatas ketika mengistal smokeping di freebsd ,
via port’s sih
tapi kok ada pesen seperti diatas , binun juga
eh baca baca lagi ternyata sudah ada requierment yang sudah ada
dan si mesin menyarankan untuk meng unistall dan install lagi ,bete kan
tapi ,dari pada lakuiin hal diatas
lakuiin aja hal seperti ini
1 | # make FORCE_PKG_REGISTER="YES" install clean |
beres deh ,
Source : http://bagustyo.blogspot.com/2009/03/forcepkgregister.html
1 | #pkgdb -F |
Options;
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | -h, --help Show this message -c, --collate=PKGNAME Show files installed by the given packge that have been overwritten by other packages -f, --force Force; Specified with -u, update database regardless of timestamps Specified with -F, fix held packages too -F, --fix Fix the package database interactively -a, --auto Turn on automatic mode when -F is also specified --autofix Shorthand of --auto --fix (-aF) -i, --interactive Turn on interactive mode -L, --fix-lost Check and restore lost dependencies against the ports tree -o, --origin=PKGNAME[=ORIGIN] Look up or change the origin of the given package -O, --omit-check Specified with -F, turn off checks dependencies against the ports tree. Useful if you need a speed-up -Q, --quiet Do not write anything to stdout; Specified twice, stderr neither -q, --noconfig Do not read pkgtools.conf -s, --substitute=/OLD/NEW/ Substitute all the dependencies recorded as OLD with NEW -u, --update Update the package database -v, --verbose Be verbose |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | MASTER_SITE_OVERRIDE=ftp://ftp.itb.ac.id/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/ CPUTYPE?=i386 CFLAGS= -O2 -pipe -fno-strict-aliasing COPTFLAGS= -O2 -pipe -funroll-loops -ffast-math -fno-strict-aliasing CXXFLAGS+= -fconserve-space KERNCONF= SERVER GENERIC OPTIMIZED_CFLAGS= YES WITHOUT_X11= YES BUILD_OPTIMIZED= YES WITH_CPUFLAGS= YES WITHOUT_DEBUG= YES WITH_OPTIMIZED_CFLAGS= YES NO_PROFILE= YES BUILD_STATIC= YES # added by use.perl 2010-02-15 00:11:12 PERL_VERSION=5.10.1 # Without X-Window/GUI. WITHOUT_X11=yes # Use MySQL-5.0.x as default. WANT_MYSQL_VER=50 # Use python-2.6 as default. PYTHON_DEFAULT_VERSION=python2.6 # Use apache-2.2. APACHE_PORT=www/apache22 # Use OpenLDAP 2.4. WANT_OPENLDAP_VER=24 WITH_SASL=yes WANT_BDB_VER=46 LDAP_R_COMPILE=1 |
I think it should be as follows:
1 2 3 4 | portsnap fetch update pkgdb -F portsdb -Uu portupgrade -a |
portupgrade can be done for specific package:
1 | portupgrade package-name |
To see list of all outdate ports
1 | portversion -l '<' |
Terkadang kita dihadapkan dengan beberapa masalah dengan aplikasi yang sudah running dan rasanya sudah berjalan dengan sangat baik, tetapi ketika kita melakukan installasi atau penambahan beberapa module, baru kita menyadari ternyata aplikasi yang kita anggap sudah sangat baik ini masih saja kekurangan dynamic object yang dibutuhkan, dan permasalahan ini muncul diwaktu kita mau tambah module,..hehehe, dianggap benerr kok kelihatannya nggak beres. More…
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | # Firewall IPF="ipfw -q add" ipfw -q -f flush #loopback $IPF 10 allow all from any to any via lo0 $IPF 20 deny all from any to 127.0.0.0/8 $IPF 30 deny all from 127.0.0.0/8 to any $IPF 40 deny tcp from any to any frag # statefull $IPF 50 check-state $IPF 60 allow tcp from any to any established $IPF 70 allow all from any to any out keep-state $IPF 80 allow icmp from any to any $IPF 110 allow tcp from any to any 21 setup keep-state $IPF 120 allow tcp from any to any 20 setup keep-state $IPF 130 allow tcp from any to any 22 in $IPF 140 allow tcp from any to any 22 out $IPF 150 allow tcp from any to any 25 in $IPF 160 allow tcp from any to any 25 out $IPF 170 allow udp from any to any 53 in $IPF 175 allow tcp from any to any 53 in $IPF 180 allow udp from any to any 53 out $IPF 185 allow tcp from any to any 53 out $IPF 200 allow tcp from any to any 80 in $IPF 210 allow tcp from any to any 80 out $IPF 382 allow tcp from any to any 30000-50000 setup keep-state $IPF 400 deny ip from me to table\(1\) $IPF 410 deny ip from table\(1\) to me # deny and log everything $IPF 500 deny log all from any to any |
Sebelum memulai tahap membuat router terlebih dahulu kita membahas pengertian router sebenarnya.
Apa itu router?
Router yaitu suatu perangkat keras jaringan yang menghubungkan dua jaringan yang berbeda dan biasanya dipergunakan sebagai gateway keinternet.
Router terbagi menjadi dua macam : More…