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

LinuxϵĺóÃźÍÈÕÖ¾¹¤¾ß

 ¹¥ÈëLinuxϵͳºó£¬ºÜ¶àÈëÇÖÕßÍùÍù¾Í¿ªÊ¼µÃÒâÍüÐÎÁË¡£ÕâÆäÖл¹ÓÐÒ»¸öÔ­Òò£¬¾ÍÊǼ¼ÊõÐÔÒ²ÒªÇó¸ü¸ßÁË¡£ÏÂÃ棬ÎÒÃÇÀ´¿´¿´Ò»Ð©³£Óõľ­µä¹¤¾ß¡£(δ¾­ÔÊÐí£¬Ð»¾øתÔØ£¡)
1¡¢´ÓÕâÀïÑÓÉ죺ºóÃźÍÁ¬½Ó¹¤¾ß
£¨1£©Httptunnel
TunnelµÄÒâ˼ÊÇËíµÀ£¬Í¨³£HTTPTunnel±»³Æ֮ΪHTTP°µµÀ£¬ËüµÄÔ­Àí¾ÍÊǽ«Êý¾Ýαװ³ÉHTTPµÄÊý¾ÝÐÎʽÀ´´©¹ý·À»ðǽ£¬Êµ¼ÊÉÏ£¬ËüÊÇÔÚHTTPÇëÇóÖд´½¨ÁËÒ»¸öË«ÏòµÄÐéÄâÊý¾ÝÁ¬½ÓÀ´´©Í¸·À»ðǽ¡£ËµµÃ¼òµ¥µã£¬¾ÍÊÇ˵ÔÚ·À»ðǽÁ½±ß¶¼ÉèÁ¢Ò»¸öת»»³ÌÐò£¬½«Ô­À´ÐèÒª·¢ËÍ»ò½ÓÊܵÄÊý¾Ý°ü·â×°³ÉHTTPÇëÇóµÄ¸ñʽƭ¹ý·À»ðǽ£¬ËùÒÔËü²»ÐèÒª±ðµÄ´úÀí·þÎñÆ÷¶øÖ±½Ó´©Í¸·À»ðǽ¡£
HTTPTunnel°üÀ¨Á½¸ö³ÌÐò£ºhtcºÍhts£¬ÆäÖÐhtcÊÇ¿Í»§¶Ë£¬¶øhtsÊÇ·þÎñÆ÷¶Ë£¬ÎÒÃÇÏÖÔÚÀ´¿´¿´ÎÒÊÇÈçºÎÓÃËüÃǵġ£±ÈÈ翪ÁËFTPµÄ»úÆ÷µÄIPÊÇ192.168.10.231£¬±¾µØ»úÆ÷IPÊÇ192.168.10.226£¬ÒòΪ·À»ðǽµÄÔ­Òò£¬±¾µØ»úÆ÷ÎÞ·¨Á¬½Óµ½FTPÉÏ¡£Ôõô°ì£¿ÏÖÔھͿÉÒÔ¿¼ÂÇʹÓÃHTTPTunnelÁË¡£¹ý³ÌÈçÏ£º
µÚÒ»²½£ºÔÚ±¾µØ»úÆ÷ÉÏÆô¶¯HTTPTunnel¿Í»§¶Ë¡£ÓÃNetstat¿´Ò»Ï±¾»úÏÖÔÚ¿ª·ÅµÄ¶Ë¿Ú£¬»á·¢ÏÖ8888¶Ë¿ÚÒÑÔÚÕìÌý¡£
µÚ¶þ²½£ºÔÚ¶Ô·½»úÆ÷ÉÏÆô¶¯HTTPTunnelµÄ·þÎñÆ÷¶Ë£¬²¢Ö´ÐÐÃüÁî“hts -f localhost:21 80”£¬Õâ¸öÃüÁîµÄÒâ˼ÊÇ˵£¬°Ñ±¾»úµÄ21¶Ë¿Ú·¢³öÈ¥µÄÊý¾ÝÈ«²¿Í¨¹ý80¶Ë¿ÚÖÐתһÏ£¬²¢ÇÒ¿ª·Å80¶Ë¿Ú×÷ΪÕìÌý¶Ë¿Ú£¬ÔÙÓÃNeststat¿´Ò»ÏÂËûµÄ»úÆ÷£¬¾Í»á·¢ÏÖ80¶Ë¿ÚÏÖÔÚÒ²ÔÚÕìÌý״̬¡£
µÚÈý²½£ºÔÚ±¾µØ»úÆ÷ÉÏÓÃFTPÁ¬½Ó±¾»úµÄ8888¶Ë¿Ú£¬»á·¢ÏÖÒѾ­Á¬É϶Է½µÄ»úÆ÷ÁË¡£ÄÇô£¬ÎªÊ²Ã´È˼ҿ´µ½µÄÊÇ127.0.0.1£¬¶ø²»ÊÇ192.168.10.231ÄØ£¿ÒòΪÎÒÃÇÏÖÔÚÊÇÁ¬½Ó±¾»úµÄ8888¶Ë¿Ú£¬·À»ðǽ¿Ï¶¨²»»áÓз´Ó¦£¬Èç¹ûûÍùÍâ·¢°ü£¬¾ÖÓòÍøµÄ·À»ðǽ¿Ï¶¨¾Í²»ÖªµÀÁË¡£ÏÖÔÚÁ¬½ÓÉϱ¾»úµÄ8888¶Ë¿ÚÒÔºó£¬FTPµÄÊý¾Ý°ü²»¹ÜÊÇ¿ØÖÆÐÅÏ¢»¹ÊÇÊý¾ÝÐÅÏ¢£¬¶¼±»htcαװ³ÉHTTPÊý¾Ý°üÈ»ºó·¢¹ýÈ¥£¬ÔÚ·À»ðǽ¿´À´£¬ÕⶼÊÇÕý³£Êý¾Ý£¬Ï൱ÓÚÆÛÆ­ÁË·À»ðǽ¡£
ÐèҪ˵Ã÷µÄÊÇ£¬ÕâÒ»ÕеÄʹÓÃÐèÒªÆäËû»úÆ÷µÄÅäºÏ£¬¾ÍÊÇ˵ҪÔÚËûµÄ»úÆ÷ÉÏÆô¶¯Ò»¸öhts£¬°ÑËûËùÌṩµÄ·þÎñ£¬ÈçFTPµÈÖض¨Ïòµ½·À»ðǽËùÔÊÐíµÄ80¶Ë¿ÚÉÏ£¬ÕâÑù²Å¿ÉÒԳɹ¦Èƹý·À»ðǽ£¡¿Ï¶¨ÓÐÈË»áÎÊ£¬Èç¹û¶Ô·½µÄ»úÆ÷Éϱ¾Éí¾ÍÓÐWWW·þÎñ£¬Ò²¾ÍÊÇ˵ËûµÄ80¶Ë¿ÚÔÚÕìÌý£¬Õâô×ö»á²»»á³åÍ»£¿HTTPTunnelµÄÓŵã¾ÍÔÚÓÚ£¬¼´Ê¹ËûµÄ»úÆ÷ÒÔÇ°80¶Ë¿Ú¿ª×Å£¬ÏÖÔÚÒ²²»»á³öÏÖʲôÎÊÌ⣬Öض¨ÏòµÄËíµÀ·þÎñ½«³©Í¨ÎÞ×裡
£¨2£©Tcp_wrapper
Tcp_wrapperÊÇWietse Venema¿ª·¢µÄÒ»¸öÃâ·ÑÈí¼þ¡£Tcp_wrapperµÄµ®ÉúÓиöССµÄ¹ÊÊ£¬´


