tftp基于tcp还是udp 判断题:FTP协议在传输层使用了UDP协议,而TFTP协议使...
ftp\u662f\u57fa\u4e8e\u4ec0\u4e48\u534f\u8bae\u7684 TCP\u8fd8\u662fUDPtcp\u3002
\u6587\u4ef6\u4f20\u8f93\u534f\u8bae\uff08File Transfer Protocol\uff0cFTP\uff09\u662f\u7528\u4e8e\u5728\u7f51\u7edc\u4e0a\u8fdb\u884c\u6587\u4ef6\u4f20\u8f93\u7684\u4e00\u5957\u6807\u51c6\u534f\u8bae\uff0c\u5b83\u5de5\u4f5c\u5728 OSI \u6a21\u578b\u7684\u7b2c\u4e03\u5c42\uff0c TCP \u6a21\u578b\u7684\u7b2c\u56db\u5c42\uff0c \u5373\u5e94\u7528\u5c42\uff0c \u4f7f\u7528 TCP \u4f20\u8f93\u800c\u4e0d\u662f UDP\uff0c \u5ba2\u6237\u5728\u548c\u670d\u52a1\u5668\u5efa\u7acb\u8fde\u63a5\u524d\u8981\u7ecf\u8fc7\u4e00\u4e2a\u201c\u4e09\u6b21\u63e1\u624b\u201d\u7684\u8fc7\u7a0b\uff0c \u4fdd\u8bc1\u5ba2\u6237\u4e0e\u670d\u52a1\u5668\u4e4b\u95f4\u7684\u8fde\u63a5\u662f\u53ef\u9760\u7684\uff0c \u800c\u4e14\u662f\u9762\u5411\u8fde\u63a5\uff0c \u4e3a\u6570\u636e\u4f20\u8f93\u63d0\u4f9b\u53ef\u9760\u4fdd\u8bc1\u3002
\u6269\u5c55\u8d44\u6599\uff1a
FTP\u5ba2\u6237\u7aef\u53d1\u8d77FTP\u4f1a\u8bdd\uff0c\u4e0eFTP\u670d\u52a1\u5668\u5efa\u7acb\u76f8\u5e94\u7684\u8fde\u63a5\u3002FTP\u4f1a\u8bdd\u671f\u95f4\u8981\u5efa\u7acb\u63a7\u5236\u4fe1\u606f\u8fdb\u7a0b\u4e0e\u6570\u636e\u8fdb\u7a0b\u4e24\u4e2a\u8fde\u63a5\u3002\u63a7\u5236\u8fde\u63a5\u4e0d\u80fd\u5b8c\u6210\u4f20\u8f93\u6570\u636e\u7684\u4efb\u52a1\uff0c\u53ea\u80fd\u7528\u6765\u4f20\u9001FTP\u6267\u884c\u7684\u5185\u90e8\u547d\u4ee4\u4ee5\u53ca\u547d\u4ee4\u7684\u54cd\u5e94\u7b49\u63a7\u5236\u4fe1\u606f\uff1b\u6570\u636e\u8fde\u63a5\u662f\u670d\u52a1\u5668\u4e0e\u5ba2\u6237\u7aef\u4e4b\u95f4\u4f20\u8f93\u6587\u4ef6\u7684\u8fde\u63a5\uff0c\u662f\u5168\u53cc\u5de5\u7684\uff0c\u5141\u8bb8\u540c\u65f6\u8fdb\u884c\u53cc\u5411\u6570\u636e\u4f20\u8f93\u3002\u5f53\u6570\u636e\u4f20\u8f93\u5b8c\u6210\u540e\uff0c\u6570\u636e\u8fde\u63a5\u4f1a\u64a4\u6d88\uff0c\u518d\u56de\u5230FTP\u4f1a\u8bdd\u72b6\u6001\uff0c\u76f4\u5230\u63a7\u5236\u8fde\u63a5\u88ab\u64a4\u6d88\uff0c\u5e76\u9000\u51fa\u4f1a\u8bdd\u4e3a\u6b62\u3002
\u53c2\u8003\u8d44\u6599\u6765\u6e90\uff1a\u767e\u5ea6\u767e\u79d1-ftp
\u53c2\u8003\u8d44\u6599\u6765\u6e90\uff1a\u767e\u5ea6\u767e\u79d1-tcp
\u5b8c\u5168\u8bf4\u53cd\u4e86\uff01
FTP\u7528\u7684\u662fTCP\u534f\u8bae\uff0c\u800cTFTP\u4f7f\u7528\u7684\u662fUDP\u534f\u8bae\u3002
\u8bb0\u4f4f\u8981\u786e\u4fdd\u4f20\u8f93\u8d28\u91cf\u7684\u65f6\u5019\u9700\u8981\u7528TCP\u534f\u8bae\uff0c\u800c\u53ea\u8981\u4fdd\u8bc1\u9ad8\u901f\u4f20\u8f93\u7684\u65f6\u5019\u5c31\u7528UDP\u534f\u8bae\u3002
绛旓細tcp銆傛枃浠朵紶杈撳崗璁紙File Transfer Protocol锛孎TP锛夋槸鐢ㄤ簬鍦ㄧ綉缁滀笂杩涜鏂囦欢浼犺緭鐨勪竴濂楁爣鍑嗗崗璁紝瀹冨伐浣滃湪 OSI 妯″瀷鐨勭涓冨眰锛 TCP 妯″瀷鐨勭鍥涘眰锛 鍗冲簲鐢ㄥ眰锛 浣跨敤 TCP 浼犺緭鑰屼笉鏄 UDP锛 瀹㈡埛鍦ㄥ拰鏈嶅姟鍣ㄥ缓绔嬭繛鎺ュ墠瑕佺粡杩囦竴涓滀笁娆℃彙鎵嬧濈殑杩囩▼锛 淇濊瘉瀹㈡埛涓庢湇鍔″櫒涔嬮棿鐨勮繛鎺ユ槸鍙潬鐨勶紝 鑰屼笖鏄潰鍚...
绛旓細TFTP鍩轰簬UDP鍗忚銆
绛旓細TFTP鏄疶CP/IP鍗忚鏃忎腑鐨勪竴涓敤鏉ュ湪瀹㈡埛鏈轰笌鏈嶅姟鍣ㄤ箣闂磋繘琛岀畝鍗曟枃浠朵紶杈撶殑鍗忚锛屾彁渚涗笉澶嶆潅銆佸紑閿涓嶅ぇ鐨勬枃浠朵紶杈撴湇鍔°傜鍙e彿涓69銆俆FTP浣滀负涓涓紶杈撴枃浠剁殑绠鍗曞崗璁紝鏄熀浜嶶DP鍗忚鑰屽疄鐜扮殑锛屼絾鏄篃涓嶈兘纭畾鏈変簺TFTP鍗忚鏄熀浜庡叾瀹冧紶杈撳崗璁畬鎴愮殑銆傛鍗忚璁捐鐨勬椂鍊欐槸杩涜灏忔枃浠朵紶杈撶殑銆傚洜姝ゅ畠涓嶅叿澶囬氬父鐨...
绛旓細TFTP锛屼綔涓哄熀浜嶶DP鍗忚鐨勭畝鍗曟枃浠朵紶杈撳崗璁锛屽叾浼犺緭杩囩▼娑夊強鍒板涓眰娆°傞鍏堬紝鏁版嵁鍖呬粠鏈湴濯掍粙鍑哄彂锛岄氳繃IP鍗忚杩涜浼犺緭銆侷P鍗忚铏界劧鏀寔澶氱鏈湴閫氫俊鏂瑰紡锛屼絾鍦═FTP涓紝瀹冧富瑕佽礋璐f暟鎹寘鐨勮矾鐢卞拰瀵诲潃銆傚湪IP鏁版嵁鍖呬腑锛孴FTP涓嶆惡甯﹂澶栫殑鏁版嵁瀛楁锛屼絾鍒╃敤浜哢DP鐨勭壒鎬э紝濡傛簮鍜岀洰鏍囩鍙d俊鎭紝浠ュ強鍖呴暱搴﹀瓧娈点...
绛旓細TFTP锛屽叏绉颁负Trivial File Transfer Protocol锛屾槸涓绉嶄笓涓轰紶杈撳皬鏂囦欢璁捐鐨勭畝鍗曞崗璁紝瀹冧緷鎵樹簬UDP鍗忚杩涜鏁版嵁浼犺緭锛屼絾涔熷瓨鍦ㄩ儴鍒嗗熀浜庡叾浠栦紶杈撳崗璁疄鐜扮殑鍙樼銆俆FTP鐨勫垵琛峰湪浜庝究鎹峰湴鍦ㄦ枃浠舵湇鍔″櫒涔嬮棿杩涜鏂囦欢鐨勮幏鍙栧拰鍐欏叆鎿嶄綔锛屽叾鍔熻兘鐩稿鏈夐檺锛屼富瑕佸叧娉ㄥ熀鏈殑鏂囦欢浼犺緭锛屼笉鏀寔甯歌鐨凢TP鍔熻兘锛屽鐩綍娴忚銆佽韩浠...
绛旓細FTP鏄瀹屾暣銆侀潰鍚戜細璇濄佸父瑙勭敤閫旀枃浠朵紶杈撳崗璁傝TFTP鐢ㄤ綔bonesbare-鐗规畩鐩殑鏂囦欢浼犺緭鍗忚銆6銆佷氦浜掍娇鐢‵TP銆俆FTP鍏佽浠呭崟鍚戜紶杈撶殑鏂囦欢銆7銆丗TP鎻愪緵韬唤楠岃瘉銆傝孴FTP涓嶃8銆丗TP浣跨敤宸茬煡TCP绔彛鍙凤細20鐨勬暟鎹拰21鐢ㄤ簬杩炴帴瀵硅瘽妗嗐俆FTP鐢ㄤ簬UDP绔彛鍙69鍏舵枃浠朵紶杈撴椿鍔ㄣ9銆佸洜涓篢FTP涓嶆敮鎸侀獙璇乄indowsNT锛屾墍浠TP鏈嶅姟...
绛旓細瀹屽叏璇村弽浜嗭紒FTP鐢ㄧ殑鏄TCP鍗忚锛岃TFTP浣跨敤鐨鏄疷DP鍗忚銆傝浣忚纭繚浼犺緭璐ㄩ噺鐨勬椂鍊欓渶瑕佺敤TCP鍗忚锛岃屽彧瑕佷繚璇侀珮閫熶紶杈撶殑鏃跺欏氨鐢║DP鍗忚銆
绛旓細浜屻乀FTP锛氱畝鍗曡交閲忕骇鏂囦欢浼犺緭TFTP锛圱rivial File Transfer Protocol锛夋槸杞婚噺绾х殑鏂囦欢浼犺緭鍗忚锛鍩轰簬UDP锛岄傜敤浜庡浜や簰鎬ц姹備笉楂樼殑鐜銆傚畠鎻愪緵涓婁紶鍜涓嬭浇鏂囦欢鐨勫熀鏈姛鑳斤紝涓旀棤璁よ瘉鏈哄埗銆TFTP鐨宸ヤ綔娴佺▼鐢卞鎴风鍙戣捣锛屼笖涓嶆敮鎸佸鏉傜殑瀛樺彇鎺堟潈鍜岀洰褰曞垪琛ㄦ搷浣溿備笁銆丼FTP锛氬畨鍏ㄦ枃浠朵紶杈撶殑鍔犲瘑瀹堟姢SFTP锛圫ecure File...
绛旓細涓嶈兘鍒楀嚭鐩綍锛屼笉杩涜璁よ瘉锛屼紶杈8浣嶆暟鎹傚敖绠′笌FTP鐩告瘮TFTP鐨鍔熻兘瑕佸急寰楀锛屼絾鏄疶FTP鍏锋湁涓や釜浼樼偣锛1)TFTP鑳藉鐢ㄤ簬閭d簺鏈UDP鑰屾棤TCP鐨勭幆澧冦2)TFTP浠g爜鎵鍗犵殑鍐呭瓨瑕佹瘮FTP灏忋傚敖绠¤繖涓や釜浼樼偣瀵逛簬鏅氳绠楁満鏉ヨ骞朵笉閲嶈锛屼絾鏄浜庨偅浜涗笉鍏峰纾佺洏鏉ュ瓨鍌ㄧ郴缁熻蒋浠剁殑鑷妇纭欢璁惧鏉ヨTFTP鐗瑰埆鏈夌敤銆
绛旓細Ftp鍩轰簬tcp鍗忚锛屼細鍏堝缓绔嬭繛鎺ュ湪浼犺緭锛屾湁瀹屽杽鐨勫閿欐満鍒躲tftp鍩轰簬udp鍗忚锛屾暟鎹槸鐩存帴鍙戦佺殑锛屽鏂硅兘鍚︽敹鍒板畬鍏ㄤ笉鐭ワ紝鏄笉鍙潬鐨勪紶閫併傞備簬浼犻佸皬鏂囦欢锛屼絾涓嶅彲鐢ㄤ簬灞鍩熺綉鍦板潃