Vadim Smirnov

Forum Replies Created

Viewing 15 posts - 376 through 390 (of 1,476 total)
  • Author
    Posts
  • in reply to: Exclude apps #12164
    Vadim Smirnov
    Keymaster

      In the current version, this is not possible, but I think it makes sense to add such an opportunity.

      in reply to: mtu settings #12161
      Vadim Smirnov
      Keymaster

        Yes, it does!

        in reply to: wiresock api/command for status #12159
        Vadim Smirnov
        Keymaster

          Meanwhile, there is no such tool. When I have spare time, I plan to add a simple user interface for Wiresock VPN Client to provide basic information about tunnel status, IP address, etc.

          in reply to: Can’t start instalation WireSock on Windows7 x64 #12155
          Vadim Smirnov
          Keymaster

            I also noticed that when I starting the service, the TUN network adapter does not appear, as it did normally when the wireguard client was started.

            WireSock does not add a virtual network adapter, NAT and encryption are applied to packets on the fly. This is very similar to how the Cloudflare WARP client works.

            [SOCKS5]: S2C_AFTER: 4.0.0.0 : 2304 -> 192.168.1.105 : 64262 etc.

            This is my fault, I didn’t test the configuration when both SOCKS5 and Wireguard are running on the same IP. Please download update v.1.1.5 and check how it works.

            in reply to: Can’t start instalation WireSock on Windows7 x64 #12152
            Vadim Smirnov
            Keymaster

              It looks like you have a firewall in between that is blocking SOCKS5.

              If this is the case and if you are interested in further research, I think we could find & add another suitable method instead of SOCKS5.

              in reply to: Can’t start instalation WireSock on Windows7 x64 #12151
              Vadim Smirnov
              Keymaster

                It’s really weird. It looks like you have a firewall in between that is blocking SOCKS5. Web browsers use SOCKS4 by default, and maybe that matters. To clarify, could you please capture the Dante traffic on the server side? For example, for my test machine in Oracle cloud:

                ubuntu@instance-20211213-2206:~$ sudo tcpdump -D
                1.ens3 [Up, Running]
                2.lo [Up, Running, Loopback]
                3.any (Pseudo-device that captures on all interfaces) [Up, Running]
                4.bluetooth-monitor (Bluetooth Linux Monitor) [none]
                5.nflog (Linux netfilter log (NFLOG) interface) [none]
                6.nfqueue (Linux netfilter queue (NFQUEUE) interface) [none]
                ubuntu@instance-20211213-2206:~$ sudo tcpdump -vv -i ens3 -w file.pcap port 1080
                tcpdump: listening on ens3, link-type EN10MB (Ethernet), capture size 262144 bytes
                11 packets captured
                11 packets received by filter
                0 packets dropped by kernel

                The resulted capture in Wireshark:

                in reply to: Can’t start instalation WireSock on Windows7 x64 #12149
                Vadim Smirnov
                Keymaster

                  Well, Dante resets the connection immediately after processing the packet with authentication methods:

                  This is confusing if your browser connects fine… Could you please double-check if [CLIENT EXT IP]/32 in Dante configuration file matches your external IP? It behaves like you have a wrong IP address there.

                  You could try to change it to 0.0.0.0/0, restart Dante and check if it helps. For the security reasons, you could consider enabling username/password authentication.

                  in reply to: Can’t start instalation WireSock on Windows7 x64 #12147
                  Vadim Smirnov
                  Keymaster

                    Hmm, a little confusing. However, when you start the application specifying debug level “all” it also creates PCAP files with traffic captures. Could you please share the wiresock_ext.pcap? It should contain something like on the screenshot below:

                    in reply to: Can’t start instalation WireSock on Windows7 x64 #12143
                    Vadim Smirnov
                    Keymaster

                      Good evening, Dziadek!

                      I think the problem is with Dante server:

                      [SOCKS5]: associate_to_socks5_proxy: Failed to receive socks5_ident_resp:: 10054

                      Error code 10054 (WSAECONNRESET) means that connection was reset by the remote peer (Dante). How have you configured the Dante server? According to the log, it does not use username/password authentication, right? How have you limited access to it? By an IP address?

                      in reply to: Can’t start instalation WireSock on Windows7 x64 #12141
                      Vadim Smirnov
                      Keymaster

                        Hi,

                        Sorry, this is my fault, I had not tested the installer on Windows 7. I’ve just updated the installer, please re-download and try to install.

                        -Vadim

                        Vadim Smirnov
                        Keymaster

                          Thanks for pointing this out, I have fixed it in 1.0.32.

                          in reply to: “WIresock Client” and “Socksify Sample” #12096
                          Vadim Smirnov
                          Keymaster

                            Socksify is just sample demo code to illustrate the approach. It is not supposed to be an end-user application. Also, please note that it does not support UDP, it is TCP only. However, it can be extended to socksify UDP.

                            in reply to: “WIresock Client” and “Socksify Sample” #12092
                            Vadim Smirnov
                            Keymaster

                              I’m sorry, this is my fault. I was so keen about the new SOCKS5 feature that had not tested the latest build without it. The handshake without SOCKS5 was broken in v.1.0.47 and v.1.0.48.

                              Please download v1.0.49 and give it a try.

                              in reply to: “WIresock Client” and “Socksify Sample” #12089
                              Vadim Smirnov
                              Keymaster

                                From what I can see, your WireGuard server at google.com:2408 does not respond. Handshake Initiate packets are sent out, but a Handshake Response is never received.

                                BTW, does Google provide WireGuard service?

                                in reply to: “WIresock Client” and “Socksify Sample” #12087
                                Vadim Smirnov
                                Keymaster

                                  Thanks for your reply, I dont understand that you said dont specify, i try to delete “AllowedApps” line and restart wiresock service and there is no connection over VPN, i also try leave blank AllowedApps = “blank” , it doesnt work too.

                                  Since I’m usually running WireSock VPN Client for the Chrome browser app, it was straightforward to test. I have commented out AllowedApps and restarted service. Now, Firefox/Edge also show the VPN address on https://www.whatismyip.com/. Here is the resulted configuration file (key and passwords are stripped out):

                                  [Interface]
                                  PrivateKey = PRIVATE_KEY=
                                  Address = 10.66.66.2/32, fd42:42:42::2/128
                                  DNS = 94.140.14.14, 94.140.15.15
                                  MTU = 1420
                                  
                                  [Peer]
                                  PublicKey = PUBLIC_KEY=
                                  AllowedIPs = 0.0.0.0/0, ::/0
                                  Endpoint = oracle.sshvpn.me:50812
                                  #AllowedApps = chrome
                                  DisallowedIPs = 192.168.1.0/24
                                  Socks5Proxy = oracle3.sshvpn.me:1080
                                  Socks5ProxyUsername = SOCKS5_USER
                                  Socks5ProxyPassword = SOCKS5_PASSWORD

                                  Can you share your config file? Also, if you experience any problems, then try running Wiresock VPN Client as a console application with -log-level all and share the output.

                                  About Socksify sample, can you support it tunnell all apps, not only selected apps ?

                                  This is relatively easy to do, just remove the application name check, and it will tunnel every new TCP connection via the SOCKS5.

                                   

                                Viewing 15 posts - 376 through 390 (of 1,476 total)