HTTP 1.1 Request Via Telnet (hostname Issue Maybe)

Jun 8, 2008

I have a script that makes a request via telnet and it worked on my old server, but not on the new one.. Heres what I'm doing

telnet localhost 80

GET /files/downloadFLV.php HTTP/1.1
Host: www.soybe.com
I get this back:

HTTP/1.1 404 Not Found
Date: Sun, 08 Jun 2008 06:34:25 GMT
Server: Apache
Last-Modified: Tue, 18 Mar 2008 06:52:59 GMT

I know that /files/downloadFLV.php does exist, so I'm thinking it could be an issue with the Host: part of it, any ideas?

View 1 Replies


ADVERTISEMENT

/etc/xinetd.d/telnet Doesn't Exist To Disable Telnet

Sep 21, 2007

I decided to disable Telnet in my server. I get an Article ::

1. Login to your server through SSH and su to root.
2. Type pico /etc/xinetd.d/telnet
3. Look for the line: disable = no and replace with disable = yes
4. Now restart the inetd service: /etc/rc.d/init.d/xinetd restart
5. Turn off it through chkconfig as well because it can still start through that.
/sbin/chkconfig telnet off
6. Scan your server to ensure port 23 is closed.
nmap -sT -O localhost

Also run ps -aux | grep telnet and if you find anything other than "grep telnet" as result kill the process.


But /etc/xinetd.d/telnet doesn't exist in my server.

View 5 Replies View Related

Apache :: Hostname Via SNI And HTTP Are Different

Jan 6, 2015

I'm in the process of trying to pin down a couple errors I've been running into, and after installing and configuring SSL I have occasionally been receiving the following error:

View 2 Replies View Related

Invalid URI In Request GET . HTTP/1.0

Jul 22, 2008

In my logs:

[Tue Jul 22 01:01:35 2008] [error] [client x.x.x.x] Invalid URI in request GET . HTTP/1.0
(yes, that is it for this entry/line)

This showed up in logwatch as:
Requests with error response codes
400 Bad Request
.: 4 Time(s)

...what was this guy trying to do?
The offending IP was banned in APF last night, if his IP is still showing up in my logs, is he using aproxy?

After adding his ip to:
/etc/apf/deny_hosts.rules

I ran:
apf -r

View 2 Replies View Related

HTTP Request For HTML Only

Aug 2, 2007

Is there a way to construct an HTML request so that only HTML text is returned (without images or rich media)? I assume search engines do this - how?

What I'm trying to do is write an Apache module that will retrieve only text from a web site. The idea is to provide a Lynx-like experience, using Apache as a proxy between my workstation and my ISP.

View 13 Replies View Related

Apache :: SSL Error - HostName Provided Via SNI And HTTP Are Different

Jul 31, 2014

We are getting the below message produced in error.log when accessing from mobile application. Even I have updated apache from 2.4.9 to 2.4.10 also. Still facing the same error like below.

[Thu Jul 31 15:27:10.934564 2014] [ssl:error] [pid 12000:tid 6520] AH02032: Hostname teampark3.sogeti.com. provided via SNI and hostname teampark3.sogeti.com provided via HTTP are different

How to resolve the issue?

View 10 Replies View Related

Server Slowdown/crash Due To HTTP Request

Jun 13, 2008

I have a Linux server running some reasonable setups:

Opteron 180, 4 GB RAM, running 8x 36gb 15k scsi with hardware raid 10 -- this is one of the servers from WebNX advertised here not long ago

Running CentOS 4(?), Apache2/MySql 4/PHP5.2, the normal stuff.

I have only one main site on the server, which runs a pretty old PostNuke CMS in Chinese (0.7.2.3 Phoenix) + PNphpBB2 + Gallery 1.5.7 (all integrated into PostNuke). This site is pretty light in "human" traffic, getting about 20K hits per day.

Now, the problem I have noticed with this site, is related to the many MP3 files stored in the Gallery albums. There are lots of HTTP requests to these files, most maybe from Chinese search engine bots (judging from IP), that slows the server to a crawl and even crashes Apache. This happens in the late hours here when it's day time in China. As a matter of fact I just did a reboot, and in 5 minutes there are more than 1000 HTTP requests to MP3 files resulting in a traffic of 2.1+ Gb. So within minutes, the server is brought to its knees again and I can't even get the "apache status" from CPanel now: "Unable to retrieve apache status".

