In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
Suppose your name is little, you live in a big yard, your neighbor has a lot of friends, and there is an uncle Li who is watching the gate in the reception room at the door. Uncle Li is your gateway. When you want to play with a buddy in the yard, as long as you shout his name in the yard, he will respond to you when he hears it and run out to play with you.
But you are not allowed to walk out the door, and all the contacts you want to have with the outside world must be contacted by Uncle Li (gateway) at the door. If you want to talk to your classmate Xiao Ming, Xiao Ming's family lives in another yard far away, and there is also a janitor Uncle Wang (Xiao Ming's gateway) in his yard. But you don't know the phone number of Xiao Ming's family, but your head teacher has a list of all the students in your class and a comparison table of phone numbers. Your teacher is your DNS server. So you dial Uncle Li at the door at home and have the following conversation:
Little one: uncle Li, may I ask the head teacher to check Xiao Ming's phone number?
Uncle Li: OK, you wait. (then Uncle Li called your head teacher and asked Xiaoming's phone number.) Yes, his home number is 211.99.99.99.
Little one: great! Uncle Li, I'd like to speak to Xiaoming. Please contact Xiaoming for me.
Uncle Li: no problem. (then Uncle Li sent a request to the telephone office to get through to Xiaoming's house. The last level was, of course, transferred to Uncle Wang in Xiaoming's courtyard, and then Uncle Wang transferred the call to Xiaoming's house.)
That's how you got in touch with Xiaoming.
As for the DHCP server, it can be compared to this:
There are more and more residents in your yard, and the telephone exchange of Uncle Li in the reception room can no longer meet the needs of so many residents, so they have to adopt a new technology called DHCP. Residents get a random phone number when they turn on the phone, and the number may be different each time.
Uncle Li at your door: it's your gateway.
Your head teacher: it's your DNS server.
The telephone exchange in the reception room: it is your DHCP server
As above, the conversation between Uncle Li and Uncle Wang is called routing.
In addition, if there is a child named Xiao Yin, the doorman of the yard where he lives is Uncle Sun, because Xiao Yin's yard has just been built, and Uncle Sun has just arrived. He does not have the office phone number of Uncle Li and Uncle Wang (of course, Uncle Li and Uncle Wang do not have his phone number), then there will be two situations:
1. Aunt Zhao of the neighborhood committee told Uncle Sun about the phone number of Uncle Li and Wang (at the same time, Aunt Zhao also told Li and Wang Guan Sun's phone number), which is called static routing.
2. When Aunt Zhao was ill, Uncle Sun called everywhere and said, "I am the one in charge of the phone in their yard." as a result, Li and Wang heard it and wrote it down in their address book. Then Li and Wang gave Uncle Sun a call and said, "I am Xiao Ming (little one). Their yard is in charge of the phone." this is called dynamic routing.
Then one day Xiao Xiao wanted to find Xiao Dark, and naturally he called Uncle Li and said, "Uncle, I'll find Xiao Dark." (here omits the process of Uncle Li checking Xiao Dark's phone, assuming he knows Xiao Dark's phone). Uncle Li looked for the address book: "Oh, Uncle Sun is in charge of the phone in Xiao Dark's yard. If you want to find Xiao Dark, you have to inform Uncle Sun. I can tell Uncle Wang to ask him to find Uncle Sun." You can also find Sun directly, of course, it is convenient to find Sun directly. "so Uncle Li called Uncle Sun, and then Uncle Sun transferred the call to the small dark house.
Here Uncle Li's address book is called the routing table.
Uncle Li's choice of whether to go to Uncle Sun directly or ask Uncle Wang to help transfer is called routing.
There is a basis for Uncle Li's choice to go to Uncle Sun directly, because he can get there in one step if he goes directly to Uncle Sun. If you want Uncle Wang to transfer, you need two steps to complete. The "step" here is called "hop count". Uncle Li's choice follows the principle of the least step (hop count) (if he does not abide by this principle, the little one may wait a little longer to find Xiao Yin. In the end, Uncle Li may be fired for poor work, which is called "the delay is too long, the routing principle is unreasonable, and the router has been changed."
Of course, things always change. Little one has quarreled with Xiao Ming. These days, little one always calls Xiao Yin. Xiao Ming thinks to himself, "is he speaking ill of me?" So Xiao Ming decided to eavesdrop on the call between Xiao Di and Xiao Yin, but he couldn't get out of the yard. What should he do? Xiao Ming made such a decision:
First of all, he told Uncle Wang, who was in charge of the phone in his courtyard, "call Uncle Li and say that Xiao Yin has moved to our yard, and I will answer any phone calls to him in the future." Uncle Wang did not reflect it (after all, he is too old!) ) he called Uncle Li and said, "now I'm in charge of Xiao Dark's phone, but Sun doesn't care anymore." as a result, Uncle Li changed his address book, which is called routing fraud.
In the future, Xiao Xiao will find Xiao Yin again, and Uncle Li will transfer it to Uncle Wang (in fact, it should have been transferred to Uncle Sun). When Uncle Wang received this call, he transferred it to Xiao Ming (because he had already made a deal with Xiao Ming). Xiao Ming pretended to communicate with Xiao Ji when he received the call. Because Xiao Ming was guilty of being a thief, he was afraid to ask him face-to-face after meeting with Xiao Dark tomorrow, so after the communication was cut off, he made a phone call to Xiao Yin in the name of little one and repeated what he had just said, which is called data eavesdropping.
Later, the little one is still in constant contact with the little dark, and scattered Xiao Ming, Xiao Ming muttered to himself: "I can't always talk to the little one like this. What should I do if it comes out one day?" So he thought of a more insidious trick: "I might as well stop eavesdropping on your phone, and you little one won't call me!" then I won't let you call Xiao Dark, hem! " Well, how did he do it? Let's see:
He contacted a group of bad friends and colluded with them. at a fixed time every day, everyone called the reception room in the small dark courtyard with everything. As long as Grandpa Sun in the reception room answered the phone, he would hear, "it's thunder, it's raining to collect clothes!" , "people are born by his mother, demons are born by his mother", "your mother's surname", etc., listen to the head is big, do not listen to it, the phone keeps ringing! Finally, one day, Grandpa Sun couldn't help it and shouted, "I can't stand pulling!" So he hanged himself!
This is the simplest DDOS × ×. Grandpa Sun's weak psychological bearing capacity is called "Datagram processing module has BUG", and Grandpa Sun's suicide is called "router paralysis". If it were me, I would smile and talk to them, such as telling them, "I have already listened to the weather report and put away my clothes 10 minutes ago" or "is your mother a person or a demon" or "the same last name as your grandmother" and so on. My sound mind is called "robust Datagram processing, which can resist any × ×".
After Grandpa Sun was paralyzed, little one finally stopped calling Xiao Dark, because no matter how much he hit each other, it was a busy tone, and this phenomenon was called "denial of service", so Xiao Ming's practice was also called "denial of service."
Xiao Ming was finally quiet for a few days.
A few days later, a beautiful girl named Xiao Li came to Xiaoming's yard. Xiao Ming liked her very much. (but Xiao Li has a handsome boyfriend, and Xiao Ming can't help it. Of course, we still have to follow the above principle: Xiao Li can't leave the yard. Naturally, the man had to make a phone call if he wanted to hook up with Xiao Li, so Xiao Ming was ready to move again:
Do you still remember that Grandpa Wang was the telephone manager in the yard? He is able to manage phone calls because he has an address book, because there may be two children named Xiaoming in the same yard, which cannot be distinguished by name, so there are only two items in each line of the address book:
House number phone number
Door 1 1234567 (this is Xiaoming's)
Gate 2 7654321 (this is Xiao Li's)
.
Grandpa Wang has a bad memory, but it can't be wrong (there won't be two "No. 2 gates" in the same yard, right? Every time he makes a phone call, people will give out the phone number they are looking for, and then go to the courtyard through the address book and knock on the door. for example, they say I am looking for "1234567". So as soon as Grandpa Wang compares, oh, it is door number one, he knocks on door one to "answer the phone." if he is looking for "7654321", he will go to door two to "answer the phone."
The phone number here is the legendary "IP address"
The house number here is the 'MAC' address of the legendary network card (the MAC address of each network card is different, which is written by the manufacturer of the network card in the chip of the network card).
Xiao Ming thought to himself, "Damn it, even if I can't get you," so he came up with the idea of Grandpa Wang's address book. after careful observation and careful preparation, he finally found that Grandpa Wang had the problem of frequent urination (after all, an old man.). Finally in a dark and windy day, Grandpa Wang went to the toilet, and Xiao Ming secretly entered the reception room. Carefully changed Grandpa Wang's address book.
A few days later, Xiao Li's boyfriend called Xiao Li again. The phone number of the other party was "7654321". Grandpa Wang looked at the address book and relied on:
House number phone number
Door 1 1234567 (this is Xiaoming's)
Door 1 7654321 (Note: this used to be Xiao Li's, but it was changed by Xiao Ming)
.
Grandpa Wang didn't know it had changed, so he went to Xiao Ming of door one. Xiao Ming was beautiful in his heart. He taught the improper relationship between the man and Xiao Li harshly in the tone of Xiao Li's father. As a result, the man respectfully hung up the phone. Of course, Xiao Li didn't know the whole thing happened.
Here, Xiao Ming's behavior is called "ARP spoofing" (because it is realized by sending ARP packets on the actual network, so it is called "ARP spoofing"), and Grandpa Wang's address book is called "ARP Table".
It should be noted here: Grandpa Wang now has two address books, one is the notebook that records the phone calls of each courtyard reception room, called the "routing table", and the other is the notebook that records the detailed information in the courtyard, called the "ARP table."
There is a saying that "people always pursue perfection, even though they can never do it" (remember this, because this is a big celebrity-- that's what I said)
There is a rule in Grandpa Wang's system that says, "check the corresponding book of house number and phone (that is, the ARP table) every month." this action is called "refreshing the ARP table", and the monthly time limit is called "the cycle of refreshing the ARP table." In this way, Xiao Ming secretly changed the address book every month in order that the man could never find Xiao Li, but it was also something he had to do.
Add that Xiao Ming is very smart if the address book (ARP table) is changed like this:
House number (MAC) phone (IP)
Door 1 1234567 (this is Xiaoming's)
Gate 2 1234567 (Note: this was changed by Xiao Ming, but he made a mistake in a moment of dizziness)
.
The computer will pop up a dialog box saying "duplicate IP address", which will eventually cause Grandpa Wang to be at a loss, so he informs doors one and two that your phone calls are repeated. In this way, Xiao Li knows that someone is ruining her good deed, a phenomenon called "the scam has been exposed."
Little one knew that Xiao Ming eavesdropped on the phone between him and Xiao Yin, so he agreed on the password with Xiao Yin. The little one told Xiao Dark after encrypting what he had to say at home. Potato-> Wednesday, sweet potato-> treat, idiot-> small point home. So the little one told Xiao Dark: potato stupid sweet potato. Xiao Ming listened to it. I don't understand. I'm depressed. This is encryption.
Besides, Xiao Li also knew that Xiao Ming had changed his home phone number. So Grandpa Wang came to the door and wrote down the phone number and house number one by one. And hide and do not allow outsiders to modify, can only have their own key (password). This is the binding of ip address and MAC address. When someone changes the phone number, he has to ask Grandpa Wang to change it. Trouble is trouble, but it's safe. However, Xiao Ming secretly matched Grandpa Wang's key (successfully stealing the password), so he could also modify it. That's it? that's it.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.