M
M
martensit2019-01-18 17:09:07
HTML
martensit, 2019-01-18 17:09:07

Is it possible to filter out “null” connections from logging in 3proxy?

Now I use

logformat "L%U;%I;%O;%T"
log c:\3proxy\logs\3proxy.log H

Is it possible to make sure that lines where %O and %I are equal to zero are not written to the Log?
I want to filter out zero requests from logging, for example, when the login and password are used incorrectly during proxy authorization.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey, 2016-05-08
@dev400

Whole.
nofolow.jpg

V
Vladimir Dubrovin, 2019-01-18
@z3apa3a

It is possible to weed out records of unauthorized users, albeit somewhat messy, something like this:

log
auth iponly strong
deny -
nolog
allow *
proxy

auth iponly strong
allows access to some resources without ACL authorization (iponly) and to others with authorization (strong). If you leave only strong, then the ACL will not be checked for unauthorized users.
deny -
denies access without authorization
nolog
cancels logging of requests that fall under deny - (nolog affects the ACL entry after which it stands)
allow *
Allows all other requests.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question