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

»ùÓÚLINUX²Ù×÷ϵͳµÄ·À»ðǽ¼¼Êõ¼°Æä¾ßÌåʵÏÖ

[ÕªÒª]±¾ÎĽéÉÜÁËLINUXϳ£ÓõķÀ»ðǽ¹æÔòÅäÖÃÈí¼þIpchains£»´ÓʵÏÖÔ­Àí¡¢ÅäÖ÷½·¨ÒÔ¼°¹¦ÄÜÌصãµÄ½Ç¶ÈÃèÊöÁËLINUX·À»ðǽµÄÈýÖÖ¹¦ÄÜ£»²¢¸ø³öÁËÒ»¸öLINUX·À»ðǽʵÀý×÷Ϊ²Î¿¼¡£
[¹Ø¼ü×Ö]LINUX·À»ðǽ¡¢ipchains ¡¢°ü¹ýÂË¡¢´úÀí¡¢IPαװ
1      Ç°ÑÔ
      ·À»ðǽ×÷ΪÍøÂ簲ȫ´ëÊ©ÖеÄÒ»¸öÖØÒª×é³É²¿·Ö£¬Ò»Ö±Êܵ½ÈËÃǵÄÆÕ±é¹Ø×¢¡£LINUXÊÇÕ⼸ÄêÒ»¿îÒì¾üÍ»ÆðµÄ²Ù×÷ϵͳ£¬ÒÔÆ乫¿ªµÄÔ´´úÂ롢ǿ´óÎȶ¨µÄÍøÂ繦ÄܺʹóÁ¿µÄÃâ·Ñ×ÊÔ´Êܵ½Òµ½çµÄÆÕ±éÔÞÑï¡£LINUX·À»ðǽÆäʵÊDzÙ×÷ϵͳ±¾ÉíËù×Ô´øµÄÒ»¸ö¹¦ÄÜÄ£¿é¡£Í¨¹ý°²×°Ìض¨µÄ·À»ðǽÄںˣ¬LINUX²Ù×÷ϵͳ»á¶Ô½ÓÊÕµ½µÄÊý¾Ý°ü°´Ò»¶¨µÄ²ßÂÔ½øÐд¦Àí¡£¶øÓû§ËùÒª×öµÄ£¬¾ÍÊÇʹÓÃÌض¨µÄÅäÖÃÈí¼þ£¨Èçipchains£©È¥¶¨ÖÆÊʺÏ×Ô¼ºµÄ“Êý¾Ý°ü´¦Àí²ßÂÔ”¡£
2      LINUX·À»ðǽÅäÖÃÈí¼þ—Ipchains
      IpchainsÊÇLINUX 2.1¼°ÆäÒÔÉÏ°æ±¾ÖÐËù´øµÄÒ»¸ö·À»ðǽ¹æÔò¹ÜÀí³ÌÐò¡£Óû§¿ÉÒÔʹÓÃËüÀ´½¨Á¢¡¢±à¼­¡¢É¾³ýϵͳµÄ·À»ðǽ¹æÔò¡£µ«Í¨³££¬ÐèÒª×Ô¼º´´½¨Ò»¸ö·À»ðǽ¹æÔò½Å±¾ /etc/rc.d/rc.firewall£¬²¢Ê¹ÏµÍ³Æô¶¯Ê±×Ô¶¯ÔËÐÐÕâ¸ö½Å±¾¡£
