Sponsored Content
Full Discussion: Code Red Redirect
Special Forums Cybersecurity Code Red Redirect Post 5280 by Neo on Thursday 9th of August 2001 05:03:10 PM
Old 08-09-2001
No, it does not really lower the load on Apache servers. It is just a fun idea Smilie

When default.ida does not exist, the return code is 400:

Quote:

128.146.87.135 - - [19/Jul/2001:16:46:10 -0400] "GET /default.ida?NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN%u9090%u6858%ucbd3%u7801%u9090%u6858%ucbd3%u7801%u9090%u6858%ucb d3%u7801%u9090%u9090%u8190%u00c3%u0003%u8b00%u531b%u53ff%u0078%u0000%u00=a HTTP/1.0" 400 252
After redirect the return code is 302:

Quote:
64.95.192.98 - - [09/Aug/2001:17:01:01 -0400] "GET /default.ida?XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX%u9090%u6858%ucbd3%u7801%u9090%u6858%ucbd3%u7801%u9090%u6858%ucb d3%u7801%u9090%u9090%u8190%u00c3%u0003%u8b00%u531b%u53ff%u0078%u0000%u00=a HTTP/1.0" 302 567
 

9 More Discussions You Might Find Interesting

1. IP Networking

Redirect

I'm sittig behind a firewall that doesn't allow ftp. I have a conection to a UNIX system, connecting throug SSH. Is it possible to redirect the ftp through the UNIX to my computer? (1 Reply)
Discussion started by: <Therapy>
1 Replies

2. UNIX for Advanced & Expert Users

redirect connection

I have two UX servers ( eg. Server A , Server B ) , the users use Netterm as emulator to telnet to connect to these servers , each server have assigned a dedicated IP address ( eg. Server A --> 192.168.1.1 , Server B --> 192.168.1.2 ) , now if a user want to connect Server A , he need to telnet to... (1 Reply)
Discussion started by: ust
1 Replies

3. Shell Programming and Scripting

redirect STDIN

can you redirect STDIN with command arguments? I have tried this approach: # ./script -option <argument1> <argument2> 0<$2 # $2: ambiguous redirect Is this possible? (4 Replies)
Discussion started by: prkfriryce
4 Replies

4. Shell Programming and Scripting

Redirect Output

Hi, I would like to list files: ls *.hdf But I would like a copy of the output directed to the screen, but also APPENDED to a text file: test.txt I have tried: ls *.hdf | tee test.txt However, that will just write over everything already existing in test.txt. How can I append the... (1 Reply)
Discussion started by: msb65
1 Replies

5. Shell Programming and Scripting

redirect LVM commands to file in Red Hat

I have been trying to create a little script to direct system configuration information to a file, however when I run LVM commands (vgdisplay, lvdisplay...etc) nothing appears in my output file. This is what I currently have in my script: vgdisplay >> sysinfo.out everthing else seems to... (0 Replies)
Discussion started by: Alvescot
0 Replies

6. UNIX for Dummies Questions & Answers

how to know if i use "Red Hat Enterprise Linux" or "Red Hat Desktop" ?

how to know if i use "Red Hat Enterprise Linux" or "Red Hat Desktop" ? (2 Replies)
Discussion started by: ahmedamer12
2 Replies

7. Web Development

Redirect URL containing #!

I have a Rewrite Rule that helps me redirect a page with no hindrance. I am rewriting mydomain.com/best to mydomain.com/#!/ using RewriteRule ^\/best\/? /#!/ Now I want to Rewrite mydomain.com/#!/best to (0 Replies)
Discussion started by: Junaid Subhani
0 Replies

8. Shell Programming and Scripting

Ftp redirect

Hi i want to redirect a list of ftp file to an exsisting file by mls x.txt mylocalfile.txt result of this command corrupt my data on mylocalfile.txt , please help me (2 Replies)
Discussion started by: rezasadeghi
2 Replies

9. Programming

C, UNIX: How to redirect 'stdout' to a file from a C code?

I am looking for a way to redirect standard output to a file from a C-code; so, any 'cout<<..' or 'printf(...)' will be written into a file. I have a server source that I need to debug. That program called by RPC (remote procedure call) and has no any session to print out anything. I have... (3 Replies)
Discussion started by: alex_5161
3 Replies
COMMON2DLF.IN(1)					  LogReport's Lire Documentation					  COMMON2DLF.IN(1)

NAME
common2dlf - convert Common Log Format web server log files to www DLF SYNOPSIS
common2dlf file DESCRIPTION
common2dlf converts Common Log Format web server log files to the www DLF. Common Log Format is a standard log format that was originally implemented in the CERN httpd web server but that now supported nowadays by most web servers. Apache, IIS, Boa and PureFTPD can be configured to log in that format. If the file argument is missing, STDIN will get parsed. DLF will be printed on STDOUT. COMMON LOG FORMAT
The Common Log Format has the following format: remotehost rfc931 authuser [date] "request" status bytes where the fields have the following meaning: remotehost The host that made the request. Can be an IP or a hostname. rfc931 The result of an ident lookup on the host. This is usually never used. authuser The authenticated username. date The timestamp of the request. request The first line of the request. Usually in the format "method request-uri http-version". See also RFC 2616, section 5.1. status The result status of the request. i.e. 200, 301, 404, 500. bytes The size of the request sent to the client. Log example: 127.0.01 - - [11/03/2001 12:12:01 -0400] "GET / HTTP/1.0" 200 513 dsl1.myprovider.com - francis [11/03/2001 12:14:01 -0400] "GET /secret/ HTTP/1.0" 200 1256 EXAMPLES
To process a log as produced in the common logformat: $ lr_run common2dlf < common.log common2dlf will be rarely used on its own, but is more likely called by lr_log2report: $ lr_log2report common < /var/log/httpd/common.log SEE ALSO
combined(2), modgzip2dlf(1), referer2dlf(1) AUTHORS
Joost van Baal <joostvb@logreport.org>, Francis J. Lacoste <flacoste@logreport.org> and Egon Willighagen <egonw@logreport.org>, based on an idea by Edwin Groothuis VERSION
$Id: common2dlf.in,v 1.15 2006/07/23 13:16:36 vanbaal Exp $ COPYRIGHT
Copyright (C) 2000, 2001 Stichting LogReport Foundation LogReport@LogReport.org This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program (see COPYING); if not, check with http://www.gnu.org/copyleft/gpl.html. Lire 2.1.1 2006-07-23 COMMON2DLF.IN(1)
All times are GMT -4. The time now is 01:28 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy