Answer the question
In order to leave comments, you need to log in
ODBC in 3proxy and a web snout for analyzing logs? how to implement under linux?
The question of such a plan.
There are several proxy servers that live on 3proxy.
I would very much like to make a normal log analyzer, and with online access (so that the bosses of subordinates can watch a case).
Has anyone used ODBC in 3proxy (under linux) and does anyone have a ready-made web-muzzle for viewing statistics from the podtgreSQL / mySQL database filled using ODBC?
I will accept any tips on setting up this miracle.
[proxy]
Description = PostgreSQL connection to 3proxy
Driver = PSQL
Database = proxy
Servername = 127.0.0.1
UserName = postgres
Port = 5432
ReadOnly = No
RowVersioning = No
ShowSystemTables = No
ConnSettings =
log &proxy
logformat "Insert into log ("time", bytesin, bytesout, username, url, host, port, service) values ('%Y-%m-%d %H:%M:%S'::timestamp without time zone, %I, %I, '%T', '%T', '%T', %I, %I);"
Answer the question
In order to leave comments, you need to log in
idea-vopros.ru/index.php/3/lightsquid-3proxy
here is the man in the subject
Alternatively, you can use any squid log analyzer, for example, by setting a compatible logging format in 3proxy: 3proxy.ru/howtor.asp#LOGANALIZERS
rearranged everything anew, ODBC earned! it remains to close up the web face :)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question