Ò»¸öLINUX·À»ðǽϵͳµÄ°²È«»úÖÆÊÇͨ¹ýInput¡¢Output¡¢ForwardÕâÈý¸ö“·À»ðÁ´”À´ÊµÏֵġ£¶øÓû§ÕýÊÇʹÓÃipchainsÔÚÕâÈý¸ö“Á´”ÉϷֱ𴴽¨Ò»Ìד·À»ð¹æÔò”£¬À´Íê³É¶Ôµ½À´Êý¾Ý°ü²ã²ãÏÞÖƵÄÄ¿µÄ¡£
      ÆäÖУ¬Ã¿¸öÁ´¶¼°üÀ¨Ò»×éÓÉÓû§´´½¨µÄ¹ýÂ˹æÔò£¬Êý¾Ý°üÒÀ´Îµ½´ïÿ¸öÁ´£¬²¢±È½ÏÆäÖеÄÿÌõ¹æÔò£¬Ö±µ½ÕÒ³öÆ¥Åä¹æÔò²¢Ö´ÐÐÏàÓ¦²ßÂÔ£¨Èçͨ¹ý¡¢¾Ü¾øµÈ£©£¬·ñÔòÖ´ÐÐĬÈϲßÂÔ¡£Êµ¼ÊÖУ¬Êý¾Ý°üÔÚµ½´ïInputÁ´Ö®Ç°»¹Òª½øÐвâÊÔºÍÕý³£ÐÔ¼ì²é£¬ÔÚµ½Â·Óɱí֮ǰ»¹Òª±»ÅжÏÊÇ·ñ±»Î±×°£¬ÕâЩ£¬ÔÚ±¾Í¼Öж¼±»Ê¡ÂÔÁË¡£
Ipchains ¾­³£Ê¹ÓõÄÃüÁîÐиñʽÈçÏ£º
Ipchains –A chain [–i interface] [–p protocol] [[!] -y]
[–s source-ip [port]] [-d destination-ip [port]] –j policy [-l]
¶Ô¸÷Ñ¡ÏîµÄ˵Ã÷ÈçÏÂ±í£º
-A <chain>      Ìí¼ÓÒ»¹æÔòµ½Á´Î²¡£chain¿ÉΪinput¡¢output¡¢forward¡£
-i <interface>      Ö¸¶¨±¾¹æÔòÊÊÓõÄÍøÂç½Ó¿Ú¡£Í¨³£ÓÐeth0¡¢eth1¡¢lo¡¢ppp0µÈ¡£
-p <protocol>      Ö


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì£¨Èý£© HCI²ã±à³Ì

1. HCI²ãЭÒé¸ÅÊö£º
HCIÌṩһÌ×ͳһµÄ·½·¨À´·ÃÎÊBluetoothµ×²ã¡£ÈçͼËùʾ£º
´ÓͼÉÏ¿ÉÒÔ¿´³ö£¬Host Controller Interface(HCI)  ¾ÍÊÇÓÃÀ´¹µÍ¨HostºÍModule¡£Hostͨ³£¾ÍÊÇPC£¬ ModuleÔòÊÇÒÔ¸÷ÖÖÎïÀíÁ¬½ÓÐÎʽ£¨USB,serial,pc-cardµÈ£©Á¬½Óµ½PCÉϵÄbluetooth Dongle¡£
ÔÚHostÕâÒ»¶Ë£ºapplication,SDP,L2capµÈЭÒé ......

LinuxÄÚ´æ¹ÜÀí ÄÚ´æ·ÖÅ亯ÊýµÄÑ¡Ôñ

ÄÚ´æ·ÖÅ亯ÊýµÄÑ¡Ôñ
 
Èç¹ûÄãÐèÒªÁ¬ÐøµÄÎïÀíÒ³£¬¾Í¿ÉÒÔʹÓÃij¸öµÍ¼¶Ò³·ÖÅäÆ÷»òÕßkmalloc()¡£ÕâÊÇÄÚºËÖÐÄÚ´æ·ÖÅäµÄ³£Ó÷½Ê½£¬Ò²ÊÇ´ó¶àÊýÇé¿öÏÂÄã×Ô¼ºÓ¦¸ÃʹÓõÄÄÚ´æ·ÖÅ䷽ʽ¡£´«µÝ¸øÕâЩº¯Êý×î³£ÓõÄÁ½¸ö±êÖ¾ÊÇGFP_AUTOMICºÍGFP_KERNEL¡£GFP_AUTOMIC±íʾ½øÐв»Ë¯ÃߵĸßÓÅÏȼ¶·ÖÅä¡£ÕâÊÇÖжϳÌÐòºÍÆäËû²»ÄÜ˯ÃߵĴúÂë¶ ......

