Hi Aleksander,

Thanks for a quick response

Here are the details you requested

/usr/sbin/haproxy -vv
HA-Proxy version 1.5.18 2016/05/10
Copyright 2000-2016 Willy Tarreau <wi...@haproxy.org>

Build options :
  TARGET  = linux2628
  CPU     = generic
  CC      = gcc
  CFLAGS  = -O2 -g -fno-strict-aliasing -DTCP_USER_TIMEOUT=18
  OPTIONS = USE_LINUX_TPROXY=1 USE_GETADDRINFO=1 USE_ZLIB=1 USE_REGPARM=1 
USE_OPENSSL=1 USE_PCRE=1

Default settings :
  maxconn = 2000, bufsize = 16384, maxrewrite = 8192, maxpollevents = 200

Encrypted password support via crypt(3): yes
Built with zlib version : 1.2.7
Compression algorithms supported : identity, deflate, gzip
Built with OpenSSL version : OpenSSL 1.0.2k-fips  26 Jan 2017
Running on OpenSSL version : OpenSSL 1.0.2k-fips  26 Jan 2017
OpenSSL library supports TLS extensions : yes
OpenSSL library supports SNI : yes
OpenSSL library supports prefer-server-ciphers : yes
Built with PCRE version : 8.32 2012-11-30
PCRE library supports JIT : no (USE_PCRE_JIT not set)
Built with transparent proxy support using: IP_TRANSPARENT IPV6_TRANSPARENT 
IP_FREEBIND

Available polling systems :
      epoll : pref=300,  test result OK
       poll : pref=200,  test result OK
     select : pref=150,  test result OK
Total: 3 (3 usable), will use epoll.


The relevant configuration is as follows

frontend fe_WebLogic
        bind *:8854
        mode http
        option  httplog
        option http_proxy
        option forwardfor
        default_backend be_Weblogic

backend be_Weblogic
        mode http
        option httpchk OPTIONS /
        cookie SERVERID insert indirect nocache
        stick-table type string len 52 size 5M expire 30m
        stick on urlp(jsessionid,;)
        stick on cookie(JSESSIONID)
        balance roundrobin
        server server1 10.1.1.134:7779 weight 1 check cookie s1 port 7779 inter 
20s
        server server2 10.1.1.135:7779 weight 1 check cookie s2 port 7779 inter 
20s


And finally the (lengthy) output of the haproxy -d output.

00000000:fe_WebLogic.accept(0008)=0010 from [127.0.0.1:59160]
00000000:fe_WebLogic.clireq[0010:ffffffff]: GET 
/forms/frmservlet?config=standaloneapp&standaloneapp=true&standaloneappver=12.2.1.3
 HTTP/1.1
00000000:fe_WebLogic.clihdr[0010:ffffffff]: Host: server.test.com
00000000:fe_WebLogic.clihdr[0010:ffffffff]: X-Real-IP: 10.1.1.108
00000000:fe_WebLogic.clihdr[0010:ffffffff]: Connection: close
00000000:fe_WebLogic.clihdr[0010:ffffffff]: Accept: text/*
00000000:fe_WebLogic.clihdr[0010:ffffffff]: Accept-Encoding: gzip
00000000:fe_WebLogic.clihdr[0010:ffffffff]: User-Agent: Java/1.8.0_181
00000000:be_Weblogic.srvrep[0010:0011]: HTTP/1.1 200 OK
00000000:be_Weblogic.srvhdr[0010:0011]: Date: Sun, 18 Aug 2019 13:05:06 GMT
00000000:be_Weblogic.srvhdr[0010:0011]: Server: Oracle-HTTP-Server
00000000:be_Weblogic.srvhdr[0010:0011]: Cache-Control: no-cache,no-store
00000000:be_Weblogic.srvhdr[0010:0011]: Content-Length: 1904
00000000:be_Weblogic.srvhdr[0010:0011]: Connection: close
00000000:be_Weblogic.srvhdr[0010:0011]: Content-Type: text/plain
00000000:be_Weblogic.srvcls[0010:0011]
00000000:be_Weblogic.clicls[0010:0011]
00000000:be_Weblogic.closed[0010:0011]
00000001:fe_WebLogic.accept(0008)=0010 from [127.0.0.1:59162]
00000001:fe_WebLogic.clireq[0010:ffffffff]: HEAD /forms/java/frmall.jar HTTP/1.1
00000001:fe_WebLogic.clihdr[0010:ffffffff]: Host: server.test.com
00000001:fe_WebLogic.clihdr[0010:ffffffff]: X-Real-IP: 10.1.1.108
00000001:fe_WebLogic.clihdr[0010:ffffffff]: Connection: close
00000001:fe_WebLogic.clihdr[0010:ffffffff]: User-Agent: Java/1.8.0_181
00000001:fe_WebLogic.clihdr[0010:ffffffff]: Accept: text/html, image/gif, 
image/jpeg, *; q=.2, */*; q=.2
00000001:be_Weblogic.srvrep[0010:0011]: HTTP/1.1 200 OK
00000001:be_Weblogic.srvhdr[0010:0011]: Date: Sun, 18 Aug 2019 13:05:06 GMT
00000001:be_Weblogic.srvhdr[0010:0011]: Server: Oracle-HTTP-Server
00000001:be_Weblogic.srvhdr[0010:0011]: Content-Length: 2026209
00000001:be_Weblogic.srvhdr[0010:0011]: Last-Modified: Wed, 09 Aug 2017 
13:37:10 GMT
00000001:be_Weblogic.srvhdr[0010:0011]: Connection: close
00000001:be_Weblogic.srvhdr[0010:0011]: Content-Type: application/x-java-archive
00000001:be_Weblogic.srvcls[0010:0011]
00000001:be_Weblogic.clicls[0010:0011]
00000001:be_Weblogic.closed[0010:0011]
00000002:fe_WebLogic.accept(0008)=0010 from [127.0.0.1:59166]
00000002:fe_WebLogic.clireq[0010:ffffffff]: GET 
/forms/lservlet?ifsessid=WLS_FORMS.formsapp.400&acceptLanguage=en-us&ifcmd=regFile=oracle/forms/registry/Registry.dat
 HTTP/1.1
00000002:fe_WebLogic.clihdr[0010:ffffffff]: Host: server.test.com
00000002:fe_WebLogic.clihdr[0010:ffffffff]: X-Real-IP: 10.1.1.108
00000002:fe_WebLogic.clihdr[0010:ffffffff]: Connection: close
00000002:fe_WebLogic.clihdr[0010:ffffffff]: Accept: text/plain
00000002:fe_WebLogic.clihdr[0010:ffffffff]: Accept-Encoding: gzip
00000002:fe_WebLogic.clihdr[0010:ffffffff]: User-Agent: Java/1.8.0_181
00000002:be_Weblogic.srvrep[0010:0011]: HTTP/1.1 200 OK
00000002:be_Weblogic.srvhdr[0010:0011]: Date: Sun, 18 Aug 2019 13:05:08 GMT
00000002:be_Weblogic.srvhdr[0010:0011]: Server: Oracle-HTTP-Server
00000002:be_Weblogic.srvhdr[0010:0011]: Cache-Control: no-cache,no-store
00000002:be_Weblogic.srvhdr[0010:0011]: Content-Length: 1027
00000002:be_Weblogic.srvhdr[0010:0011]: Connection: close
00000002:be_Weblogic.srvhdr[0010:0011]: Content-Type: text/plain;charset=UTF-8
00000002:be_Weblogic.srvcls[0010:0011]
00000002:be_Weblogic.clicls[0010:0011]
00000002:be_Weblogic.closed[0010:0011]
00000003:fe_WebLogic.accept(0008)=0010 from [127.0.0.1:59168]
00000003:fe_WebLogic.clireq[0010:ffffffff]: GET 
/forms/frmservlet?config=standaloneapp&standaloneapp=true&standaloneappver=12.2.1.3&ifsessid=WLS_FORMS.formsapp.400&acceptLanguage=en-us&ifcmd=startsession&iflocale=en-US
 HTTP/1.1
00000003:fe_WebLogic.clihdr[0010:ffffffff]: Host: server.test.com
00000003:fe_WebLogic.clihdr[0010:ffffffff]: X-Real-IP: 10.1.1.108
00000003:fe_WebLogic.clihdr[0010:ffffffff]: Connection: close
00000003:fe_WebLogic.clihdr[0010:ffffffff]: Cache-Control: no-cache
00000003:fe_WebLogic.clihdr[0010:ffffffff]: Pragma: no-cache
00000003:fe_WebLogic.clihdr[0010:ffffffff]: User-Agent: Java/1.8.0_181
00000003:fe_WebLogic.clihdr[0010:ffffffff]: Accept: text/html, image/gif, 
image/jpeg, *; q=.2, */*; q=.2
00000003:be_Weblogic.srvrep[0010:0011]: HTTP/1.1 200 OK
00000003:be_Weblogic.srvhdr[0010:0011]: Date: Sun, 18 Aug 2019 13:05:08 GMT
00000003:be_Weblogic.srvhdr[0010:0011]: Server: Oracle-HTTP-Server
00000003:be_Weblogic.srvhdr[0010:0011]: Cache-Control: no-cache,no-store
00000003:be_Weblogic.srvhdr[0010:0011]: Content-Length: 90
00000003:be_Weblogic.srvhdr[0010:0011]: Connection: close
00000003:be_Weblogic.srvhdr[0010:0011]: Content-Type: text/plain;charset=UTF-8
00000003:be_Weblogic.srvcls[0010:0011]
00000003:be_Weblogic.clicls[0010:0011]
00000003:be_Weblogic.closed[0010:0011]
00000004:fe_WebLogic.accept(0008)=0010 from [127.0.0.1:59170]
00000004:fe_WebLogic.clireq[0010:ffffffff]: GET 
/forms/lservlet;jsessionid=6myk1NmDcWR2t5m6cWsq_LnouLbbjLY92xtVGIBVxyvFMO43NSGV!-217731231?ifcmd=getinfo&ifhost=WIN10-TEST-VM1&ifip=169.254.195.131&fsalchecksum=%2FdlZU4MnGGqT4D7u1IkQPg%3D%3D
 HTTP/1.1
00000004:fe_WebLogic.clihdr[0010:ffffffff]: Host: server.test.com
00000004:fe_WebLogic.clihdr[0010:ffffffff]: X-Real-IP: 10.1.1.108
00000004:fe_WebLogic.clihdr[0010:ffffffff]: Connection: close
00000004:fe_WebLogic.clihdr[0010:ffffffff]: Cache-Control: no-cache
00000004:fe_WebLogic.clihdr[0010:ffffffff]: Pragma: no-cache
00000004:fe_WebLogic.clihdr[0010:ffffffff]: User-Agent: Java/1.8.0_181
00000004:fe_WebLogic.clihdr[0010:ffffffff]: Accept: text/html, image/gif, 
image/jpeg, *; q=.2, */*; q=.2
00000004:be_Weblogic.srvrep[0010:0011]: HTTP/1.1 200 OK
00000004:be_Weblogic.srvhdr[0010:0011]: Date: Sun, 18 Aug 2019 13:05:08 GMT
00000004:be_Weblogic.srvhdr[0010:0011]: Server: Oracle-HTTP-Server
00000004:be_Weblogic.srvhdr[0010:0011]: Cache-Control: no-cache,no-store
00000004:be_Weblogic.srvhdr[0010:0011]: Content-Length: 132
00000004:be_Weblogic.srvhdr[0010:0011]: Connection: close
00000004:be_Weblogic.srvhdr[0010:0011]: Content-Type: text/plain;charset=UTF-8
00000004:be_Weblogic.srvcls[0010:0011]
00000004:be_Weblogic.clicls[0010:0011]
00000004:be_Weblogic.closed[0010:0011]

In the highlighted entry is where the "jsessionid" is sent to the client, and 
from the debug it seems that haproxy doesn't examine the reply, or at least it 
is not shown in the debug.


Kind Regards,

N Mihelioudakis

E: n.mi...@outlook.com

Reply via email to