Hot answers tagged

1194

The time to send a packet to a remote host is half the time reported by ping, which measures a round trip time. The display I was measuring was a Sony HMZ-T1 head mounted display connected to a PC. To measure display latency, I have a small program that sits in a spin loop polling a game controller, doing a clear to a different color and swapping buffers ...


423

EDIT 2: there is one good reason why this post is attracting so much attention: you managed to record the whole, live session of an intruder on your PC. This is very different from our everyday experience, where we deal with the discovery of the consequences of his actions and try to redress them. Here we see him at work, see him having some problems with ...


368

As you can see from the output, you aren’t actually pinging some server in Arizona or even the United States. Apparently, they decided to protect their website with Cloudflare, which employs a content distribution network to even the load. A CDN works with many nodes, each servicing a (geographic) region. That means the node you’re pinging is very close to ...


235

Ports are a concept of UDP and TCP. Ping messages are technically referred to as ICMP Echo Request and ICMP Echo Reply which are part of ICMP. ICMP, TCP, and UDP are "siblings"; they are not based on each other, but are three separate protocols that run on top of IP. Therefore you can not ping a port. What you can do, is use a port scanner like nmap. nmap ...


197

Sam3000's answer is very nice. I'll add some technical details. Wake on Magic Packet causes the network card to awaken the computer when it receives a magic packet. A packet is considered "magic" when it contains FF FF FF FF FF FF (six instances of the largest possible byte value) followed by sixteen instances of the card's six-byte MAC address. That ...


181

The short answer is: some sort of interrupt system. Essentially, they use blocking I/O, meaning they sleep (block) while waiting for new data. The server creates a listening socket and then blocks while waiting for new connections. During this time, the kernel puts the process into an interruptible sleep state and runs other processes. This is an important ...


167

Basically, the telephony line is limited to 64 kbits/s for each channel (8 kHz channel with PCM modulation on 8 bits per Hz, making 8 kHz x 8 bits = 64 kbit/s). Unless you use another modulation(QAM for example) or more bandwidth(more than 8 kHz telephony channel, up to MHz for example), your transmission capacity will be ...


154

This answer is about pretty much an guest OS setup in VirtualBox; you just need to use the network gateway address on the guest OS to connect to the host OS from a guest OS. In the default Vagrant setup, you should be able to reach your host through the default gateway. On Windows based guests, you can easily determine this IP address by running the ...


145

Sounds like you need autossh. This will monitor an ssh tunnel and restart it as needed. We've used it for a couple of years and it seems to work well. autossh -M 20000 -f -N your_public_server -R 1234:localhost:22 -C More details on the -M parameter here


137

See below for an example of a scam that was sent to me, pretending to be from my friend, claiming she has been robbed and asking me for financial aid. I have changed the names — I am "Bill," and the scammer has sent an email to bill@domain.com, pretending to be alice@yahoo.com. Note that Bill forwards his email to bill@gmail.com. First, in Gmail, click show ...


127

Welcome to the Internet - where any open SSH server is likely going to get probed, brute-forced, and have various indignities inflicted upon it. To start, you need to completely wipe the storage on the product. Image it if you want to pass it on for forensics, but the Linux install on it is now suspect. Bit of guesswork but You got brute-forced or use a ...


121

From experience, those retention clips break off a lot on the first sort of cables - those are fine for cables that are well protected and/or going to be plugged in and forgotten, but the moment those clips bend the wrong way, they break, and you end up with a cable that dosen't clip in place. They also snag each other sometimes and are just a PITA. Cable ...


117

Similar to mpez0's answer, but I like a good car analogy... I'm choosing the UK for this, since that's where I live. Imagine you live in a world where people follow road signs without question, and you happen to live right up in the north of Scotland, about as far from London as you can without crossing water. You live in a small town, and one day you ...


115

Check out the arp-scan command - you will probably have to install it eg: sudo apt-get install arp-scan http://manpages.ubuntu.com/manpages/hardy/man1/arp-scan.1.html And to give further detail: sudo arp-scan --interface=eth0 --localnet Where eth0 is your device. You can find your device with: ifconfig


114

When retracting a RJ45 plug through narrow tubing or around corners, the clip tends to snap off, effectively making the network cable useless in most environments. The rubber dome (most commonly referred to as a cable boot) nearly always prevents that from happening. You wouldn't know how many network cables I've seen with broken off clips.


114

