Opened 5 years ago

Closed 5 years ago

#14015 closed enhancement (implemented)

Elevate HidServAuth authorized log level from debug to info

Reported by: cypherpunks Owned by:
Priority: Medium Milestone: Tor: 0.2.6.x-final
Component: Core Tor/Tor Version:
Severity: Keywords: easy tor-hs
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Can you please elevate the HidServAuth authorized log level from debug level to info level?

I believe it's in src/or/rendservice.c

  /* Allow the request. */
  log_debug(LD_REND, "Client %s authorized for service %s.",
            auth_client->client_name, service->service_id);

Thanks.

Child Tickets

Change History (4)

comment:1 Changed 5 years ago by nickm

Milestone: Tor: 0.2.???

What's the use case here?

comment:2 Changed 5 years ago by cypherpunks

Hi nickm,

I need it for administrative purposes mainly. This concerns HiddenServiceAuthorizeClient with the basic auth-type. I can use it to detect which client is being abusive and revoke their access. The debug log grows too big and eats up a lot of space for it to be practical, when all I need is that piece of information, coupled with my webserver logs.
This isn't as necessary for the stealth auth-type since all is required in that situation is the onion address which is readily available with the "Received INTRODUCE2 cell for service" info log message plus some other info level messages.

Thanks.

comment:3 Changed 5 years ago by nickm

Keywords: easy tor-hs added
Milestone: Tor: 0.2.???Tor: 0.2.6.x-final

Well, it seems easy enough...

comment:4 Changed 5 years ago by nickm

Resolution: implemented
Status: newclosed
Type: defectenhancement

Done as 20d0b1a04e0949c1bb46858c117947131ee448e1

Note: See TracTickets for help on using tickets.