Posts

Showing posts from 2010

iptables ubuntu

https://help.ubuntu.com/community/IptablesHowTo Basic iptables howto Iptables is a firewall, installed by default on all official Ubuntu distributions (Ubuntu, Kubuntu, Xubuntu). When you install Ubuntu, iptables is there, but it allows all traffic by default. Ubuntu 8.04 Comes with ufw - a program for managing the iptables firewall easily. There is a wealth of information available about iptables, but much of it is fairly complex, and if you want to do a few basic things, this How To is for you. Basic Commands Typing # iptables -L lists your current rules in iptables. If you have just set up your server, you will have no rules, and you should see Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination Basic Iptables Options Here are explanations for some of the ipt

Client denied by server configuration error

Client denied by server configuration error in Apache. Wed, 01/23/2008 - 00:33 — artur Just in case if somebody else has a similar problem and can't get the Apache server working as expected. I have tried to setup proxy_mod under apache to forward HTTP traffic from AJAX Jabber client to the Bosh component running on Tigase server. It was working fine for a long time on my Gentoo server. I have recently wanted to run more tests on a separate machine and had this problem. It was a system based on the Debian distribution and the proxy_mod didn't want to work at all displaying the error message in a log file: [error] [client ::1] client denied by server configuration: proxy:http://127.0.0.1:5280/xmpp/ , referer: http://localhost/F5A379CEC35AEBCC5FFA11BA8A33CD02.cache.html All you need to do is to modify proxy.conf file for your Apache2 installation and setup proper permissions. By default the proxy is disabled for all. In my case I had to enable it just f

grep command

article from  http://www.esmerel.com/wagons/rob/grep.html   Grep in everyday life Using GREP for regular expression searching Introduction GREP (General Regular Expression Program) is a search tool for finding strings in text files. I frequently use it for finding specific pieces of code in the source files. This section of the document describes some of the ways I use GREP, and some of the helpful options and types of regular expressions which make GREP more than just a string finder. One thing to keep in mind is that GREP is case sensitive. If you want to pass multiple options to GREP, it expects that you will concatenate the options and use only one - . The order of the options does not matter, but the options must be specified before the regular expression. Searching through all your source files (*.?) Since a typical project uses only two types of source files, C (.C) and header (.H), you can tell GREP to search your entire set of source files by using *.?

irssi and screen linux

http://quadpoint.org/articles/irssi using irssi and sscreen command

facebook command line

This is my online notebook below is not my howto i just copied it.   This article is from  http://pthree.org/2010/02/13/facebook-chat-in-bitlbee/   { 2010 02 13 } Facebook Chat In Bitlbee It’s no surprise that Bitlbee is my chat client of choice. After all, I’ve blogged about it before. So, when I heard rumors that Facebook would be releasing their chat to outside clients over XMPP, I was excited to see the day when I could add it to my running Bitlbee instance. Lo and behold, that day has come . Adding your Facebook account to Bitlbee is rather painless, as it is with any other account. The only catch, is you have to have a Facebook username set before you can continue. Once that is set, in Bitlbee, from your “&btilbee” status window, you can add the account: account add jabber @chat.facebook.com save account on That’s it! You should be up and running with a new XMPP connection to the Facebook chat. However, rather quickly, you’ll notice that the usernames in your

How to sync data between 2 servers automatically

FROM http://www.howtomonster.com/2007/08/08/how-to-sync-data-between-2-servers-automatically/ How to sync data between 2 servers automatically Have you ever wanted to know how to easily synchronize the data between multiple servers automatically? In this article I’ll explain how to setup 2 Linux servers to automatically synchronize data between a specific directory on each server. To do this we will use rsync, ssh key authentication, and a cron job. Let’s call the 2 servers ‘SOURCESERVER’ and ‘DESTSERVER’ for SOURCESERVER = Source server (the server we’re connecting from to upload the data) DESTSERVER = Destination server (the server we’re connecting to receive the data) Part 1 - Setting up SSH key authentication First, we need to make sure the DESTSERVER has the ability to use key authentication enabled. Find your sshd configuration file (usually ‘/etc/ssh/sshd_config’) and enable the following options if they are not already set. RSAAuthentication yes PubkeyAuthent

apache hide version and php hide version linux

