How To Null Route China?

Mar 16, 2008

I use geoip so that if ($country="CN") { die(); }

This works on my site. But for some reason I still get the occasional IP's through.

I looked at my Lighttpd server-status and I have 600 connections from 3 different IPs that come from China.

I typically use ./route add -host 222.221.81.3 reject as the way to block them, but it changes from time to time. The Chinese are using 90mbps of bandwidth and I want it to stop as they must be directly hotlinking my content.

How to null route large blocks from China? Please note I want to keep Hong Kong, Macau and Taiwan.

View 6 Replies


ADVERTISEMENT

Error :: /dev/null Does Not Exist

Jul 6, 2008

when i restart apache via service httpd restart

i am getting the error /dev/null doesnot exit how to resslove this?

View 5 Replies View Related

PHP/DNS/Excessive Null Characters Error?

Apr 5, 2007

I'm having a problem that I've never run across before, and was wondering if anyone might have any ideas as to what may be causing this.

Basically, on 3 of 5 new servers on a brand new private rack from The Planet, we're having what we've narrowed down to be a problem with PHP or Apache. Loading any sort of PHP page with a larger output (even such as a simple 'phpinfo' call) results in, depending on the computer or browser in use:

- The page loading for a split second then reverting to a DNS Server Not Found page (observed in IE)
- The page loading, but filling the source code with vast amounts of extra blank spaces, making a simple phpinfo call download 5+mb of HTML (observed in both IE and Firefox)
- The page loading part way, then hanging (observed in Firefox)
- Occasionally the page will reload over and over again all by itself until it ultimately goes to a DNS error page (observed in IE)

Pages not including PHP, including very long .HTML and .SHTML pages, load just fine.

Here's a link to a page calling a simple phpinfo string, and nothing else (as this is my first post, I can't link directly to URLs, sorry):

View 1 Replies View Related

Unable To Handle Kernel NULL Pointer Dereference At Virtual Address

Jun 16, 2007

My server has been kernel panicking on and off irreguarly every 2 days or so since I upgraded to cPanel 11, I'm not entirely sure whether this was the cause however I've isolated the fact it is a kernel issue. I am running CentOS 4.5 and was running Kernel "2.6.9-42.0.8.ELsmp" however switched to the kernel I was running before (2.6.9-42.0.3.ELsmp) and the same issue is still cropping up.

I thought that it may be a memory addressing issue or the like, however from looking up the issue, several C programming forums seem to suggest dodgy applications, the memory usage on the server does always seem fairly low and loads are generally healthy so this would seem to be supported.

The logs before the server kernel panics are as so:

Quote:

