Idea: proxy server with .pac
|
16th Dec, 2014, 02:58 PM
Post: #8
|
|||
|
|||
RE: proxy server with .pac
@psyLord
I realised libproxy package is part of debian main apt so just do apt-get install libproxy libproxy-plugin* currently I found not the xbmc source biggest problem - this I have done already. but I'm not able to succeed with libproxy as is. by default it provides the usual auto proxy discovery - to find .pac somewhere on the network. my macs (safari) work well with dns record "wpad" directing to http where is /wpad.dat file. but libproxy seems to be ... not doing the job. in docs there is also notice that via mozjs (java script parser/engine) it is able to understand and read even local .pac files (file://) but I'm unable to find any reference HOW to specify it. can you please check? no programming there, if you install libproxy-tools you will have "proxy" binary at hand which according to man should work like: echo http://www.google.com | proxy but I see in web logs wpad.dat is not accessed, in dns logs that wpad name is not checked so proxy returns always direct://. anyhow the patch is here, currently it changes xbmc way of resolving (getting http) like this: 1) first autoproxy resolving is started via libproxy 2) if proxys are returned - XBMC internal setting is overwritten 3) otherwise that local setting is used 4) otherwise direct the code alone works (as currently libproxy returns always direct://), so if you make libproxy work as it should it is done. https://github.com/xbianonpi/xbian-package-xbmc/blob/master/patches/libproxy.patch Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
proxy server with .pac - p4trykx - 15th Jan, 2013, 11:34 AM
RE: proxy server with .pac - Koenkk - 25th Jan, 2013, 11:44 PM
RE: proxy server with .pac - psyLord - 12th Nov, 2014, 11:34 PM
RE: proxy server with .pac - mk01 - 15th Nov, 2014, 10:51 PM
RE: proxy server with .pac - psyLord - 24th Nov, 2014, 08:31 PM
RE: proxy server with .pac - mk01 - 5th Dec, 2014, 10:26 AM
RE: proxy server with .pac - psyLord - 8th Dec, 2014, 08:58 PM
RE: proxy server with .pac - mk01 - 16th Dec, 2014 02:58 PM
RE: proxy server with .pac - psyLord - 16th Dec, 2014, 06:35 PM
RE: proxy server with .pac - mk01 - 16th Dec, 2014, 09:05 PM
RE: proxy server with .pac - mk01 - 21st Dec, 2014, 06:16 AM
|