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

ÓÖÒ»´Î±»linuxµÄ¹¤¾ßÕð¾ªÁË

    ǰһƪ²©¿Í»¹Ð´ÁË×Ô¼ºÐ´µÄ¶Ë¿Úת·¢¹¤¾ß£¬½ñÌìżȻÔÚÍøÉÏ¿´µ½½²ÃüÃû¹ÜµÀºÍnetcatÅäºÏµÄÓ÷¨£¬±»³¹µ×À×µ¹ÁË¡£
    Ô­À´ÒÔΪnetcat×ö²»µ½£¬Ô­À´ÊÇ×Ô¼ºÏë²»µ½£¬¶ø²»ÊÇnetcat×ö²»µ½……
    ·½·¨ÈçÏ£º
    $ mknod backpipe p
    ½¨Á¢Ò»¸öÃüÃû¹ÜµÀ.
    listener-to-client ת·¢£º
    $ nc -l -p [localport] 0< backpipe |
        nc [target ip] [port] |
        tee backpipe
    ƯÁÁ°É£¿
    ¼ÌÐø£º
    listener-to-listener ת·¢£º
    $ nc -l -p [localport] 0< backpipe |
        nc -l -p [localport2] |
        tee backpipe
   
    client-to-client ת·¢£º
    $ nc [ip1] [port1] 0< backpipe |
        nc [ip2] [port2] |
        tee backpipe
   
»¹ÓиüÀ׵ķ½·¨£¬ÓÃ×ÔÉíµÄ -e ²ÎÊý£º
    $ echo nc [ip] [port] > relay.sh
    $ chmod +x relay.sh
    $ nc -l -p [port2] -e relay.sh
    ÎÒÔβËÁË£¬Ô­À´ÄǸö³ÌÐòÊǰ×дÁË¡£
    Ç¿´óµÄlinux, Ç¿´óµÄnetcat !


Ïà¹ØÎĵµ£º

ʵս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ÑݱäµÄ15¸öÖØ´óÀï³Ì±®

¾Ý¹úÍâýÌ屨µÀ£¬½üÈÕ£¬×ÊÑ¶ÍøÕ¾TechradarÁоÙÁ˽üÊ®ÄêÀ´LinuxϵͳÑݱäÀú³ÌÖеÄÖØÒªÊ±¿Ì£¬ÏÂÃæÈÃÎÒÃÇÀ´ä¯ÀÀÕâ15¸ö¾ßÓÐÀï³Ì±®ÒâÒåµÄ¸Ä½ø£º
1¡¢2001Äê1Ô£ºLinux Kernel 2.4
Linux 2.4°æÊÇÒ»¸öÖØÒªµÄ·ÖË®Á룬¸Ã°æ±¾ÏµÍ³ÌṩÁËÐí¶àÖØÒªµÄ½Ó¿Ú£¬ÖîÈçUSBÆô¶¯¡¢À¶ÑÀÖÕ¶ËÉ豸¡¢ÄÚǶRAIDºÍext3¸ñʽµÄÎļþϵͳ¡£Linux³öÉ«µÄÇý¶¯³ÌÐ ......

ÔÚlinuxÏ »ñÈ¡£¬ÐÞ¸Ä×ÓÍøÑÚÂëNETMASKµÄÁ½¸öº¯Êý

//»ñÈ¡×ÓÍøÑÚÂëµÄº¯ÊýQString GetLocalNetMask()
{
int sock_netmask;
char netmask_addr[50];
struct ifreq ifr_mask;
struct sockaddr_in *net_mask;

sock_netmask = socket( AF_INET, SOCK_STREAM, 0 );
if( sock_netmask == -1)
{
perror("create socket failture...GetLocalNetMask\n");
......

dzÎöLinuxÏÂcoreÎļþ


µ±ÎÒÃǵijÌÐò±ÀÀ£Ê±£¬ÄÚºËÓпÉÄܰѸóÌÐòµ±Ç°ÄÚ´æÓ³Éäµ½coreÎļþÀ·½±ã³ÌÐòÔ±ÕÒµ½³ÌÐò³öÏÖÎÊÌâµÄµØ·½¡£×î³£³öÏֵ쬼¸ºõËùÓÐC³ÌÐòÔ±¶¼³öÏÖ¹ýµÄ´íÎó¾ÍÊÇ“¶Î´íÎó”ÁË¡£Ò²ÊÇ×îÄѲé³öÎÊÌâÔ­ÒòµÄÒ»¸ö´íÎó¡£ÏÂÃæÎÒÃǾÍÕë¶Ô“¶Î´íÎó”À´·ÖÎöcoreÎļþµÄ²úÉú¡¢ÒÔ¼°ÎÒÃÇÈçºÎÀûÓÃcoreÎļþÕÒµ½³öÏÖ±ÀÀ£µÄµØ·½¡ ......

linuxϰ²×°ÅäÖÃjdk 1.6

Ô­ÎÄ£ºhttp://developer.51cto.com/art/200907/134477.htm
JDK1.6ÔÚLINUXϵݲװÅäÖÃÊÇJava³õѧÕß¿ªÊ¼Java±à³ÌµÄ
±Ø¾­Ö®Â·£¬ÄÇôÈçºÎJDK1.6ÔÚLINUXϵݲװÅäÖþͳÉÁËÊ×ÒªµÄÎÊÌ⣬ÄÇô±¾ÎľÍÏòÄã½éÉÜJDK1.6ÔÚLINUXϵݲװÅäÖÃÎÊÌâ¡£
JDK1.6ÔÚLINUXϵݲװÊÇÈçºÎ½øÐеÄÄØ£¬ÈÃÎÒÃÇ¿ªÊ¼ÎÒÃǵÄÑÝʾ£º
Ubuntu LinuxÏÂjdkµ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