Jun 16 17:40:01 buzz kernel: Unable to handle kernel NULL pointer dereference at virtual address 00000010
Jun 16 17:40:01 buzz kernel: printing eip:
Jun 16 17:40:01 buzz kernel: c016563c
Jun 16 17:40:01 buzz kernel: *pde = 177b1001
Jun 16 17:40:01 buzz kernel: Oops: 0000 [#1]
Jun 16 17:40:01 buzz kernel: SMP
Jun 16 17:40:01 buzz kernel: Modules linked in: iptable_filter ip_tables md5 ipv6 autofs4 dm_mirror dm_mod button battery ac joydev ohci_hcd ehci_hcd snd_inte
l8x0 snd_ac97_codec snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_page_alloc snd_mpu401_uart snd_rawmidi snd_seq_device snd soundcore 8139too mii ext3 jbd
Jun 16 17:40:01 buzz kernel: CPU: 0
Jun 16 17:40:01 buzz kernel: EIP: 0060:[<c016563c>] Not tainted VLI
Jun 16 17:40:01 buzz kernel: EFLAGS: 00010246 (2.6.9-42.0.3.ELsmp)
Jun 16 17:40:01 buzz kernel: EIP is at pipe_readv+0x28a/0x29e
Jun 16 17:40:01 buzz kernel: eax: 00000000 ebx: deaeb2e0 ecx: 00020002 edx: 0000001d
Jun 16 17:40:01 buzz kernel: esi: c9274f80 edi: bff0ed50 ebp: 0000006d esp: c9274f44
Jun 16 17:40:02 buzz kernel: ds: 007b es: 007b ss: 0068
Jun 16 17:40:02 buzz kernel: Process sim (pid: 31509, threadinfo=c9274000 task=dda210b0)
Jun 16 17:40:02 buzz kernel: Stack: 00000000 00000000 cd7ee06d 00000013 0000006d 00000001 deaeb2e0 c9274f80
Jun 16 17:40:02 buzz kernel: c30f2a80 c032dba0 c30f2a80 00000080 c9274fac c016566c c9274fac bff0edbd
Jun 16 17:40:02 buzz kernel: 00000013 c015af11 c9274fac bff0ed50 c30f2a80 fffffff7 bff0ed50 c9274000
Jun 16 17:40:02 buzz kernel: Call Trace:
Jun 16 17:40:02 buzz kernel: [<c016566c>] pipe_read+0x1c/0x20
Jun 16 17:40:02 buzz kernel: [<c015af11>] vfs_read+0xb6/0xe2
Jun 16 17:40:02 buzz kernel: [<c015b124>] sys_read+0x3c/0x62
Jun 16 17:40:02 buzz kernel: [<c02d47cb>] syscall_call+0x7/0xb
Jun 16 17:40:02 buzz kernel: Code: 20 01 00 00 b9 02 00 02 00 ba 1d 00 00 00 83 c0 34 e8 a3 53 00 00 58 83 7c 24 10 00 7e 15 8b 44 24 20 f6 40 1a 04 75 0b 8b
40 08 <8b> 40 10 e8 17 c5 00 00 8b 44 24 10 83 c4 24 5b 5e 5f 5d c3 83
Jun 16 17:40:02 buzz kernel: <0>Fatal exception: panic in 5 seconds

View 6 Replies View Related

How Can I Deny All Ip From China

Apr 10, 2009

how can i deny all ip from china?

they want to ligin to my ssh but lfd ban their ip

View 14 Replies View Related

China Based VPS

Jul 7, 2008

As you might know if you read my other thread I'm often looking for VPS servers (at the moment Linux only), based around the world.

This weeks challenge for me is a china/hong kong based VPS, nothing too fancy, its only going to be used for small websites and as a proxy service for when we run ranking reports for our SEO clients.

Requirements
- English support if possible, although we do have some Chinese speakers in house.
- 128mb ram, 2gb disk space, 20gb transfer/mo
- CentOS 5 preferred, but any system with a working Yum or similar will do.

Budget
up to €30 a month, but could go higher if i had to.

Payment
-for various reasons we cannot use paypal at the moment, so even if its just paypal credit card processing they won't let us use it. This is something we are looking to solve but its not my dept so i'm stuck with it.

- We can pay by Visa Credit or Visa Debit cards, and if we really had to, bank transfer, but I'm told transfers to china are sometimes very tricky to get right.

I have had a look through the VPS offers forum but most of the china-related posts are from 2006 or so and so aren't relevant anymore.

View 13 Replies View Related

Hosting China ...

Sep 9, 2008

Does anyone have experiences with:
[url]

or with:
www.net.cn (Net.cn)

I'm searching for a good hosting service in mainland China...

View 9 Replies View Related

Hosting And Domain Name China

Sep 1, 2008

For my future Chinese Bonsai website I am considering several options for hosting and domain names. Until now I have a US and an Amsterdam hosting (English version in the US and the Dutch, French and German in Amsterdam).

As the Chinese version will be non-political I think I prefer to host it in mainland China. Does anyone here knows a good webhosting that is not too cheap? I need 100Mb and some GB's (I guess under 5GB should be ok) of bandwidth.

Furthermore, I am not sure what domain name to choose. I have 4 options:

1. the name in pinyin (normal text) .com
2. the name in pinyin .cn
3. the name in Chinese characters .com
3. the name in Chinese characters .cn

If I choose to take a .com, would it matter to have this domain name registered in the US? This is cheaper than in China I think; however, it is important to me that the website is seen by Baidu as 100% Chinese (does it matter where a domain name is registered?)

View 10 Replies View Related

Web Host Blocked In China

Apr 11, 2008

I used Hostgator but my website was blocked in China.

So do anyone know of any US web host that is NOT blocked in China ? For example, Dreamhost or any web host for that matter?

View 14 Replies View Related

My Website Is Slow In China

Mar 14, 2008

My customers are complaining that my web site is extremely slow in China. But I have never received any complain from outside China (I have talked to non-China users).

What could be the reason behind this? Or how can I find the root cause?

View 10 Replies View Related

China Surfers Can't See My Website

Sep 11, 2008

I have registered yayigarment.com with godaddy (2.5 weeks ago), and hosted with 50webs with a one liner to redirect to yayigarment.net

My customers from China get an invalid link when trying to surf to yayigarment.com

View 5 Replies View Related

.CN - Domain Names For China, Is Now Just $12.99

May 28, 2007

.CN - Domain names for China (irist.com), is now just $12.99

With China's recent accession to the World Trade Organization (WTO) the economy there is taking great strides towards global accessibility. .cn offers registrants the protection of a well-established brand name in what is certain to become one of the most lucrative marketplaces in the world, and begin making inroads into the Chinese marketplace.

irist . com/china-domain.php

View 0 Replies View Related

Hosting From China Perspective

Nov 9, 2008

I currently live in China and as most businesses in China do, they host outside of China because of the severe requirements of hosting in China are time consuming to accomplish.

I am currently hosting with godaddy.com and have been happy with them until now. This is the 2nd time my site has been blocked because my site is on a server with a porn site. They switched to a different server once now they refuse to do it again. I also suggested they offer porn-free servers (I would be willing to pay more) but they refused.

Now, I noticed that even godaddy.com is blocked from China. I really think they are missing out on Many business opportunities in China by not offering porn-free servers.

View 11 Replies View Related

Best 25 Meg Dedicated Hosting In East China

Sep 9, 2008

Are there any Chin hosting gurus out there than can tell the best 25 meg dedicated hosting in East China ?

View 1 Replies View Related

Blocking Whole Server Apache From China

Nov 20, 2008

My server is getting a lot of spam robots registering as fake users into my forums (altho most emails are invalid

View 2 Replies View Related

Colocation In China Or Hong Kong - Which Is Better

Nov 21, 2007

I'm trying to get a full rack co-location services in China or Hong Kong. Co-location in Singapore is starting to get expensive...
Per additional 1 Mbps cost about USD 150 onwards. It's not feasible for us anymore.

Anyone has any suggestions which countries is better? And from which IDC? So far Asia Netcom and China Telcom seems to be the better choice. No 2 tier suppliers, e.g. Pacific Internet, they get their co-location from the above too.

View 10 Replies View Related

1U Colo, 1 Mbps, 1 Amp Power In Major China Cities

Jun 11, 2007

1U colo, 1 mbps, 1 amp power in major China cities

Must have premium, mulit-homed bandwidth, with great connectivity to the US
Must have local cable TV cross-connect via coax, s-video, etc.

Prefer remote reboot

Some or all of the following:
Shanghai, Beijing, Chongqing, Tianjin, Wuhan, Harbin, Shengyang , Guangzhou

OK to have colo and cctv cross-connect in one or more cities - you dont have to do them all.

We do NOT need colo without the cctv availability.

Will need a /30 address space.

1 year minimum contract

View 2 Replies View Related

IP Trace Route

May 13, 2008

I got 3 IP addresses i am trying to trace and I want to know where this person has send me those from. Is is possible to get exact addresses/locations?, where the person who sent me the emails is from? and Infos which websites have been visited?

This are the 3 IP's i have got:

216.139.189.105
41.204.234.10
82.13.210.203

View 14 Replies View Related

After Trace Route, What Next ?

Jul 3, 2009

After Trace route whats the next thing to do ? When my ISP dynamic IP address is some like and starts with 112.0.0.0 I cannot see all sites on the server. So what I did run a tracert on DOS prompt. After 9 hops and reach this IP 216.18.239.6 everything timed out and it cannot reach my server.

I already tested several Internet access and its reaching the server except my home DSL with the IP 112. I also checked if the IP is block on the firewall but its not present on the block list. I also mentioned this with my internet provider and still waiting for notification.

what to do next?

View 14 Replies View Related

Route My IP Space

May 22, 2009

what is needed is a dedicated server or colocation in which my portable IP space (a class c assigned to me in 1995) can be routed to in its entirety. We will then have a VPN back to our own site. This could be accomplished by the ISP BGP peering, or simply announcing the routes themselves. We've got clue in routing, both in OpenBSD and IOS.

The machine doesn't have to be too powerful, and needs little storage space, but the bandwidth provided has to be decent. This is for a hobbyist rather than commercial project, so price is an issue.

View 9 Replies View Related

Trace Route To New Site

Oct 8, 2007

I recently moved a customer's site to a new server. Everything went smoothly except for the fact my customer cannot access the new site. When he pings it he gets the right IP address but it just times out.

The URL is regalfire.co.uk

I asked him to run a tracert command and it seems to find the right path but stops just short of finding the server. The last server he connects to is ge-5-2.the.uk.euroconnex.net [87.127.231.90] which is the same as me. The next step is the actual server but for him it just times out.

I can see the new site fine. His ISP is Virgin Media and I have asked several other customers with the same ISP and they can see the site OK.

He has flushed his DNS cache and the problem remains.

Does anyone have any ideas what I could try next?

View 11 Replies View Related

Ssh (client): No Route To Host

May 31, 2008

ssh is driving me CRAZY right now... On an almost stock CentOS 5.1 install (inside a Xen VPS, though), I changed sshd to listen on 2222 instead of 22 and restarted sshd.

All of a sudden:

Code:
matt@t60:~$ ssh -p2222 64.191.108.xxx
ssh: connect to host 64.191.108.xxx port 2226: No route to host
I should note that I'm actively logged into that IP in another window, and that it responds to ping. There most certainly is a route. Yes, I've quadruple-checked that I have the right IP. And I use the -p2222 daily to connect to another machine. This is a virgin CentOS install; I just changed the "Port 22" line to "Port 2222" and restarted sshd (/etc/init.d/sshd restart).

I am not behind any sort of firewall, unless CentOS installs one that I don't know about. (I own the physical hardware, not just the virtual machine.)

I figured it had to do with this error in /var/log/secure

Code:
May 31 19:18:39 relay120 sshd[23359]: Server listening on :: port 2222.
May 31 19:18:39 relay120 sshd[23359]: error: Bind to port 2222 on 0.0.0.0 failed
: Address already in use.
So I changed (uncommented) the ListenAddress directive to:

Code:
ListenAddress 64.191.108.xxx
and restarted sshd again.

View 5 Replies View Related

Need To Create A Static Route

Apr 9, 2007

Recently two servers of mine have stopped communicating with each other and I've been told to create a static route between the two, I am using CentOS 4.4 and not sure what the exact syntax would be

I also have the gateway IP which would be needed.

View 1 Replies View Related

Does OER = Less Internap BW And Less Route Science & FCP

Aug 31, 2007

As we are finishing our migration plans to Cisco OER. I would like to get everyone's thoughts on the low latency "brand name" internap bandwidth.

Do you think that the high priced brandname is going to continue with Cisco finally releasing OER to what a large number of datacenters use as their primary core switch? In my eyes the FCP and the Avaya/RouteScience platform just lost a lot of value. The OER product looks very complete and in testing works excellent, the final verdict will be in what the platform actually does.

If you are wondering Cisco OER information can be found here [url]

View 10 Replies View Related

Trace Route To My Server - Is This Normal ?

Jun 10, 2007

Hi over the last week ive been having numerous problems with hosting accounts on 2 different servers which has lead me to think that my 'security' is not 'secure' and a malicious user is at play. im in the uk on broadband on a private connection to the internet - no-one else should be sharing this connection. This is the traceroute from my connection at home to the server ive had the most problems with - is this normal?

Traceroute has started ...

View 7 Replies View Related

Route Between Vlans In Same Subnet On BigIron

Jun 9, 2007

I'm looking for a solution that I can place a firewall between 2 vlans on
a BigIron router with L3 enabled.

For this moment there is one big vlan2 with a ip-route 0.0.0.0 0.0.0.0
123.123.123.123 and a router-interface ve2 with the IP of the router, the
address I use as gateway on the machines behind it.

The WAN port has the IP address to communicate with to the GW of the
carrier-router (123.123.123.122)

Because I want to let the BigIron the routing I was thinking of 2 vlans,
one for the lan-vlan and one for the wan-vlan, but this will be a problem
because I only have one IP-block what I can use.

So the sitiuation must be as follow on the BigIron:

WAN => vlan2 => firewall => vlan3(lan)

Because of the fact that the firewall will be transparent, this should be
no problem to place it between the vlans. The actual problem is how to
manage this. In simple words, I should be able to replace the firewall
with a cross-cable and it should still work.

Cisco for an example has a SVI solution for this, but I can't find such
thing for a Foundry router.

View 0 Replies View Related

Cisco Switch IP Route Setup

Dec 1, 2008

Cisco Switch IP Route setup

This is probably an easy and simple task for someone that have a good knowledge in Cisco, BGP and Blackhole/Synchole communities.

We do have a Cisco 2948G that is our border and through this equipment we apply Blackhole (a sequence of commands to filter all the traffic from the world except our country, this is done by communities that is setup in cisco).

These are the sequence of the commands to apply it for IP 189.1.XXX.40
Enter configuration commands, one per line. End with CNTL/Z. asw-hl01(config)#router bgp 184XX
asw-hl01(config-router)#network 189.1.XXX.40 mask 255.255.255.255 asw-hl01(config-router)#exit
asw-hl01(config)#access-list 50 permit 189.1.XXX.40
asw-hl01(config)#ip route 189.1.XXX.40 255.255.255.255 Null0 250 asw-hl01(config)#
I have another Cisco 2948G that is connected in a FastEthernet port of the border above, and this other cisco is holding another subnet. To make it clear,
Border - I have 189.1.XXX.1 ~ 189.1.XXX.127 (subnet 255.255.255.128)
Cisco2 - I have 189.1.XXX.128 ~ 189.1.XXX.255 (subnet 255.255.255.128)
This is being done through a ip route from Border to Cisco2 to forward subnet 128 ~ 255 to the switch,
ip route 189.1.XXX.128 255.255.255.128 172.16.1.2
Ps: 172.16.1.2 is the internal IP for switch2
Now we go to the problem. If I want to apply a Blackhole (those sequence of commands for an IP located at subnet 128 ~ 255 switch2) it block all the traffic for that given IP, and I cant get access from national backbones. To make it clear,
Blackhole for IP 1 ~ 128 - It works fine
Blackhole for IP 128 ~ 255 - It doesnt work correctly, instead of blocking only international traffic its blocking everything in the world

View 0 Replies View Related

FTP To Server Gets Connected: No Route To Host

May 31, 2008

This worked yesterday.

Now I get connect: No route to host when I try to FTP.

What to do?

I can ping the IP without problems.

View 9 Replies View Related

How Important Is The InterNap FCP Or Route Science

Mar 12, 2007

I wonder how it effects to network performance? The network will be faster? How much? The normal routers can choose the best routes too, is it correct?

View 14 Replies View Related

Detecting Network Problem Along The Route

Dec 3, 2007

Is there any way to detect network problem/congesting along the route? Assumed that you only have a shell access to the server.

I usually do tracepath/traceroute and ping each hop to see if there's any packet loss. It doesn't seem to be effective as many people say router will drop the packet when it's busy/overloaded depending on configuration.

View 9 Replies View Related

Route By IP Address Over Tun0 - 'ip Rule Add From A.b.c.d'

Jul 11, 2007

Would anyone be kind enough to give me some pointers to route packets from a specific ip on my subnet via the tun0 OpenVPN interface, and all other hosts out the default route of the main routing table
(192.168.1.1 on br0)?

i.e. 192.168.1.2-9 -> via br0, and 192.168.1.200 -> via tun0

I have created the tables:

mkdir /etc/iproute2
echo 201 table1 >> /etc/iproute2/rt_tables
ip rule add from 192.168.1.200/32 table table1

But i am really stuck from here. I tried adding default routes in the table1 but all traffic stops at this point (i am pinging from the host 192.168.1.200 out onto the net, it works as soon as this command below is entered it times out):

ip route add 10.19.0.5 dev tun0 scope link src 10.19.0.6 table table1 (not sure if this is needed - either way doesnt work with or without) ip route add default via 10.19.0.5 dev tun0 table table1

I did try: ip route add default dev tun0 table table1. and again that fails to work. I appreciate this isnt a guessing game hence moving to post here in hope of some expert advice.

Routing table for the main table (table 1 contains the entries from above commands):

root@OpenWrt:~# ip route list table table1
default via 10.19.0.5 dev tun0

root@OpenWrt:~# ip route list table main
10.20.30.40 via 192.168.1.1 dev br0
10.19.0.1 via 10.19.0.5 dev tun0
10.19.0.5 dev tun0 proto kernel scope link src 10.19.0.6
192.168.1.0/24 dev br0 proto kernel scope link src 192.168.1.4
default via 192.168.1.1 dev br0

There is a point to point link to the OpenVPN server on 10.19.0.5 with a local address of 10.19.0.6, but im not sure if this needs to be added in the table1? I did try by adding ip route add 10.19.0.5 dev tun0 scope link src 10.19.0.6 table table1, but again still the same issue.

With OpenVPN setup to push the redirect-gateway option, all works well with the routing table and the box acts as a router sending everything through it (table shown below - this works fine apart from everyone is routed through it). As mentioned, I would like the tables default route below to only apply to the host 192.168.1.200. I am posting the table below as this does work for all hosts:

root@OpenWrt:~# ip route list table main
10.20.30.40 via 192.168.1.1 dev br0
10.19.0.1 via 10.19.0.5 dev tun0
10.19.0.5 dev tun0 proto kernel scope link src 10.19.0.6
192.168.1.0/24 dev br0 proto kernel scope link src 192.168.1.4
default via 10.19.0.5 dev tun0

I am masquerading on tun0 as i will be routing a number of hosts through the router:

iptables -t nat -A POSTROUTING -o tun0 -j MASQUERADE

I also run 'ip route flush cache' after i enter the routing commands but to no avail.

View 0 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved