linux×öÍø¹Ü
echo "1" > /proc/sys/net/ipv4/ip_forward
modprobe ip_tables
modprobe ip_nat_ftp
modprobe ip_nat_irc
modprobe ip_conntrack
modprobe ip_conntrack_ftp
modprobe ip_conntrack_irc
iptables -F
iptables -X
iptables -Z
iptables -F -t nat
iptables -X -t nat
iptables -Z -t nat
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -t nat -P PREROUTING ACCEPT
iptables -t nat -P POSTROUTING ACCEPT
iptables -t nat -P OUTPUT ACCEPT
iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth1 -j MASQUERADE #10.8.0.0£ºÄÚÍø
#iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -j SNAT --to 192.168.0.104
ÔËÐиÃÅäÖÃÎļþ¼´¿É
Ïà¹ØÎĵµ£º
ÀýÒ»£º·¢ËÍSignaling Packet£º
Signaling CommandÊÇ2¸öBluetoothʵÌåÖ®¼äµÄL2CAP²ãÃüÁî´«Êä¡£ËùÒÔµÃSignaling CommandʹÓÃCID 0x0001.
¶à¸öCommand¿ÉÒÔÔÚÒ»¸öC-frame£¨control frame£©Öз¢ËÍ¡£
Èç¹ûÒªÖ±½Ó·¢ËÍSignaling Command.ÐèÒª½¨Á¢SOCK_RAWÀàÐ͵ÄL2CAPÁ¬½ÓSocket¡£ÕâÑù²ÅÓлú»á×Ô¼ºÌî³äCommand Code£¬Identi ......
linuxÏÂÔËÐеĵÚÒ»¸öC³ÌÐò
root@localhost root]# vi hello.c
½øÈëvimµÄÃüÁîģʽ£¬°´Ï¼üÅ̵ÄiÇл»µ½²åÈëģʽ£¬ÊäÈëÈçÏ´úÂ룺
#include <stdio.h>
int main()
{
printf("Hello! This is our embeded world!\n");
return ......
Ò»¸ö¼òµ¥ÊµÓõÄС¹¦ÄÜ¡£¡£
1.ÓÃwÃüÁî²é¿´¶¼ÓÐÄÄЩÖжÏÓû§
[]#w
jeff pts/5 192.168.96.128 16:47 10:44 0.03s 0.03s -bash
2.·¢ËÍÏûÏ¢
[]#write jeff pts/5
hello!
½ÓÏÂÀ´Ã¿Ð´Ò»ÐУ¬°´»Ø³µºó¾Í»á·¢Ë͵½¶Ô·½ÏàÓ¦µÄÖÕ¶Ë¡£
......
ÏÖÔںöàµÄÈË¿ªÊ¼½Ó´¥µçÄÔµÄʱºò£¬¼ûµ½µÄÓ¦¸ÃÊÇWindows98
˵ʵ»°£¬98
ÒѾÊÇÒ»¸öºÜÈËÐÔ»¯£¬·â×°µÄºÜºÃµÄÒ»¸öϵͳÁËÒ»¸ö¶ÔµçÄÔÒ»Çϲ»Í¨µÄÈ˶¼ÄܺܿìµÄʹÓÃËü¡£ÕâÑùºÜ¶àÈ˶Ô"
µçÄÔ"
µÄÓ¡ÏóºÍÄÇЩºÍÎÒÒ»ÑùÒ»¿ªÊ¼½Ó´¥µÄÊÇDOS
ÈËÊǾøÈ»²»Í¬µÄ¡£ÔÚDOS
ʱ´ú£¬Èç¹ûÄã¶ÔµçÄԵĻù´¡Ö ......