Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

LINUX·ÓɺÍQOSÏÞËÙ(ת£©

http://linux.chinaunix.net/bbs/archiver/?tid-1137337.html
¹Ø×¢ºÍÊÔÓÃLINUXºÜ³¤Ê±¼äÁË£¬µ«½ÏÉÙʵ¼ÊÓÃÆðÀ´£¬¸ÕºÃµ¥Î»ÐèÒ»¸ö·ÓÉÆ÷£¬ÓÐÏÐÖÃÀÏ»ú£¬ÌáÉýÏÂ×Ô¼ºÊµÕ½ÄÜÁ¦°É£¡ÍøÉÏÎÄÕºöà±ÊÎó£¬Òò´ËÓÐЩС²¨ÕÛ£¬Ï£Íû°ÑÕâ´Î¾­Àú×ܽáÏ£¬ÎªÁËÍüÈ´µÄ¼ÍÄî¡£
°²×°ºÃUBUNTU SERVER 8.04ºó£¬ÉèÖÃË«Íø¿¨£ºeth0ΪÍâÍøÍø¿¨£¬eth1ΪÄÚÍøÍø¿¨£¬
sudo vi /etc/network/interfaces
auto eth0
iface eth0  inet static
address  ÍâÍøÍø¿¨IP
netmask  ×ÓÍøÑÚÂë
gateway  Íø¹Ø
auto eth1
iface eth1 inet static
address  ÄÚÍøÍø¿¨IP
netmask  ×ÓÍøÑÚÂë
sudo /etc/init.d/networking restart
»¹ÓÐÉèÖÃDNS·þÎñÆ÷
sudo vi  /etc/resolv.conf£¨Êµ¼ÊϵͳĬÈϵIJ¢²»´æÔÚresolv.conf¸ÃÎļþ£¬ÊôÓÚ×Ô¼º´´½¨£©
nameserver   Ö÷DNS
nameserver   ºó±¸DNS
ÒªÏëʹLINUXϵͳ´ïµ½ÕâÖÖÄ¿µÄ£¬Ê×Ïȵò鿴LINUXϵͳµÄÄÚºËÖÐÊÇ·ñ´ò¿ªÁËIPת·¢¹¦ÄÜ£¬¿ÉÒÔͨ¹ýÏÂÁÐÃüÁîÀ´²é¿´£º
sudo  cat /proc/sys/net/ipv4/ip_forward
Èç¹ûÓôËÃüÁî·µ»ØµÄ½á¹ûÊÇ0£¬ÄÇô¾Í±íÃ÷LINUXÄÚºËûÓÐÆôÓÃIPת·¢¹¦ÄÜ¡£¾Í¿ÉÒÔͨ¹ýÏÂʾÃüÁîÀ´ÆôÓãº
sudo echo 1 > /proc/sys/net//ipv4/ip_forward
ͨ¹ý¹Ì¶¨¹«ÍøIPµØÖ··½Ê½Á¬½Ó»¥ÁªµÄʵÏÖ·½·¨ÈçÏ£º
sudo iptables –t nat –A POSTROUTING –s 192.168.1.0/24 -j SNAT ––to XXX.XXX.XXX.XXX
XXXÊÇÍâÍøÍø¿¨IP£¬ÎҵķÓÉ»¹Ã»×ö·À»¤£¬ÏÈÒþ²ØÁË£¬¶ÔIPTABLES»¹²»ÊìϤ£¬ºÇºÇ¡£
Óúó·¢ÏÖ»¹²»ÄÜÉÏÍø£¬Ò»·¬¼ì²é£¬»¹²»ÐУ¬±©º¹……ÃÍÈ»ÏëÆð¿ÉÄÜÊÇISP¶ÔÉÏÍøÍø¿¨µÄMACµØÖ·°ó¶¨ÁË£¬ÎҸą…
Æäʵ¾ÍÊÇÔÚÍø¿¨ÅäÖÃÎļþÖмÓÒ»ÐÐpre-up ifconfig eth0 hw ether 88:88:88:88:88:88£¨MACµØÖ·£©
sudo vi /etc/network/interfaces
auto eth0
iface eth0  inet static
pre-up ifconfig eth0 hw ether 88:88:88:88:88:88
address  ÍâÍøÍø¿¨IP
netmask  ×ÓÍøÑÚÂë
gateway  Íø¹Ø
auto eth1
iface eth1 inet static
address  ÄÚÍøÍø¿¨IP
netmask  ×ÓÍøÑÚÂë
sudo /etc/init.d/networking restart
ÄÜPINGÄÜÁË£¬Íø¿¨ÅäÖÃÄܱ£´æ£¬°ÑNATºÍQOS×ö³ÉÒ»½Å±¾£¬ÉèÖÃÖ÷ÊôΪROOT£¬·ñÔòÔËÐÐÎÞȨÏÞ£¬¿ª»úʱÔËÐС£QOSÈçÏ£º
[code]
#!/bin/sh
# BY ZWY 090916
# Coyote local


Ïà¹ØÎĵµ£º

LinuxÏÂsniffer×¥°ü³ÌÐò³ÌÐòµÄʵÏÖ

 LinuxÏÂSniffer³ÌÐòµÄʵÏÖ

×÷ÕߣºGianluca Insolvibile
ÕûÀí£ºSeal(ÓÀÔ¶µÄFLASH)
ÈÕÆÚ£º2004-11-05

Ðá̽——Sniffer¼¼ÊõÊÇÍøÂ簲ȫÁìÓòÀïÒ»Ïî·Ç³£ÖØÒªµÄ¼¼Êõ£¡¶ÔÓÚ¡°Hacker¡±À´Ëµ£¬ËûÃÇ¿ÉÒÔÒԷdz£Òþ±ÎµÄ·½Ê½µÃµ½ÍøÂçÖд«ÊäµÄ´óÁ¿µÄÃô¸ÐÐÅÏ¢£¬ÈçTelnet,ftpÕʺźÍÃÜÂëµÈµÈÃ÷ÎÄ´«Ë͵ÄÐÅÏ¢ ......

linux£¨ÎÞͼÐνçÃ棩ͨ¹ýwindows´úÀí·þÎñÆ÷ÉÏÍø

 ±³¾°£ºÔÚÊÖ»úwap³ÌÐò¹¤×÷ÔÚlinuxÏ£¬Ðèͨ¹ýwindows´úÀí·þÎñÆ÷ÉÏÍø£¨http/https£©£¬ISA´úÀí¡£Ê¹ÓôúÀíÐèÒªÓòÃû\Óû§ÃûºÍÃÜÂë¡£
1¡¢ÏÈÖ´ÐÐÃüÁîÉèÖû·¾³±äÁ¿export http_proxy=http://192.168.24.254:8080/ºÍexport http_proxy=http://sywgdev.net\proteinx@192.168.24.254:8080/¡£µ«Ö´ÐÐʧ°Ü¡£±¨407´í£¬ÈÏ֤ʧ°Ü¡£
2¡ ......

Linux´®¿Ú±à³Ì

 
Linux´®¿Ú±à³Ì
¼ò½é£º
Linux ²Ù×÷ϵͳ´ÓÒ»¿ªÊ¼¾Í¶Ô´®ÐпÚÌṩÁ˺ܺõÄÖ§³Ö£¬±¾ÎÄ¾Í Linux ϵĴ®ÐпÚͨѶ±à³Ì½øÐмòµ¥µÄ½éÉÜ¡£
´®¿Ú¼ò½é
´®ÐпÚÊǼÆËã»úÒ»ÖÖ³£ÓõĽӿڣ¬¾ßÓÐÁ¬½ÓÏßÉÙ£¬Í¨Ñ¶¼òµ¥£¬µÃµ½¹ã·ºµÄʹÓᣳ£ÓõĴ®¿ÚÊÇ RS-232-C ½Ó¿Ú£¨ÓÖ³Æ EIA RS-232-C£©ËüÊÇÔÚ 1970 ÄêÓÉÃÀ¹úµç×Ó¹¤ÒµÐ­»á£¨EIA£©Á ......

linuxÏÂftpÏà¹ØÎÊÌâ

 Ç°Ð©Ìì×Ô¼ºÔÚLinuxÏ´ÁËftp·þÎñ£¬½ñÌìÓÖ¼ÓÉîÁËѧϰ£¬×ܽáÈçÏ£º
1¡¢ftp¿ª»ú×Ô¶¯ÔËÐУº¿ª»ú×Ô¶¯ÔËÐÐÓм¸ÖÖ·½·¨£¬ÆäÖпÉÒÔÓÃÃüÁîchkconfig vsftpd on£¬ÕâÑù¿ª»úºó¾Í×Ô¶¯ÔËÐÐÁË¡£
     ÏàÓ¦µÄÏë¹Ø±ÕµÄ»°chkconfig vsftpd off
2¡¢ssh·þÎñ¿ª»ú×Ô¶¯ÔËÐУºÍ¬ÉÏÃüÁîΪ£ºchkconfig sshd on;chkconfig ssh ......

Linux³£ÓÃÃüÁî

 
linux ³£ÓÃÃüÁî
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ls: ÏÔʾĿ¼ÖеÄÎļþÓëĿ¼£¬ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