The company that manages the server for me said there's no security problem here. We have installed an Apache extension to limit the number of simultaneous requests to media files to 1. However that doesn't seem to help.

View 6 Replies View Related

Apache :: Cannot Get Server To Respond To HTTP Request

May 6, 2013

I have an Xitami server and am migrating to apache httpd. I have the regular server working fine. I tried configuring ssl, but no requests are coming through. I know 443 is open on the router because it works fine under Xitami. I checked the logs and it si starting fine. I am attaching my httpd.conf and the startup log. If I try to access the website using https, it just times out and nothing goes in the log file. I replaced my domain with domain.com. I have tried many different examples, but cannot get it to work and am not sure what to do.

View 5 Replies View Related

Apache :: Redirect HTTP And Www Request To HTTPS

Dec 18, 2013

i want to redirect main domain http //, www request to https://

i added this code

RewriteCond %{HTTPS} off# First rewrite to HTTPS:# Don't put www. here. If it is already there it will be included, if not# the subsequent rule will catch it.RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]# Now, rewrite any request to the wrong domain to use www.RewriteCond %{HTTP_HOST} !^www.RewriteRule ^(.*)$ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

View 2 Replies View Related

Fordward Specific Port Http Request To Https

Jan 17, 2007

how to catch request over http and forward them to https, I have VPS/Plesk and I was wondering how to do that.

Also, what do you think about having a sub domain on each client domain to access plesk, likes this:

[url]--> [url]

View 5 Replies View Related

Plesk 12.x / Linux :: Redirect From Http To Https Wrong Hostname?

Nov 28, 2014

the hostname is www.domain.com also in the serversettings of plesk. When we go to http://www.domain.com:8443 we become redirected to https://www:8443. The only way to connect to plesk is to use https the redirect from http doesnt work.

View 1 Replies View Related

How Can I Ban A Browser/client Type Http Request In Apache2 Configuration

Feb 15, 2007

How can I ban a browser/client type http request in Apache2 configuration?

For example; I would like to redirect all 'Opera' traffic to another URL or ban it altogether.

View 5 Replies View Related

"Request Without Hostname" Error

Jul 10, 2008

In dedicated server the following error has been creating on error_log.
Please let me know what is this error.

[Thu Jul 10 13:02:30 2008] [error] [client xx.xx.xx.xx] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /w00tw00t.at.ISC.SANS.DFind

View 1 Replies View Related

"Bad Request (Invalid Hostname)" - What's Up With That

Sep 25, 2007

I set up a site several years ago for a client. The files were (are) hosted on their local server, not at a domain host. It was a difficult install because of that (as I recall). I have not heard from the client in three years.

Yesterday they called to say the site was down. Here is the error:
"Bad Request (Invalid Hostname)"

If I try to access the site with www.sitename.com I get a request for a password prompt. If I try to access the site without www I get the error mentioned above.

View 4 Replies View Related

How To Use Telnet?

Feb 27, 2007

basically i cant find any straightforward info on how to use telnet, how to administer users, add/remove etc.

View 5 Replies View Related

SSH Vs Telnet Access

Nov 20, 2006

I need help with understanding the difference between Telnet and SSH. I am in the process of signing up for a hosting plan and I have asked the sales rep if we will have telnet access. Their reply was that we have full root access via SSH.

Any help that anyone can offer on the differences and benefits/drawbacks would be much appreciated.

View 9 Replies View Related

Using Telnet Client In Vista

Jan 3, 2008

I'm looking to run this small telnet script to reboot my router using vistas built-in telnet client:

192.168.1.1 23
WAIT "login"
SEND "my_login_idm" (enter your login ID here)
WAIT "Password"
SEND "my_login_passm" (enter your password here)
WAIT "#"
SEND "rebootm"
WAIT "#"

...without much luck.

View 4 Replies View Related

Uploading 500MB Tar.gz File In Telnet

Jan 23, 2006

I am having trouble uploading a 500mb file with File Manager in the control panel as well as SmartFTP. I was told to upload this large file through Putty. I able able to login through SSH as root, but i can't seem to find the right directory to upload this file into. This file is a backup file of the home directory. I am transferring all files from my old host to my new host. How would I find the right directory and upload this file through Telnet.

View 0 Replies View Related

Telnet Can't Connect To Mail Server

Mar 22, 2007

I can't telnet to mail server. when I try

# telnet mail.domain.com 25
Trying xxx.xxx.xx.xx...
telnet: connect to address xxx.xxx.xx.xx: Connection refused
telnet: Unable to connect to remote host: Connection refused
but when it's

# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
220 mail.domain.com ESMTP
it connects. I don't have a firewall

View 1 Replies View Related

FedoraCore2 - Cannot Telnet Out To Port 25, So Cant Send Email

Jun 23, 2005

if i try to telnet to yahoo's mail server, i get this:

[root: #] telnet mx1.mail.yahoo.com 25
Trying 4.79.181.14...
telnet: connect to address 4.79.181.14: Connection timed out
Trying 4.79.181.15...
telnet: connect to address 4.79.181.15: No route to host
Trying 67.28.113.11...
telnet: connect to address 67.28.113.11: No route to host
Trying 67.28.113.10...
telnet: connect to address 67.28.113.10: No route to host

but it works from one of my other hosted servers.
this keeps mail building up in my queue as it cannot send mail out cause the connection times out.

I can telnet locally to send myself email. This is my own dedicated server.

i have no idea whats up - default policy is ACCEPT in the OUTPUT chain of iptables.

View 3 Replies View Related

Redirect Http:// To Http://www

Jun 23, 2008

Does anyone know how to redirect the URL of a host so that it always goes to the www subdomain? Is this done with RedirectMatch or is a rewrite rule?

View 3 Replies View Related

Http Messed Up But Not Http

Mar 31, 2008

where when I view my website through http using Firefox, it never stops loading. If I use IE, then I get a "page can not be displayed" error.

If I use https then everything works fine.

I have noticed that if I delete lines from the files, I don't have this problem.

If I try viewing images (so I know it can't be an html of php problem) some look fine (the very small files). But, larger files, around 168 kb, load halfway and the second half is distorted (green and purple chunks and other random colors and lines).

If I view the image through https, the image is perfectly fine!

If I put my site through w3.org's validator (just to see what it would report) it says "500 Line too long (limit is 4096)".

My website used to work, so I know there isn't any code in the pages that would cause this to happen.

Is there an Apache setting I check? Perhaps it is sending a really long header that I can not see? I am not really sure what to do. I have made my site to force https but it's slow and not signed.

View 6 Replies View Related

Http-put Proxy / Http-connect Proxy

Oct 28, 2007

Anyone can inform how to fix "http-put proxy" or "http-connect proxy" ?

My hosting provider said that my dedicated server is not secure because of that.

I use CentOS 4.x and only Apache 2.0.52

# rpm -qa | grep htt
httpd-2.0.52-28.ent.centos4
httpd-suexec-2.0.52-28.ent.centos4

I searched about the topic but got not much information.

View 0 Replies View Related

APF Hostname

Mar 9, 2007

Installed APF on a Fedora Core 6 box, had a problem with one of the modules (Unable to load iptables module (ipt_multiport), aborting) which was sorted by editing the functions file.

But I now get this come up 30 times when I start the firewall:

hostname: Unknown host

Some guides talk about setting a hostname but I dont have a domain name just an IP Address.

Then depending on what guide I look at there are references to different files. So I am not sure which file to edit.

View 2 Replies View Related

Hostname Does Not Resolve To Any IP

Oct 31, 2009

I hope your day is going good. I've been trying to fix a problem I had all week. I receive daily email notification that "example.[url]" does not resolve to any IP. However, when in WHM, it already contains Server Main Ip: 208.53.183.125. I've tried a few solutions from the web, but to no avail:

IMPORTANT: Do not ignore this email.
The hostname (example.mydomainname.com) resolves to . It should resolve to 208.53.183.125. Please be sure to correct /etc/hosts as well as the 'A' entry in zone file for the domain.

Some are all of these problems can be caused by
/etc/resolv.conf being setup incorrectly. Please check this file if you
believe everything else is correct.

You may be able to automaticly correct this problem by using the
'Add an A entry for your hostname' under 'Dns Functions'
in your Web Host Manager

1) Within WHM, I have the following:

-Add an A entry for your hostname (I only have one listed)
Hostname: example.mydomainname.com
Server Main Ip: 208.53.183.125

-Primary/secondary nameserver
Primary Nameserver: ns1.mydomainname.com (A entry = 208.53.181.26)
Secondary Nameserver: ns2.mydomainname.com (A entry = 208.53.181.27)

-Resolver Configuration
Primary Resolver: 66.90.68.25
Secondary Resolver: 66.90.68.26

-Additional IP my webhost gave me to use:
208.53.181.26 (used in primary name server)
208.53.181.27 (used in secondary name server)
208.53.181.28

-Current DNS Zone listing:
example.com (my website URL that is currently working)
example.mydomainname.com (hostname I made myself that contains the server main IP)
ns1.mydomainname.com (A entry = 208.53.181.26)
ns2.mydomainname.com (A entry = 208.53.181.27)

2) My edit "edit /etc/resolv.conf" contains the following:
Search localdomain
nameserver 66.90.68.25
nameserver 66.90.68.26

