02-13-2003
Apache
I am tring to configure Apache so that it displays the ip address of
users browsing the web in the header.
mod_header is installed on my apache as default.
I tried including the following in httpd.conf file but no joy
Header set remoteip %{REMOTE_ADDR}
I have also tried
Header add remoteip %{REMOTE_ADDR}e
but this did not work either
it just displays
remoteip: %{REMOTE_ADDR}e
instead of the ip address.
I have read the online documentation but still no joy
I am testing this by issuing
telnet web_server 80
GET / HTTP/1.0
Host: myhostname
can you help? please
I am running apache_1.3.27 on sun solaris
Thanks in Advance
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
how must httpd.conf be configured
to exec the php files? (2 Replies)
Discussion started by: user666
2 Replies
2. UNIX for Dummies Questions & Answers
How do you tell which apache version is currently running.
the situation is that I got multiply httpd.conf files on a solaris 2.6 server and I need to tell which version is what? I have checked the httpd.conf but no joy
Thanks in Advance (3 Replies)
Discussion started by: hassan2
3 Replies
3. IP Networking
I want to have multiple domains to be configured in apache web server on redhat linux
Please help me
Vijay (2 Replies)
Discussion started by: Vijayanand
2 Replies
4. IP Networking
I want to have multiple domains to be configured in apache web server on redhat linux
can i have that without DNS server configured. What all i have to do for that.What all to configure ?
And importantly
i want the site be accessed by name rather IP address.
Please help me
... (1 Reply)
Discussion started by: Vijayanand
1 Replies
5. IP Networking
I want to have multiple domains to be configured in apache web server on redhat linux
can i have that without DNS server being configured. What all i have to do for that.What all to configure ?
please note that i need to access the site by its name not by IP . I want this in a LAN . I dont... (4 Replies)
Discussion started by: Vijayanand
4 Replies
6. UNIX for Dummies Questions & Answers
on my webserver, and im sure many of you who also run one see this all the time, but the majority of my access log is filled with attempted exploits from computers compromised by some virus (NIMBDA?) and anyway i know this is harmless to an apache/linux webserver, but its annoying, anyway, on... (5 Replies)
Discussion started by: norsk hedensk
5 Replies
7. UNIX for Dummies Questions & Answers
Hi, I am new to unix and am trying to determine if apache is installed on my server. Is there a command to determine the running version or if it is even installed. I appreciate your help.
Thanks,
Eric (2 Replies)
Discussion started by: ejbrever
2 Replies
8. Web Development
Hi,
I'm new to developing modules for Apache. I understand the basics now and can develop something simple which allows a 'GET' request to happen, but what I want to do is actually 'POST' information to my site. I know the basic POST Request works and I can see that it is post by looking at... (2 Replies)
Discussion started by: fishman2001
2 Replies
9. Red Hat
Have no idea on what the below error message is:
Process not running: /opt/java15/jdk/bin/java -classpath /opt/apache/apache-ant-1.7.0-mod/lib/ant-launcher.jar org.apache.tools.ant.launch.Launcher -buildfile build.xml dist.
Any help? (3 Replies)
Discussion started by: gull05
3 Replies
LEARN ABOUT DEBIAN
flow-receive
flow-receive(1) General Commands Manual flow-receive(1)
NAME
flow-receive -- Receive flow data with the NetFlow protocol.
SYNOPSIS
flow-receive [-h] [-b big|little] [-C comment] [-d debug_level] [-o output_file] [-S stat_interval] [-V pdu_version] [-z z_level]
localip/remoteip/port
DESCRIPTION
The flow-receive utility is used to receive flows in NetFlow format. When the remoteip is configured only flows from that exporter will be
processed, this is the most secure and recommended configuration. When the localip is configured flow-receive will only process flows sent
to the localip IP address. If remoteip is 0 (not configured) flows from any source IP address are accepted. Multiple non aggregated PDU
versions may be accepted at once to support Cisco's Catalyst 6500 NetFlow implementation which exports from both the supervisor and MSFC
with the same IP address and same port but different export versions. In this case the exports will be stored in the format specified by
the -V flag or whichever export type is received first.
OPTIONS
-b big|little
Byte order of output.
-C Comment
Add a comment.
-d debug_level
Enable debugging.
-h Display help.
-o file Write to file instead of the standard out.
-S stat_interval
When configured flow-receive will emit a timestamped message on stderr every stat_interval minutes indicating counters such as
the number of flows received, packets processed, and lost flows.
-V pdu_version
Use pdu_version format output.
1 NetFlow version 1 (No sequence numbers, AS, or mask)
5 NetFlow version 5
6 NetFlow version 6 (5+ Encapsulation size)
7 NetFlow version 7 (Catalyst switches)
8.1 NetFlow AS Aggregation
8.2 NetFlow Proto Port Aggregation
8.3 NetFlow Source Prefix Aggregation
8.4 NetFlow Destination Prefix Aggregation
8.5 NetFlow Prefix Aggregation
8.6 NetFlow Destination (Catalyst switches)
8.7 NetFlow Source Destination (Catalyst switches)
8.8 NetFlow Full Flow (Catalyst switches)
8.9 NetFlow ToS AS Aggregation
8.10 NetFlow ToS Proto Port Aggregation
8.11 NetFlow ToS Source Prefix Aggregation
8.12 NetFlow ToS Destination Prefix Aggregation
8.13 NetFlow ToS Prefix Aggregation
8.14 NetFlow ToS Prefix Port Aggregation
1005 Flow-Tools tagged version 5
-z z_level
Configure compression level to z_level. 0 is disabled (no compression), 9 is highest compression.
EXAMPLES
Listen on port 9800 on any local interface for exports from IP address 10.0.0.1, store the exports in flows
flow-receive 0/10.0.0.1/9800 > flows
Listen on port 9800 on any local interface from any IP address, display the received flows with flow-print.
flow-receive 0/0/9800 | flow-print
BUGS
It is not currently possible to convert between the aggregated formats (8.x) and the non aggregated formats (1,5,6,7).
AUTHOR
Mark Fullmer maf@splintered.net
SEE ALSO
flow-tools(1)
flow-receive(1)