Linux dmesgÖйØÓÚTCP: Treason uncloaked!ÐÅÏ¢
ÔÚdebian Linux·þÎñÆ÷µÄÈÕÖ¾ÖУ¬dmesg³öÏÖÀàËƵÄÐÅÏ¢£º
TCP: Treason uncloaked! Peer 202.106.38.7:57824/80 shrinks window 3573023813:3573023814. Repaired.
TCP: Treason uncloaked! Peer 202.106.38.7:57824/80 shrinks window 3573023813:3573023814. Repaired.
TCP: Treason uncloaked! Peer 202.99.99.211:3760/80 shrinks window 1828242657:1828242673. Repaired.
TCP: Treason uncloaked! Peer 210.76.114.42:2544/80 shrinks window 504374393:504375853. Repaired.
..........
²éÁË×ÊÁÏ£¬ÇóÖúÁËgoogle£º
That comes from the kernel tcp code below. Looks like the DLink has returned information yielding a transmit window smaller than it previously did; specifically it returned a window of zero plus an ack of up to byte 3957222360, thus indicating that it can accept nothing after that byte. Previously it had sent ome ack+wnd values indicating that it would accept up to byte 3957222379.
The Linux side is now supposed to send a packet every now and then forever until the returned window is nonzero. It does.
However, the dlink is apparently not responding in a timely manner. Any response would either open the window or update the rcv timestamp such that the thing will retransmit forever. It may be responding very slowly, or just not responding at all.
The kernel prints the message after it expected but did not see a response to the probe packet it sent to check for a nonzero window. The kernel implements exponential backoff retransmissions until it hasn't seen any response in 2m, then it will bail and close the connection. This is reasonable. It's unclear from your report if the connections are failing outright or just sometimes having to retransmit a probe against a peer that shrank the window.
½áÂÛ£º
The remote host decided to shrink the TCP window size without negotiating such with your Linux box. The message is of the informational level, meaning Linux doesn't like what it is seeing but will cope with it and carr
Ïà¹ØÎĵµ£º
¿ÉÒÔ½«Õâ¸ö½Å±¾·Å½øcrontab£¬ËûµÄÅäÖÆÎļþÔÚ /etc/crontabÖÐÿÌìÁ賿ִÐÐÒ»´Î£¬×Ô¶¯±¸·Ý Õâ¸ö½Å±¾Ã¿Ìì×î¶àÖ»Ö´ÐÐÒ»´Î£¬¶øÇÒÖ»±£Áô×î½üÎåÌìµÄ±¸·ÝÔÚ·þÎñÆ÷ÉÏ¡£
#!/bin/bash
#This is a ShellScript For Auto DB Backup
#Powered by aspbiz
#2004-09
#Setting
#ÉèÖÃÊý¾Ý¿âÃû£¬Êý¾Ý¿âµÇ¼Ãû£¬ÃÜÂ룬±¸·Ý·¾¶£¬ÈÕ־ ......
×¼±¸¹¤×÷:
¡¡¡¡Óõ½µÄperl À©Õ¹×é¼þ(modules)ÔÚÉÏƪÌù³ö.( win32::odbc Ä£¿é
)ÏÂÔØ×é¼þºó°´ÕÕReadmeÎļþ°²×°µ¹ÏìӦĿ¼.ÅäÖúÃÏàÓ¦µÄodbcÊý¾ÝÔ´.
¡¡¡¡
¡¡¡¡³ÌÐòʵÏÖ:
¡¡¡¡Ê¹ÓÃ
¡¡¡¡use
Win32::ODBC;
¡¡¡¡
¡¡¡¡Óï¾ä°üº¬Ó¦Ê¹ÓõÄÄ£¿éÊÇwin32::odbc,д³öÊý¾Ý¿â
Á¬½Ó×Ö·û´®
¡¡¡¡
¡¡¡¡$DSN = "DSN =
My DSN ......
linuxÐÞ¸ÄÖ÷»úÃûµÄ·½·¨
ÓÃhostnameÃüÁî¿ÉÒÔÁÙʱÐ޸ĻúÆ÷Ãû£¬µ«»úÆ÷ÖØÐÂÆô¶¯Ö®ºó¾Í»á»Ö¸´ÔÀ´µÄÖµ¡£
#hostname //²é¿´»úÆ÷Ãû
#hostname -i //²é¿´±¾»úÆ÷Ãû¶ÔÓ¦µÄipµØÖ·
ÁíÍâÒ»ÖÖ·½·¨¾ÍÊÇÖ®¾ÃÐÞ¸ÄÅäÖÃÎļþ
ÐÞ¸Ä/etc/sysconfig/network ÐÞ¸ÄÕâ¸öÎļþ£¬ÏµÍ³²ÅÓÐЧ
/etc ......
Crontab:linux¼Æ»®ÈÎÎñ¡£·Ç³£ÓÐÓõÄÒ»¸öÃüÁ¿ÉÒÔÔÚÖÜÆÚÐԵĶ¨ÒåÒ»¸öÈÎÎñµÄÖ´ÐÐʱ¼ä¡£×î¶ÌµÄÖÜÆÚΪ1·ÖÖÓ¡£ÒòΪcrontabÊÇÊØ»¤½ø³Ì£¬Ã¿¹ý1·ÖÖÓ»á¼ì²éÒ»´Î¡£
Crontab –l: Áгöµ±Ç°µÄÈÎÎñÁÐ±í¡£
Crontab –e:±à¼µ±Ç°µÄÈÎÎñÁÐ±í¡£¿ÉÒÔͨ¹ývi±à¼Æ÷À´±à¼ÈÎÎñÁÐ±í¡£
¸ñʽÈçÏ£º
·Ö ʱ ÈÕ Ô ÖÜ ÃüÁî
¿´¼¸¸öÀý×Ó ......