View RSS Feed

Peyman Yousefi

Linux System

  1. Bind DNS Forward & Reverse

    توسط - 2012-07-31 - 05:25 PM (Peyman Yousefi)
    nano /etc/named.conf
    کد:
    include "/etc/rndc.key";
    
    controls { inet 127.0.0.1 port 953 allow { localhost; none; } keys { rndc-key; }; };
    
    acl clients { 192.168.35.0/24; };
    
    options {
            listen-on port 53 { 127.0.0.1; 192.168.35.1; };
            listen-on-v6 port 53 { none; };
            directory       "/var/named";
    
            allow-query     { localhost; clients; none; };
            allow-recursion {
    ...
    دسته ها
    Linux
  2. Bind DNS Forwarding & Caching

    توسط - 2012-07-31 - 05:23 PM (Peyman Yousefi)
    nano /etc/named.conf
    کد:
    controls { inet 127.0.0.1 port 953 allow { localhost; none; } keys { rndc-key; }; };
    
    acl clients { 80.191.222.0/24; 192.168.35.0/24; };
    
    options {
            listen-on port 53 { 127.0.0.1; 192.168.35.1; 80.191.222.1; };
            listen-on-v6 port 53 { none; };
            directory       "/var/named";
            forward only ;
            forwarders { 8.8.4.4; 4.2.2.5; } ;
        
      max-cache-size 2097152
    ...
    دسته ها
    Linux
  3. Snort

    توسط - 2010-12-21 - 03:26 PM (Peyman Yousefi)
    کد:
    Prerequisites:
    
    apache ( with php ), mysql ( Runing )
    ----------
    mkdir -p /usr/ids
    cd /usr/ids
    wget  ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.01.tar.gz
    wget  http://www.sfr-fresh.com/linux/misc/snort-2.9.0.2.tar.bz2
    wget  http://www.mirrorservice.org/sites/download.sourceforge.net/pub/sourceforge/b/project/ba/barnyard/barnyard-0.2/0.2.0/barnyard-0.2.0.tar.gz
    wget   http://www.mirrorservice.org/sites/download.sourceforge.net/pub/sourceforge/s/project/se/secureideas/BASE/base-1.4.3.1/base-1.4.3.1.tar.gz
    ...
    دسته ها
    Linux
  4. Kernel 2.6.36 -- Debian, Ubuntu

    توسط - 2010-12-08 - 02:54 PM (Peyman Yousefi)
    کد:
    cd /usr/src/
    apt-get install kernel-package ncurses-dev fakeroot wget  bzip2
    wget  http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.36.1.tar.bz2
    tar  -jxvf linux-2.6.36.1.tar.bz2
    ln -s linux-2.6.36.1 linux
    cd linux
    make  clean && make mrproper
    cp /boot/config-`uname -r` ./.config
    make  menuconfig
    
      1- Load an Alternate Configuration File
        .config
        ok
    
      2-  Processor type and features
    ...

    Updated 2010-12-11 at 03:47 PM by darklove

    دسته ها
    Linux
  5. Kernel 2.6.36 -- Fedora Core, Redhat, CentOS

    توسط - 2010-12-08 - 02:52 PM (Peyman Yousefi)
    کد:
    cd /usr/src/
    wget  http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.36.1.tar.bz2
    tar  -jxvf linux-2.6.36.1.tar.bz2
    ln -sfn linux-2.6.36.1 linux
    cd  linux
    make mrproper
    cp /boot/config-$(uname -r)  .config
    make  menuconfig
    
      1- Load an Alternate Configuration File
        .config
        ok
    
      2-  Processor type and features
        Processor family (Pentium-Pro) 
          (X)  Pentium-4/Celeron(P4-based)/Pentium-4
    ...
    دسته ها
    Linux
صفحه 1 از 2 1 2 آخرینآخرین