These are chat archives for Nithmr/ProxyHelper

23rd
May 2016
Utkarsh Raj
@clearnote01
May 23 2016 10:07
Add the network name, like "EED-II' and the proxy associated with it , say "172.16.24.2" into the "proxy.dbase" file , so when the script is run, and your computer is connected to any given network already specified in the proxy.dbase file then system proxy is set accordingly.
in the /etc/environment file all the proxy settings are written automatically
Since several distros like Kubuntu, Xubuntu, Linux Mint, etc do not respect system proxy for "apt" utility, settings are also made for them in a /etc/apt/apt.conf file
Utkarsh Raj
@clearnote01
May 23 2016 10:16
A simple work pipeline can described as follows ->. If you are connected to "D-Link" and the proxy information is specified in proxy.dbase file then it will use nmcli to
  • "nmcli" utility is used to get name of the current network, which is searched in proxy.dbase file, if proxy information is found, proxy is set as described above.
Akarshit Wal
@Akarshit
May 23 2016 14:32
Ok its a great thing
Now i will try to explain what we are going do
Instead of matching the name, we will ping all the proxies simultaneously. The proxy which will give the best response is automatically set to be the system proxy.
This script will automatically be triggered when a connection is made (either wireless or wired)
The second feature which we were thinking was to sniff the tor browser port and if the connnection is made we will be continuously sending some packets through it, so that the connection is maintained.
Akarshit Wal
@Akarshit
May 23 2016 14:37
That's the rough idea. Do let me know if you have any dounts
doubts
Akarshit Wal
@Akarshit
May 23 2016 14:49
@sagarkarira has good knowledge about the servers and proxy in NITH. If anyone has any doubt they can contact @himanshusingh-15 or @sagarkarira