Shut Auto-discovering devices
Well, you may say, 'Hey, Chivier, It's really convenient that Ubuntu can automatically add new web-devices like printers, scanners. Why are you going to shut it down?'
First I wanna say that, it's UNSAFE. In many special
places, maybe they will have some strange devices which are covered up
just like printers. For example, I wanna hack into your computer, I
bought something just like a printer and use some tricks to pack it up,
and your computer may recognize it as a printer. However, I will program
some dirty thing into auto setup
program. And now, get
it?
Second, it will generate many useless messages into my computer. Many
many use less HTTP GET
requests and responses. It's awful
when you are catching packets in wireshark or something else.
So, let's figure out how to shut this function down.
Fist step is to modify the configure file.
1 |
|
Add BrowseProtocols none
and
BrowseRemoteProtocols none
.
Second run following.
1 |
|
When you wanna to turn this function on, just do something reverse~