Issue: I receive daily email notification that "example.mydomainname.com" does not resolve to any IP. However, when in WHM, it already contains Server Main Ip: 208.53.183.125.

View 1 Replies View Related

WHM Keep On Asking For A Record For Hostname

Apr 5, 2009

Here are the scenarios :

1. This Dedicated Server don't have main domain name but I use something like hostname.domain.com for the hostname.

2. The nameservers I use are something like ns21.domain.com and ns22.domain.com which I registered it already on my domain registrar.

3. Domain.com is use on other Dedicated server

Are these kind of setup okay? or should I really changed the hostname.domain.com to something else that is hosted on the same server?

View 7 Replies View Related

Hostname Shows (none)

May 7, 2009

I have a server with RHEL 5 installed. The problem is that the server shows the output of the hostname command as (none). I checked the /etc/sysconfig/network file and it shows the correct hostname. I also tried to change the hostname in the /etc/sysconfig/network file and restart the server. But hostname command still shows (none).

View 4 Replies View Related

Hostname, Nameserver WHM

Oct 2, 2008

I have a dedicated server with WHM 11.23.2. I am in the process of "attempting" to change the hostname for a group of websites and also the nameservers.

Let's say for practical senses that these were the old details:
Hostname: abc.example.com
Nameservers: ns1.example.com and ns2.example.com

I changed in the following sections of WHM..

Server Configuration -> Basic cPanel/WHM Setup -> Hostname to
123.newsite.com

and then...

Networking Setup -> Hostname to 123.newsite.com

and then...

Server Configuration -> Basic cPanel/WHM Setup -> Primary Nameserver to ns1.newsite.com and then...

Server Configuration -> Basic cPanel/WHM Setup -> Secondary Nameserver to ns2.newsite.com.

Then...

Networking Setup -> Nameserver IPs. I deleted the old ones and created the two new ones: ns1.newsite.com and ns2.newsite.com.

I have double checked that this information is still there. Obviously newsite.com is listed as a domain/account. However, example.com was naturally the first one associated with this server.

I performed a server reboot, apache reset etc.

This was three days ago. I assumed it had all changed over. Until I (stupidly) remembered that I hadn't changed the goDaddy information to point to these new nameservers. I panicked thinking all the sites (six of them) would be down. However, they weren't. When I tried to change the nameserver information for a domain in goDaddy it came back with errors... it would only accept ns1.example.com and ns2.example.com.

So, I did a tracert to the IP address of the server and indeed it comes back as abc.example.com. Every domain is associated with that static IP.

I can't even find anywhere where abc.example.com is listed within the WHM. All the new values are listed... so, where is it pulling this from? I thought the reset of the server (as a graceful reboot) would resolve this issue.. it hasn't. I've rebooted twice and awaited the thirty minutes for everything to get back online. No success.

View 4 Replies View Related

DNS, Hostname And Nameserver

Aug 11, 2008

Quote:

The zone for the root domain splinteredmedia.net is missing, or could not be read. The ip address will be read from the webserver configuration and a new zone will be created for this subdomain. Bind reconfiguring on smpl using rndc Error reconfiguring bind on smpl: rndc: connect failed: 127.0.0.1#953: connection refused
Created DNS entry for ns1.splinteredmedia.net

Is the error i get when i try to add a entry for one of my nameservers.

I have cPanel on a CentOS 5.1 VPS

I am still pretty new to CentOS

how would i go about adding a zone and if somebody cpuld point me to a place where i can read exactly what it is and how to set it up i would be very grateful

View 7 Replies View Related

Hostname Unresolved

Jun 23, 2008

I just got a deticated server with cPanel

Hostname: xyz.mydomain.com (example)

I tried to do a traceroute and I get this message

"unable to resolve target system name"

My registrar is GoDaddy. Is there something I need to set up for xyz?

I have my private NS set up, ns1/ns2.mydomain.com with their associated IPs.

View 8 Replies View Related







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