linuxʹÓÃСÇÏÃÅ

ʵÓÃСÇÏÃÅʵÔÚÌ«¶àÁË£¬ÂýÂý̽Ë÷°É¡£ÏëÆð¸ÕÓõçÄÔʱ£¬ÌìÌìÔÚ¡¶µçÄÔ°®ºÃÕß¡·ÖÐÕÒСÇÏÃÅ¡£ÕÒµ½Á˾ÍÈç»ñÖÁ±¦¡£ÓÖ¿´µ½ÎÒblogÖÐÓÐÈ˻ظ´²»Ï°¹ßubuntu£¬»¹ÊÇͶ±¼win7¡£ÐÄÏ룬Ӧ¸ÃijЩÈËҲͦÐèÒªÒ»µãʹÓÃСÇÏÃŵĽ»Á÷µÄ¡£ÐÅÊÖдÁËЩ£¬¹©²Î¿¼¡£
±¾ÎÄÊʺϳõ¼¶Óû§ÔĶÁ¡£
1.Öն˸´ÖÆÕ³Ìù
ÓÃgnomeÖÕ¶Ëʱ£¬¶Ô×Ö·ûµÄ¸´ÖÆÕ³Ìù¸Ð¾õûÓÐw ......

LinuxÖеĵØÖ·¿Õ¼ä

LinuxÖеĵØÖ·¿Õ¼ä
ÓÐÕâôһϵÁеÄÎÊÌ⣬ÊÇ·ñÔÚÀ§ÈÅ×ÅÄ㣺Óû§³ÌÐò±àÒëÁ¬½ÓÐγɵĵØÖ·¿Õ¼äÔÚʲô·¶Î§ÄÚ£¿Äں˱àÒëºóµØÖ·¿Õ¼äÔÚʲô·¶Î§ÄÚ£¿Òª¶ÔÍâÉè½øÐзÃÎÊ£¬I/OµÄµØÖ·¿Õ¼äÓÖÊÇʲôÑùµÄ£¿
ÏȻشðµÚÒ»¸öÎÊÌâ¡£Linux×î³£¼ûµÄ¿ÉÖ´ÐÐÎļþ¸ñʽΪelf(Executable and Linkable Format)¡£ÔÚelf¸ñʽµÄ¿ÉÖ´ÐдúÂëÖУ¬ld×ÜÊÇ´Ó0x ......

LinuxÎļþϵͳµÄ×éÖ¯½á¹¹·ÖÎö

ÎļþϵͳµÄ×éÖ¯½á¹¹·ÖÎö£¬ÎÒÃÇÄÜ·ÖÎöʲôÄØ£¿Ò²¾ÍÊǵ±ÎÒÃÇÁÐ/Ŀ¼ʱ£¬Ëù¿´µ½µÄ/usr¡¢/etc ... ... /var
µÈĿ¼ÊÇ×öʲôÓõģ¬ÕâЩĿ¼ÊDz»ÊÇÓÐЩÌض¨µÄÓÃ;¡£ÎÞÂÛÄĸöÄĸö°æ±¾µÄLinuxϵͳ£¬¶¼ÓÐÕâЩĿ¼£¬ÕâЩĿ¼Ӧ¸ÃÊDZê×¼µÄ¡£µ±È»¸÷¸öLinux·¢Ðаæ
±¾Ò²»á´æÔÚһЩССµÄ²îÒ죬µ«×ÜÌåÀ´Ëµ£¬»¹ÊÇ´óÌå²î²»¶à¡£
Linux·¢Ðа ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