Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can you please explain step 3 bit more. #10

Open
aussiesidhu opened this issue Aug 19, 2024 · 5 comments
Open

can you please explain step 3 bit more. #10

aussiesidhu opened this issue Aug 19, 2024 · 5 comments

Comments

@aussiesidhu
Copy link

hi, I’n new to this proxy and smartdns and don’t really understand step3.
can you please explain a bit more on step3? do I need to create my own proxy server first before continuing??

@suuhm
Copy link
Owner

suuhm commented Aug 19, 2024

You need some free elite proxies , you can found on web via google etc.. or you buy some. So most of time the free proxies are very bad.
Another option is to buy a vps or aws or azure-vm where you can host the proxy as transparent mode for example

@aussiesidhu
Copy link
Author

noted!
so,on vps, host proxy in transparent mode and on-prem, set it up as dns mode, correct?

@suuhm
Copy link
Owner

suuhm commented Aug 20, 2024

No you just need one mode, either dns or transparent on your vps or on-prem machines.

So best way:
Setup unblock-proxy.sh local as dns/transparent and setup proxies on vps or use the ssh tunnle mode

@aussiesidhu
Copy link
Author

aussiesidhu commented Aug 20, 2024

ok, thank you.
I got few errors after running: make && make install (installing squid on debian 12)
../../src/sbuf/SBuf.h:48:34: error: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Werror=deprecated-declarations]
48 | class SBufIterator : public std::iterator<std::input_iterator_tag, char>
| ^~~~~~~~
In file included from /usr/include/c++/12/string:45,
from /usr/include/c++/12/bits/locale_classes.h:40,
from /usr/include/c++/12/bits/ios_base.h:41,
from /usr/include/c++/12/ios:42,
from /usr/include/c++/12/ostream:38,
from ../../src/base/PackableStream.h:14,
from old_api.cc:12:
/usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
127 | struct _GLIBCXX17_DEPRECATED iterator
| ^~~~~~~~
In file included from ../../src/HttpHeader.h:13,
from ../../src/HttpHeaderTools.h:14:
../../src/base/LookupTable.h:50:45: error: ‘template<class _Arg1, class _Arg2, class _Result> struct std::binary_function’ is deprecated [-Werror=deprecated-declarations]
50 | class SBufCaseInsensitiveLess : public std::binary_function<SBuf, SBuf, bool> {
| ^~~~~~~~~~~~~~~
In file included from /usr/include/c++/12/string:48:
/usr/include/c++/12/bits/stl_function.h:131:12: note: declared here
131 | struct binary_function
| ^~~~~~~~~~~~~~~
../../src/HttpHeaderTools.h:70:39: error: ‘template<class _Arg1, class _Arg2, class _Result> struct std::binary_function’ is deprecated [-Werror=deprecated-declarations]
70 | class NoCaseLessThan: public std::binary_function<std::string, std::string, bool>
| ^~~~~~~~~~~~~~~
/usr/include/c++/12/bits/stl_function.h:131:12: note: declared here
131 | struct binary_function
| ^~~~~~~~~~~~~~~
In file included from ../../src/security/Session.h:14,
from ../../src/security/forward.h:14,
from ../../src/SquidConfig.h:21:
../../src/security/forward.h: In function ‘void Security::DH_free_cpp(DH*)’:
../../src/security/LockingPointer.h:34:21: error: ‘void DH_free(DH*)’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
34 | function(a);
../../src/security/forward.h:85:1: note: in expansion of macro ‘CtoCpp1’
85 | CtoCpp1(DH_free, DH *);
| ^~~~~~~
In file included from ../../compat/openssl.h:33,
from ../../src/security/Context.h:15,
from ../../src/security/forward.h:13:
/usr/include/openssl/dh.h:204:28: note: declared here
204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH dh);
| ^~~~~~~
../../src/security/forward.h: At global scope:
../../src/security/forward.h:86:79: error: ‘int DH_up_ref(DH
)’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
86 | typedef Security::LockingPointer<DH, DH_free_cpp, HardFun<int, DH , DH_up_ref> > DhePointer;
| ^
/usr/include/openssl/dh.h:205:27: note: declared here
205 | OSSL_DEPRECATEDIN_3_0 int DH_up_ref(DH dh);
| ^~~~~~~~~
In file included from ../../src/ssl/support.h:21,
from ../../src/SquidConfig.h:24:
../../src/ssl/gadgets.h:60:51: error: ‘void RSA_free(RSA
)’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
60 | typedef std::unique_ptr<RSA, HardFun<void, RSA
, &RSA_free>> RSA_Pointer;
|
then another error after running:
/usr/local/squid/libexec/security_file_certgen -c -s /usr/local/squid/var/cache/squid/ssl_db -M 50MB
-bash: /usr/local/squid/libexec/security_file_certgen: No such file or directory

it appears libexec doesn't exist.

can you please help?

@suuhm
Copy link
Owner

suuhm commented Aug 23, 2024

Hmm I recommend to install the source for newer debian in that case or just install via apt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants