|
Fedora™ Unleashed, 2008 editionFor example, to "turn on" kernel protection against one type of denial-of-service (DoS) attack known as SYN flooding, use the echo command to send the number 1 (one) to the following /proc path: # echo 1 >/proc/sys/net/ipv4/tcp_syncookies NOTE The Linux kernel has a number of built-in protections, but good system administration security policies and a secure firewall protecting your gateway, router, or Internet-connected system are the best protection you can use. See Chapter 30, "Securing Your Machines," for an overview of firewalling and examples of how to implement network security tools included with Fedora. Other ways to use the /proc directory include в–єВ Getting CPU information, such as the family, type, and speed from / proc/cpuinfo. в–єВ Viewing important networking information under /proc/net, such as active interfaces information under /proc/net/dev, routing information in /proc/net/route, and network statistics in /proc/net/netstat. в–єВ Retrieving file system information. в–єВ Reporting media mount point information via USB; for example, the Linux kernel reports what device to use to access files (such as /dev/sda) if a USB camera or hard drive is detected on the system ...» |
Код для вставки книги в блог HTML
phpBB
текст
|
|