Xen virtualization on CentOS linux

Xen virtualization on CentOS linux

Introduction ~ What is Virtualization? ~ virtualization is technique of  running multiple operating system (OS) on same physical hardware at same time. There are three types of Virtualization technologies 1) Full virtualization – a) Hardware emulation – KQEMU b) Binary translation – VirtualBox c) Classic virtualization – OpenVZ 2) Para-virtualization 3) OS-level virtualization – Linux-VServer …

Read More Read More

What’s new in GRUB-2?

What’s new in GRUB-2?

Introduction ~ GRUB is perfect boot loader for Linux/Unix system! GRUB-2 supports several features that are important for every system admin. * Platform support – GRUB 2 is intended to work across a wider range of architectures. * Partition tables – GRUB-2 supports MBR partitioning scheme and GUID Partition Table (GPT). * RAID and LVM …

Read More Read More

How to install GNOME themes in Ubuntu

How to install GNOME themes in Ubuntu

Introduction – There are many beautiful GNOME desktop themes available for Ubuntu and other linux…. Step 1] Add repository – root@me:~# add-apt-repository ppa:bisigi/ppa *** Add following two lines in “/etc/apt/sources.list” file. root@me:~# vi  /etc/apt/sources.list deb http://ppa.launchpad.net/bisigi/ppa/ubuntu karmic main deb-src http://ppa.launchpad.net/bisigi/ppa/ubuntu karmic main Step 2] Add the gpg key of repository – root@me:~# gpg –keyserver hkp://keyserver.ubuntu.com:11371 …

Read More Read More

How to use socat with haproxy stat

How to use socat with haproxy stat

*** Introduction – All you know about the haproxy, that its the one of the good opensource load balancing software and to check the fun stats of haproxy here we using ‘socat’ – Multipurpose relay (SOcket CAT) * What is socat? Socat  is  a  command  line based utility that establishes two bidirectional byte streams and …

Read More Read More

How to use socat with haproxy stat

How to use socat with haproxy stat

*** Introduction – All you know about the haproxy, that its the one of the good opensource load balancing software and to check the fun stats of haproxy here we using ‘socat’ – Multipurpose relay (SOcket CAT) * What is socat? Socat  is  a  command  line based utility that establishes two bidirectional byte streams and …

Read More Read More

How to use socat with haproxy stat

How to use socat with haproxy stat

*** Introduction – All you know about the haproxy, that its the one of the good opensource load balancing software and to check the fun stats of haproxy here we using ‘socat’ – Multipurpose relay (SOcket CAT) * What is socat? Socat  is  a  command  line based utility that establishes two bidirectional byte streams and …

Read More Read More

How to use socat with haproxy stat

How to use socat with haproxy stat

*** Introduction – All you know about the haproxy, that its the one of the good opensource load balancing software and to check the fun stats of haproxy here we using ‘socat’ – Multipurpose relay (SOcket CAT) * What is socat? Socat  is  a  command  line based utility that establishes two bidirectional byte streams and …

Read More Read More

如何使用系统安全TCP会绕

如何使用系统安全TCP会绕

简介: – 访问控制与TCP封装编译支持服务是通过在/ etc / hosts.allow和/ etc / hosts.deny中的文件。当连接试图的hosts.allow文件检查。如果线路匹配,连接是允许的。然后hosts.deny文件的咨询,如果某行匹配,连接被拒绝。如果没有匹配任何文件有发生,该连接是允许的。 只有建立授权使用横幅 如果配置如下所述,TCP包装将显示一个警告旗帜,任何用户试图连接到一个服务进行监察。下面的命令设置生成目录/ etc /横幅,其中包含的文件为每个服务的警告横幅文本。在这个例子中,横幅文本是“这个系统的使用仅限于授权用户。”请注意,警告字眼的旗帜,是网站的特定,但是,它至少应该强调,该系统的使用仅限于授权的人,并同意通过监督活动在登录到系统的暗示。 [@本地主机根]#/斌/ mkdir磷的/ etc /横幅 [@本地主机根]#/斌/回声“这套系统的使用限制在授权用户”“的/ etc /横额/ 原型 [@本地主机根]#光盘的/ etc /旗帜,/ usr /斌/化妆f / usr/share/doc/tcp_wrappers-7.6/Banners.Makefile 拒绝一切除明确允许的是什么 为了落实安全最佳否认除明确允许的是什么,发出以下命令一切做法的立场。 [@本地主机根]#回声’所有:所有:产卵(/斌/回声娥’/本/日’“\ ñ%荤试图连接到%s 和被剥夺“\ “| /斌/邮件- s”的连接尝试到%s“根)&”> / etc / hosts.deny中 没有任何连接尝试在hosts.allow文件中列出的将被拒绝,一条消息将被记录到syslog权威性设施,和电子邮件将被发送到根。 允许访问那些需要它 编辑hosts.allow文件,并添加为每个哪些应该允许访问服务项目。一些例子如下(见hosts.allow进行了更详细的手册页)。 所有:本地:横幅的/ etc /横幅#所有来自当地的客户服务(主机名没有“。”) sshd的:10.1.1.0/255.255.254.0:横幅的/ etc /横幅#之间的主机的IP地址10.1.1.0和10.1.2.0 SSH连接 谢谢 Manoj•肖汉

How to use TCP Wrappers for system security

How to use TCP Wrappers for system security

Introduction:- Access control to services compiled with TCP wrappers support is implemented by the /etc/hosts.allow and /etc/hosts.deny files. When a connection attempt is made, the hosts.allow file is checked. If a line is matched, the connection is allowed. Then the hosts.deny file is consulted, if a line is matched, the connection is denied. If no …

Read More Read More

Good practices for apache & php

Good practices for apache & php

Introduction – To conclude the discussion about session management, here are some best practices to demonstrate that a robust scheme requires serious thinking: •    Create a session token upon first visit. •    When performing authentication, destroy the old session and create a new one. •    Limit session lifetime to a short period (a few hours). …

Read More Read More