Project

General

Profile

[Invalid] Mod usertrack NOT working

Added by yurylankovskiy over 6 years ago

Hello, module usertrack is not functioning at all after 1.4.46 upgrade, it was functioning previously and configuration has not been changed since the update.

I have tested on another setup, same result, nothing. I cannot even give you some information, because there's no error messages, no cookies created ... just nothing)

This a snippet from my config file,

server.modules = (
    ....
    "mod_usertrack",
)

usertrack.cookie-name = "TestCookie" 
usertrack.cookie-attrs = "; Path=/; Max-Age=86400; Secure; HttpOnly; SameSite;" 

Replies (9)

RE: Mod usertrack NOT working - Added by gstrauss over 6 years ago

Hello, module usertrack is not functioning at all after 1.4.46 upgrade, it was functioning previously and configuration has not been changed since the update.

"Survey says" you're lying. usertrack.cookie-attrs is a new feature in lighttpd 1.4.46, so how were you using it beforehand?

Please user your favorite search engine for "how to ask a good technical question" and do some more troubleshooting yourself before spamming forums. Make sure you actually restarted the instance of lighttpd that you're testing and that it is running.

RE: Mod usertrack NOT working - Added by yurylankovskiy over 6 years ago

The instance is restarted and running, I do not understand what sort of troubleshooting I can do on my side for this? There's no errors, and no feedback from lighttpd server I can use to debug this...

I have tried in Lubuntu 4.10.0-37 and on embedded linux, where it always worked.

RE: Mod usertrack NOT working - Added by yurylankovskiy over 6 years ago

I'm going back in versions ... to let you know where usertrack has worked previously

1.4.34 - works
1.4.45 - works
1.4.46 - does not work
1.4.47 - does not work

RE: Mod usertrack NOT working - Added by gstrauss over 6 years ago

mod_usertrack works just fine for me on an x86_64 system.

I do not understand what sort of troubleshooting I can do on my side for this?

Hint: please try harder. You obviously haven't used a search engine for "how to ask a good technical question" because most anything you find will tell you to provide a lot more information than "it doesn't work for me"

RE: Mod usertrack NOT working - Added by yurylankovskiy over 6 years ago

Kernel : Linux 4.10.0-37-generic (x86_64)
Compiled : #41-Ubuntu SMP Fri Oct 6 20:20:37 UTC 2017
C Library : GNU C Library version (Ubuntu GLIBC 2.24-9ubuntu2.2) 2.24 (unstable)
Default C Compiler : GNU C Compiler version 6.3.0 20170406 (Ubuntu 6.3.0-12ubuntu2)
Distribution : Ubuntu 17.04

Does Secure flag work for you?

RE: Mod usertrack NOT working - Added by yurylankovskiy over 6 years ago

Issue can be closed, resolved.

Sorry to bother.

Next time will be more informative on the report.

Thanks

RE: [Invalid] Mod usertrack NOT working - Added by ligttpd_user over 6 years ago

How did you set HttpOnly flag ? in 1.4.47 version.

RE: [Invalid] Mod usertrack NOT working - Added by yurylankovskiy over 6 years ago

ligttpd_user wrote:

How did you set HttpOnly flag ? in 1.4.47 version.

To tell you the truth, it does NOT work on my Embedded setup, but it does work (in some browsers) on Ubuntu 17.04 setup I have.

The config I have is simple HttpOnly, SameSite; for both setups, however, when I load the site for embedded the HttpOnly is set to false in all the browsers I have tried. HttpOnly is set to true on my Ubuntu setup though.

What linux distribution are you using?

RE: [Invalid] Mod usertrack NOT working - Added by ligttpd_user over 6 years ago

mips environment(linux-3.10.104).

I tried your configuration.

usertrack.cookie-attrs = "; Secure; HttpOnly;"

it worked, i use chrome browser, and checked cookies by enabling debugs, when HttpOnly flag set, i dont see cookies, when turn off flag, able to see the cookies, this is what exactly i was looking for.

    (1-9/9)