What directives are you using for logging?

Have you looked into the docs to see where that IP is coming from? Or how
to forward different IP addresses (true client vs proxy) from the proxy?

Bradley V. Stone
www.bvstools.com
MAILTOOL Benefit #21 <https://www.bvstools.com/mailtool.html>: Superior
Product Support - BVSTools has proven over the past 20+ years and working
with thousands of customers all over the world and many different SMTP
servers to have superior support for our products. We feel functionality is
important, but just as important is making sure that emails and phone calls
for support are answered as quickly as possible. During working hours
you'll often get a response in less than 30 minutes.

On Fri, Jan 19, 2018 at 8:48 AM, Dean Eshleman <Dean.Eshleman@xxxxxxxxxxxx>
wrote:

As I stated in the original message, 10.2.0.109 is one of the IP addresses
assigned to System 1 (IBMi). I know the ip address for my PC is something
different. I'm just surprised that when System 1, Apache server 1 forwards
the request to the Apache server on System 2 that the client IP address in
the access log file shows 10.2.0.109 instead of 10.2.0.31 since I specified
10.2.0.31 port 10200 when calling the web service on System 1. I wonder
how System 1 decides which ip address it uses to forward the request?

Dean Eshleman
Software Development Architect
Everence

On 1/18/2018 6:16 PM, Nathan Andelin wrote:
Maybe 10.2.0.109 the address of your PC on the network, that get's picked
up in the log as the originator of the requests.



On Thu, Jan 18, 2018 at 3:01 PM, Dean Eshleman <Dean.Eshleman-d3hNrR/
acMxWk0Htik3J/w@xxxxxxxxxxxxxxxx>
wrote:

Hi,

We have two Apache servers on our IBM I that is in the DMZ. They are
setup to listen on different ip addresses and different ports. These
servers are for web services.

System 1 - IBMi in DMZ
Apache Server 1 listens on IP Address 10.2.0.31 port 10200
Apache Server 2 listens on IP Address 10.2.0.109 port 10000

I'm adding a reverse proxy setup to Server 1 so that it forwards
requests
back to another Apache server on an IBM I (System 2) in our trusted
network. When I test this setup, the Apache access log on System 2
shows
the client ip address as 10.2.0.109. I was expecting it to be
10.2.0.31.
Anyone know why that is?

Dean Eshleman
Software Development Architect
Everence

______________________________________________________________________
Confidentiality Notice: This information is intended only for the
individual or entity named. If you are not the intended recipient, do not
use or disclose this information. If you received this e-mail in error,
please delete or otherwise destroy it and contact us at (800) 348-7468 so
we can take steps to avoid such transmission errors in the future. Thank
you.
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.