Friday, March 14, 2008
Is there a way to encrypt text from php?
Text can be encrypted inside PHP with the mcrypt functions.
Latency Issues, Lagg, Packet Loss Reporting
For us to assist our clients with issues like this we require some information.
1: Dos or Shell based 300 ping count. Showing ONLY the end results not all 300 pings.
2: Dos or Shell based traceroute to your server from your remote location. Text file format only please. Our upstreams will not accept images. Please do NOT mask your IP address
3: Dos or Shell based traceroute from your server to your remote location. Text file format only please. Our upstreams will not accept images. Please do NOT mask your IP address
4: 'root' or administrator logins to your host so we can confirm the network configuration on your host and perform additional tests if needed.
5: Information about any firewalls or packet filters you might be running
6: Information about the application you are experiencing the latency in.
7: Information on how to possibly replicate the problem.
Please include these as text files in your existing ticket or open a new one and we will pass the details upto backbone neteng teams who will look into any issues on the upstream links.
Sorry, the nameserver ip X.X.X.X cannot be removed since it is still registered with an ICANN register.
If you are seeing the following message in your CPanel/WHM
Sorry, the nameserver ip X.X.X.X cannot be removed since it is still registered with an ICANN register.
This is a bug in CPanel/WHM and you will need to disable the 'ICANN WHOIS CHECK' via the 'Tweaks' menu in your WHM. Once this is disabled it will allow you to bypass the check and use any IP address for your DNS server(s).
Please login to your WHM and on the top left navigation menu you will see a link for 'Tweaks'. Near the bottom of that list you will see a checkbox option for 'Disable whois lookups for the nameserver ip manager.' or similar text. Check that box off and save any settings. Once that is done you should be able to modify the settings with no problems.
Sorry, the nameserver ip X.X.X.X cannot be removed since it is still registered with an ICANN register.
This is a bug in CPanel/WHM and you will need to disable the 'ICANN WHOIS CHECK' via the 'Tweaks' menu in your WHM. Once this is disabled it will allow you to bypass the check and use any IP address for your DNS server(s).
Please login to your WHM and on the top left navigation menu you will see a link for 'Tweaks'. Near the bottom of that list you will see a checkbox option for 'Disable whois lookups for the nameserver ip manager.' or similar text. Check that box off and save any settings. Once that is done you should be able to modify the settings with no problems.
How to bind IPs on a Windows Server
1. Start -> Settings -> Control Panel -> Network Connections
2. Right click and go to properties of the enabled/active NIC
3. Highlight on TCP/IP and click on properties
4. Select " Use the following IP address "
5. Enter your IP information for the server.
6. Click on Advanced
7. Click Add on the IP Settings tab.
8. Enter the usable IP range along with the netmask. ( ie 255.255.255.0 )
9. Click OK.
How to bind a range of IP's on BSD based hosts ( FreeBSD, OpenBSD )
First login to your FreeBSD host as a 'non-root' user. You should have an account in the 'wheel' group that you can do this with. Once you have logged in run the following commands to switch users to 'root'
su -
Password:
server#
The prompt should have a # in it now meaning you are the 'root' user.
Now run these commands.
ee /etc/rc.conf
Using 192.168.1.3 - 192.168.1.6 as an example
ifconfig_fxp0="inet 192.168.1.2 netmask 255.255.255.248"
ifconfig_fxp0_alias0="inet 192.168.1.3 netmask 255.255.255.255"
ifconfig_fxp0_alias1="inet 192.168.1.4 netmask 255.255.255.255"
ifconfig_fxp0_alias2="inet 192.168.1.5 netmask 255.255.255.255"
ifconfig_fxp0_alias3="inet 192.168.1.6 netmask 255.255.255.255"
Note that changes to the '_aliasNN' and also the 'netmask' changes to '255.255.255.255' from '255.255.255.248'. The IP's will not work unless you use a '255.255.255.255' netmask for the alias IP's.
Once you have added the enteries to your file you need to press 'ESC' and then select the 'Save File' option. You can then reboot the server and the IP's will be bound and ready to use.
You can also use 'ifconfig' on the command line to add them without a reboot.
Please see the following man pages for more information.
man ifconfig
man rc.conf
man netstat
How to bind a range of IP's in Debian based linux
Just define a new interface in /etc/network interfaces:
## Start
auto eth0
auto eth0:0
auto eth0:1
auto eth0:2
auto eth0:3
iface eth0 inet static
address 192.168.1.2
netmask 255.255.255.248
gateway 192.168.1.1
iface eth0:0 inet static
address 192.168.1.3
netmask 255.255.255.248
gateway 192.168.1.1
iface eth0:1 inet static
address 192.168.1.4
netmask 255.255.255.248
iface eth0:2 inet static
address 192.168.1.5
netmask 255.255.255.248
iface eth0:3 inet static
address 192.168.1.6
netmask 255.255.255.248
## End
Then you can reboot or use the commands below to bring the interfaces up without a reboot.
ifup eth0:0
ifup eth0:1
ifup eth0:2
ifup eth0:3
ifup eth0:4
On the next reboot they should automatically bind to the NIC.
How to bind a range of IP's in Redhat based linux
How to bind a range of IP's in Linux.
This method is used by Redhat Linux based servers
(Centos/RedhatEnterprise/FedoraCore).
Create a file called /etc/sysconfig/network-scripts/ifcfg-eth0-range0
And in the file place these 3 lines but change the IP's to match YOUR assigned range.
##Start
IPADDR_START=67.18.xxx.xxx
IPADDR_END=67.18.xxx.xxx
CLONENUM_START=0
# Example IPADDR_START=67.18.333.440
# Example IPADDR_END=67.18.333.444
# Example CLONENUM_START=0
## END
The CLONENUM_START should be the number at which the alias interfaces should start. If you add your 5 IP's to this server and then want to bind a second set of IP's you create a second file named 'ifcfg-eth0-range1' and change the CLONENUM_START to match the last interface alias. IE 'eth0:5' = CLONENUM_START=5
After you have created the above file execute the command 'service network restart' and your IP's will be all setup.
*CPANEL NOTE*Please do not use this method of binding additional IPs if you are using Cpanel. Bind the IPs through the Cpanel interface.
Subscribe to:
Posts (Atom)
