Skip to content

Instantly share code, notes, and snippets.

View argaios's full-sized avatar

Can Ünlü argaios

View GitHub Profile
@argaios
argaios / Centos 6 Iptables Ayarları.md
Last active August 27, 2015 06:01
Kısaca iptables temek kullanım ayarları

Öncelikli olarak iptables ayarlarını resetleyerek başlıyoruz.

# iptables -F

Basit saldırılar yada port taramaları için servisimize NULL TCP paketlerini drop etmesini sağlayacak ayarları giriyoruz. Bu profesynel bir hacker dan ziyade script-kidies ler için yapılıyoer

#iptables -A INPUT -p tcp --tcp-flags ALL NONE -j DROP

Tcp syn-flood saldırısı için önlimimizi ekliyoruz.

@argaios
argaios / Linux Static IP
Created August 27, 2015 05:51
How to configure Centos 6 Static IP
## Configure eth0
#
# vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
## And run
#
@argaios
argaios / Linux Static IP
Last active August 27, 2015 05:46 — forked from fernandoaleman/Linux Static IP
How To Configure Static IP On CentOS 6
## Configure eth0
#
# vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"
NM_CONTROLLED="yes"
ONBOOT=yes
HWADDR=A4:BA:DB:37:F1:04
TYPE=Ethernet
BOOTPROTO=static