HOW TO CREATE CLI internet chat interface IN JAVA

Implement a websockets based chat server that can be used for exchanging text messages as well as running system commands on the other machine (linux). You need to devise a protocol to identify the type of incoming data and correspondingly treat it like a text message or an instruction to run a command.

The messages should be encrypted with RSA to ensure that the socket stream is secure

20.04 – L2TP/IPsec internet access problem

When I try to connect to a VPN (L2TP/IPsec) and don’t check the option “use this connection only for resources on its network” i’m not being able to access the Internet, if i use this option i’m not being able to access remote resources

When i check "use this connection only for resources on its network"
route -n
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface         UG    600    0        0 wlo1 UH    50     0        0 ppp0 UGH   600    0        0 wlo1     U     1000   0        0 wlo1   U     600    0        0 wlo1 UH    600    0        0 wlo1

When i don't check "use this connection only for resources on its network"
route -n         U     50     0        0 ppp0         UG    600    0        0 wlo1 UH    50     0        0 ppp0 UGH   600    0        0 wlo1     U     1000   0        0 wlo1   U     600    0        0 wlo1 UH    600    0        0 wlo1

When i don't use vpn 
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface         UG    600    0        0 wlo1     U     1000   0        0 wlo1   U     600    0        0 wlo1

I find similar bug , but i can’t fing solution.
Thanks for any help.

internet – Scheduling method for guest network in TPlink (TD-W8960N) ADSL modem

I have the ADSL modem like this:
enter image description here

and i want to have one time scheduled sharing internet, but the TPlink page not have the time schedule as you can see here:

enter image description here

I have tried this upgrade file but no change in the guest network options.

And see the page of TPlink site which said Archer D2 and TD-W9980(B) have this option,

I was thinking to find some auto web scraping script to automatically open the guest network setting page on my modem page and tick this option in the modem every day, but i have doubt which, this work have bad effect on the modem and maybe this action reset it every day and damage it!.

So what methods do you suggest to do this?


catalina – New MacBook Pro failed on OS reinstall, how do I get it out of Internet Recovery Mode?

I just got a new 16″ MacBook Pro but things have gone awry while migrating my data from another Mac. Would appreciate any advice you might have.

When I opened the new computer, I turned it on and made a new account just to make sure it worked. Seeing that it did, I began the data migration process from my old MBP (still running Mojave) using Migration Assistant. The migration seemed to be going ridiculously slowly to the point that I thought it was frozen. I then realized that I could get all the data from Time Machine on my backup drive, so I cancelled the process.

To make sure I had a clean start again, I rebooted the new computer in recovery mode and reinstalled MacOS Catalina. But unfortunately this stopped halfway through claiming there was an internet problem (I was seated right next to my router).

After this point, whenever I restarted the computer, it would either flash the folder with the question mark (i.e. no bootable drive found) or it would enter internet recovery mode. In the case of the latter, I would enter my wifi password and then it would gyrate for about 10 minutes until it gave up, showing the failed globe icon along with the message “ -2002F“. I wasn’t able to enter the typical recovery menu at all.

Now no matter what I do, it boots into internet recovery mode: booting up normally, holding CMD + R, holding Option + Cmd + R, etc. I have created and inserted two bootable USB drives into the computer, one with Catalina and the other with Mojave. When I hold Option while starting up, it correctly displays the two drives (and the wifi menu underneath). But when either is selected, it goes back into internet recovery mode anyway.

Has anyone else experienced problems like this? Anything else I can try? I’m very excited to use my new machine but this is proving to be immensely frustrating so far. Thanks for your time!

vpn – how to speed up Internet speed via Wireguard connection

I have a 1000mbps network at home. Doing a speed-test at Cloudflare scores 9xx mbps.
I have tried setting up Wireguard in Japan on Vultr, AWS and GC.
GC gives me the best average network speed, which is around 3xx mbps only.
Vultr and AWS gives 2xx mbps.
I believe 2xx mbps is far too low when comparing to the original speed?
May I know where the issue could be?

P.S. These are the steps I am doing:

online – How does “internet connection required” protect from piracy on mobile phones?

I don’t know how the DRM of this particular game works, because I do not work at Nintendo. But a common reason why DRM requires an always-on internet connection is because not every copy of the game is the same. Everyone who buys the game gets a copy with a different license key. While the player is playing the game, the license key is sent to the server. When a second player comes online with the exact same license key, then one of them is obviously playing a copy they didn’t buy.

When the game is bought through a store platform which assigns unique IDs to users or devices, you can also use an internet connection to verify purchase. The game sends the user/device ID to the server, and the server verifies that this user/device has actually bought that game.

As with every DRM scheme, this system is not bulletproof. No DRM scheme is bulletproof. When a game runs on the user’s hardware, it’s in the hands of the enemy. A determined hacker can find out where the game stores the license key and how to replace it with a different one. Or alternatively change the game executable so it will run without comparing the license key. But that takes some time to figure out. Most games make their most revenue during the first weeks after release. So the idea is not to deter the software pirates forever, but only until the launch weeks are over.

android – How does “internet connection required” protect from piracy?

enter image description here

The above scene actually happened, and was frustrating.

Here is my understanding so far:

  • Nintendo released Mario Run on the Android Play Store,
  • Mobile phone games (Android, iOS) are a relatively new market for Nintendo,
  • 90% of Mario Run consists of offline levels, which wouldn’t normally require any network,
  • When Nintendo produces the hardware for their games (Wii, Switch, etc) they are able to embed some “strong” anti-piracy (anti-copy) features,
  • When Nintendo can’t control the hardware (Android, iOS), they achieve anti-piracy by requiring an internet connection when launching the game and before each level.

My question is: how can Nintendo achieve to “obfuscate” the app enough to decrease the likelihood of piracy, where thousands of players would play the full game without purchasing? Is it extremely difficult for a hacker to record the successive states (memory snapshots) of the game when playing the full version, and recombine them in a pirate app that would skip the network traffic?

Ambassadors | Forum Promotion – Best Webmaster, Admin and Internet Marketing Forum

Hi, I’m looking for people to become Ambassadors on faff. It’s a fairly simple role. You’re tasked with creating content on the forum and maintaining activity levels.

You’ll get a special community level of ‘A’ and also a badge for your profile. You will also have access to a few extra permissions.

If you’re interested than please DM me. This isn’t a moderator position but Ambassadors would be considered first if the time came where a moderator was needed.

networking – Internet connection drops for a few seconds

I am having a problem with an internet connection, let me explain:

I use my phone to connect to a WiFi network that uses EAP-SIM. In fact, every person who has a SIM card from the “Free” carrier can connect to these kind of WiFi Hotspots.

These hotspots are hosted from people’s routers in their home so I don’t really have access to the router configuration.

Then, I use a USB cable to tether connection to my PC running Windows 10. The problem is that when I watch Youtube videos or download things on the internet, the connection drops for some seconds then goes back normally and this happens multiple times.

I have managed to bypass this problem by using a connection to a VPN using OpenVPN client with the option redirect-gateway which is supposed to route all the traffic through the VPN network (This solution worked when using TCP for the VPN, on UDP I get the same problem…). I don’t know if this is some kind of throttling or if it is a problem with the connection.

Do anyone have an idea on how to fix this problem? Why does it work correctly when using a VPN with TCP?

Other things I have tried:
Changing the MTU for the network interface on my PC.

PS: This is my first post so excuse any missing information.