202 Lotus blogs updated hourly. Who will post next? Home | Blogs | Search | About 
 
Latest 7 Posts
Tutorial: Moving a Centos physical server with Soft RAID to be a KVM virtual machine guest using virt-p2v and virt-v2v
Sun, Nov 5th 2017 1
IBM Domino and DIIOP - not quit doing what it is supposed to.
Sun, Oct 1st 2017 4
Maven - how to get dependency JAR files in build too
Fri, Sep 15th 2017 6
IBM Domino, a very annoying performance issue now SOLVED
Tue, Aug 29th 2017 11
IBM Domino lessons learned from using the new FP8 feature of having the view index outside the NSF database (NDX)
Tue, May 30th 2017 9
Making "X-Forwarded-For" log feature IBM Domino FP8 actually work
Wed, May 17th 2017 12
New logging feature in IBM Domino FP8 when using Reverse Proxy - X-Forwarded-For
Tue, Mar 28th 2017 7
Top 10
Making "X-Forwarded-For" log feature IBM Domino FP8 actually work
Wed, May 17th 2017 12
IBM Domino: Moving the view indexes outside the NSF database
Mon, Mar 13th 2017 11
IBM Domino, a very annoying performance issue now SOLVED
Tue, Aug 29th 2017 11
Webmin, fix to "Error code: sec_error_invalid_key" SSL error
Sun, Nov 2nd 2014 10
Read and write to the MS Windows Registry from Java
Fri, Apr 15th 2016 9
Synology Cloud Station - Important update 4.2.1-4374 ... much much improved performance
Wed, Nov 23rd 2016 9
IBM Domino lessons learned from using the new FP8 feature of having the view index outside the NSF database (NDX)
Tue, May 30th 2017 9
XPages: Creating PDF files from an XPage or HTML with no coding or installation of software
Fri, Sep 19th 2014 8
Quick guide on how to index data from IBM Domino databases in the Apache Solr search engine
Sun, Sep 28th 2014 8
IBM Notes FP3 issue with error "LS2J Error With "Java Constructor Failed To Execute" and Eclipse Update Site can no longer import
Wed, Mar 11th 2015 8


Making "X-Forwarded-For" log feature IBM Domino FP8 actually work
Twitter Google+ Facebook LinkedIn Addthis Email Gmail Flipboard Reddit Tumblr WhatsApp StumbleUpon Yammer Evernote Delicious
Jesper B. KiƦr    

In March I wrote about the new log feature in IBM Domino in connection with using a Reverse Proxy. http://nevermind.dk/nevermind/blog.nsf/subject/new-logging-feature-in-ibm-domino-fp8-when-using-reverse-proxy---x-forwarded-for The issue is that you will always get the IP address of the Reverse Proxy in you HTTP log files and not the actual IP of the user. This is what the HTTP header "X-Forwarded-For" is used for, however pre FP8 is was not supported on IBM Domino server. In FP8 it is supported...but not documented. Thanks to Vitor Pereira who (commented on my blog entry) created a PMR, we now have an answer how to get it working. Add HTTP_LOG_ACCESS_XFORWARDED_FOR=1 to the servers notes.ini file, restart server and it works! However if you using domlog.nsf for log data (which is fine for low traffic) you need to change the design to see the X-forwarded-for IP. You would presume the item would be named something like "XForwardedFor", but no .. it is "ForwardedFor" ..or rather because it is misspelled it is "ForwaredFor" ;-)

---------------------
http://nevermind.dk/nevermind/blog.nsf/subject/making-x-forwarded-for-log-feature-ibm-domino-fp8-actually-work
May 17, 2017
13 hits



Recent Blog Posts
1
Tutorial: Moving a Centos physical server with Soft RAID to be a KVM virtual machine guest using virt-p2v and virt-v2v
Sun, Nov 5th 2017 11:20a   Jesper Kiaer
I have used KVM for several years on Centos as a platform for running virtualized servers, and my experiences have been very good Now I have the case where I want to move a physical Centos server running RAID 10 on soft RAID, to a Centos KVM server. There are several ways to create a VM guest from physical server however it is a complex process and plenty of things can go wrong on the way. The safest way to do it is to use virt-v2v and virt-p2v. These are Red Hat created tools but can be dow
4
IBM Domino and DIIOP - not quit doing what it is supposed to.
Sun, Oct 1st 2017 9:15p   Jesper Kiaer
I am using DIIOP to have remote session with a Domino server, because using Java agent just gave to many issues with some external libraries. While DIIOP may not be the fastest way to work with data on a IBM Domino server, it usually does the job...well sort of.. I've just found out when using richtextitem.embedobject the name parameter of the file does not work, so the attachment gets this reeeeaaally long name ...including the file path. Also I needed to create a text file on the server so
6
Maven - how to get dependency JAR files in build too
Fri, Sep 15th 2017 12:22p   Jesper Kiaer
Maven may be smart to some ....but it is also a bloody XML nightmare, where many things can go wrong ...(or maybe it just me being stupid) Just a reminder to myself....when I want to have dependency JAR files in build too , add this to pom.xml file org.apache.maven.plugins maven-dependency-plugin copy-dependencies prepare-package copy-dependencies ${project.build.directory}/classes/lib false false true org.apache.maven.plugins maven-jar-plugin true
11
IBM Domino, a very annoying performance issue now SOLVED
Tue, Aug 29th 2017 9:52a   Jesper Kiaer
For the past years a customer of mine has had IBM Domino performance issues with a Domino Server. The issue concerned was really felt when working with attachments. The company has small offices around the world, so we use SmartUpgrade (which in general works well) to manage Notes Feature Pack upgrades. We attach the Feature Pack as an attachment in the SmartUpgrade database and use a Policy to push it to users. Normally this is very fast, but for one server it would maybe take 5 hours to dow
9
IBM Domino lessons learned from using the new FP8 feature of having the view index outside the NSF database (NDX)
Tue, May 30th 2017 1:22p   Jesper Kiaer
At a customer today I wanted to implemented the new IBM Domino feature of having the view index outside the NSF. First I upgraded to FP8 IF3, then I updated notes.ini from the configuration document with the new setting NIFNSFEnable=1 and restarted the server. I then wanted to start carefully with one database only ...with something like "load compact -c -nifnsf on databasename.nsf". Lesson 1) Unfortunately I misspelled the database path and hit enter. To my surprise the Domino server did n
13
Making "X-Forwarded-For" log feature IBM Domino FP8 actually work
Wed, May 17th 2017 11:04a   Jesper Kiaer
In March I wrote about the new log feature in IBM Domino in connection with using a Reverse Proxy. http://nevermind.dk/nevermind/blog.nsf/subject/new-logging-feature-in-ibm-domino-fp8-when-using-reverse-proxy---x-forwarded-for The issue is that you will always get the IP address of the Reverse Proxy in you HTTP log files and not the actual IP of the user. This is what the HTTP header "X-Forwarded-For" is used for, however pre FP8 is was not supported on IBM Domino server. In FP8 it is support
7
New logging feature in IBM Domino FP8 when using Reverse Proxy - X-Forwarded-For
Tue, Mar 28th 2017 3:28p   Jesper Kiaer
When using a Reverse Proxy (like NGINX) is in front of a IBM Domino web server you have the issue that the IP address of the client accessing the Domino web server is not forwarded to the log files on the Domino server. What you get is the IP address of the Reverse Proxy instead...which is not very helpful. This is normally fixed by the Reverse Proxy server adding a HTTP header field called "X-Forwarded-For" (XFF) which the web server then can log. Unfortunately the IBM Domino web server wil
11
IBM Domino: Moving the view indexes outside the NSF database
Mon, Mar 13th 2017 1:23p   Jesper Kiaer
As a new feature in IBM Domino Feature Pack 8 (FP8) for IBM Domino 9.0.1 is that you can move the view indexes outside the NSF. View indexes and Full Text Indexes are data derived from the "core" data, the documents in the database. This means they can always be rebuilt, if you have the data in the documents. Benefits from moving view index outside NSF: 1) A smaller database file size, to avoid reaching the 64GB limitation. 2) Faster database backup and restore. 3) Better performance by a
2
Watch out ...Intel Atom C processors will completetly die due to a flaw in processor
Fri, Feb 10th 2017 4:15p   Jesper Kiaer
If you have a NAS, a router (like Cisco), a firewall or a less capable PC with a Intel Atom C processor you might be heading for trouble. Due to a "clock flaw" in the Intel Atom C2000 processors they are "likely to fail at an accelerated rate after 18 months of operation" theregister.co.uk states Fail as in "completely die" and not boot again ...ever The specific SKUs are: C2308, C2338, C2350, C2358, C2508, C2518, C2530, C2538, C2550, C2558, C2718, C2730, C2738, C2750, and C2758 (stepp
5
Shrinking the 0.44 MB large IBM Domino favicon.ico to something useful
Wed, Jan 25th 2017 10:46p   Jesper Kiaer
Normally favicons are very tiny graphic files, just a few KB in size. But to my surprise I saw that the IBM Domino favicon was a whopping 449,4 KB in size . and took over 0.7 seconds to load The reason is that an ICO file can contain many images inside and thus be a multi-purpose graphics file. Which can be great at times.... but sending a half megabyte favicon is probably not what you want If you want to keep the IBM Domino favicon but only a 16x16 version, you can just download the norm




Created and Maintained by Yancy Lent - About - Planet Lotus Blog - Advertising - Mobile Edition