From  http://www.debianadmin.com/apache-tipshide-apache-information-php-software-version.html Apache Tips:Hide Apache Information & PHP software version Posted by Admin on March 1st, 2007 By default, Apache will send version and modules information (e.g., mod_php, mod_perl, mod_ssl) in every HTTP header. If you want to view Apache web server version and sofware of a remove server you follow this procedure telnet www.example.com 80 Trying www.example.com.com… Connected to www.example.com. Escape character is ‘^]’. HEAD / HTTP/1.0 <- after this press 2 times ENTER HTTP/1.1 200 OK Date: Fri, 09 Jan 2007 18:18:26 GMT Server: Apache/2.0.55 (Debian) PHP/5.1.2-1+b1 mod_ssl/2.0.55 OpenSSL/0.9.8b Connection: close Content-Type: text/html; charset=UTF-8 Connection closed by foreign host. In the above example it is showing all the details about your web server and php this is not recommended for security reasons.We need to hide this information with the following p

tcpserver: fatal: unable to bind: address already used

A problem arised one day, I cannot see my smtp server! Checked on the error of qmail and checked the net for a fix  Problem tcpserver: fatal: unable to bind: address already used tcpserver: fatal: unable to bind: address already used another process is using port 25  netstat -anp |grep LIST  service exim stop then used this command so that it wont run again mv /usr/sbin/exim /usr/sbin/exim.old

CentOS, Postfix, Dovecot, Spamassassin, Postfixadmin, and Squirrelmail

 This is not my howto this is by karlkatzke all credits to him CentOS, Postfix, Dovecot, Spamassassin, Postfixadmin, and Squirrelmail by karlkatzke on May 27th, 2008 What a mouthful. Like most other americans who live on a budget, I’m taking a “staycation” this weekend. What better thing to do than to get my mail server migrated to my new VPS? Well, first, I suppose, I should get the mail server all working on the new VPS… In CentOS, the default Postfix package doesn’t have MySQL support built in. If you’ve got the priorities plugin installed, you’re either going to need to disable it or otherwise work around it so that you get the one from the centosplus repo. Other than that, it’s been made about as easy as it can be… just keep in mind as you’re reading this tutorial that I really loathe administering mail servers and consider it to be a quite onerous chore that’s been made even more onerous by spammers and hackers and script kiddies and what have you. You’ll need to inst

Frozen in time

Image

The Great Escape

VirtualBox Headless Configuration on Ubuntu | Virtualbox for server lucid

