Hackplayers / 4nonimizer

A bash script for anonymizing the public IP used to browsing Internet, managing the connection to TOR network and to different VPNs providers (OpenVPN)
GNU General Public License v3.0
611 stars 192 forks source link

AUTH_FAILED error #33

Closed mehranabi closed 6 years ago

mehranabi commented 6 years ago

Hello, I'm using Ubuntu Budgie 17.10.

I install your script by sudo 4nonimizer install and update all vpn providers by sudo 4nonimizer update_vpns. Then change provider to cryptostorm by sudo 4nonimizer change_provider and then start service by sudo 4nonimizer start.

But get this error:

There is a problem starting openvpn. Please, check nohup.out for details

Sun Feb 25 17:11:50 2018 us=989822 Current Parameter Settings:
Sun Feb 25 17:11:50 2018 us=989831   config = '/opt/4nonimizer/vpn/cryptostorm/cstorm_linux-lisbon_udp.ovpn'
Sun Feb 25 17:11:50 2018 us=989837   mode = 0
Sun Feb 25 17:11:50 2018 us=989842 NOTE: --mute triggered...
Sun Feb 25 17:11:50 2018 us=989854 349 variation(s) on previous 3 message(s) suppressed by --mute
Sun Feb 25 17:11:50 2018 us=989859 OpenVPN 2.4.3 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Jul  3 2017
Sun Feb 25 17:11:50 2018 us=989869 library versions: OpenSSL 1.0.2g  1 Mar 2016, LZO 2.08
Sun Feb 25 17:11:50 2018 us=990025 WARNING: --ns-cert-type is DEPRECATED.  Use --remote-cert-tls instead.
Sun Feb 25 17:11:50 2018 us=990196 LZO compression initializing
Sun Feb 25 17:11:50 2018 us=990254 Control Channel MTU parms [ L:1622 D:1212 EF:38 EB:0 ET:0 EL:3 ]
Sun Feb 25 17:11:51 2018 us=174702 Data Channel MTU parms [ L:1622 D:1400 EF:122 EB:406 ET:0 EL:3 ]
Sun Feb 25 17:11:51 2018 us=174826 Local Options String (VER=V4): 'V4,dev-type tun,link-mtu 1602,tun-mtu 1500,proto UDPv4,comp-lzo,cipher AES-256-CBC,auth SHA512,keysize 256,key-method 2,tls-client'
Sun Feb 25 17:11:51 2018 us=174852 Expected Remote Options String (VER=V4): 'V4,dev-type tun,link-mtu 1602,tun-mtu 1500,proto UDPv4,comp-lzo,cipher AES-256-CBC,auth SHA512,keysize 256,key-method 2,tls-server'
Sun Feb 25 17:11:51 2018 us=174881 TCP/UDP: Preserving recently used remote address: [AF_INET]109.71.42.163:443
Sun Feb 25 17:11:51 2018 us=174927 Socket Buffers: R=[212992->212992] S=[212992->212992]
Sun Feb 25 17:11:51 2018 us=174950 UDP link local: (not bound)
Sun Feb 25 17:11:51 2018 us=174971 UDP link remote: [AF_INET]109.71.42.163:443
Sun Feb 25 17:11:51 2018 us=384890 TLS: Initial packet from [AF_INET]109.71.42.163:443, sid=092bbbaa c3b7b0aa
Sun Feb 25 17:11:51 2018 us=385091 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Sun Feb 25 17:11:51 2018 us=702412 VERIFY OK: depth=1, C=CA, ST=QC, L=Montreal, O=Katana Holdings Limite /  cryptostorm_darknet, OU=Tech Ops, CN=cryptostorm_is, emailAddress=certadmin@cryptostorm.is
Sun Feb 25 17:11:51 2018 us=702926 VERIFY OK: nsCertType=SERVER
Sun Feb 25 17:11:51 2018 us=702962 VERIFY OK: depth=0, C=CA, ST=QC, L=Montreal, O=Katana Holdings Limite /  cryptostorm_darknet, OU=Tech Ops, CN=server, emailAddress=certadmin@cryptostorm.is
Sun Feb 25 17:11:52 2018 us=260966 NOTE: --mute triggered...
Sun Feb 25 17:11:52 2018 us=261073 1 variation(s) on previous 3 message(s) suppressed by --mute
Sun Feb 25 17:11:52 2018 us=261100 [server] Peer Connection Initiated with [AF_INET]109.71.42.163:443
Sun Feb 25 17:11:53 2018 us=278328 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
Sun Feb 25 17:11:53 2018 us=484761 AUTH: Received control message: AUTH_FAILED
Sun Feb 25 17:11:53 2018 us=484838 SIGTERM received, sending exit notification to peer
Sun Feb 25 17:11:56 2018 us=536502 TCP/UDP: Closing socket
Sun Feb 25 17:11:56 2018 us=536599 SIGTERM[soft,exit-with-notification] received, process exiting

and also pass.txt is: (Placed in /opt/4nonimizer/vpn/cryptostorm/pass.txt)

manual
manual

Note:

An other error is that script doesn't update all provider and freeze on updating hidemyass provider.

Thanks for script, Sorry for my English mistakes!

shuhrat02 commented 6 years ago

+1, I have the same error after sudo 4nonimizer update_vpns command

vmotos commented 6 years ago

Cryptostorm allows download ovpn in automatic way but you must introduce your credentials manually (it's not free).

Regarding the problem of 'update_vpns' please, paste the error. I've just checked it in Ubuntu 17.10 and all is ok.

Regards

mehranabi commented 6 years ago

Hello @vmotos , Thanks for your reply. About the update_vpns error: When i run update_vpns command in terminal, all vpns start to update and fetch details, but freeze on updating hidemyass provider. Maybe it is for my internet, because i live in Iran and ISPs filter some websites and cannot access hidemyass, But script should skip it and do other works.

again, sorry for my English mistakes! :smile:

vmotos commented 6 years ago

Ok, I understand. We'll study to include some timeout control for skipping it and continue the process. Meantime, you can exec each script manually: e.g.: /opt/4nonimizer/vpn/vpnbook/vpn-get-pass.sh /opt/4nonimizer/vpn/vpnbook/vpn-get-ovpn.sh Regards

mehranabi commented 6 years ago

Thanks @vmotos