Ïà¹ØÎĵµ£º

LinuxÖ®Makefile (¶þ)

¾Å¡¢Ä£Ê½±äÁ¿
ÔÚGNUµÄmakeÖУ¬»¹Ö§³Öģʽ±äÁ¿£¨Pattern-specific Variable£©£¬Í¨¹ýÉÏÃæµÄÄ¿±ê±äÁ¿ÖУ¬ÎÒÃÇÖªµÀ£¬±äÁ¿¿ÉÒÔ¶¨ÒåÔÚij¸öÄ¿±êÉÏ¡£Ä£Ê½±äÁ¿µÄºÃ´¦¾ÍÊÇ£¬ÎÒÃÇ¿ÉÒÔ¸ø¶¨Ò»Ö֓ģʽ”£¬¿ÉÒ԰ѱäÁ¿¶¨ÒåÔÚ·ûºÏÕâÖÖģʽµÄËùÓÐÄ¿±êÉÏ¡£
ÎÒÃÇÖªµÀ£¬makeµÄ“ģʽ”Ò»°ãÊÇÖÁÉÙº¬ÓÐÒ»¸ö“%&rdquo ......

s3c2440»ùÓÚlinuxµÄgpio led×Ö·ûÉ豸Çý¶¯Êµ¼ù

 ½ñÌìÍê³ÉÁËǶÈëʽlinuxµÄµÚÒ»¸öÇý¶¯µÄ±àдºÍ²âÊÔ£¬ËäÈ»ÊǸö¼òµ¥µÄ³ÌÐò£¬µ«ÊÇÂéȸËäС£¬ÎåÔà¾ãÈ«£¬Ï£Íû¿ÉÒÔ¸ø¸Õ¿ªÊ¼½Ó´¥Çý¶¯±àдµÄÈËһЩÌáʾ£¬¹²Í¬½ø²½¡£
Ô´´úÂ룺
·ÖÎöÈçÏ£º
      ÏÂÃæÊÇÎÒµÄÇý¶¯³ÌÐò£º
#include <linux/config.h>//ÅäÖÃÍ·Îļþ
#include <linux/kernel.h&g ......

LinuxϵͳÈÕÖ¾½éÉÜ(syslogd)

¡¡¡¡1¡¢½éÉÜ£º
¡¡¡¡ ´ó²¿·ÖµÄ Linux ϵͳÖж¼ÒªÊ¹Óà syslog ¹¤¾ß£¬ËüÊÇÏ൱Áé»îµÄ£¬ÄÜʹϵͳ¸ù¾Ý²»Í¬ÈÕÖ¾ÊäÈëÏî²ÉÈ¡²»Í¬µÄ»î¶¯¡£syslog ¹¤¾ßÓÉÒ»¸öÊØ»¤³ÌÐò×é³É¡£ËüÄܽÓÊÜ·ÃÎÊϵͳµÄÈÕÖ¾ÐÅÏ¢²¢ÇÒ¸ù¾Ý /etc/syslog.conf ÅäÖÃÎļþÖеÄÖ¸Áî´¦ÀíÕâЩÐÅÏ¢¡£³ÌÐò£¬ÊØ»¤½ø³ÌºÍÄÚºËÌṩÁË·ÃÎÊϵͳµÄÈÕÖ¾ÐÅÏ¢¡£Òò´Ë£¬ÈκÎÏ£ÍûÉú³ÉÈÕ ......

¡¾×ª¡¿Linux Îļþϵͳ¸ÅÊö

 Ò»¡¢Ê²Ã´ÊÇÎļþϵͳ £¨Filesystem£©£»
1¡¢³£¼û¶¨Òå·½·¨£»
ʲôÊÇÎļþϵͳ£¨filesystem£©£¬ÓÃÒ»Á½¾ä»°½â´ð³öÀ´£¬ÊµÔÚÓеãÀ§ÄÑ£¬Õâ¸öÎÊÌâÖ»ÄÜÁô¸øÎļþϵͳµÄÉè¼ÆÕß»ò¶ÔÎļþϵͳ¾«Í¨µÄרҵÈËÊ¿À´´ð¸´£»ÏÂÃæÊǹØÓÚfilesystemµÄ¶¨ÒåÊÇÎÒ´Ó Google.com ÉÏËÑË÷µ½µÄ£»ÏÂÃæÎÒÃÇ·ÖÎöһϣ¬¶ÔÎÒÃÇÀ´Ëµ£¬Á˽âÒ»ÏÂÒ²Óкô¦¡£Èç¹û ......

linuxÏÂÃæµÄµ÷ÊÔÆ÷£¬Ïë˵°®Äã²»ÈÝÒ×

 
ÔÚlinuxÏÂÃ濪·¢c++µÄÓ¦ÓóÌÐò£¬Ê¹ÓÃstlµÄ¿â£¬·¢ÏÖ»¹ÊDz»ÊǺܷ½±ã£¬ÓÈÆäÊÇÆäµ÷ÊÔÆ÷¡£
ʹÓõÄÊÇkdevelop¼¯³É»·¾³£¬±à±à´úÂ뻹Ëã·½±ã£¬±àÒëÒ²ÐУ¬µ«Êǵ÷ÊԵĻ°¸Ð¾õÌر𲻷½±ã¡£Ëüµ÷ÓÃÁËgdb£¬µ«ÊÇΪÁ˵÷ÊÔ·½±ã×Ô¼ºÓÖ¼ÓÁ˺Ü
¶à¶îÍâµÄÃüÁîµ¼ÖºܶàÐÅÏ¢»á¿´²»µ½¡£×Ô¼ºÒ»Ö±ÓÃgdb£¬ÓÐÈËÓÃddd£¬ºóÕßÒ²Êǵ÷ÓÃgdb£¬µ«ÊÇ·¢ÏÖÈ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