• Website Traffic Statistics for Multiple virtual Hosts

    Tags:

    This article of mine is dedicated towards the log processing for multiple virtual hosts (Name Based Sites). As we know almost every hosting server is having at least one hosting control panel installed on it, to control hosting services. Which will make all the jobs easy for maintaining each site on the server, including the […]

    Read More
  • htaccess Tricks

    Tags:

    htaccess is used for many custom configurations for a web site. This is a plain text file that should be placed in DocumentRoot of your web site to achieve variety of effects. Various directives can be used in this file to different things. Generally htaccess is used for the password protection of the directories on […]

    Read More
  • ARP SPOOFING

    Tags:

    This paper deals with the subject of ARP spoofing. Spoofing basically means to deceive someone.Now in what ways this has been done , gives it a name.For instance IP Spoofing ,ARP spoofing etc.In this article i would be explaining what exactly is ARP(Address Resolution Protocol), ARP Spoofing and how this is done.One more thing, this […]

    Read More
  • TCP SYN DOS Attack

    Tags:

    INTRODUCTION This article discusses a form of Denial of Service Attack—-TCP SYN DOS Attack , a method to conduct denial-of-service attacks by creating TCP “half-open” connections.This method is actively used to attack sites connected to the Internet by leaving no resources for legitimate requests, the resources being the backlog queue(explained later) in this case. There […]

    Read More
  • RPM compilation (step by step)

    Tags:

    (A) Environment: We are here taking the example of freetype, php and memory cache rpm packages: Old specs: freetype-2.2.1-21.el5_3 php-5.2.13-1.virt (and all the packages related of same version) php-xcache-1.3.0-1.virt & php-pecl-memcache-2.2.5-2.virt Updated(expected) Specs: freetype-2.3.12-21.2.virt php-5.2.14-2.virt (and all the packages related of same version) php-xcache-1.3.0-2.virt & php-pecl-memcache-2.2.5-2.virt (B) Procedure & Precautions: 1) The source packages should […]

    Read More
  • PLAYING WITH USER LOGINS…

    Tags:

    Playing with User logins 1) How to stop user:- # skill -STOP -u username 2) How to resume already halted user:- #skill -CONT -u username 3) Kill and Logout all users:- # skill -KILL -v /dev/pts/* 4) To restart the session:- # kill -9 `ps -u username | grep -v TTY, awk ‘{print $1}’`

    Read More
  • KERNEL COMPILATION…

    Tags:

    Kernel Compilation # tar -zxf kernel.tar.gz # cd kernel # make menuconfig (Now enable/disable the modules and save the settings) # make (compile the source file) # make modules (compile modules sourcefile) # make modules_install (install modules and create objects) # make install (install kernel i.e. above objects) # make clean (remove objects and binary […]

    Read More
  • CONFIGURE SIMPLE LDAP SERVER…

    Tags:

    Configure simple LDAP server A) Install openldap servers/client: # yum install openldap* B) Populate a new password for root admin and save hash value somewhere # slappassword New password: admin(say) {SSHA}VjfLWaHxWztchr8w7cE0tJu9s33jr7R5 C) Now make changes in the configurations: # vi /etc/openldap/slapd.conf include /etc/openldap/schema/core.schema include /etc/openldap/schema/cosine.schema include /etc/openldap/schema/inetorgperson.schema include /etc/openldap/schema/openldap.schema include /etc/openldap/schema/nis.schema pidfile /var/run/openldap/slapd.pid argsfile /var/run/openldap/slapd.args […]

    Read More
  • NETWORK DEBUGGING..

    Tags:

    Network debugging…. A) Tcpdump:- is a packet analyzer Note: tcpdump uses || (or), &&(and), !(not) concept i) will show source and destination for 80 port through eth0 10 times: # tcpdump -c 10 port 80 -i eth0 ii) # tcpdump dst 192.168.1.2 or dst 192.168.1.3 or dst 192.168.1.3 and tcp port 80 iii) You can […]

    Read More
  • REPLICATION: MYSQL..

    Tags:

    Replication: Mysql Points: 1) Binary logs records all changes. 2) One dump thread occurs per slave which is started on request from slave. It read event from binary logs and send to slave. 3) I/O thread send dump request(creation) to master and copies events to relay logs. Relay logs is a disk based buffer for […]

    Read More