Image
Step 1. Install your Linux os (used ubuntu) a. use a lightweight desktop manager if you have only 1 pc (fluxbox) Step 2. Download VirtualBox package at VirtualBox.org a. use your appropriate distribution (on me is dpkg) Step 3. Install VirtualBox ( install your guest os i named my guest xp) Step 4. Install rdesktop   (I have compiled the source since I think its not available on ubuntu repository. make sure you have compiler. Extract the package and $   ./configure $    make (It will show errors if you don't have compilers installed like gcc etc. just download it using apt-get on ubuntu, yum on fedora etc) Step 5. Run VirtaulBox at console VBoxHeadless --startvm XP --vrdp on --vrdpaddress 192.168.1.102 --width 512 Step 6. Run rdesktop 192.168.1.102 Full working Headless VirtualBox * SO HOW CA YOU LEAVE THE SERVER (GUEST OS RUNNING IN BACKGROUND? USE SCREEN! SCREEN(1)                                                           SCREEN(1) NAME        screen

Red Hat Drops Xen!

With Wednesday's beta release of its flagship operating system, Red Hat Enterprise Linux (RHEL), Red Hat has added a number of new capabilities that should help data centers better support virtualization and cloud computing. RHEL 6.0 will also have at least one less feature as well. This will be the first version of the OS not to include the Xen hypervisor. Instead the company plans to focus its virtualization efforts around the kernel-based Virtual Machine (KVM), said Tim Burke, Red Hat vice president of platform engineering   Nore of this here

Nginx Load Balancing | Reverse Proxy Nginx | SSL Nginx

Used The howto of nixcraft.in.conf that can be found on google baby First File   GNU nano 2.0.9                                          File: nginx.conf.bak                                                                                          #pid        /var/run/nginx.pid; pid               logs/nginx.pid; user              nginx nginx; worker_processes  10; events {     worker_connections  1024; } http {   default_type       application/octet-stream;  ## Common options ##  include options.conf;  ## Proxy settings ##  include proxy.conf;  ## lb domains ##  include nixcraft.in.conf;  include loadtest.conf; Second File  nixcraft.in.conf ## Connect to backend servers via LAN ## ## Reverse Proxy Load Balancer Logic ## upstream nixcraft  {       server publicip weight=10 max_fails=3 fail_timeout=30s;       server publicip weight=10 max_fails=3 fail_timeout=30s;       server publicip:443 weight=10 max_fails=3 fail_timeout=30s;       server p

Haproxy | HAProxy | Web load Balancing

#--------------------------------------------------------------------- # Example configuration for a possible web application.  See the # full configuration options online. # #   http://haproxy.1wt.eu/download/1.3/doc/configuration.txt # #--------------------------------------------------------------------- #--------------------------------------------------------------------- # Global settings #--------------------------------------------------------------------- global     log         127.0.0.1 local2     chroot      /var/lib/haproxy     pidfile     /var/run/haproxy.pid     maxconn     4000     user        haproxy     group       haproxy     daemon #--------------------------------------------------------------------- # common defaults that all the 'listen' and 'backend' sections will # use if not designated in their block #--------------------------------------------------------------------- #-------------------------------------------------

Consolidated Server

Image
Proposed Virtualized Server Farm

nginx as load balancing rather than squid

I have tried and tested nginx load balancing but haven't used its secure port. if anyone has a working configuration to load balance 2 secure server please kindly post it here. Will post my configuration here later thanks!

papanu mag hack nangaccount

papanumag hack nang account? kailangan mo matuto mag isip kung papanu mag isip yung hahackin mo, pagaralan lahat nang ginagawa nya, mga keyword na ginagamit nya. hindi biro ang mang hack at ang mga nakukuha nyo na mga program dyan sa tabitabi ay hindi totoo. siguro kung meron ka nyan na na download mo ay malamang ikaw na ang na hack sa kadahilanang ang program na ginagamit mo ay may backdoor. kailangan mo matuto nang programming, pag check nang server at papanu gumagana kung gusto mong mang hack. Anu ang mapapala mo? kikita ka ba? makukulong? kung gusto mo mang hack simulan mo sa pc mo.

hack facebook

Seriously why do you want to hack facebook? Hack facebook account? you won't find it here!

Mass Mailing with interspire

I have tested and worked using interspire and I can say that it works like a charm. Be careful not to end up sending mails on spam traps since this will block your mail server. Tips: Create a stand alone server like postfix on linux Create domain keys for the server Create spf record for the server Make sure you have reverse dns and your domain is pointing on your mail server ip address Don't be a relay Don't send thousand on a new setup server Limit first your sending to 5-10 mails until 1 month Don't harvest email server Create your own website and use those email not send junk on people you don't know 90% internet mail are junk don't be one of  them If you need to setup a mail server you can contact me and will configure for a minimal price

Bagram attack top links from google

2 U.S. Soldiers Killed In Bagram Attack - CBS News Bagram attacks highlight security concerns | Stars and Stripes NATO: 1 killed in attack on Bagram Air Field - AP News Wire ... Bagram Air Base - Wikipedia, the free encyclopedia Rocket attack on Bagram Air Base kills two U.S. soldiers in ... 7 Taliban killed in attack on Bagram air base - latimes.com Rocket Attack Kills 1 at Bagram Airfield Fort Carson sergeant dies in Bagram Airfield attack ... France24 - Taliban militants attack major NATO base in Bagram US: Insurgents attack Bagram Air Field - Yahoo! News

Top Google Search

Image
Top Google Searched Words  Hot Searches    (USA) May 19, 2010  -  change date Updated 36 minutes ago iGoogle Gadget New!    Site Feed 1. dancing with the stars results may 18th 2. lee dewyze hallelujah video 3. christa miller 4. john travolta dogs killed 5. kelly preston 6. mary richardson kennedy 7. bagram attack 8. campbell brown 9. bagram air base 10. ragdoll avalanche 11. election results pennsylvania

Top Searches Toady

Image
TopSearch on Yahoo! top overall searches Leaders Movers Rank   Prev. Subject (Days on Chart) Move Score Rank Subject 1-Day Move 1 5 Rima Fakih (2) +504 683 1 Jack Wagner Breakout! 2 - Heather Locklear (1) +391 393 2 Jason Alexander Breakout! 3 - Amazon Ebook Reader Central (1) -66 286 3 Lindsay Binegar Breakout! 4 1 Ronnie James Dio (2) -139 199 4 Claudia Christian Breakout! 5 3 Dow Jones Index (18) -56 189 5 Heather Locklear 15809% 6 10 Survivor (2) +24 184 6 Claudia Jordan 4398% 7 - Miss Usa (1) +6 180 7 Jolene Blalock 4156% 8 9 NBA (161) -14 151 8 Heather Thomas 3548% 9 8 Hulu (178) -21 149 9 Bill Cosby 3251% 10 - LeBron James (1) +101 131 10 Claudia Cardinale 3015% 11 14 Microsoft Bing (188) +1 126 11 Claudia Schiffer 2664% 12 - Jolene Blalock (1) +117 120 12 Maribel Guardia 2183% 13 4 WWE (241) -66 105 13 Heather Graham 2034%