
Linux çekirdeği resmi sitesi: https://www.kernel.org
En son kararlı çekirdek:
5.2.4 2019-07-28
Değişiklik listesi…
Archive | GNU/Linux
Kernel’in 5.1.21 [EOL] kararlı sürümü duyuruldu

Linux çekirdeği resmi sitesi: https://www.kernel.org
En son kararlı çekirdek:
5.1.21 [EOL] 2019-07-28
Değişiklik listesi…
Kernel’in 4.19.62 uzun süreli destek sürümü duyuruldu

Linux çekirdeği resmi sitesi: https://www.kernel.org
Uzun süreli destek sürümü:
4.19.62 2019-07-28
Değişiklik listesi…
ArchBang 2707-beta çıktı
Arch Linux tabanlı ve Openbox pencere yöneticisi kullanan hafif bir dağıtım olan ArchBang Linux’un 2707-beta sürümü çıktı. Hızlı bir güncellemeyle syslinux’un düzeltildiği belirtilirken, sistemin 5.2.3 Linux çekirdeği üzerine yapılandırıldığı ifade ediliyor. Şimdi kurulum sırasında syslinux’un mikro kod yüklediği söylenirken, Arch wikinin kullanıcının arkadaşı olduğunun unutulmaması isteniyor. Paketlerin güncellendiği ve kayıp dosyaları kurtarmayı denemek isteyenler için Testdisk paketinin iso’ya eklendiği belirtiliyor. Bunun bir test sürümü olduğunun unutulmaması ve yalnızca test etmek amacıyla kullanılması gerektiği hatırlatılırken, test eden kullanıcıların tespit ettikleri hataları rapor etmeleri rica ediliyor. ArchBang 2707-beta hakkında bilgi edinmek için sürüm duyurusunu inceleyebilirsiniz.
ArchBang 2707-beta edinmek için aşağıdaki linkten yararlanalabilirsiniz.
Protect Forms using Honeypot Laravel Spam Protection Technique
Laravel framework has a powerful protection from CSRF, XSS, and SQL injection, but there is no built-in Laravel spam protection. If you need to protect your form from spam bots, you can use something like Akismet or reCaptcha which provide strong spam protection. OK, but your users maybe don’t like it because of the nag images that may appear from time to time or solving those puzzles to submit the form. For me, I find that the honeypot technique much better in many cases, where there is a hidden field in the form and when submitting that field, a validation rule will validate this field if it’s zero length or not and if the field value length is not zero, that means there is a bot trying to submit the form. Well, let’s get our hands dirty.
Laravel Spam Protection
In routes.php, the routes look like this:
Route::get('register', function()
{
return view('app');
});
Route::post('register','HomeController@store');
And in the views folder, your registration form or any kind of form will be like this:
{!! Form::open() !!}
{!! Form::label('email', 'Email') !!}
{!! Form::text('email', Input::old('email')) !!}
{!! Form::label('password', 'Password') !!}
{!! Form::password('password') !!}
{!! Form::text('honey_pot', '', array('style' =>'display:none')) !!}
{!! Form::submit('Register') !!}
{!! Form::close() !!}
In the controller file, you should write your validation rules like this:
public function store()
{
Validator::extend('honey_pot', function ($attribute, $value, $parameters) {
return $value == '';
});
$rules = array(
'email' => 'required|email',
'password' => 'required',
'honey_pot' => 'honey_pot'
);
$messages = array('honey_pot' => 'Nothing Here');
$validation = Validator::make(Input::all(), $rules, $messages);
if ($validation->fails()) {
return Redirect::to('register')->withErrors($validation)->withInput();
} else {
return "Awesome!!";
}
}
Don’t forget to add the use statements at the top of the controller file:
use Validator;
use Input;
In the above validation, we’ve created a new validator called honey_pot that checks for the field honey_pot and if the field is not empty, the rule will return false.
Now if any spambot tries to fill the form, it will fall in the honeypot field which should be zero length.
Creating a Middleware
You can apply this laravel spam protection technique for all Laravel forms, you can make a middleware to check for POST request if the honey_pot field is zero length or no.
First, create the middleware:
php artisan make:middleware HoneyBot
Then check for the honey_pot field in the middleware like this:
public function handle($request, Closure $next)
{
if($request->isMethod('POST') && count($request->honey_pot) != 0 ){
return redirect('register');
}
return $next($request);
}
And don’t forget to apply your middleware, you can apply it globally to all request by adding the middleware to the middleware array in app/HTTP/kernel.php file.
\App\Http\Middleware\HoneyBot::class
Now you can remove the validation rules from the form and rely on the middleware Great!!
Another Solution
Some spam bots may be clever enough to detect those hidden fields and never touch it, so what is the solution for this?
Well, you can add another hidden field that carries the time of the form submission and when the user or the bot submits the form, you can check the time difference between the render time and the submissions time, if it’s less than three seconds or so, that means the submission comes from a spam bot.
There are ready to use packages for this purpose, but as you can see, the solution is in one simple line.
Again, I’m not saying that Google reCaptcha is not a good option, it’s actually an awesome option. If you have the chance to use it, don’t hesitate.
I hope you find the post useful. Keep coming back.
Thank you.

Ubuntu 19.10’un geliştirimi GNOME güncellemeleri, ZFS, optimizasyonlarla sürdürülüyor
17 Ekim 2019’da çıkarılması beklenen Ubuntu 19.10; GNOME güncellemeleri, ZFS, iyileştirmelerle geliştirilmeye devam ediliyor. 22 Ağustos’ta dondurulma sürecine girecek olan sürüm, Eylül ayında bir beta sürümle test edilmeye devam edilecek. Bu süreç sona erdikten sonra, Ubuntu 20.04 LTS için çalışmayı sürdürecek olan Canonical geliştiricileri ve Ubuntu topluluğu için bu yaz oldukça sıcak geçecek. Hatırlanacağı gibi, Ubuntu 19.10 ve 20.04 LTS için 32-bit i386 desteğini kesme kararı aldığını açıklayan Canonical; Ubuntu Studio ve WINE topluluğundan gelen çok büyük geri bildirimler ve Valve’in Steam uygulamasının Ubuntu desteğini sonlandırma planları konusunda bir açıklamada bulunması üzerine, 32-bit i386 desteğini kesme kararından vazgeçtiğini duyurmuştu. “Eoan Ermine” kod adlı Ubuntu 19.10 sürüm takvimini burada bulabilirsiniz.
Geliştiricilerin şu anda Ubuntu 19.10’da ne için çalıştıklarını merak edenler için Canonical tarafından halka açık biçimde Trello panosu üzerinden yayın yapılıyor. GNOME 3.34’e sorunsuz bir geçiş için hazırlıkların sürdürüldüğü belirtilirken, ZFS’nin yeni Zsys daemon ile Linux’a entegrasyonu, Ubiquity yükleyiciye ZFS dosya sistemi seçeneğinin eklenmesi meşgul olunan diğer işlerden. Ubuntu masaüstünde NVIDIA grafiklerini çalıştırma deneyimi de geliştiriliyor. En son Chrome/Chromium, Firefox ve Thunderbird sürümleri de gönderiliyor. Gelişmeleri omgubuntu.co.uk üzerinden takip edebilirsiniz.
Kernel’in 5.2.3 kararlı sürümü duyuruldu

Linux çekirdeği resmi sitesi: https://www.kernel.org
En son kararlı çekirdek:
5.2.3 2019-07-26
Değişiklik listesi…