What's the difference between 127.0.0.1 and 0.0.0.0? 127.0.0.1 is the loopback address (also known as localhost). 0.0.0.0 is a non-routable meta-address used to designate an invalid, unknown or non applicable target (a no particular address placeholder). In the context of a route entry, it usually means the default route. In the context of ...


112

These two settings form a feature of most modern computers known as "Wake on LAN"; in a nutshell, leaving this setting on allows the network card of your system to receive sufficient power to remain in standby mode, while the rest of the system is powered off. While in standby mode, it may receive a "magic packet" - a small amount of data specific to the mac ...


110

There is nothing preventing you from attaching a box configured with someone else's IP address to the internet. However, this won't necessarily cause any issues for anyone else but yourself. If you steal someone else's IP address outside of the subnet that you are physically connected to, the only thing you will accomplish is not being able to receive any ...


106

What are MAC addresses used for? MAC addresses are the low level basics that make your ethernet based network work. Network cards each have a unique MAC address. Packets that are sent on the ethernet are always coming from a MAC address and sent to a MAC address. If a network adapter is receiving a packet, it is comparing the packet's destination MAC ...


103

Enable ONE network adapter. Set it to NAT and start your machine. Don't need to configure anything. On guest machine's browser type http://10.0.2.2 which will show you the same content as "localhost" in the host OS. 10.0.2.2 is the "default gateway" for NAT connections and your guest OS' IP is 10.0.2.15 Of course you can set a "HOST-ONLY" or an "Internal ...


102

Due to the way TCP/IP works, connections can not be closed immediately. Packets may arrive out of order or be retransmitted after the connection has been closed. CLOSE_WAIT indicates that the remote endpoint (other side of the connection) has closed the connection. TIME_WAIT indicates that local endpoint (this side) has closed the connection. The ...


98

I found a fix by changing "internet options" -- so I guess Windows is detecting the "internet" as my own network.. sigh. Click Start / Control Panel / Internet Options Click Security tab. Click Local Intranet Click Sites button. Click Advanced button. Enter the IP Address of the other machine or server (wildcards are allowed) and click Add Click Close, ...


96

If you don't want to replace the cable or install a new jack, you have a few of options: Glue it into a coupler or a short extension like one of the following (with the coupler you will need another short run of cable on the other side): Repair it with a zip tie. Use this guide for instructions: ...


95

They are not the same. 127.0.0.1 is part of the 127/8 network which is reserved and points to the same computer. 0.0.0.0 is a special IP address that means different things depending on context. In the Internet Protocol Version 4, the address 0.0.0.0 is a non-routable meta-address used to designate an invalid, unknown or non-applicable target. To ...


90

It depends on the tool. For most purposes the two will be the same, but not always. For example, if you use a 3-digit number starting with a zero (or a two-digit one starting with zero, thanks @Dietrich-Epp), then ping will assume the numbers are octal. Microsoft Windows [Version 6.3.9600] (c) 2013 Microsoft Corporation. All rights reserved. ...


90

The auto proxy detection system works by downloading a file called wpad.dat from the host wpad. First confirm this host exists from a command prompt: ping wpad If it doesn't exist, you may have to put the correct DNS suffix. In the same command prompt, type ipconfig /all You should see a Primary DNS Suffix and a DNS Suffix Search List Try appending ...


89

Ping the broadcast address (you can find it with ifconfig | grep broadcast) and then do an arp -a


89

Dial up connections use the voice circuit for data transfer so the bandwidth is limited to bandwidth of voice channel, whereas DSL uses a separate frequency range for data which is much broader than voice bandwidth (hence the term Broadband). DSL uses a splitter to separate the voice and data frequencies and therefore both can work simultaneously.


87

It's on Windows 7, but it's pretty well hidden. Go to Control Panel -> Network and Sharing Center -> Change adapter settings -> The hit Alt to get the menu and choose Advanced -> Advanced Settings. Then you can re-order your connections in that list. Although Windows should already automatically prefer your wired over your wireless connection. It chooses ...


85

You can turn off taking over your entire connection by going to the properties of the VPN, Networking tab, Internet Protocol (TCP/IP) properties, Advanced, untick Use default gateway on remote network. This may or may not leave a route to 192.168.123.0/24 depending on the VPN server's setup. If it doesn't, you'll have to manually add the route each time, ...



Only top voted, non community-wiki answers of a minimum length are eligible