rfc3996.Internet Printing Protocol (IPP) The ’ippget’ Delivery Method for Event Notifications
imap rfc标准
Internet Message Access Protocol (IMAP) is an email retrieval protocol. It stores email messages on a mail server and enables the recipient to view and manipulate them as though they were stored locally on their device. IMAP was developed in the late 1980s and has since become one of the most widely used email retrieval protocols.The IMAP standard is defined in RFC 3501, which was published in 2003. This document provides a detailed description of the protocol's functionality, including its data formats, commands, and responses. The standard specifies how IMAP clients and servers should communicate with each other to enable the retrieval and manipulation of email messages.One of the key features of IMAP is its support for multiple clients accessing the same mailbox simultaneously. This is achieved through the use of a "shared" storage model, where all clients see the same set of messages and folders stored on the server. This allows users to access their email from different devices without having to worry about synchronizing their messages manually.Another important aspect of IMAP is its support for message organization and management. Clients can create, delete, and rename folders, as well as move messages between folders. They can also search for specific messages based on various criteria, such as sender, subject, or date.IMAP also provides a range of features for managing individual messages. Clients can mark messages as read or unread, flag them for follow-up, and even move them to a specific folder. They can also reply to messages, forward them to others, and generate replies or forwards with attachments.Overall, the IMAP standard provides a powerful and flexible framework for managing email messages. Its support for shared storage, message organization, and advanced message management features make it a popular choice for both personal and business email users.。
攻击网络打印机
攻击网络打印机作者:Adrian Crenshaw译者:riusksk (泉哥:) 宏基笔记本AS3810TZ-272G32n你说如果入侵打印机需要何种墨水呢,Irongeek(译注:作者的网站)吗?好的,本文这里将向您讲述如何通过打印机以鲜为人知的方式来渗透网络。
以前,除了垃圾箱中的复印件所带来的安全威胁外,并不会有其它太多的安全隐患。
但现在的打印机却可通过网络与嵌入式操作系统、存储和IP协议栈相关联,已经不再像以前一样单一了。
本文将就网络打印机泄漏用户、机主和网络的相关信息的话题展开讨论。
由于本文中关于攻击的内容多于防御,因此看起来有点像黑帽子。
但是我觉得这些信息对于系统管理员和审计者来说更为有用,可以帮助他们在面对网络打印机时更清楚地知道该关注哪一方面的信息。
关于如何锁住网络打印机,你可以访问厂商的官方网站以获取更多的建议。
关于惠普网络打印机的一份指南在本文的底部已经附上下载连接,如果不出意外,本文将引领你在正确的方向上进行思考。
本文测试的打印机主要是基于Hewlett-Packard LaserJet 4100 MFP (Fax/Printer/Copier/Scanner),HP Jetdirect 170x和HP JetDirect 300X (J3263A),但与此同时我也将讲述一些关于Ricoh Savin打印机的内容,以便让你知道,其实并不是只有惠普的网络打印机才存在安全问题的。
本文最初来源于Droop的I nfonomicon TV项目,它如滚雪球一般,没有具体的方向。
但我继续坚持着,并对其进行整理,还有其他朋友给予的附加内容和建议,才使得本文更为完善和更有价值。
关于本文的最新版本可在以下链接找到:/i.php?page=security/networkprinterhacking概念下面讲述几个本文中涉及到的缩写词。
PCL代表打印机控制语言(Printer Control Language),由惠普公司开发,并被广泛使用的一种打印机协议。
TCP协议对应端口号
TCP端口就是为TCP协议通信提供服务的端口。
TCP (Transmission Control Protocol)传输控制协议,TCP是一种面向连接(连接导向)的、可靠的、基于字节流的运输层(Transport layer)通信协议,由IETF的RFC 793说明(specified)。
在计算机网络OSI模型中,它完成第四层传输层所指定的功能。
我们的电脑与网络连接的许多应用都是通过TCP端口实现的。
目录1TCP端口(静态端口)2TCP端口(动态端口)1TCP端口(静态端口)编辑TCP 0= ReservedTCP 1=TCP Port Service MultiplexerTCP 2=DeathTCP 5=Remote Job Entry,yoyoTCP 7=EchoTCP 11=SkunTCP 12=BomberTCP 16=SkunTCP 17=SkunTCP 18=消息传输协议,skunTCP 19=SkunTCP 20=FTP Data,AmandaTCP 21=文件传输,Back Construction,Blade Runner,Doly Trojan,Fore,FTP trojan,Invisible FTP,Larva, WebEx,WinCrashTCP 22=远程登录协议TCP 23=远程登录(Telnet),Tiny Telnet Server (= TTS)TCP 25=电子邮件(SMTP),Ajan,Antigen,Email Password Sender,Happy 99,Kuang2,ProMail trojan,Shtrilitz,Stealth,Tapiras,Terminator,WinPC,WinSpy,Haebu CocedaTCP 27=AssasinTCP 28=AmandaTCP 29=MSG ICPTCP 30=Agent 40421TCP 31=Agent 31,Hackers Paradise,Masters Paradise,Agent 40421TCP 37=Time,ADM wormTCP 39=SubSARITCP 41=DeepThroat,ForeplayTCP 42=Host Name ServerTCP 43=WHOISTCP 44=ArcticTCP 48=DRATTCP 49=主机登录协议TCP 50=DRATTCP 51=IMP Logical Address Maintenance,Fuck Lamers BackdoorTCP 52=MuSka52,SkunTCP 53=DNS,Bonk (DOS Exploit)TCP 54=MuSka52TCP 58=DMSetupTCP 59=DMSetupTCP 63=whois++TCP 64=Communications IntegratorTCP 65=TACACS-Database ServiceTCP 66=Oracle SQL*NET,AL-BarekiTCP 67=Bootstrap Protocol ServerTCP 68=Bootstrap Protocol ClientTCP 69=W32.Evala.Worm,BackGate Kit,Nimda,Pasana,Storm,Storm worm,Theef,Worm.Cycle.a TCP 70=Gopher服务,ADM wormTCP 79=用户查询(Finger),Firehotcker,ADM wormTCP 80=超文本服务器(Http),Executor,RingZeroTCP 81=Chubo,Worm.Bbeagle.qTCP 82=Netsky-ZTCP 88=Kerberos krb5服务TCP 99=Hidden PortTCP 102=消息传输代理TCP 108=SNA网关访问服务器TCP 109=Pop2TCP 110=电子邮件(Pop3),ProMailTCP 113=Kazimas, Auther IdnetTCP 115=简单文件传输协议TCP 118=SQL Services, Infector 1.4.2TCP 119=新闻组传输协议(Newsgroup(Nntp)), Happy 99TCP 121=JammerKiller, Bo jammerkillahUDP 123=网络时间协议(NTP),Net ControllerTCP 129=Password Generator ProtocolTCP 133=Infector 1.xTCP 135=微软DCE RPC end-point mapper服务TCP 137=微软Netbios Name服务(网上邻居传输文件使用)TCP 138=微软Netbios Name服务(网上邻居传输文件使用)TCP 139=微软Netbios Name服务(用于文件及打印机共享)TCP 142=NetTaxiTCP 143=IMAPTCP 146=FC Infector,InfectorTCP 150=NetBIOS Session ServiceTCP 156=SQL服务器TCP 161=SnmpTCP 162=Snmp-TrapTCP 170=A-TrojanTCP 177=X Display管理控制协议TCP 179=Border网关协议(BGP)TCP 190=网关访问控制协议(GACP)TCP 194=IrcTCP 197=目录定位服务(DLS)TCP 256=NirvanaTCP 315=The InvasorTCP 371=ClearCase版本管理软件TCP 389=Lightweight Directory Access Protocol (LDAP)TCP 396=Novell Netware over IPTCP 420=BreachTCP 421=TCP WrappersTCP 443=安全服务TCP 444=Simple Network Paging Protocol(SNPP)TCP 445=Microsoft-DSTCP 455=Fatal ConnectionsTCP 456=Hackers paradise,FuseSparkTCP 458=苹果公司QuickTimeTCP 513=GrloginTCP 514=RPC BackdoorTCP 520=EFS (UDP520=RIP)TCP 531=Rasmin,Net666TCP 544=kerberos kshellTCP 546=DHCP ClientTCP 547=DHCP ServerTCP 548=Macintosh文件服务TCP 555=Ini-Killer,Phase Zero,Stealth SpyTCP 569=MSNTCP 605=SecretServiceTCP 606=Noknok8TCP 660=DeepThroatTCP 661=Noknok8TCP 666=Attack FTP,Satanz Backdoor,Back Construction,Dark Connection Inside 1.2 TCP 667=Noknok7.2TCP 668=Noknok6TCP 669=DP trojanTCP 692=GayOLTCP 707=Welchia,nachiTCP 777=AIM SpyTCP 808=RemoteControl,WinHoleTCP 815=Everyone DarlingTCP 901=Backdoor.DevilTCP 911=Dark ShadowTCP 990=ssl加密TCP 993=IMAPTCP 999=DeepThroatTCP 1000=Der SpaeherTCP 1001=Silencer,WebEx,Der SpaeherTCP 1003=BackDoorTCP 1010=DolyTCP 1011=DolyTCP 1012=DolyTCP 1015=DolyTCP 1016=DolyTCP 1020=VampireTCP 1023=Worm.Sasser.eTCP 1024=NetSpy.698(YAI)2TCP端口(动态端口)编辑TCP 1059=nimregTCP 1025=NetSpy.698,Unused Windows Services BlockTCP 1026=Unused Windows Services BlockTCP 1027=Unused Windows Services BlockTCP 1028=Unused Windows Services BlockTCP 1029=Unused Windows Services BlockTCP 1030=Unused Windows Services BlockTCP 1033=NetspyTCP 1035=MultidropperTCP 1042=BlaTCP 1045=RasminTCP 1047=GateCrasherTCP 1050=MiniCommandTCP 1069=Backdoor.TheefServer.202TCP 1070=Voice,Psyber Stream Server,Streaming Audio Trojan TCP 1080=Wingate,Worm.BugBear.B,Worm.Novarg.BTCP 1090=Xtreme, VDOLiveTCP 1092=LoveGateTCP 1095=RatTCP 1097=RatTCP 1098=RatTCP 1099=RatTCP 1110=nfsd-keepaliveTCP 1111=Backdoor.AIMVisionTCP 1155=Network File AccessTCP 1170=Psyber Stream Server,Streaming Audio trojan,Voice TCP 1200=NoBackOTCP 1201=NoBackOTCP 1207=SoftwarTCP 1212=Nirvana,Visul KillerTCP 1234=UltorsTCP 1243=BackDoor-G, SubSeven, SubSeven Apocalypse TCP 1245=VooDoo DollTCP 1269=Mavericks MatrixTCP 1313=NirvanaTCP 1349=BioNetTCP 1433=Microsoft SQL服务TCP 1441=Remote StormTCP 1492=FTP99CMP(BackOriffice.FTP)TCP 1503=NetMeeting T.120TCP 1509=Psyber Streaming ServerTCP 1600=Shivka-BurkaTCP 1703=Exloiter 1.1TCP 1720=NetMeeting H.233 call SetupTCP 1731=NetMeeting音频调用控制TCP 1807=SpySenderTCP 1966=Fake FTP 2000TCP 1976=Custom portTCP 1981=ShockraveTCP 1990=stun-p1 cisco STUN Priority 1 portTCP 1990=stun-p1 cisco STUN Priority 1 portTCP 1991=stun-p2 cisco STUN Priority 2 portTCP 1992=stun-p3 cisco STUN Priority 3 port,ipsendmsg IPsendmsg TCP 1993=snmp-tcp-port cisco SNMP TCP portTCP 1994=stun-port cisco serial tunnel portTCP 1995=perf-port cisco perf portTCP 1996=tr-rsrb-port cisco Remote SRB portTCP 1997=gdp-port cisco Gateway Discovery ProtocolTCP 1998=x25-svc-port cisco X.25 service (XOT)TCP 1999=BackDoor, TransScoutTCP 2000=Der Spaeher,INsane NetworkTCP 2002=W32.Beagle. AX mmTCP 2001=Transmisson scoutTCP 2002=Transmisson scoutTCP 2003=Transmisson scoutTCP 2004=Transmisson scoutTCP 2005=TTransmisson scoutTCP 2011=cypressTCP 2015=raid-csTCP 2023=Ripper,Pass Ripper,Hack City Ripper ProTCP 2049=NFSTCP 2115=BugsTCP 2121=NirvanaTCP 2140=Deep Throat, The InvasorTCP 2155=NirvanaTCP 2208=RuXTCP 2255=Illusion MailerTCP 2283=HVL Rat5TCP 2300=PC ExplorerTCP 2311=Studio54TCP 2556=Worm.Bbeagle.qTCP 2565=StrikerTCP 2583=WinCrashTCP 2600=Digital RootBeerTCP 2716=Prayer TrojanTCP 2745=Worm.BBeagle.kTCP 2773=Backdoor,SubSevenTCP 2774=SubSeven2.1&2.2TCP 2801=Phineas PhuckerTCP 2989=RatTCP 3024=WinCrash trojanTCP 3127=Worm.NovargTCP 3128=RingZero,Worm.Novarg.BTCP 3129=Masters ParadiseTCP 3150=Deep Throat, The InvasorTCP 3198=Worm.NovargTCP 3210=SchoolBusTCP 3332=Worm.Cycle.aTCP 3333=ProsiakTCP 3389=超级终端TCP 3456=TerrorTCP 3459=Eclipse 2000TCP 3700=Portal of DoomTCP 3791=EclypseTCP 3801=EclypseTCP 3996=Portal of Doom,RemoteAnythingTCP 4000=腾讯QQ客户端TCP 4060=Portal of Doom,RemoteAnythingTCP 4092=WinCrashTCP 4242=VHMTCP 4267=SubSeven2.1&2.2TCP 4321=BoBoTCP 4444=Prosiak,Swift remoteTCP 4500=W32.HLLW.TufasTCP 4567=File NailTCP 4590=ICQTrojanTCP 4899=Remote Administrator服务器TCP 4950=ICQTrojanTCP 5000=WindowsXP服务器,Blazer 5,Bubbel,Back Door Setup,Sockets de Troie TCP 5001=Back Door Setup, Sockets de TroieTCP 5002=cd00r,ShaftTCP 5011=One of the Last Trojans (OOTLT)TCP 5025=WM Remote KeyLoggerTCP 5031=Firehotcker,Metropolitan,NetMetroTCP 5032=MetropolitanTCP 5037=Android Debug Bridge(ADB)TCP 5190=ICQ QueryTCP 5321=FirehotckerTCP 5333=Backage Trojan Box 3TCP 5343=WCratTCP 5400=Blade Runner, BackConstruction1.2TCP 5401=Blade Runner,Back ConstructionTCP 5402=Blade Runner,Back ConstructionTCP 5471=WinCrashTCP 5512=Illusion MailerTCP 5521=Illusion MailerTCP 5550=Xtcp,INsane NetworkTCP 5554=Worm.SasserTCP 5555=ServeMeTCP 5556=BO FacilTCP 5557=BO FacilTCP 5569=Robo-HackTCP 5598=BackDoor 2.03TCP 5631=PCAnyWhere dataTCP 5632=PCAnyWhereTCP 5637=PC CrasherTCP 5638=PC CrasherTCP 5698=BackDoorTCP 5714=Wincrash3TCP 5741=WinCrash3TCP 5742=WinCrashTCP 5760=Portmap Remote Root Linux ExploitTCP 5880=Y3K RATTCP 5881=Y3K RATTCP 5882=Y3K RATTCP 5888=Y3K RATTCP 5889=Y3K RATTCP 5900=WinVncTCP 6000=Backdoor.ABTCP 6006=Noknok8TCP 6129=Dameware Nt Utilities服务器TCP 6272=SecretServiceTCP 6267=广外女生TCP 6400=Backdoor.AB,The ThingTCP 6500=Devil 1.03TCP 6661=TemanTCP 6666=TCPshell.cTCP 6667=NT Remote Control,Wise 播放器接收端口TCP 6668=Wise Video广播端口TCP 6669=VampyreTCP 6670=DeepThroat,iPhoneTCP 6671=Deep Throat 3.0TCP 6711=SubSevenTCP 6712=SubSeven1.xTCP 6713=SubSevenTCP 6723=MstreamTCP 6767=NT Remote ControlTCP 6771=DeepThroatTCP 6776=BackDoor-G,SubSeven,2000 CracksTCP 6777=Worm.BBeagleTCP 6789=Doly TrojanTCP 6838=MstreamTCP 6883=DeltaSourceTCP 6912=Shit HeepTCP 6939=IndoctrinationTCP 6969=GateCrasher, Priority, IRC 3TCP 6970=RealAudio,GateCrasherTCP 7000=Remote Grab,NetMonitor,SubSeven1.xTCP 7001=Freak88TCP 7201=NetMonitorTCP 7215=BackDoor-G, SubSevenTCP 7001=Freak88,Freak2kTCP 7300=NetMonitorTCP 7301=NetMonitorTCP 7306=NetMonitor,NetSpy 1.0TCP 7307=NetMonitor, ProcSpyTCP 7308=NetMonitor, X SpyTCP 7323=Sygate服务器端TCP 7424=Host ControlTCP 7511=聪明基因TCP 7597=QazTCP 7609=Snid X2TCP 7626=冰河TCP 7777=The ThingTCP 7789=Back Door Setup, ICQKillerTCP 7983=MstreamTCP 8000=腾讯OICQ服务器端,XDMATCP 8010=Wingate,LogfileTCP 8011=WAY2.4TCP 8080=WWW 代理,Ring Zero,Chubo,Worm.Novarg.B TCP 8102=网络神偷TCP 8181=W32.Erkez.DmmTCP 8520=W32.Socay.WormTCP 8594=I-Worm/Bozori.aTCP 8787=BackOfrice 2000TCP 8888=WinvncTCP 8897=Hack Office,ArmageddonTCP 8989=ReconTCP 9000=NetministratorTCP 9325=MstreamTCP 9400=InCommand 1.0TCP 9401=InCommand 1.0TCP 9402=InCommand 1.0TCP 9872=Portal of DoomTCP 9873=Portal of DoomTCP 9874=Portal of DoomTCP 9875=Portal of DoomTCP 9876=Cyber AttackerTCP 9878=TransScoutTCP 9989=Ini-KillerTCP 9898=Worm.Win32.Dabber.aTCP 9999=Prayer TrojanTCP 10000=webmin管理端口TCP 10067=Portal of DoomTCP 10080=Worm.Novarg.BTCP 10084=SyphillisTCP 10085=SyphillisTCP 10086=SyphillisTCP 10101=BrainSpyTCP 10167=Portal Of DoomTCP 10168=Worm.Supnot.78858.c,Worm.LovGate.TTCP 10520=Acid ShiversTCP 10607=Coma trojanTCP 10666=AmbushTCP 11000=Senna SpyTCP 11050=Host ControlTCP 11051=Host ControlTCP 11223=Progenic,Hack ’99KeyLoggerTCP 11831=TROJ_LATINUS.SVRTCP 12076=Gjamer, MSH.104bTCP 12223=Hack’99 KeyLoggerTCP 12345=GabanBus, NetBus 1.6/1.7, Pie Bill Gates, X-bill TCP 12346=GabanBus, NetBus 1.6/1.7, X-billTCP 12349=BioNetTCP 12361=Whack-a-moleTCP 12362=Whack-a-moleTCP 12363=Whack-a-moleTCP 12378=W32/GibeMTCP 12456=NetBusTCP 12623=DUN ControlTCP 12624=ButtmanTCP 12631=WhackJob, WhackJob.NB1.7TCP 12701=Eclipse2000TCP 12754=MstreamTCP 13000=Senna SpyTCP 13010=Hacker BrazilTCP 13013=PsychwardTCP 13223=Tribal Voice的聊天程序PowWowTCP 13700=Kuang2 The VirusTCP 14456=SoleroTCP 14500=PC InvaderTCP 14501=PC InvaderTCP 14502=PC InvaderTCP 14503=PC InvaderTCP 15000=NetDaemon 1.0TCP 15092=Host ControlTCP 15104=MstreamTCP 16484=MosuckerTCP 16660=Stacheldraht (DDoS)TCP 16772=ICQ RevengeTCP 16959=PriorityTCP 16969=PriorityTCP 17027=提供广告服务的Conducent"adbot"共享软件TCP 17166=MosaicTCP 17300=Kuang2 The VirusTCP 17490=CrazyNetTCP 17500=CrazyNetTCP 17569=Infector 1.4.x + 1.6.xTCP 17777=NephronTCP 18753=Shaft (DDoS)TCP 19191=蓝色火焰TCP 19864=ICQ RevengeTCP 20000=Millennium II (GrilFriend)TCP 20001=Millennium II (GrilFriend)TCP 20002=AcidkoRTCP 20034=NetBus 2 ProTCP 20168=LovgateTCP 20203=Logged,ChupacabraTCP 20331=BlaTCP 20432=Shaft (DDoS)TCP 20808=Worm.LovGate.v.QQTCP 21335=Tribal Flood Network,TrinooTCP 21544=Schwindler 1.82,GirlFriendTCP 21554=Schwindler 1.82,GirlFriend,Exloiter 1.0.1.2TCP 22222=Prosiak,RuX Uploader 2.0TCP 22784=Backdoor.IntruzzoTCP 23432=Asylum 0.1.3TCP 23444=网络公牛TCP 23456=Evil FTP, Ugly FTP, WhackJobTCP 23476=Donald DickTCP 23477=Donald DickTCP 23777=INet SpyTCP 26274=DeltaTCP 26681=Spy VoiceTCP 27374=Sub Seven 2.0+, Backdoor.BasteTCP 27444=Tribal Flood Network,TrinooTCP 27665=Tribal Flood Network,TrinooTCP 29431=Hack AttackTCP 29432=Hack AttackTCP 29104=Host ControlTCP 29559=TROJ_LATINUS.SVRTCP 29891=The UnexplainedTCP 30001=Terr0r32TCP 30003=Death,Lamers DeathTCP 30029=AOL trojanTCP 30100=NetSphere 1.27a,NetSphere 1.31TCP 30101=NetSphere 1.31,NetSphere 1.27aTCP 30102=NetSphere 1.27a,NetSphere 1.31TCP 30103=NetSphere 1.31TCP 30303=Sockets de TroieTCP 30722=W32.Esbot.ATCP 30947=IntruseTCP 30999=Kuang2TCP 31336=Bo WhackTCP 31337=Baron Night,BO client,BO2,Bo Facil,BackFire,Back Orifice,DeepBO,Freak2k,NetSpy TCP 31338=NetSpy,Back Orifice,DeepBOTCP 31339=NetSpy DKTCP 31554=SchwindlerTCP 31666=BOWhackTCP 31778=Hack AttackTCP 31785=Hack AttackTCP 31787=Hack AttackTCP 31789=Hack AttackTCP 31791=Hack AttackTCP 31792=Hack AttackTCP 32100=PeanutBrittleTCP 32418=Acid BatteryTCP 33333=Prosiak,Blakharaz 1.0TCP 33577=Son Of PsychwardTCP 33777=Son Of PsychwardTCP 33911=Spirit 2001aTCP 34324=BigGluck,TN,Tiny Telnet Server TCP 34555=Trin00 (Windows) (DDoS)TCP 35555=Trin00 (Windows) (DDoS)TCP 36794=Worm.Bugbear-ATCP 37651=YATTCP 40412=The SpyTCP 40421=Agent 40421,Masters Paradise.96 TCP 40422=Masters ParadiseTCP 40423=Masters Paradise.97TCP 40425=Masters ParadiseTCP 40426=Masters Paradise 3.xTCP 41666=Remote BootTCP 43210=Schoolbus 1.6/2.0TCP 44444=Delta SourceTCP 44445=HappypigTCP 45576=未知代理TCP 47252=ProsiakTCP 47262=DeltaTCP 47878=BirdSpy2TCP 49301=Online KeyloggerTCP 50505=Sockets de TroieTCP 50766=Fore, SchwindlerTCP 51966=CafeIniTCP 53001=Remote Windows Shutdown TCP 53217=Acid Battery 2000TCP 54283=Back Door-G, Sub7TCP 54320=Back Orifice 2000,SheepTCP 54321=School Bus .69-1.11,Sheep, BO2K TCP 57341=NetRaiderTCP 58008=BackDoor.TronTCP 58009=BackDoor.TronTCP 58339=ButtFunnelTCP 59211=BackDoor.DuckToyTCP 60000=Deep ThroatTCP 60068=Xzip 6000068TCP 60411=ConnectionTCP 60606=TROJ_BCKDOR.G2.ATCP 61466=TelecommandoTCP 61603=Bunker-killTCP 63485=Bunker-killTCP 65000=Devil, DDoSTCP 65432=Th3tr41t0r, The Traitor TCP 65530=TROJ_WINMITE.10 TCP 65535=RC,Adore Worm/Linux TCP 69123=ShitHeepTCP 88798=Armageddon,Hack Office。
使用CUPS打印管理器管理打印机
来源:/cd/E37934_01/html/E36604/preface-4.html#scrolltoc非常详细!!!使用CUPS 设置和管理打印机第 1 章概述本章介绍有关使用通用UNIX 打印系统(Common UNIX Printing System, CUPS) 管理打印环境的概要信息,其中包括如何转换到使用CUPS 管理打印机(如果以前使用LP 打印服务管理打印机)。
本章中介绍的界面包括CUPS 命令行实用程序、CUPS Web 浏览器界面以及CUPS 打印管理器(该打印管理器是可以在桌面中访问的GUI)。
CUPS 简介CUPS 是一种模块化开源打印系统,使用Internet 打印协议(Internet Printing Protocol, IPP) 作为基础来管理打印机、打印请求和打印队列。
CUPS 支持网络打印机浏览和基于PostScript 打印机描述的打印选项。
CUPS 还在本地网络中提供公用打印接口。
IPP 是网络打印的标准协议。
与其他基于IP 的协议类似,可以在本地或通过Internet 使用IPP 与远程打印机进行通信。
但与其他协议不同的是,IPP 还支持访问控制、验证和加密,从而使其成为比其他协议强大且安全许多的打印解决方案。
IPP 位于超文本传输协议(Hypertext Transfer Protocol, HTTP) 的顶层。
HTTP 是Internet 中的Web 服务器的基础协议。
使用IPP 时,您可以验证打印机或服务器的状态信息、管理打印机以及通过浏览器打印作业。
CUPS 是基于IPP/1.1 的完整打印系统,它提供基本的摘要本地证书验证,以及基于用户、域或IP 的访问控制。
CUPS 包括对动态打印机检测和分组的支持。
CUPS 会将lpr命令替换为自己的命令,将LPD 打印机驱动程序替换为自己的打印驱动程序。
CUPS 与LP 打印服务的相似之处在于,它也使用PostScript 格式作为其页面说明底层语言。
使用CUPS打印管理器管理打印机
来源:/cd/E37934_01/html/E36604/preface-4.html#scrolltoc非常详细!!!使用CUPS 设置和管理打印机第 1 章概述本章介绍有关使用通用UNIX 打印系统(Common UNIX Printing System, CUPS) 管理打印环境的概要信息,其中包括如何转换到使用CUPS 管理打印机(如果以前使用LP 打印服务管理打印机)。
本章中介绍的界面包括CUPS 命令行实用程序、CUPS Web 浏览器界面以及CUPS 打印管理器(该打印管理器是可以在桌面中访问的GUI)。
CUPS 简介CUPS 是一种模块化开源打印系统,使用Internet 打印协议(Internet Printing Protocol, IPP) 作为基础来管理打印机、打印请求和打印队列。
CUPS 支持网络打印机浏览和基于PostScript 打印机描述的打印选项。
CUPS 还在本地网络中提供公用打印接口。
IPP 是网络打印的标准协议。
与其他基于IP 的协议类似,可以在本地或通过Internet 使用IPP 与远程打印机进行通信。
但与其他协议不同的是,IPP 还支持访问控制、验证和加密,从而使其成为比其他协议强大且安全许多的打印解决方案。
IPP 位于超文本传输协议(Hypertext Transfer Protocol, HTTP) 的顶层。
HTTP 是Internet 中的Web 服务器的基础协议。
使用IPP 时,您可以验证打印机或服务器的状态信息、管理打印机以及通过浏览器打印作业。
CUPS 是基于IPP/1.1 的完整打印系统,它提供基本的摘要本地证书验证,以及基于用户、域或IP 的访问控制。
CUPS 包括对动态打印机检测和分组的支持。
CUPS 会将lpr命令替换为自己的命令,将LPD 打印机驱动程序替换为自己的打印驱动程序。
CUPS 与LP 打印服务的相似之处在于,它也使用PostScript 格式作为其页面说明底层语言。
常用端口列表
79/TCP Finger协议官方80/TCP HTTP(超文本传输协议)- 用于传输网页官方81/TCP HTTP预备(超文本传输协议)官方81/TCP Torpark - Onion routing ORport非官方82/UDP Torpark - 控制端口非官方88/TCP Kerberos - 认证代理官方101/TCP主机名102/TCP ISO-TSAP 协议107/TCP远程Telnet协议109/TCP POP(Post Office Protocol),“邮局协议”,第2版110/TCP POP3(“邮局协议”,第3版)- 用于接收电子邮件官方111/TCP,UDP Sun协议官方官方113/TCP ident - old server identification system, 仍然被IRC 服务器用来认证它的用户115/TCP SFTP, 简单文件传输协议117/TCP UUCP-PATH118/TCP,UDP SQL 服务官方119/TCP NNTP (Network News Transfer Protocol) - 用来收取新闻组的消息官方123/UDP NTP (Network Time Protocol) - used for time synchronization官方135/TCP,UDP EPMAP (End Point Mapper) / Microsoft RPC Locator Service官方137/TCP,UDP NetBIOS NetBIOS Name Service官方138/TCP,UDP NetBIOS NetBIOS Datagram Service官方139/TCP,UDP NetBIOS NetBIOS Session Service官方官方143/TCP,UDP IMAP4 (Internet Message Access Protocol 4) - used for retrievingE-mails152/TCP,UDP BFTP, Background File Transfer Program153/TCP,UDP SGMP, Simple Gateway Monitoring Protocol156/TCP,UDP SQL Service官方158/TCP,UDP DMSP, Distributed Mail Service Protocol161/TCP,UDP SNMP (Simple Network Management Protocol)官方162/TCP,UDP SNMPTRAP官方170/TCP Print-srv179/TCP BGP (Border Gateway Protocol)官方194/TCP IRC (Internet Relay Chat)官方201/TCP,UDP AppleTalk Routing Maintenance209/TCP,UDP The Quick Mail Transfer Protocol213/TCP,UDP IPX官方218/TCP,UDP MPP, Message Posting Protocol220/TCP,UDP IMAP, Interactive Mail Access Protocol, version 3259/TCP,UDP ESRO, Efficient Short Remote Operations264/TCP,UDP BGMP,Border Gateway Multicast Protocol308/TCP Novastor Online Backup官方311/TCP Apple Server-Admin-Tool, Workgroup-Manager-Tool318/TCP,UDP TSP, Time Stamp Protocol323/TCP,UDP IMMP, Internet Message Mapping Protocol383/TCP,UDP HP OpenView HTTPs Operations Agent366/TCP,UDP SMTP, Simple Mail Transfer Protocol. ODMR, On-Demand Mail Relay369/TCP,UDP Rpc2portmap官方371/TCP,UDP ClearCase albd官方384/TCP,UDP A Remote Network Server System387/TCP,UDP AURP, AppleTalk Update-based Routing Protocol389/TCP,UDP LDAP (Lightweight Directory Access Protocol)官方401/TCP,UDP UPS Uninterruptible Power Supply官方411/TCP Direct Connect Hub port非官方412/TCP Direct Connect Client-To-Client port非官方427/TCP,UDP SLP (Service Location Protocol)官方443/TCP HTTPS - HTTP Protocol over TLS/SSL (encrypted transmission)官方444/TCP,UDP SNPP,Simple Network Paging Protocol官方445/TCP Microsoft-DS (Active Directory,Windows shares, Sasser worm,Agobot, Zobotworm)445/UDP Microsoft-DS SMB file sharing官方464/TCP,UDP Kerberos Change/Set password官方465/TCP Cisco protocol Official 465/TCP SMTP over SSL Unofficial 475/TCP tcpnethaspsrv (Hasp services, TCP/IP version)官方497/TCP dantz backup service官方500/TCP,UDP ISAKMP,IKE-Internet Key Exchange官方502/TCP,UDP Modbus,Protocol512/TCP exec, Remote Process Execution512/UDP comsat, together with biff:notifies users of new c.q. yet unreade-mail513/TCP Login513/UDP Who514/TCP rsh protocol - used to execute non-interactive commandlinecommands on a remote system and see the screen return514/UDP syslog protocol - used for system logging官方515/TCP Line Printer Daemon protocol - used in LPD printer servers517/UDP Talk518/UDP NTalk520/TCP efs520/UDP Routing - RIP官方513/UDP Router官方524/TCP,UDP NCP (NetWare Core Protocol) is used for a variety things such asaccess to primary NetWare server resources, Time Synchronization,525/UDP Timed, Timeserver530/TCP,UDP RPC官方531/TCP,UDP AOL Instant Messenger, IRC非官方532/TCP netnews533/UDP netwall, For Emergency Broadcasts540/TCP UUCP (Unix-to-Unix Copy Protocol)官方542/TCP,UDP commerce (Commerce Applications)官方543/TCP klogin, Kerberos login544/TCP kshell, Kerberos Remote shell546/TCP,UDP DHCPv6 client547/TCP,UDP DHCPv6 server548/TCP AFP(Apple Filing Protocol)550/UDP new-rwho, new-who554/TCP,UDP RTSP (Real Time Streaming Protocol)官方556/TCP Remotefs, rfs, rfs_server560/UDP rmonitor, Remote Monitor561/UDP monitor563/TCP,UDP NNTP protocol over TLS/SSL (NNTPS)官方587/TCP email message submission(SMTP) (RFC 2476)Official官方591/TCP FileMaker 6.0 (and later) Web Sharing (HTTP Alternate, see port80)官方593/TCP,UDP HTTP RPC Ep Map(RPC over HTTP, often used by DCOM services andMicrosoft Exchange Server)604/TCP TUNNEL631/TCP,UDP IPP,Internet Printing Protocol636/TCP,UDP LDAP over SSL (encrypted transmission, also known as LDAPS)官方639/TCP,UDP MSDP, Multicast Source Discovery Protocol646/TCP LDP, Label Distribution Protocol647/TCP DHCP Failover Protocol648/TCP RRP, Registry Registrar Protocol652/TCP DTCP, Dynamic Tunnel Configuration Protocol654/TCP AODV, Ad hoc On-Demand Distance Vector665/TCP sun-dr, Remote Dynamic Reconfiguration非官方666/UDP毁灭战士,电脑平台上的一系列第一人称射击游戏。
思科网络和邮件内容安全产品网络参与说明书
Web Base网络参与(WBNP)和发件人基础网络参与(SBNP)目录简介WSA - WebBase网络参与ESA - SenderBase网络参与一般安全问题常见问题操作SenderBase(电子邮件)网络参与每个邮件设备共享的统计信息按IP地址共享的统计信息每个SDS客户端共享的统计信息AMP SBNP遥测数据WebBase(Web)网络参与按Web请求共享的统计信息每个Web请求的高级恶意软件统计信息最终用户反馈统计信息源提供的示例数据 — 标准参与提供的示例数据 — 参与有限完全WBNP解码按Web请求共享的统计信息每个Web请求的高级恶意软件统计信息最终用户反馈统计信息源Talos检测内容专注于威胁相关信息简介思科网络和邮件内容安全产品可向思科和Talos提供遥测数据,以提高网络安全设备(WSA)中网络分类和连接邮件安全设备(ESA)IP信誉的效力。
遥测数据以“选择加入”的方式提供给WSA和ESA。
数据通过二进制编码的SSL加密数据包传输。
下面提供的附件将提供对所传输数据的数据、特定格式和说明的深入了解。
WebBase网络参与(WBNP)和SenderBase网络参与(SBNP)数据不能以直接日志或文件格式查看。
此数据以加密形式传输。
此数据不是“静止”的。
WSA - WebBase网络参与思科认识到维护隐私的重要性,不会收集或使用用户名和密码等个人或机密信息。
此外,主机名后面的文件名和URL属性经过模糊处理,以确保机密性。
当涉及解密的HTTPS事务时,SensorBase网络仅接收证书中服务器名称的IP地址、Web信誉分数和URL类别。
有关完整信息,请查看WSA用户指南,了解设备上当前运行的AsyncOS for Web Security版本。
请参阅《用户指南》中的“The Cisco SensorBase Network”。
ESA - SenderBase网络参与参与SenderBase网络的客户允许思科收集有关其组织的汇总电子邮件流量统计信息,从而提高所有使用该服务的用户的效用。
TCP和UP端口列表
TCP/UDP端口列表计算机之间依照互联网传输层TCP/IP协议不同的协定通信,都有不同的对应端口。
所以,利用短信(datagram)的UDP,所采用的端口号码不一定和采用TCP 的端口号码一样。
以下为两种通信协定的端口列表连结:目录[隐藏]▪ 1 端口状态颜色图例▪ 2 0到1023号端口▪ 3 1024到49151号端口▪ 4 49152到65535号端口▪ 5 参考文献▪ 6 外部链接[编辑]端口状态颜色图例以下方块,以如下颜色和标签,标明了端口的状态:▪官方应用与端口组合记录在IANA的端口分配列表中;▪非官方应用与端口组合不在IANA的端口分配列表中;以及[编辑]0到1023号端口以下列表仅列出常用端口,详细的列表请参阅IANA网站。
端口描述状态0/TCP,UDP 保留端口;不使用(若发送过程不准备接受回复消息,则可以作为源端口)官方1/TCP,UDP TCPMUX(传输控制协议端口服务多路开关选择器)官方5/TCP,UDP RJE(远程作业登录)官方7/TCP,UDP ECHO(回显)协议官方9/TCP,UDP DISCARD(丢弃)协议官方11/TCP,UDP SYSTAT协议官方13/TCP,UDP DAYTIME协议官方15/TCP,UDP NETSTAT协议官方17/TCP,UDP QOTD(Quote of the Day,每日引用)协议官方18/TCP,UDP 消息发送协议官方19/TCP,UDP CHARGEN(字符发生器)协议官方20/TCP,UDP 文件传输协议- 默认数据端口官方21/TCP,UDP 文件传输协议- 控制端口官方22/TCP,UDP SSH (Secure Shell) - 远程登录协议,用于安全登录文件传输(SCP,SFTP)及端口重新定向官方23/TCP,UDP Telnet终端仿真协议- 未加密文本通信官方25/TCP,UDP SMTP(简单邮件传输协议)- 用于邮件服务器间的电子邮件传递官方26/TCP,UDP RSFTP - 一个简单的类似FTP的协议非官方35/TCP,UDP QMS Magicolor 2 printer非官方37/TCP,UDP TIME时间协议官方39/TCP,UDP Resource Location Protocol(资源定位协议)官方41/TCP,UDP 图形官方42/TCP,UDP Host Name Server(主机名服务)官方42/TCP,UDP WINS(WINS主机名服务)非官方43/TCP WHOIS协议官方49/TCP,UDP TACACS登录主机协议官方53/TCP,UDP DNS(域名服务系统)官方56/TCP,UDP 远程访问协议官方57/TCP MTP,邮件传输协议67/UDP BOOTP(BootStrap协议)服务;同时用于DHCP(动态主机设定协议)官方68/UDP BOOTP客户端;同时用于DHCP(动态主机设定协议)官方69/UDP TFTP(小型文件传输协议)官方70/TCP Gopher信息检索协议官方79/TCP Finger协议官方80/TCP HTTP(超文本传输协议)- 用于传输网页官方81/TCP HTTP预备(超文本传输协议)官方81/TCP Torpark - Onion routing ORport 非官方82/UDP Torpark - 控制端口非官方88/TCP Kerberos - 认证代理官方101/TCP 主机名102/TCP ISO-TSAP 协议107/TCP 远程Telnet协议109/TCP POP(Post Office Protocol),“邮局协议”,第2版110/TCP POP3(“邮局协议”,第3版)- 用于接收电子邮件官方111/TCP,UDP Sun协议官方113/TCP ident - old server identification system, 仍然被IRC服务器用来认证它的用户官方115/TCP SFTP, 简单文件传输协议117/TCP UUCP-PATH118/TCP,UDP SQL服务官方119/TCP NNTP (Network News Transfer Protocol) - 用来收取新闻组的消息官方123/UDP NTP (Network Time Protocol) - used for time synchronization 官方135/TCP,UDP EPMAP (End Point Mapper) / Microsoft RPC Locator Service 官方137/TCP,UDP NetBIOS NetBIOS Name Service 官方138/TCP,UDP NetBIOS NetBIOS Datagram Service 官方139/TCP,UDP NetBIOS NetBIOS Session Service 官方143/TCP,UDP IMAP4 (Internet Message Access Protocol 4) - used for retrieving E-mail s 官方152/TCP,UDP BFTP, Background File Transfer Program153/TCP,UDP SGMP, Simple Gateway Monitoring Protocol156/TCP,UDP SQL Service 官方158/TCP,UDP DMSP, Distributed Mail Service Protocol161/TCP,UDP SNMP (Simple Network Management Protocol) 官方162/TCP,UDP SNMPTRAP 官方170/TCP Print-srv179/TCP BGP (Border Gateway Protocol) 官方194/TCP IRC (Internet Relay Chat) 官方201/TCP,UDP AppleTalk Routing Maintenance209/TCP,UDP The Quick Mail Transfer Protocol213/TCP,UDP IPX官方218/TCP,UDP MPP, Message Posting Protocol220/TCP,UDP IMAP, Interactive Mail Access Protocol, version 3259/TCP,UDP ESRO, Efficient Short Remote Operations264/TCP,UDP BGMP,Border Gateway Multicast Protocol308/TCP Novastor Online Backup 官方311/TCP Apple Server-Admin-Tool, Workgroup-Manager-Tool318/TCP,UDP TSP, Time Stamp Protocol323/TCP,UDP IMMP, Internet Message Mapping Protocol383/TCP,UDP HP OpenView HTTPs Operations Agent366/TCP,UDP SMTP, Simple Mail Transfer Protocol. ODMR, On-Demand Mail Relay369/TCP,UDP Rpc2portmap 官方371/TCP,UDP ClearCase albd 官方384/TCP,UDP A Remote Network Server System387/TCP,UDP AURP, AppleTalk Update-based Routing Protocol389/TCP,UDP LDAP (Lightweight Directory Access Protocol) 官方401/TCP,UDP UPS Uninterruptible Power Supply 官方411/TCP Direct Connect Hub port 非官方412/TCP Direct Connect Client-To-Client port 非官方427/TCP,UDP SLP (Service Location Protocol) 官方443/TCP HTTPS - HTTP Protocol over TLS/SSL (encrypted transmission) 官方444/TCP,UDP SNPP,Simple Network Paging Protocol445/TCP Microsoft-DS (Active Directory,Windows shares, Sasser worm,Agobot, Zobotworm) 官方445/UDP Microsoft-DS SMB file sharing 官方464/TCP,UDP Kerberos Change/Set password 官方465/TCP Cisco protocol 官方465/TCP SMTP over SSL非官方475/TCP tcpnethaspsrv (Hasp services, TCP/IP version) 官方497/TCP dantz backup service 官方500/TCP,UDP ISAKMP,IKE-Internet Key Exchange 官方502/TCP,UDP Modbus,Protocol512/TCP exec, Remote Process Execution512/UDP comsat, together with biff:notifies users of new c.q. yet unread e-mail513/TCP Login513/UDP Whorsh protocol - used to execute non-interactive commandline commands on a remote system and see the screen 514/TCPreturn514/UDP syslog protocol - used for system logging 官方515/TCP Line Printer Daemon protocol - used in LPD printer servers517/UDP Talk518/UDP NTalk520/TCP efs520/UDP Routing - RIP官方513/UDP Router524/TCP,UDP NCP (NetWare Core Protocol) is used for a variety things such as access to primary NetWare server resources, Time 官方Synchronization, etc.525/UDP Timed, Timeserver530/TCP,UDP RPC官方531/TCP,UDP AOL Instant Messenger, IRC 非官方532/TCP netnews533/UDP netwall, For Emergency Broadcasts540/TCP UUCP (Unix-to-Unix Copy Protocol) 官方542/TCP,UDP commerce (Commerce Applications) 官方543/TCP klogin, Kerberos login544/TCP kshell, Kerberos Remote shell546/TCP,UDP DHCPv6 client547/TCP,UDP DHCPv6 server548/TCP AFP(Apple Filing Protocol)550/UDP new-rwho, new-who554/TCP,UDP RTSP (Real Time Streaming Protocol) 官方556/TCP Remotefs, rfs, rfs_server560/UDP rmonitor, Remote Monitor561/UDP monitor563/TCP,UDP NNTP protocol over TLS/SSL (NNTPS) 官方587/TCP email message submission(SMTP)(RFC 2476) Official 591/TCP FileMaker 6.0 (and later) Web Sharing (HTTP Alternate, see port 80)官方593/TCP,UDP HTTP RPC Ep Map(RPC over HTTP, often used by DCOM services and Microsoft Exchange Server)官方604/TCP TUNNEL631/TCP,UDP IPP,Internet Printing Protocol636/TCP,UDP LDAP over SSL (encrypted transmission, also known as LDAPS) 官方639/TCP,UDP MSDP, Multicast Source Discovery Protocol646/TCP LDP, Label Distribution Protocol647/TCP DHCP Failover Protocol648/TCP RRP, Registry Registrar Protocol652/TCP DTCP, Dynamic Tunnel Configuration Protocol654/UDP AODV, Ad hoc On-Demand Distance Vector665/TCP sun-dr, Remote Dynamic Reconfiguration 非官方666/UDP 毁灭战士,电脑平台上的一系列第一人称射击游戏。
请求不符合 rfc3986协议(一)
请求不符合 rfc3986协议(一)协议模板:请求不符合 RFC39861. 引言本协议旨在解决请求不符合 RFC3986 规范的问题。
作为优秀的律师,我们以客户的利益为先,帮助客户了解问题的发生、可能产生的后果,并提供解决方案。
2. 请求不符合 RFC3986 的背景•RFC3986 是统一资源标识符(Uniform Resource Identifier)的语法规范,用于标识互联网上的资源。
该规范定义了 URI 的组成部分、编码方式以及有效字符等要求。
•请求不符合 RFC3986 可能导致系统无法正确解析请求,造成功能异常、数据丢失、安全风险等问题。
3. 问题描述•客户在使用某系统时,发现部分请求无法成功处理。
经分析,发现这些请求不符合 RFC3986 的要求,导致无法正确解析。
•请求中可能包含非法字符、缺少必要的编码等问题。
4. 可能的后果•无法正确处理请求可能导致系统功能异常,影响用户体验。
•部分非法请求可能给系统带来安全风险,如跨站脚本攻击(XSS)、注入攻击等。
5. 解决方案为解决请求不符合 RFC3986 的问题,建议以下措施:1.验证请求参数格式:在系统接收到请求时,进行严格的参数格式验证,包括合法字符、编码要求等。
2.转义非法字符:对于包含非法字符的请求参数,在处理前进行适当的字符转义,确保请求符合 RFC3986 的要求。
3.提供编码规范和示例:在系统文档中明确指出请求的编码规范,并提供示例,帮助用户正确构建请求。
4.规范化输出:确保系统返回的响应中,包括 URI 等标识符的输出符合 RFC3986 的要求。
6. 风险提示•如果客户未采取上述措施,持续使用不符合 RFC3986 规范的请求可能会导致系统稳定性、安全性等方面的风险。
•本律师事务所建议客户尽快解决请求不符合 RFC3986 的问题,以降低潜在的损失和风险。
7. 免责声明本协议仅为律师事务所对客户提供的建议和解决方案,不能代表其对相关规范的解释和约束力。
TP-LINK TL-PS110U 打印服务器 配置指南
USBాࡌ፝ॲᇗTL-PS110Uሮᇼᒙᒎฉ!!ဉීCopyright © 2009 深圳市普联技术有限公司版权所有,保留所有权利未经深圳市普联技术有限公司明确书面许可,任何单位或个人不得擅自仿制、复制、誊抄或转译本书部分或全部内容。
不得以任何形式或任何方式(电子、机械、影印、录制或其他可能的方式)进行商品传播或用于任何商业、赢利目的。
为深圳市普联技术有限公司注册商标。
本文档提及的其他所有商标或注册商标,由各自的所有人拥有。
本手册所提到的产品规格和资讯仅供参考,如有内容更新,恕不另行通知。
除非有特殊约定,本手册仅作为使用指导,本手册中的所有陈述、信息等均不构成任何形式的担保。
目录1产品说明 (1)2产品规格 (1)2.1硬件规格 (1)2.2软件规格 (1)2.2.1Windows 95/98/ME (1)2.2.2Windows NT/2000/XP/2003/Vista (1)2.2.3NetWare (2)2.2.4UNIX/LINUX/FreeBSD (2)2.2.5MAC OS (2)2.3产品功能 (2)2.4指示灯规则 (3)3硬件安装 (3)3.1产品清单 (3)3.2安装之前 (3)3.3硬件安装步骤: (4)3.4注意事项 (4)3.5TL-PS110U网络架构 (4)4TL-PS110U打印服务器配置 (5)4.1开始之前 (5)4.2TL-PS110U支持配置方式 (5)4.3WEB浏览器配置 (5)4.4TP-LINK 管理工具 (7)4.4.1安装光盘 (7)4.4.1.1设置向导 (7)4.4.1.2手动安装 (8)4.4.1.3相关文件 (9)4.4.1.4离开 (9)4.4.2设置向导(PSWizard)配置 (9)4.4.3PSAdmin 配置 (18)4.4.3.1常规配置 (18)4.4.3.2向导配置 (21)4.5Telnet 配置 (22)4.6TFTP 配置 (26)5打印机配置 (28)5.1开始之前 (28)5.2支持打印方式 (29)5.3Standard TCP/IP Port (29)使用RAW 网络协议打印方式 (33)使用LPR 网络协议打印方式 (34)5.4NETWORK Print Port (37)使用TCP/IP网络协议创建端口 (39)使用IPX/SPX网络协议创建端口 (40)使用NetBEUI网络协议创建端口 (40)5.5IPP (Internet Printing Protocol) (43)5.6SMB (46)5.7SCO UNIX 8.0.0 (Caldera Open Unix 8.0.0) (50)5.8System V Release 4 Unix (51)6软件升级 (51)6.1透过WEB浏览器升级 (51)6.2透过PSAdmin升级 (52)6.3透过TFTP升级 (53)6.4UNIX升级 (54)7FAQ (54)1 产品说明TP-LINK TL-PS110U高速单USB口打印服务器(以下简称TL-PS110U),是一款可以支持一个USB2.0/1.1端口打印机的单端口打印服务器。
rfc3995.Internet Printing Protocol (IPP) Event Notifications and Subscriptions
Network Working Group R. Herriot Request for Comments: 3995 Global Workflow Solutions Category: Standards Track T. Hastings Updates: 2911, 2910 Xerox Corporation March 2005 Internet Printing Protocol (IPP):Event Notifications and SubscriptionsStatus of This MemoThis document specifies an Internet standards track protocol for the Internet community, and requests discussion and suggestions forimprovements. Please refer to the current edition of the "InternetOfficial Protocol Standards" (STD 1) for the standardization stateand status of this protocol. Distribution of this memo is unlimited. Copyright NoticeCopyright (C) The Internet Society (2005).AbstractThis document describes an OPTIONAL extension to the InternetPrinting Protocol/1.1: Model and Semantics (RFC 2911, RFC 2910).This extension allows a client to subscribe to printing relatedEvents. Subscriptions are modeled as Subscription Objects. TheSubscription Object specifies that when one of the specified Eventsoccurs, the Printer delivers an asynchronous Event Notification tothe specified Notification Recipient via the specified Push or PullDelivery Method (i.e., protocol).A client associates Subscription Objects with a particular Job byperforming the Create-Job-Subscriptions operation or by submitting a Job with subscription information. A client associates Subscription Objects with the Printer by performing a Create-Printer-Subscriptions operation. Four other operations are defined for SubscriptionObjects: Get-Subscriptions-Attributes, Get-Subscriptions, Renew-Subscription, and Cancel-Subscription.Herriot & Hastings Standards Track [Page 1]Table of Contents1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 51.1. Notification Overview. . . . . . . . . . . . . . . . . . 52. Models for Notification. . . . . . . . . . . . . . . . . . . . 8 2.1. Model for Simple Notification (Normative). . . . . . . . 82.2. Additional Models for Notification (Informative) . . . . 93. Terminology. . . . . . . . . . . . . . . . . . . . . . . . . . 9 3.1. Conformance Terminology. . . . . . . . . . . . . . . . . 93.2. Other Terminology. . . . . . . . . . . . . . . . . . . . 104. Object Relationships . . . . . . . . . . . . . . . . . . . . . 12 4.1. Printer and Per-Printer Subscription Objects . . . . . . 134.2. Printer, Job and Per-Job Subscription Objects. . . . . . 135. Subscription Object. . . . . . . . . . . . . . . . . . . . . . 13 5.1. Rules for Support of Subscription Template Attributes. . 14 5.2. Rules for Processing Subscription Template Attributes. . 15 5.3. Subscription Template Attributes . . . . . . . . . . . . 18 5.3.1. notify-recipient-uri (uri) . . . . . . . . . . . 20 5.3.2. notify-pull-method (type2 keyword) . . . . . . . 21 5.3.3. notify-events (1setOf type2 keyword) . . . . . . 22 5.3.4. notify-attributes (1setOf type2 keyword) . . . . 29 5.3.5. notify-user-data (octetString(63)) . . . . . . . 30 5.3.6. notify-charset (charset) . . . . . . . . . . . . 31 5.3.7. notify-natural-language (naturalLanguage). . . . 31 5.3.8. notify-lease-duration (integer(0:67108863)). . . 32 5.3.9. notify-time-interval (integer(0:MAX)). . . . . . 33 5.4. Subscription Description Attributes. . . . . . . . . . . 34 5.4.1. notify-subscription-id (integer (1:MAX)). . . . 35 5.4.2. notify-sequence-number (integer (0:MAX)) . . . . 35 5.4.3. notify-lease-expiration-time (integer(0:MAX)). . 36 5.4.4. notify-printer-up-time (integer(1:MAX)). . . . . 37 5.4.5. notify-printer-uri (uri) . . . . . . . . . . . . 37 5.4.6. notify-job-id (integer(1:MAX)) . . . . . . . . . 375.4.7. notify-subscriber-user-name (name(MAX)). . . . . 386. Printer Description Attributes Related to Notification . . . . 38 6.1. printer-state-change-time (integer(1:MAX)) . . . . . . . 396.2. printer-state-change-date-time (dateTime). . . . . . . . 397. New Values for Existing Printer Description Attributes . . . . 397.1. operations-supported (1setOf type2 enum) . . . . . . . . 408. Attributes Only in Event Notifications . . . . . . . . . . . . 40 8.1. notify-subscribed-event (type2 keyword). . . . . . . . . 408.2. notify-text (text(MAX)). . . . . . . . . . . . . . . . . 419. Event Notification Content . . . . . . . . . . . . . . . . . . 41 9.1. Content of Machine Consumable Event Notifications. . . . 44 9.1.1. Event Notification Content Common to All Events. 44 9.1.2. Additional Event Notification Content for JobEvents . . . . . . . . . . . . . . . . . . . . . 45 Herriot & Hastings Standards Track [Page 2]9.1.3. Additional Event Notification Content forPrinter Events . . . . . . . . . . . . . . . . . 46 9.2. Content of Human Consumable Event Notification . . . . . 46 9.2.1. Event Notification Content Common to All Events. 47 9.2.2. Additional Event Notification Content for JobEvents . . . . . . . . . . . . . . . . . . . . . 49 9.2.3. Additional Event Notification Content forPrinter Events . . . . . . . . . . . . . . . . . 4910. Delivery Methods . . . . . . . . . . . . . . . . . . . . . . . 5011. Operations for Notification. . . . . . . . . . . . . . . . . . 52 11.1. Subscription Creation Operations . . . . . . . . . . . . 52 11.1.1. Create-Job-Subscriptions Operation . . . . . . . 52 11.1.2. Create-Printer-Subscriptions operation . . . . . 55 11.1.3. Job Creation Operations - Extensions forNotification . . . . . . . . . . . . . . . . . . 56 11.2 Other Operations. . . . . . . . . . . . . . . . . . . . . 58 11.2.1. Restart-Job Operation - Extensions forNotification . . . . . . . . . . . . . . . . . . 58 11.2.2. Validate-Job Operation - Extensions forNotification . . . . . . . . . . . . . . . . . . 59 11.2.3. Get-Printer-Attributes - Extensions forNotification . . . . . . . . . . . . . . . . . . 59 11.2.4. Get-Subscription-Attributes operation. . . . . . 60 11.2.5. Get-Subscriptions operation. . . . . . . . . . . 63 11.2.6. Renew-Subscription operation . . . . . . . . . . 6611.2.7. Cancel-Subscription operation. . . . . . . . . . 6812. Status Codes . . . . . . . . . . . . . . . . . . . . . . . . . 70 12.1. successful-ok-ignored-subscriptions (0x0003) . . . . . . 7012.2. client-error-ignored-all-subscriptions (0x0414). . . . . 7113. Status Codes in Subscription Attributes Groups . . . . . . . . 71 13.1. client-error-uri-scheme-not-supported (0x040C) . . . . . 71 13.2. client-error-attributes-or-values-not-supported (0x040B) 71 13.3. client-error-too-many-subscriptions (0x0415) . . . . . . 72 13.4. successful-ok-too-many-events (0x0005) . . . . . . . . . 7213.5. successful-ok-ignored-or-substituted-attributes (0x0001) 7214. Encodings of Additional Attribute Tags . . . . . . . . . . . . 7215. Conformance Requirements . . . . . . . . . . . . . . . . . . . 72 15.1. Conformance requirements for clients . . . . . . . . . . 7315.2. Conformance requirements for Printers. . . . . . . . . . 7316. Model for Notification with Cascading Printers (Informative) . 7417. Distributed Model for Notification (Informative) . . . . . . . 7518. Extended Notification Recipient (Informative). . . . . . . . . 7619. Object Model for Notification (Normative). . . . . . . . . . . 77 19.1. Object relationships . . . . . . . . . . . . . . . . . . 78 19.2. Printer Object and Per-Printer Subscription Objects. . . 7919.3. Job Object and Per-Job Subscription Objects. . . . . . . 7920. Per-Job versus Per-Printer Subscription Objects (Normative). . 7921. Normative References . . . . . . . . . . . . . . . . . . . . . 80 Herriot & Hastings Standards Track [Page 3]22. Informative References . . . . . . . . . . . . . . . . . . . . 8023. IANA Considerations. . . . . . . . . . . . . . . . . . . . . . 81 23.1. Attribute Registrations. . . . . . . . . . . . . . . . . 82 23.2. Additional Enum Attribute Value Registrations withinthe IPP registry . . . . . . . . . . . . . . . . . . . . 83 23.3. Operation Registrations. . . . . . . . . . . . . . . . . 83 23.4. Status code Registrations. . . . . . . . . . . . . . . . 83 23.5. Attribute Group tag Registrations. . . . . . . . . . . . 84 23.6. Registration of Events . . . . . . . . . . . . . . . . . 84 23.7. Registration of Event Notification Delivery Methods. . . 85 23.7.1. Requirements for Registration of EventNotification Delivery Methods. . . . . . . . . . 85 23.7.2. Registration Procedure . . . . . . . . . . . . . 86 23.7.3. Delivery Method Document Registrations . . . . . 8723.7.4. Registration Template. . . . . . . . . . . . . . 8824. Internationalization Considerations. . . . . . . . . . . . . . 8925. Security Considerations. . . . . . . . . . . . . . . . . . . . 89 25.1. Client access rights . . . . . . . . . . . . . . . . . . 89 25.2. Printer security threats . . . . . . . . . . . . . . . . 9125.3. Notification Recipient security threats. . . . . . . . . 9126. Description of the base IPP documents (Informative). . . . . . 9227. Contributors . . . . . . . . . . . . . . . . . . . . . . . . . 93 Authors’ Addresses . . . . . . . . . . . . . . . . . . . . . . . . 94 Full Copyright Statement . . . . . . . . . . . . . . . . . . . . . 95TablesTable 1 - Subscription Template Attributes. . . . . . . . . . . . 20 Table 2 - Subscription Description Attributes . . . . . . . . . . 35 Table 3 - Printer Description Attributes Associated withNotification. . . . . . . . . . . . . . . . . . . . . . 39 Table 4 - Operation-id assignments. . . . . . . . . . . . . . . . 40 Table 5 - Attributes in Event Notification Content. . . . . . . . 45 Table 6 - Additional Event Notification Content for Job Events. . 46 Table 7 - Combinations of Events and Subscribed Events for"job-impressions-completed" . . . . . . . . . . . . . . 46 Table 8 - Additional Event Notification Content for PrinterEvents. . . . . . . . . . . . . . . . . . . . . . . . . 46 Table 9 - Printer Name in Event Notification Content. . . . . . . 48 Table 10 - Event Name in Event Notification Content. . . . . . . . 48 Table 11 - Event Time in Event Notification Content. . . . . . . . 48 Table 12 - Job Name in Event Notification Content. . . . . . . . . 49 Table 13 - Job State in Event Notification Content . . . . . . . . 49 Table 14 - Printer State in Event Notification Content . . . . . . 50 Table 15 - Information about the Delivery Method . . . . . . . . . 51 Table 16 - Printer Conformance Requirements for Operations . . . . 74 Herriot & Hastings Standards Track [Page 4]FiguresFigure 1 - Model for Notification. . . . . . . . . . . . . . . . . 9 Figure 2 - Model for Notification with Cascading Printers. . . . . 75 Figure 3 - Opaque Use of a Notification Server Transparent to theClient. . . . . . . . . . . . . . . . . . . . . . . . . 76 Figure 4 - Use of an Extended Notification Recipient transparentto the Printer. . . . . . . . . . . . . . . . . . . . . 77 Figure 5 - Object Model for Notification . . . . . . . . . . . . . 78 1. IntroductionThis IPP notification specification is an OPTIONAL extension toInternet Printing Protocol/1.1: Model and Semantics [RFC2911,RFC2910]. See Appendix 29 for a description of the base IPPdocuments. This document in combination with the following documents is intended to meet the most important notification requirementsdescribed in [RFC3997]:Internet Printing Protocol (IPP): "Job Progress Attributes"[RFC3381]Internet Printing Protocol (IPP): "The ’ippget’ Delivery Methodfor Event Notifications" [RFC3996]This specification REQUIRES that clients and Printers support the’ippget’ Pull Delivery Method [RFC3996]. Conforming client andPrinter implementations MAY support additional Push or Pull Delivery Methods as well. Note: this document does not define any DeliveryMethods itself, but it does define the rules for conformance forDelivery Method Documents and their registration with IANA (seesection 23.7.3).Refer to the Table of Contents for the layout of this document.1.1. Notification OverviewThis document defines operations that a client can perform in orderto create Subscription Objects in a Printer and carry out otheroperations on them. A Subscription Object represents a Subscription abstraction. The Subscription Object specifies that when one of the specified Events occurs, the Printer delivers an asynchronous EventNotification to the specified Notification Recipient via thespecified Delivery Method (i.e., protocol).When a client (called a Subscribing Client) performs an operationthat creates a Subscription Object, the operation contains one ormore Subscription Template Attributes Groups. Each such group holds Herriot & Hastings Standards Track [Page 5]information used by the Printer to initialize a newly createdSubscription Object. The Printer creates one Subscription Object for each Subscription Template Attributes Group in the operation. Thisgroup is like the Job Template Attributes group defined in [RFC2911]. The following is an example of the information included in aSubscription Template Attributes Group (see section 5 for details on the Subscription Object attributes):1. The names of Subscribed Events that are of interest to theNotification Recipient.2. The address (URL) of one Notification Recipient for a PushDelivery Method or the method for a Pull Delivery Method.3. The Delivery Method (i.e., the protocol) which the Printer uses to deliver the Event Notification.4. Some opaque data that the Printer delivers to the NotificationRecipient in the Event Notification. For example, theNotification Recipient might use this opaque data as a forwarding address for the Event Notification.5. The charset to use in text fields within an Event Notification6. The natural language to use in the text fields of the EventNotification7. The requested lease time in seconds for the Subscription ObjectAn operation that creates a Subscription Object is called aSubscription Creation Operation. These operations include thefollowing operations (see section 11.1 for further details):- Job Creation operation: When a client performs such anoperation (Print-Job, Print-URI, and Create-Job), a client can include zero or more Subscription Template Attributes Groups in the request. The Printer creates one Subscription Object foreach Subscription Template Attributes Group in the request, and the Printer associates each such Subscription Object with thenewly created Job. This document extends these operations’definitions in [RFC2911] by adding Subscription TemplateAttributes Groups in the request and Subscription AttributesGroups in the response.- Create-Job-Subscriptions operation: A client can include one or more Subscription Template Attributes Groups in the request.The Printer creates one Subscription Object for eachHerriot & Hastings Standards Track [Page 6]Subscription Template Attributes Group and associates each with the job that is the target of this operation.- Create-Printer-Subscriptions operation: A client can includeone or more Subscription Template Attributes Groups in therequest. The Printer creates one Subscription Object for each Subscription Template Attributes Group and associates each with the Printer that is the target of this operation.For each of the above operations:- the Printer associates a Subscription Object with the Printeror a specific Job. When a Subscription Object is associatedwith a Job Object, it is called a Per-Job Subscription Object. When a Subscription Object is associated with a Printer Object, it is called a Per-Printer Subscription Object.- the response contains one Subscription Attributes Group foreach Subscription Template Attributes Group in the request and in the same order. When the Printer successfully creates aSubscription Object, its corresponding Subscription Attributes Group contains the "notify-subscription-id" attribute. Thisattribute uniquely identifies the Subscription Object and isanalogous to a "job-id" for a Job object. Some operationsdescribed below use the "notify-subscription-id" to identifythe target Subscription Object.This document defines the following additional operations (seesection 11.2 for further details):- Restart-Job operation: When a client performs the Restart-Joboperation [RFC2911], the Printer re-uses the same Job and itsSubscription Objects.- Validate-Job operation: When a client performs this operation, aclient can include zero or more Subscription Template AttributesGroups in the request. The Printer determines if it could create one Subscription Object for each Subscription Template Attributes Group in the request. This document extends this operation’sdefinition in [RFC2911] by adding Subscription Template Attributes Groups in the request and Subscription Attributes Groups in theresponse.- Get-Subscription-Attributes operation: This operation allows aclient to obtain the specified attributes of a target Subscription Object.Herriot & Hastings Standards Track [Page 7]- Get-Subscriptions operation: This operation allows a client toobtain the specified attributes of all Subscription Objectsassociated with the Printer or a specified Job.- Renew-Subscription operation: This operation renews the lease onthe target Per-Printer Subscription Object before it expires. Anewly created Per-Printer Subscription Object receives an initial lease. It is the duty of the client to use this operationfrequently enough to preserve a Per-Printer Subscription Object.The Printer deletes a Per-Printer Subscription Object when itslease expires. A Per-Job Subscription Object last exactly as long as its associated Job Object and thus doesn’t have a lease.- Cancel-Subscription operation: This operation (1) cancels thelease on the specified Per-Printer Subscription Object and thereby deletes the Per-Printer Subscription Object or (2) deletes thePer-Job Subscription Object.When an Event occurs, the Printer finds all Subscription Objectslistening for the Event (see section 9 for details on finding suchSubscription Objects). For each such Subscription Object, thePrinter:a) generates an Event Notification with information specified insection 9, ANDb) either:i) If the Delivery Method is a Push Delivery Method as indicated by the presence of the Subscription Object’s "notify-recipient-uri" attribute, delivers the Event Notificationusing the Delivery Method and target address identified in the Subscription Object’s "notify-recipient-uri" attribute, ORii) If the Delivery Method is a Pull Delivery Method as indicated by the presence of the Subscription Object’s "notify-pull-method" attribute, saves Event Notification for a time period called the Event Life defined by the Delivery Method, i.e.,the Notification Recipient is expected to fetch the EventNotifications.2. Models for Notification2.1. Model for Simple Notification (Normative)As part of a Subscription Creation Operation, an IPP Printer (i.e.,located in an output device or a server) creates one or moreSubscription Objects. In a Subscription Creation Operation, the Herriot & Hastings Standards Track [Page 8]client specifies the Notification Recipient to which the Printer isto deliver Event Notifications. A Notification Recipient can be the Subscribing Client or a third party.Figure 1 shows the Notification model for a simple Client-Printerrelationship.embedded printer:output device or serverPDA, desktop, or server +---------------++--------+ | ########### || client |-----Subscription ---------># Printer # |+--------+ Creation Operation | # Object # |+------------+ | #####|##### ||Notification| +-------|-------+|Recipient |<----IPP Event Notifications----++------------+ (Job and/or Printer Events)Figure 1 - Model for Notification2.2. Additional Models for Notification (Informative)Additional models have been proposed (see Appendices 16, 17, and 18).3. TerminologyThis section defines terminology used throughout this document.Other terminology is defined in [RFC2911].3.1. Conformance TerminologyCapitalized terms, such as MUST, MUST NOT, REQUIRED, SHOULD, SHOULDNOT, MAY, NEED NOT, and OPTIONAL, have special meaning relating toconformance as defined in RFC 2119 [RFC2119] and [RFC2911] section12.1. If an implementation supports the extension defined in thisdocument, then these terms apply; otherwise, they do not. Theseterms define conformance to this document only; they do not affectconformance to other documents, unless explicitly stated otherwise.Note: a feature that is OPTIONAL in this document becomes REQUIRED if the Printer implements a Delivery Method that REQUIRES the feature.READ-ONLY - an adjective used in an attribute definition to indicate that an IPP Printer MUST NOT allow the attribute’s value to bemodified.Herriot & Hastings Standards Track [Page 9]3.2. Other TerminologyThis document uses the same terminology as [RFC2911], such as"client", "Printer", "attribute", "attribute value", "keyword","operation", "request", "response", "administrator", "operator", and "support". In addition, the following terms are defined for use inthis document and the Delivery Method Documents:Compound Event Notification - two or more Event Notifications that a Printer delivers together as a single request or response. TheDelivery Method Document specifies whether the Delivery Methodsupports Compound Event Notifications.Delivery Method - the mechanism by which the Printer delivers anEvent Notification.Delivery Method Document - a document, separate from this document,that defines a Delivery Method.Event - some occurrence (either expected or unexpected) within theprinting system of a change of state, condition, or configuration of a Job or Printer object. An Event occurs only at one instant in time and does not span the time the physical Event takes place. Forexample, jam-occurred and jam-cleared are two distinct, instantaneous Events, even though the jam may last for a while.Event Life - For a Pull Delivery Method, the length of time inseconds after an Event occurs during which the Printer will retainthat Event for delivery in an Event Notification. After the EventLife expires, the Printer will no longer deliver an EventNotification for that Event in such a response.Event Notification - the information about an Event that the Printer delivers when an Event occurs.Event Notification Attributes Group - The attributes group which isused to deliver an Event Notification in a request (Push DeliveryMethods) or a response (Pull Delivery Methods).Human Consumable Event Notification - localized text for humanconsumption only. There is no standardized format and thus programs should not try to parse this text.Job Creation operation - One of the operations that creates a Jobobject: Print-Job, Print-URI and Create-Job. The Restart-Joboperation [RFC2911] is not considered a Job Creation operation, since the Printer re-uses the existing Job object. The Validate-Joboperation is not considered a Job Creation operation because no Job Herriot & Hastings Standards Track [Page 10]object is created. Therefore, when a statement also applies toeither the Restart-Job and/or the Validate-Job operation, they arementioned explicitly.Job Event - an Event caused by some change in a particular job on the Printer, e.g., ’job-completed’.Machine Consumable Event Notification - bytes for programconsumption. The bytes are formatted according to the DeliveryMethod document.Notification - when not in the phrases ’Event Notification’ and’Notification Recipient’ - the concepts of this specification, i.e., Events, Subscription Objects, and Event Notifications.Notification Recipient - the entity to which the Printer delivers an Event Notification. For Push Delivery Methods, the IPP Printer sends the Notifications to a Notification Recipient. For Pull DeliveryMethods, the Notification Recipient is acting in the role of an IPPclient and requests Event Notifications and so the terms "client" and "Notification Recipient" are used interchangeably with such Delivery Methods. For example, see [RFC3996].Per-Job Subscription Object - A Subscription Object that isassociated with a single Job. The Create-Job-Subscriptions operation and Job Creation operations create such an object.Per-Printer Subscription Object - A Subscription Object that isassociated with the Printer as a whole. The Create-Printer-Subscriptions operation creates such an object.Printer Event - an Event caused by some change in the Printer that is not specific to a job, e.g., ’printer-state-changed’.Pull Delivery Method - The Printer saves Event Notifications for some event life time and expects the Notification Recipient to requestEvent Notifications. The Printer delivers the Event Notifications in a response to such a request.Push Delivery Method -The Printer delivers the Event Notificationshortly after an Event occurs.Subscribed Event - an Event that the Subscribing Client expressesinterest in by making it a value of the "notify-events" attribute on a Subscription Object.Subscribed Job Event - a Subscribed Event that is a Job Event.Herriot & Hastings Standards Track [Page 11]Subscribed Printer Event - a Subscribed Event that is a PrinterEvent.Subscribing Client - The client that creates the Subscription Object. Subscription Attributes Group - The attributes group in a responsethat contains Subscription Object attributes.Subscription Creation Operation - An operation that creates aSubscription Object: Job Creation operations, Create-Job-Subscriptions operation, Create-Printer-Subscriptions operation. In the context of a Job Creation operation, a Subscription CreationOperation is the part of the Job Creation operation that creates one or more Subscription objects. The Restart-Job operation [RFC2911] is not considered a Subscription Creation Operation, since the Printerre-uses the Job’s existing Subscription Objects, rather than creating any new Subscription Objects.Subscription Creation Request - The request portion of a Subscription Creation Operation.Subscription Description Attributes - Subscription Object attributes that a Printer supplies during a Subscription Creation Operation.Subscription Object - An object containing a set of attributes thatindicate: the Notification Recipient (for Push Delivery Methodonly), the Delivery Method, the Subscribed Events that cause thePrinter to deliver an Event Notification, and the information toinclude in an Event Notification.Subscription Template Attributes - Subscription Object attributesthat a client can supply in a Subscription Creation Operation andassociated Printer Object attributes that specify supported anddefault values for the Subscription Object attributes.Subscription Template Attributes Group - The attributes group in arequest that contains Subscription Object attributes that areSubscription Template Attributes.4. Object RelationshipsThis section defines the object relationships between the Printer,Job, and Subscription Objects. It does not define theimplementation. For an illustration of these relationships, seeAppendix 19.Herriot & Hastings Standards Track [Page 12]。
rfc5196.Session Initiation Protocol (SIP) User Agent Capability Extension to Presence Information Da
Network Working Group M. Lonnfors Request for Comments: 5196 K. Kiss Category: Standards Track Nokia September 2008 Session Initiation Protocol (SIP) User Agent Capability Extension toPresence Information Data Format (PIDF)Status of This MemoThis document specifies an Internet standards track protocol for the Internet community, and requests discussion and suggestions forimprovements. Please refer to the current edition of the "InternetOfficial Protocol Standards" (STD 1) for the standardization stateand status of this protocol. Distribution of this memo is unlimited. AbstractPresence Information Data Format (PIDF) defines a common presencedata format for Common Profile for Presence (CPP) compliant presence protocols. This memo defines a PIDF extension to represent SIP User Agent capabilities.Lonnfors & Kiss Standards Track [Page 1]Table of Contents1. Introduction (3)1.1. Motivation (3)1.2. Scope (4)2. Conventions (4)3. Extension for "Indicating User Agent Capabilities in theSession Initiation Protocol (SIP)" in PIDF Documents (4)3.1. Overview of Operation (4)3.2. Service capabilities (5)3.2.1. <servcaps> Element (5)3.2.2. <audio> Element (5)3.2.3. <application> Element (5)3.2.4. <data> Element (6)3.2.5. <control> Element (6)3.2.6. <video> Element (6)3.2.7. <text> Element (6)3.2.8. <message> Element (7)3.2.9. <type> Element (7)3.2.10. <automata> Element (7)3.2.11. <class> Element (7)3.2.12. <duplex> Element (8)3.2.13. <description> Element (8)3.2.14. <event-packages> Element (9)3.2.15. <priority> Element (9)3.2.16. <methods> Element (10)3.2.17. <extensions> Element (11)3.2.18. <schemes> Element (11)3.2.19. <actor> Element (12)3.2.20. <isfocus> Element (12)3.2.21. <languages> Element (13)3.3. Device Capabilities (13)3.3.1. <devcaps> Element (13)3.3.2. <mobility> Element (14)3.3.3. <description> Element (14)4. Usage Guidelines (15)4.1. Use of <supported> and <notsupported> Elements (15)5. Examples (16)6. XML Schema Definitions (17)7. IANA Considerations (26)7.1. URN Sub-Namespace Registration for (26)7.2. Schema Registration for Schema (27)8. Security Considerations (27)9. Acknowledgments (27)10. References (27)10.1. Normative References (27)10.2. Informative References (28)Lonnfors & Kiss Standards Track [Page 2]1. IntroductionCommon Profile for Presence (CPP) [RFC3859] and Common Profile forInstant Messaging (CPIM) [RFC3860] define common operations andformats that all presence and instant messaging services must agreeupon so that basic interoperability is possible. The actual baseformat for the presence is defined in the Presence InformationDocument Format (PIDF) [RFC3863]. The PIDF has been designed toreduce the need for gatewaying and to allow end-to-end security ofpresence information. It has taken a very minimalistic approach tosupport such operations. In order to make the PIDF usable bydifferent presence applications, these applications usually mustextend the basic PIDF by standard XML mechanisms as defined in PIDF[RFC3863].The aim of this memo is to introduce a SIP-specific extensionmechanism to the PIDF that conveys the same SIP media feature tags as described in [RFC3840]. With this extension, presence applicationsbased on SIP can have richer and more usable presence informationcompared to the baseline PIDF.1.1. MotivationThe PIDF [RFC3863] defines a <contact> element that may appear onceinside every <tuple> element. The content of the <contact> elementencodes the CONTACT ADDRESS and CONTACT MEANS as defined in[RFC2778]. The <contact> element is defined to be a URI of anyscheme. In some implementations, the URI scheme can uniquelyidentify the service the tuple intends to describe (e.g., im: URIscheme usually represents Instant Messaging service). However, this may not be the case in all implementations. For example in SIP, aSIP URI scheme can represent different kinds of services. A SIP URI scheme can be used to contact voice services, video services, ormessaging services. If it is not known by other means, it might behard for applications processing the presence information containing only a SIP URI contact addresses to know what particular service the tuple intends to describe. Also, watchers receiving presenceinformation would probably benefit from getting more descriptiveinformation about what particular communication means or services are supported by the presentity.The User Agent Capabilities extension [RFC3840] defines a set ofextensions that allow user agents to express preferences aboutrequest handling in SIP servers. The same information can providevalue to watchers as well so that they can make more rationaldecisions on how a presentity should be contacted if a presencedocument contained this information.Lonnfors & Kiss Standards Track [Page 3]1.2. ScopeThis document defines a PIDF extension, which enables SIP presenceimplementations to represent User Agent Capabilities [RFC3840] within presence information.This extension does not replace media negotiation mechanisms defined for SIP (e.g., SDP [RFC4566]). The purpose of this extension is for a presentity to give watchers hints about the presentity’spreferences, willingness, and capabilities to communicate beforewatchers initiate communication with the presentity.2. ConventionsThe key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT","SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in [RFC2119].This memo makes use of the vocabulary defined in [RFC2778] and[RFC3863].3. Extension for "Indicating User Agent Capabilities in the SessionInitiation Protocol (SIP)" in PIDF DocumentsThis section presents the extension elements, attributes, theirvalues, and semantics. This section also describes how thisextension can be further extended.This extension is intended to be used within the PIDF [RFC3863] andthat particular usage is described here. This extension may also be used with other XML documents if appropriate.3.1. Overview of OperationThis document defines how the features presented in [RFC3840] can be provided as part of presence information. Additionally, this memoincludes the "type" feature tag [RFC2913], "message" media typefeature tag [RFC4569], and the "language" feature tag [RFC4646]definitions. Adding these features to the PIDF means mapping them to an XML formatted structure.The presence data model [RFC4479] defines presence informationconsisting of three types of data elements: person, service, anddevice. This memo follows this model so that one XML extension isdefined to describe device capabilities and another one to describeservice capabilities.Lonnfors & Kiss Standards Track [Page 4]The namespace URIs for elements defined by this document are URNsusing the namespace identifier ’ietf’ defined by [RFC2648] andextended by [RFC3688].When these extension namespaces are congregated with the PIDFdocument, the combined document MUST follow the same generalformatting rules as specified in Section 4.1 of [RFC3863].3.2. Service capabilitiesElements belonging to service capabilities are used to describedynamic characteristics of a service. These capabilities areenclosed within the <servcaps> element which SHOULD be located in the PIDF document as a child element of urn:ietf:params:xml:ns:pidfnamespace <tuple> [RFC3863] element.The namespace identifier for these elements is:urn:ietf:params:xml:ns:pidf:caps3.2.1. <servcaps> ElementThe root element of service capabilities is <servcaps>. The rootelement always has to be present. This element can contain thefollowing child elements: <audio>, <application>, <data>, <control>, <video>, <text>, <message>, <type>, <automata>, <class>, <duplex>,<description>, <event-packages>, <priority>, <methods>, <extensions>, <schemes>, <actor>, <isfocus>, and <languages> followed by any number of optional extension elements from other namespaces.A <servcaps> element can contain any number of optional extensionattributes from other namespaces.3.2.2. <audio> ElementThe <audio> element indicates that the service supports audio as astreaming media type as defined in [RFC3840].The <audio> element is a boolean type and does not have anyattributes. The value ’true’ indicates that service supports audiomedia type, and the value ’false’ indicates that service does notsupport audio media type.3.2.3. <application> ElementThe <application> element indicates that the service supportsapplication as a streaming media type as defined in [RFC3840]. Lonnfors & Kiss Standards Track [Page 5]The <application> element is a boolean type and does not have anyattributes. The value ’true’ indicates that service supportsapplication media type, and the value ’false’ indicates that service does not support application media type.3.2.4. <data> ElementThe <data> element indicates that the service supports data as astreaming media type as defined in [RFC3840].The <data> element is a boolean type and does not have anyattributes. The value ’true’ indicates that service supports datamedia type, and the value ’false’ indicates that service does notsupport data media type.3.2.5. <control> ElementThe <control> element indicates that the service supports control as a streaming media type as defined in [RFC3840].The <control> element is a boolean type and does not have anyattributes. The value ’true’ indicates that service supports control media type, and the value ’false’ indicates that service does notsupport control media type.3.2.6. <video> ElementThe <video> element indicates that the service supports video as astreaming media type as defined in [RFC3840].The <video> element is a boolean type and does not have anyattributes. The value ’true’ indicates that service supports videomedia type, and the value ’false’ indicates that service does notsupport video media type.3.2.7. <text> ElementThe <text> element indicates that the service supports text as astreaming media type as defined in [RFC3840].The <text> element is a boolean type and does not have anyattributes. The value ’true’ indicates that service supports textmedia type, and the value ’false’ indicates that service does notsupport text media type.Lonnfors & Kiss Standards Track [Page 6]3.2.8. <message> ElementThe <message> element indicates that the service supports messagingas a streaming media type as defined in [RFC4569].The <message> element is a boolean type and does not have anyattributes. The value ’true’ indicates that service supports message media type, and the value ’false’ indicates that service does notsupport message media type.3.2.9. <type> ElementThe <type> element indicates a MIME media content type (i.e., thatappears in a ’Content-type:’ header of the corresponding MIME-formatted data) as defined in [RFC2913].The <type> element is a string type and does not have any attributes. It MUST be a string of the form "type/subtype", where ’type’ and’subtype’ are defined by the MIME specification [RFC2045]. Onlylowercase letters SHOULD be used.3.2.10. <automata> ElementThe <automata> element indicates whether the service represents anautomaton (such as a voicemail server, conference server, orrecording device) or a human as defined in [RFC3840].The <automata> element is a boolean type and does not have anyattributes. The value ’true’ indicates that the service representsan automaton, and the value ’false’ indicates that it represents ahuman.3.2.11. <class> ElementThe <class> element indicates the setting, business or personal, inwhich a communications service is used as defined in [RFC3840].The <class> element can contain two elements: <supported> and<notsupported>. Classes that are supported by the service can belisted under the <supported> element, and classes that are notsupported by the service can be listed under the <notsupported>element.<supported> and <notsupported> elements can contain <business> and<personal> elements followed by any number of optional extensionelements from other namespaces. The semantics of business andpersonal are defined in [RFC3840] as:Lonnfors & Kiss Standards Track [Page 7]o <business>: The service is used for business communications.o <personal>: The service is used for personal communications.Any value that is registered with IANA for the SIP media feature tag registration tree as a sip.class media feature tag can be used as avalue of an extension element. If the appropriate value is notregistered, it SHOULD be registered as defined in [RFC3840].3.2.12. <duplex> ElementThe <duplex> element lists whether a communications service cansimultaneously send and receive media ("full"), alternate betweensending and receiving ("half"), only receive ("receive-only"), oronly send ("send-only") as defined in [RFC3840].The <duplex> element can contain two elements: <supported> and<notsupported>. Duplex modes that are supported by the service canbe listed under the <supported> element, and duplex modes that arenot supported by the service can be listed under the <notsupported>element.<supported> and <notsupported> elements can contain <full>, <half>,<receive-only>, and <send-only> elements followed by any number ofoptional extension elements from other namespaces. The semantics of these elements are defined in [RFC3840] as:o <full>: The service can simultaneously send and receive media.o <half>: The service can alternate between sending and receivingmedia.o <receive-only>: The service can only receive media.o <send-only>: The service can only send media.Any value that is registered with IANA for the SIP media feature tag registration tree as a sip.duplex media feature tag can be used as a value of an extension element. If the appropriate value is notregistered, it SHOULD be registered as defined in [RFC3840].3.2.13. <description> ElementThe <description> element provides a textual description of theservice as defined in [RFC3840].The <description> element is of string type and does not have anyattributes.Lonnfors & Kiss Standards Track [Page 8]The <description> element SHOULD be labeled with the ’xml:lang’attribute to indicate its language and script. The specificationallows multiple occurrences of this elements so that the presentitycan convey <description> elements in multiple scripts and languages. If no ’xml:lang’ attribute is provided, the default value is"i-default" as defined in [RFC2277].3.2.14. <event-packages> ElementThe <event-packages> element lists the event packages supported by a service.The <event-packages> element can contain two elements: <supported>and <notsupported>. Event packages that are supported by the service can be listed under the <supported> element, and event packages that are not supported by the service can be listed under the<notsupported> element.The <supported> and <notsupported> elements can contain any valuesfrom the IANA SIP event types namespace registry followed by anynumber of optional extension elements from other namespaces. As ofthis writing, the IANA SIP event types namespace registry includesthe following packages: <conference>, <dialog>, <kpml>,<message-summary>, <poc-settings>, <presence>, <reg>, <refer>,<Siemens-RTP-Stats>, <spirits-INDPs>, <spirits-user-prof>, and<winfo>.3.2.15. <priority> ElementThe <priority> element indicates the call priorities the service iswilling to handle as defined in [RFC3840].The <priority> element can contain two elements: <supported> and<notsupported>. Priority values that are supported by the servicecan be listed under the <supported> element, and priority values that are not supported by the service can be listed under the<notsupported> element.The <supported> and <notsupported> elements can contain any number of <lowerthan>, <higherthan>, <equals>, and <range> elements followed by any number of optional extension elements from other namespaces.3.2.15.1. <lowerthan> ElementThe <lowerthan> element has a single attribute called "maxvalue".The "maxvalue" attribute is used to give the highest priority valuethat the service is willing to support. All values equal and belowthat value are supported.Lonnfors & Kiss Standards Track [Page 9]3.2.15.2. <higherthan> ElementThe <higherthan> element has a single attribute called "minvalue".The "minvalue" attribute is used to give the lowest priority valuethat the service is willing to support. All values equal and abovethat value are supported.3.2.15.3. <equals> ElementThe <equals> element is used to indicate the exact priority valuethat the service is willing to handle. The <equals> element has asingle attribute called "value". The "value" attribute is used toindicate the exact supported priority value.3.2.15.4. <range> ElementThe <range> element is used to indicate the priority range that theservice is willing to handle. The <range> element has two attributes called "minvalue" and "maxvalue". The value of the "minvalue"attribute indicates the lowest priority value supported by theservice, and the value of the "maxvalue" attribute indicates thehighest priority value supported by the service.3.2.16. <methods> ElementThe <methods> element indicates the SIP methods supported by aservice. In this case, "supported" means that the service canreceive requests with this method. In that sense, it has the sameconnotation as the Allow header field as defined in [RFC3840].The <methods> element can contain two elements: <supported> and<notsupported>. Methods that are supported by the service can belisted under the <supported> element, and methods that are notsupported by the service can be listed under the <notsupported>element.The <supported> and <notsupported> elements can contain any valuesfrom the methods table of the IANA SIP parameters registry tablefollowed by any number of optional extension elements from othernamespaces. As of this writing, the IANA SIP parameters registryincludes the following methods:<ACK>, <BYE>, <CANCEL>, <INFO>,<INVITE>, <MESSAGE>, <NOTIFY>, <OPTIONS>, <PRACK>, <PUBLISH>,<REFER>, <REGISTER>, <SUBSCRIBE>, and <UPDATE>.Lonnfors & Kiss Standards Track [Page 10]3.2.17. <extensions> ElementThe <extensions> element is a list of SIP extensions (each of whichis defined by an option-tag registered with IANA) that are understood by the service. Understood, in this context, means that the optiontag would be included in a Supported header field in a request asdefined in [RFC3840].The <extensions> element can contain two elements: <supported> and<notsupported>. Extensions that are supported by the service can be listed under the <supported> element, and extensions that are notsupported by the service can be listed under the <notsupported>element.The <supported> and <notsupported> elements can contain any valuesfrom the option tags table of the IANA SIP parameters registry table followed by any number of optional extension elements from othernamespaces. As of this writing, the IANA SIP parameters registryincludes the following option tags: <rel100>, <early-session>,<eventlist>, <from-change>, <gruu>, <histinfo>, <join>, <norefersub>, <path>, <precondition>, <pref>, <privacy>, <recipient-list-invite>,<recipient-list-subscribe>, <replaces>, <resource-priority>, <sdp-anat>, <sec-agree>, <tdialog>, and <timer>.3.2.18. <schemes> ElementThe <schemes> element provides the set of URI schemes that aresupported by a service. "Supported" implies, for example, that theservice would know how to handle a URI of that scheme in the Contact header field of a redirect response as defined in [RFC3840].The <schemes> element can contain two elements: <supported> and<notsupported>. Schemes that are supported by the service can belisted under the <supported> element, and schemes that are notsupported by the service can be listed under the <notsupported>element.<supported> and <notsupported> elements can contain any number of <s> elements, which can be used to describe individual schemes supported by the service.3.2.18.1. <s> ElementThe <s> element is of string type and is used to describe anindividual scheme supported by the service. Values that can be used here are scheme names that are registered to the IANA URI schemeregistry.Lonnfors & Kiss Standards Track [Page 11]3.2.19. <actor> ElementThe <actor> element indicates the type of entity that is available at this URI as defined in [RFC3840].The <actor> element can contain two elements: <supported> and<notsupported>. Actor types that are supported by the service can be listed under the <supported> element, and actor types that are notsupported by the service can be listed under the <notsupported>element.The <supported> and <notsupported> elements can contain <principal>, <attendant>, <msg-taker>, and <information> elements followed by any number of optional extension elements from other namespaces.The semantics of these elements are defined in [RFC3840] as:o <principal>: The service provides communication with the principal that is associated with the service. Often this will be aspecific human being, but it can be an automaton (for example,when calling a voice portal).o <attendant>: The service provides communication with an automaton or a person that will act as an intermediary in contacting theprincipal associated with the service, or a substitute.o <msg-taker>: The service provides communication with an automaton or a person that will take messages and deliver them to theprincipal.o <information>: The service provides communication with anautomaton or a person that will provide information about theprincipal.Any value that is registered with IANA for the SIP media feature tag registration tree as a sip.actor media feature tag can be used as avalue of an extension element. If the appropriate value is notregistered, it SHOULD be registered as defined in [RFC3840].3.2.20. <isfocus> ElementThe <isfocus> element indicates that the service is a conferenceserver, also known as a focus as defined in [RFC3840].The <isfocus> element is of boolean type and does not have anyattributes. The value ’true’ indicates that service is a conference server and the value ’false’ indicates that service does not support conferencing.Lonnfors & Kiss Standards Track [Page 12]The <languages> element indicates the ability to display particularhuman languages as defined in [RFC4646].The <languages> element can contain two elements: <supported> and<notsupported>. Languages that are supported by the service can belisted under the <supported> element, and languages that are notsupported by the service can be listed under the <notsupported>element.<supported> and <notsupported> elements can contain any number of <l> elements which can be used to describe individual languages supported by the service.3.2.21.1. <l> ElementThe <l> element is of string type and is used to describe anindividual language supported by the service. Values that can beused here are language subtags that are registered to the IANAlanguage subtag registry as per [RFC4646].3.3. Device CapabilitiesElements belonging to device capabilities are used to describedynamic characteristics of a device. These capabilities are enclosed within the <devcaps> element, which SHOULD be located in the PIDFdocument as a child element of theurn:ietf:params:xml:ns:pidf:data-model namespace <device> element[RFC4479].The namespace identifier for these elements is urn:ietf:params:xml:ns:pidf:caps3.3.1. <devcaps> ElementThe root element of device capabilities is <devcaps>. The rootelement always has to be present. This element can contain thefollowing child elements: <mobility> and <description> followed byany number of optional extension elements from other namespaces.A <devcaps> element can contain any number of optional extensionattributes from other namespaces.Lonnfors & Kiss Standards Track [Page 13]The <mobility> element indicates whether the device is fixed (meaning that it is associated with a fixed point of contact with the network) or mobile (meaning that it is not associated with a fixed point ofcontact). Note that cordless phones are fixed, not mobile, based on this definition as defined in [RFC3840].The <mobility> element can contain two elements: <supported> and<notsupported>. Mobility modes that are supported by the device can be listed under the <supported> element and mobility modes that arenot supported by the device can be listed under the <notsupported>element.The <supported> and <notsupported> elements can contain <fixed> and<mobile> elements followed by any number of optional extensionelements from other namespaces.The semantics of these elements are defined in [RFC3840] as:o <fixed>: The device is stationary.o <mobile>: The device can move around with the user.Any value that is registered with IANA to the SIP media feature tagregistration tree as sip.mobility media feature tag can be used as a value of an extension element. If the appropriate value is notregistered, it SHOULD be registered as defined in [RFC3840].3.3.3. <description> ElementThe <description> element provides a textual description of thedevice as defined in [RFC3840].The <description> element is of string type and does not have anyattributes.The <description> element SHOULD be labeled with the ’xml:lang’attribute to indicate its language and script. The specificationallows multiple occurrences of this element so that the presentitycan convey <description> elements in multiple scripts and languages. If no ’xml:lang’ attribute is provided, the default value is"i-default" as defined in [RFC2277].Lonnfors & Kiss Standards Track [Page 14]。
rfc中常用的测试协议
rfc中常用的测试协议引言在计算机网络领域中,为了确保网络协议的正确性和稳定性,测试协议起到了至关重要的作用。
RFC(Request for Comments)是一系列文件,用于描述互联网相关协议、过程和技术。
在RFC中,也包含了一些常用的测试协议,用于验证和评估网络协议的功能和性能。
本文将介绍RFC中常用的测试协议,并深入探讨其原理和应用。
二级标题1:PING协议三级标题1.1:概述PING协议是一种常用的网络测试协议,用于测试主机之间的连通性。
它基于ICMP (Internet Control Message Protocol)协议,通过发送ICMP Echo Request报文并等待目标主机的ICMP Echo Reply报文来判断目标主机是否可达。
三级标题1.2:工作原理PING协议的工作原理如下: 1. 发送方主机生成一个ICMP Echo Request报文,并将目标主机的IP地址作为目的地。
2. 发送方主机将报文发送到网络中。
3.中间路由器收到报文后,将报文转发到下一跳路由器。
4. 目标主机收到ICMP Echo Request报文后,生成一个ICMP Echo Reply报文,并将其发送回发送方主机。
5. 发送方主机收到ICMP Echo Reply报文后,通过比较报文中的标识符和序列号等字段,判断目标主机是否可达。
三级标题1.3:应用场景PING协议在网络中的应用非常广泛,常用于以下场景: - 测试主机之间的连通性,判断网络是否正常工作。
- 测试网络延迟,通过计算ICMP Echo Request报文的往返时间来评估网络质量。
- 排查网络故障,通过检查ICMP Echo Reply报文中的错误码来定位故障原因。
二级标题2:Traceroute协议三级标题2.1:概述Traceroute协议用于跟踪数据包从源主机到目标主机经过的路径。
它通过发送一系列的UDP报文,并在每个报文中设置不同的TTL(Time to Live)值来实现。
IETF
IETF概述IETF(互联网工程任务组—The Internet Engineering Task Force)是松散的、自律的、志愿的民间学术组织,成立于1985年底, 其主要任务是负责互联网相关技术规范的研发和制定。
IETF是一个由为互联网技术工程及发展做出贡献的专家自发参与和管理的国际民间机构。
它汇集了与互联网架构演化和互联网稳定运作等业务相关的网络设计者、运营者和研究人员,并向所有对该行业感兴趣的人士开放。
任何人都可以注册参加IETF的会议。
IETF大会每年举行三次,规模均在千人以上。
IETF体系结构分为三类,一个是互联网架构委员会(IAB),第二个是互联网工程指导委员会(IESG),第三个是在八个领域里面的工作组(Working Group)。
标准制定工作具体由工作组承担,工作组分成八个领域,分别是Internet路由、传输、应用领域等等。
IAB成员由IETF参会人员选出,主要是监管各个工作组的工作状况,它必须非常认真的考虑Internet是什么,它正在发生什么变化以及我们需要它做些什么等问题。
互联网工程指导委员会(IESG)主要的职责是接收各个工作组的报告,对他们的工作进行审查,然后对他们提出的各种各样的标准、各种各样的建议提出指导性的意见,甚至从工作的方向上、质量上和程序上给予一定的指导。
IETF基本上不太涉及应用领域,但仍设立了一个应用领域。
另外凡是没有归到以上那些领域的研究课题,都把它归至此类。
IETF实际上有上百个工作组,这里是真正完成工作的地方。
IETF大量的技术性工作均由其内部的各类工作组协作完成。
这些工作组按不同类别,如路由、传输、安全等专项课题而分别组建。
IETF的交流工作主要是在各个工作组所设立的邮件组中进行,这也是IETF的主要工作方式。
Internet Draft任何人都可以提交,没有任何特殊限制,而且其他的成员也可以对它采取一个无所谓的态度,而IETF的一些很多重要的文件都是从这个Draft开始。
电子邮件系统方案
J I N D I®M A I L S Y S T E M S O L U T I O N 金笛®电子邮件系统方案电话:***********/76/77传真:***********-6004北京春笛网络信息技术服务有限公司中国·北京市海淀区知春路23号863软件园量子银座903______________________________________________ jindi®mail, 金笛®, jdmail 均指金笛®邮件系统目录简介 ............................................................................................................................................. - 5 - 概论 ............................................................................................................................................. - 6 - 需求篇 ......................................................................................................................................... - 7 - 基本功能需求...................................................................................................................... - 7 - 系统扩展需求.................................................................................................................... - 10 - 其它需要考虑的................................................................................................................ - 10 - 产品篇 ....................................................................................................................................... - 11 - 产品介绍............................................................................................................................ - 11 - 体系结构............................................................................................................................ - 11 - 技术架构............................................................................................................................ - 12 - 金笛®邮件系统五大功能模块逻辑关系图............................................................. - 12 -金笛邮件系统技术架构优势:................................................................................ - 13 -金笛®邮件的主要技术特点..................................................................................... - 14 - Jindi®mail 主要功能..................................................................................................... - 24 - -用户管理................................................................................................................ - 24 --域管理.................................................................................................................... - 24 --公共地址簿............................................................................................................ - 24 --用户组管理............................................................................................................ - 25 --系统设置................................................................................................................ - 25 --全局过滤规则设置................................................................................................ - 28 --邮件监控................................................................................................................ - 28 --反垃圾、反病毒设置............................................................................................ - 28 --日志查看................................................................................................................ - 30 --系统备份................................................................................................................ - 30 --注册码管理............................................................................................................ - 30 --邮件管理................................................................................................................ - 31 --邮件全文检索:.................................................................................................... - 31 --设置........................................................................................................................ - 31 - Jindi®mail功能偏移表..................................................................................................... - 32 - Jindi®mail邮件系统测试性能指标................................................................................. - 34 - WebMail页面服务器的性能............................................................................................ - 34 - 单机测试邮件服务器性能测试(10K邮件,本地投递) ............................................ - 34 - 邮件服务器性能测试(300K邮件,本地投递) .......................................................... - 35 - NAS存储结构模拟环境测试结果................................................................................... - 36 - 设计篇 ....................................................................................................................................... - 38 - 设计目标............................................................................................................................ - 38 - 底层坚固、高度稳定。
计算计概念和缩写含义
允许你使用其它计算机上的打印机,好像这些打印机直接连到你的计算机上。
远程执行(Remote Execution)
允许你请求运行在不同计算机上的特殊程序。当你在一个很小的计算机上运行一个需要大机系统资源的程序时,这时候远程执行非常有用。
名字服务器in 远程登录(Remote login)
网络终端协议TELNET允许用户登录到网络上任一计算机上。你可启动一个远程进程连接到指定的计算机,直到进程结束,期间你所键入的内容被送到所指定的计算机。值得注意的是,这时你实际上是与你的计算机进行对话。TELENET程序使得你的计算机在整个过程中不见了,所敲的每一个字符直接送到所登录的计算机系统。一般的说,这种远程连接是通过类式拨号连接的,也就是,拨通后,远程系统提示你输入注册名和口令,退出远程系统,TELNET程序也就退出,你又与自己的计算机对话了。微电脑中的TELNET工具一般含有一个终端仿真程序。
应用层向TCP层发送用于网间传输的、用8位字节表示的数据流,然后TCP把数据流分割成适当长度的报文段(通常受该计算机连接的网络的数据链路层的最大传送单元(MTU)的限制)。之后TCP把结果包传给IP层,由它来通过网络将包传送给接收端实体的TCP层。TCP为了保证不发生丢包,就给每个字节一个序号,同时序号也保证了传送到接收端实体的包的按序接收。然后接收端实体对已成功收到的字节发回一个相应的确认(ACK);如果发送端实体在合理的往返时延(RTT)内未收到确认,那么对应的数据(假设丢失了)将会被重传。TCP用一个校验和函数来检验数据是否有错误;在发送和接收时都要计算和校验。
2.中继器(REPEATER)中继器是网络物理层上面的连接设备。适用于完全相同的两类网络的互连,主要功能是通过对数据信号的重新发送或者转发,来扩大网络传输的距离。 中继器是对信号进行再生和还原的网络设备 OSI 模型的物理层设备.
rfc中常用的测试协议
rfc中常用的测试协议摘要:1.RFC 简介2.RFC 中常用的测试协议a.网络协议测试1.网络数据包抓取和分析2.网络仿真和测试工具b.应用层协议测试1.HTTP 和HTTPS 测试2.FTP 和FTPS 测试3.SMTP 和SMTPS 测试c.安全协议测试1.TLS 和SSL 测试2.IPsec 测试d.传输协议测试1.TCP 和UDP 测试e.无线网络协议测试1.802.11 无线网络测试正文:RFC(Request for Comments)是一个用于讨论和记录互联网协议的标准文档系列。
在RFC 中,有许多常用的测试协议,这些协议用于确保互联网协议在实际应用中能够正常工作。
本文将详细介绍这些测试协议。
首先,RFC 中包含了大量的网络协议测试。
网络数据包抓取和分析是网络协议测试的基础,这对于诊断网络问题和优化网络性能至关重要。
此外,网络仿真和测试工具也是必不可少的,例如,网络模拟器(如NS-3)和测试平台(如Ixia)可以帮助工程师在实验室环境中模拟实际网络状况,从而对协议进行更严格的测试。
其次,应用层协议测试在RFC 中也占据重要地位。
HTTP 和HTTPS 是Web 应用中最常用的协议,有许多测试工具可以对它们的性能和安全性进行测试,例如,JMeter 和Locust 等负载测试工具。
此外,FTP 和FTPS、SMTP 和SMTPS 等传输协议也是常用的测试对象。
在安全协议方面,RFC 中包含了TLS 和SSL、IPsec 等协议的测试方法。
这些协议对于保护互联网数据传输的安全至关重要,因此需要进行严格的测试以确保其性能和安全性。
传输协议方面,TCP 和UDP 是互联网中最常用的传输协议,它们的测试方法也是RFC 中的重要内容。
TCP 测试关注可靠性和流量控制等方面,而UDP 测试则更注重数据传输速率和丢包率等指标。
最后,无线网络协议测试在RFC 中也有一定的比重。
例如,802.11 无线网络测试是评估无线局域网性能的关键。
TCPIP协议簇常见协议RFC对应表
常见协议RFC对应表COPS Common Open Policy Service公共开放策略服务FANP Flow Attribute Notification Protocol流属性通知协议Finger User Information Protocol用户信息协议FTP File Transfer Protocol文件传输协议HTTP Hypertext Transfer Protocol超文本传输协议IMAP4Internet Message Access Protocol version 4因特网信息访问协议第四版IMPP Instant Messaging and Presence Protocol即时信息表示协议IRC Internet Relay Chat Protocol Internet在线聊天协议ISAKMP Internet Security Association and Key Managemen Interne安全连接和密钥管理协议DNS Domain Name System域名系统DHCP Dynamic Host Configuration Protocol动态主机配置协议BOOTP Bootstrap Protocol引导协议NTP Network Time Protocol网络时间协议NNTP Network News Transfer Protocol网络新闻传输协议POP3Post Office Protocol version 3邮局协议第三版Radius Remote Authentication Dial In User Service远程用户拨号认证服务协议RLOGIN Remote Login远程登陆协议RTSP Real-time Streaming Protocol实时流协议SCTP Stream Control Transmision Protocol流控制传输协议S-HTTP Secure Hypertext Transfer Protocol安全超文本传输协议SLP Service Location Protocol服务定位协议SMTP Simple Mail Transfer Protocol简单邮件传输协议ICP Internet Cache Protocol Internet缓存协议SNMP Simple Network Management Protocol简单网络管理协议SOCKS Socket Secure安全套接字协议TACACS Terminal Access Controller Access Control System终端访问控制器访问控制系统TELNET TCP/IP Terminal Emulation Protocol TCP/IP终端仿真协议TFTP Trivial File Transfer Protocol简单文件传输协议X-Window X Window X WindowPresentation LayerNBSSN NetBIOS Session Service NetBIOS会话服务协议LPP LightWight Presentation Protocol轻量级表示协议Session LayerTLS Transport Layer Security传输层安全协议LDAP Lightweight Directory Access Protocol轻量级目录访问协议RPC Remote Procedure Call protocol 远程过程调用协议Transport LayerMobile IP Mobile IP Protocol移动IP协议RUDP Reliable User Datagram Protocol可靠的用户数据报协议TALI Transport Adapter Layer Interface传输适配层接口协议TCP Transmission Control Protocol传输控制协议UDP User Datagram Protocol用户数据报协议Van Jacobson compressed TCP压缩TCP协议XOT X.25 over TCP基于TCP之上的X.25协议Network LayerEGP Exterior Gateway Protocol外部网关协议OSPF Open Shortest Path First开放最短路径优先协议DVMRP Distance Vector Multicast Routing Protocol距离矢量组播路由协议ICMP Internet Control Message Protocol version 4Internet控制信息协议ICMPv6Internet Control Message Protocol version 6Internet控制信息协议第6版IGMP Internet Group Management Protocol Internet组管理协议IP Internet Protocol version 4互联网协议NHRP Next Hop Resolution Protocol下一跳解析协议IPv6Internet Protocol version 6互联网协议第6版MOSPF Mulitcast Open Shortest Path First组播开放最短路径优先协议PGM Pragamatic General Mulitcast Protocol实际通用组播协议PIM-SM Protocol Independent Multicast-Sparse Mode稀疏模式独立组播协议PIM-DM Protocol Independent Multicast-Dense Mode密集模式独立组播协议SLIP Serial Line IP串行线路IP协议MARS Multicast Address Resolution Server组播地址解析服务器协议RIP2Routing Information Protocol version 2路由信息协议第2版RIPng for IPv6Routing Information Protocol for IPv6IPv6路由信息协议RSVP Resource-Reservation Protocol 资源预留协议VRRP Virtual Router Redundancy Protocol虚拟路由器冗余协议AH Authentication Header Protocol认证头协议ESP Encapsulating Security Payload安全封装有效载荷协议Data Link LayerARP Address Resolution Protocol地址解析协议RARP Reverse Address Resolution Protocol逆向地址解析协议IARP Inverse Address Resolution Protocol逆向地址解析协议DCAP Data Link Switching Client Access Protocol数据转接客户访问协议MPLS Multi-Protocol Label Switching多协议标签交换协议ATMP Ascend Tunnel Management Protocol接入隧道管理协议L2F The Layer 2 Forwarding Protocol第二层转发协议L2TP Layer 2 Tunneling Protocol第二层隧道协议PPTP Point to Point Tunneling Protocol点对点隧道协议RFC 2748RFC 2129 RFC 1194,1196,1228RFC 959RFC 1945,2616RFC 1730RFC 3861RFC 1459RFC 2048RFC 4343RFC 2131RFC 951RFC 958RFC 977RFC 1939RFC 2138RFC 1258,1282RFC 2326RFC 2960RFC 2660RFC 2165RFC 821,2821RFC 2186RFC 1157RFC 1928RFC 1492RFC 854RFC 1350RFC 1198RFC 1001RFC 1085RFC 2246RFC 1777 RFC 1050,1057,1831RFC 2002RFC 908,1151RFC 3094RFC 793RFC 768RFC 1144RFC 1613RFC 827RFC 2178,2328RFC 1075RFC 792RFC 1885,2463 RFC 1112, 2236,3376RFC 791RFC 2332RFC 1883,2460RFC 1585RFC 3208RFC 2362RFC 3973RFC 1055RFC 2022RFC 2453RFC 2080RFC 2205,2750RFC 2338,3768RFC 2402RFC 2406RFC 826RFC 903RFC 2390RFC 2114RFC 3031,3032RFC 2107RFC 2341RFC 2661RFC 2637。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
Network Working Group R. Herriot Request for Comments: 3996 Global Workflow Solutions Updates: 2911 T. Hastings Category: Standards Track Xerox Corp.H. Lewis IBM Corp. March 2005 Internet Printing Protocol (IPP):The ’ippget’ Delivery Method for Event NotificationsStatus of This MemoThis document specifies an Internet standards track protocol for the Internet community, and requests discussion and suggestions forimprovements. Please refer to the current edition of the "InternetOfficial Protocol Standards" (STD 1) for the standardization stateand status of this protocol. Distribution of this memo is unlimited. Copyright NoticeCopyright (C) The Internet Society (2005).AbstractThis document describes an extension to the Internet PrintingProtocol1.1: Model and Semantics (RFC 2911, RFC 2910). This document specifies the ’ippget’ Pull Delivery Method for use with the"Internet Printing Protocol (IPP): Event Notifications andSubscriptions" specification (RFC 3995). This IPPGET Delivery Method is REQUIRED for all clients and Printers that support RFC 3995. The Notification Recipient, acting as a client, fetches (pulls) EventNotifications by using the Get-Notifications operation defined inthis document.Table of Contents1. Introduction. . . . . . . . . . . . . . . . . . . . . . . . . 32. Terminology . . . . . . . . . . . . . . . . . . . . . . . . . 3 2.1. Conformance Terminology . . . . . . . . . . . . . . . . 42.2. Other Terminology . . . . . . . . . . . . . . . . . . . 43. Model and Operation . . . . . . . . . . . . . . . . . . . . . 44. General Information . . . . . . . . . . . . . . . . . . . . . 55. Get-Notifications Operation . . . . . . . . . . . . . . . . . 7 5.1. Get-Notifications Request . . . . . . . . . . . . . . . 8 5.1.1. notify-subscription-ids (1setOf integer(1:MAX)) 8 5.1.2. notify-sequence-numbers (1setOf integer(1:MAX)) 9 Herriot, et al. Standards Track [Page 1]5.1.3. notify-wait (boolean) . . . . . . . . . . . . . 10 5.2. Get-Notifications Response. . . . . . . . . . . . . . . 10 5.2.1. notify-get-interval (integer(0:MAX)). . . . . . 135.2.2. printer-up-time (integer(1:MAX)). . . . . . . . 146. Additional Information about Subscription Template Attributes 176.1. notify-pull-method (type2 keyword). . . . . . . . . . . 177. Subscription Description Attributes . . . . . . . . . . . . . 188. Additional Printer Description Attributes . . . . . . . . . . 188.1. ippget-event-life (integer(15:MAX)) . . . . . . . . . . 189. New Values for Existing Printer Description Attributes. . . . 19 9.1. notify-pull-method-supported (1setOf type2 keyword) . . 199.2. operations-supported (1setOf type2 enum). . . . . . . . 1910. New Status Codes. . . . . . . . . . . . . . . . . . . . . . . 1910.1. successful-ok-events-complete (0x0007) . . . . . . . . 2011. Encoding and Transport. . . . . . . . . . . . . . . . . . . . 2012. Conformance Requirements. . . . . . . . . . . . . . . . . . . 21 12.1. Conformance for IPP Printers . . . . . . . . . . . . . 2112.2. Conformance for IPP Clients. . . . . . . . . . . . . . 2213. Normative References. . . . . . . . . . . . . . . . . . . . . 2314. Informative References. . . . . . . . . . . . . . . . . . . . 2315. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 24 15.1. Attribute Registrations. . . . . . . . . . . . . . . . 24 15.2. Delivery Method and Additional Keyword Attribute Valueregistrations for Existing Attributes. . . . . . . . . 24 15.3. Additional Enum Attribute Values . . . . . . . . . . . 25 15.4. Operation Registrations. . . . . . . . . . . . . . . . 2515.5. Status Code Registrations. . . . . . . . . . . . . . . 2516. Internationalization Considerations . . . . . . . . . . . . . 2517. Security Considerations . . . . . . . . . . . . . . . . . . . 26 17.1. Notification Recipient Client Access Rights. . . . . . 26 17.2. Printer Security Threats . . . . . . . . . . . . . . . 27 17.3. Notification Recipient Security Threats. . . . . . . . 27 17.4. Security Requirements for Printers . . . . . . . . . . 2717.5. Security Requirements for clients. . . . . . . . . . . 2818. Description of Base IPP Documents (Informative) . . . . . . . 2819. Contributors. . . . . . . . . . . . . . . . . . . . . . . . . 29 Authors’ Addresses . . . . . . . . . . . . . . . . . . . . . . . . 30 Full Copyright Statement . . . . . . . . . . . . . . . . . . . . . 31Table of TablesTable 1. Information about the Delivery Method. . . . . . . . . . 5 Table 2. Combinations of "notify-wait", "status-code", and"notify-get-interval". . . . . . . . . . . . . . . . . . 13 Table 3. Attributes in Event Notification Content . . . . . . . . 15 Table 4. Additional Attributes in Event Notification Content forJob Events . . . . . . . . . . . . . . . . . . . . . . . 16 Herriot, et al. Standards Track [Page 2]Table 5. Combinations of Events and Subscribed Events for "job-impressions-completed" . . . . . . . . . . . . . . . . . 17 Table 6. Additional Attributes in Event Notification Content forPrinter Events . . . . . . . . . . . . . . . . . . . . . 17 Table 7. Operation-id Assignments . . . . . . . . . . . . . . . . 19 Table 8. The "event-notification-attributes-tag" Value. . . . . . 211. IntroductionThis document describes an extension to the Internet PrintingProtocol/1.1: Model and Semantics [RFC 2911], [RFC 2910]. Thisdocument specifies the ’ippget’ Pull Delivery Method for use with the "Internet Printing Protocol (IPP): Event Notifications andSubscriptions" specification [RFC3995]. This IPPGET Delivery Method is REQUIRED for all clients and Printers that support [RFC3995]. The Notification Recipient, acting as a client, fetches (pulls) EventNotifications by using the Get-Notifications operation defined inthis document. For a description of the base IPP documents, seesection 21 of this document. For a description of the IPP EventNotification Model, see [RFC3995].With this Pull Delivery Method, when an Event occurs, the Printersaves the Event Notification for a period of time called the EventLife. The Notification Recipient fetches (pulls) the EventNotifications by using the Get-Notifications operation. Thisoperation causes the Printer to return all Event Notifications heldfor the specified Subscription object(s). If the NotificationRecipient has selected the Event Wait Mode option to wait foradditional Event Notifications, the Printer MAY continue to returnEvent Notifications to the Notification Recipient as asynchronousGet-Notification responses as Events occur using the transactionoriginated by the Notification Recipient.The Notification Recipient can terminate Event Wait Mode (withoutclosing the connection) by supplying the "notify-wait" (boolean)attribute with a ’false’ value in a subsequent Get-Notificationsrequest. Similarly, the Printer can terminate Event Wait Mode(without closing the connection) by returning the "notify-get-interval" (integer) operation attribute in a Get-Notificationsresponse that tells the Notification Recipient how long to waitbefore trying again.2. TerminologyThis section defines the following terms that are used throughoutthis document:Herriot, et al. Standards Track [Page 3]2.1. Conformance TerminologyCapitalized terms such as MUST, MUST NOT, REQUIRED, SHOULD, SHOULDNOT, MAY, NEED NOT, and OPTIONAL have special meaning relating toconformance as defined in [RFC2119] and [RFC2911], section 12.1. If an implementation supports the extension defined in this document,then these terms apply; otherwise, they do not. These terms defineconformance to this document only; they do not affect conformance to other documents, unless it is explicitly stated otherwise.2.2. Other terminologyThis document uses the same terminology as [RFC2911], including"client", "Printer", "Job", "attribute", "attribute value","keyword", "operation", "request", "response", and "support", withthe same meanings. This document also uses terminology defined in[RFC3995], such as "Subscription (object)", "Notification Recipient", "Event", "Event Notification", "Compound Event Notification", "Event Life", and "Event Notification Attribute Group", with the samemeanings. In addition, this document defines the following terms for use in this document:Event Wait Mode: The mode requested by a Notification Recipientclient in its Get-Notifications Request and granted by a Printer to keep the connection open while the Printer sends subsequentGet-Notification operation responses to the NotificationRecipient in the form of Event Notifications as they occur.3. Model and OperationIn a Subscription Creation Operation, when the "notify-pull-method"attribute is present and has the "ippget" keyword value, the clientis requesting that the Printer use the "ippget" Pull Delivery Method for the Event Notifications associated with the new SubscriptionObject.When an Event occurs, the Printer MUST generate an Event Notification and MUST assign it the Event Life. The Printer MUST hold an EventNotification for its assigned Event Life.When a Notification Recipient wants to receive Event Notificationsfor a Subscription object, it performs the Get-Notificationsoperation supplying the Subscription object’s subscription-id, which causes the Printer to return all un-expired Event Notifications held for that Subscription object. If the Notification Recipient hasselected the Event Wait Mode option to wait for additional EventNotifications, the response to the Get-Notifications requestcontinues indefinitely as the Printer continues to send EventHerriot, et al. Standards Track [Page 4]Notifications in the response as Events occur for that Subscriptionobject.When the Notification Recipient requests Event Notifications forPer-Job Subscription Objects, the Notification Recipient typicallyperforms the Get-Notifications operation within a second ofperforming the Subscription Creation operation. Because the Printer MUST save Event Notifications for at least 15 seconds (see section8.1), the Notification Recipient is unlikely to miss any EventNotifications that occur between the Subscription Creation and theGet-Notifications operation.The ’ippget’ Delivery Method is designed primarily for (1) a clientthat wants to get Events (from the job’s Per-Job Subscription object) for a job that it has submitted and (2) a privileged client thatwants to get all job or printer Events from a Per-PrinterSubscription object.4. General InformationIf a Printer supports this Delivery Method, the following are itscharacteristics.Table 1. Information about the Delivery MethodDocument Method Conformance Requirement Delivery MethodRealization1. What is the URL scheme name for the ’ippget’ keyword methodPush Delivery Method, or the keyword namemethod name for the Pull DeliveryMethod?2. Is the Delivery Method REQUIRED, REQUIREDRECOMMENDED, or OPTIONAL for an IPPPrinter to support?3. What transport and delivery protocols IPP with one newdoes the Printer use to deliver the operation.Event Notification Content; i.e.,what is the entire network stack?4. Can several Event Notifications be Yes.combined into a Compound EventNotification?Herriot, et al. Standards Track [Page 5]5. Is the Delivery Method initiated by This Delivery Method isthe Notification Recipient (pull), a pull method withor by the Printer (push)? aspects of a pushmethod, though thePrinter does notinitiate the operation.6. Is the Event Notification content Machine Consumable.Machine Consumable or HumanConsumable?7. What section in this document answers Section 5.the following questions? For a MachineConsumable Event Notification, what isthe representation and encoding ofvalues defined in section 9.1 of[RFC3995], and what are theconformance requirements thereof? Fora Human Consumable Event Notification,what is the representation andencoding of pieces of informationdefined in section 9.2 of[RFC3995], and the conformancerequirements thereof?8. What are the latency and reliability Same as IPP and theof the transport and delivery underlying HTTPprotocol? transport.9. What are the security aspects of the Same as IPP and thetransport and delivery protocol; underlying HTTPe.g., how it is handled in transport and in thefirewalls? same direction, so nonew firewallconsiderations.10. What are the content length None.restrictions?11. What are the additional values or None.pieces of information that a Printersends in an Event Notification contentand the conformance requirementsthereof?Herriot, et al. Standards Track [Page 6]12. What are the additional Subscription None.Template and/or SubscriptionDescription attributes and theconformance requirements thereof?13. What are the additional Printer "ipp-event-life"Description attributes and the (integer (15: MAX))conformance requirements thereof?5. Get-Notifications OperationThis operation is issued by a client acting in the role of aNotification Recipient requesting the Printer to return all EventNotifications held for the identified Subscription object(s).A Printer MUST support this operation, MUST accept the request in any state (see [RFC2911] "printer-state" and "printer-state-reasons"attributes), and MUST remain in the same state with the same"printer-state-reasons" values.When a Printer performs this operation, it MUST return all and onlythose Event Notifications1. whose associated Subscription Object’s "notify-subscription-id"Subscription Description attribute equals one of the values ofthe "notify-subscription-ids" (1setOf integer(1:MAX)) operationattribute AND2. whose associated Subscription Object contains the "notify-pull-method" attribute and it has the ’ippget’ keyword value, AND3. whose "notify-sequence-number" is equal to or greater than thecorresponding value of the "notify-sequence-numbers" (1setOfinteger(1:MAX)) operation attribute if supplied AND4. whose Event Life has not yet expired AND5. where the Notification Recipient client has read-access rights to the identified Subscription Object (see Access Rights paragraphbelow).The Notification Recipient client MUST either (a) request Event Wait Mode by supplying the "notify-wait" operation attribute with a ’true’ value or (b) suppress Event Wait Mode by omitting the "notify-wait"operation attribute or by supplying it with a ’false’ value. Toterminate Event Wait Mode subsequently, the Notification Recipientclient MUST close the connection. To terminate Event Wait Mode, the Printer MUST either (a) return the "notify-get-interval" operation Herriot, et al. Standards Track [Page 7]attribute in a Get-Notifications response (RECOMMENDED behavior) or(b) close the connection. The "notify-get-interval" operationattributes tell the Notification Recipient how long to wait beforetrying a subsequent Get-Notifications request.Access Rights: The authenticated user (see [RFC2911], section 8.3)performing this operation MUST be (1) the owner of each Subscription Object identified by the "notify-subscription-ids" operationattribute (see section 5.1.1), (2) an operator or administrator ofthe Printer (see [RFC2911], sections 1 and 8.5), or (3) otherwiseauthorized by the Printer’s administrator-configured security policy to request Event Notifications from the target SubscriptionObject(s). Otherwise, the IPP Printer MUST reject the operation and return: ’client-error-forbidden’, ’client-error-not-authenticated’,or ’client-error-not-authorized’ status code, as appropriate.Furthermore, the Printer’s security policy MAY limit the attributesreturned by the Get-Notifications operation, in a manner similar tothat of the Get-Job-Attributes operation (see [RFC2911], end ofsection 3.3.4.2).5.1. Get-Notifications RequestThe following groups of attributes are part of the Get-Notifications Request:Group 1: Operation AttributesNatural Language and Character Set:The "attributes-charset" and "attributes-natural-language"attributes, as described in [RFC2911], section 3.1.4.1.Target:The "printer-uri" (uri) operation attribute that is the target for this operation as described in [RFC2911], section 3.1.5.Requesting User Name:The "requesting-user-name" (name(MAX)) attribute SHOULD besupplied by the client as described in [RFC2911], section 8.3.5.1.1. notify-subscription-ids (1setOf integer(1:MAX))This attribute identifies one or more Subscription objects for which Events are requested. The client MUST supply this attribute with at least one value. The Printer object MUST support this attribute with multiple values.If no Subscription Object exists with the supplied identifier, or if the identified Subscription Object does not contain the "notify-Herriot, et al. Standards Track [Page 8]pull-method" attribute with the ’ippget’ keyword value, the PrinterMUST return the ’client-error-not-found’ status code.Note: The name of both the "notify-subscription-ids" and"notify-sequence-numbers" end in ’s’, as they are multi-valued. However, there are other occurrences of these attribute nameswithout the ’s’ that are single valued.5.1.2. notify-sequence-numbers (1setOf integer(1:MAX))This attribute specifies one or more of the lowest Event Notification sequence number values for the Subscription objects identified by the corresponding values of the "notify-subscription-ids" operationattribute. The Notification Recipient SHOULD supply this attribute, and the number of values SHOULD be the same as that of the "notify-subscriptions-ids" attribute. The Printer MUST support thisattribute with multiple values.The Printer MUST NOT return Notification Events with lower sequencenumbers for the corresponding Subscription object. Therefore, bysupplying the proper values for this attribute the NotificationRecipient can prevent getting the same Event Notifications from aSubscription object that were returned on a previous Get-Notifications request. The Notification Recipient SHOULD rememberthe highest "notify-sequence-number" value returned for eachSubscription object requested and SHOULD pass that value for eachrequested Subscription object on the next Get-Notifications request. If the Notification Recipient supplies fewer values for thisattribute (including omitting this attribute) than it does for the"notify-subscription-ids" operation attribute, the Printer assumes a ’1’ value for each missing value. A value of ’1’ causes the Printer to return any un-expired Event Notification for that Subscriptionobject, as ’1’ is the lowest possible sequence number. If theNotification Recipient supplies more values for this attribute thanthe number of values for the "notify-subscription-ids" operationattribute, the Printer ignores the extra values.Note: If a Notification Recipient performs two consecutive Get-Notifications operations with the same value for "notify-sequence-number" (or omits the attribute), the time stamp value of the firstEvent Notification in the second Get-Notifications Response may beless than that of the time stamp of the last Event Notification inthe first Get-Notification Response. This happens because thePrinter sends all unexpired Event Notifications with an equal orhigher sequence number according to the ordering specified in[RFC3995], and some Event Notifications from the first Get-Herriot, et al. Standards Track [Page 9]Notifications operation may not have expired by the time the secondGet-Notifications operation occurs.5.1.3. notify-wait (boolean)This value indicates whether the Notification Recipient wants EventWait Mode. The client MAY supply this attribute. The Printer object MUST support both values of this attribute.If the client supplies the ’false’ value or omits this attribute, the client is not requesting Event Wait Mode. If the value is ’true’,the client is requesting Event Wait Mode. See the beginning ofsection 5.2 for the rules for Event Wait Mode.5.2. Get-Notifications ResponseThe Printer has the following options for responding to a Get-Notifications Request:1. The Printer can reject the request and return the ’server-error- busy’ status code if the Printer is too busy to accept thisoperation at this time. In this case, the Printer MUST returnthe "get-notify-interval" operation attribute to indicate whenthe client SHOULD try again.2. If the Notification Recipient did not request Event Wait Mode("notify-wait-mode" = ’false’ or omitted), the Printer MUSTimmediately return whatever Event Notifications it currentlyholds in the requested Subscription object(s) and MUST return the "notify-get-interval" operation attribute with the number ofseconds from now, at which the Notification Recipient SHOULDrepeat the Get-Notifications Request to get future EventNotifications.3. If the Notification Recipient requested Event Wait Mode("notify-wait-mode" = ’true’), the Printer MUST immediatelyreturn whatever Event Notifications it currently holds in therequested Subscription object(s) and MUST continue to returnEvent Notifications as they occur until all the requestedSubscription Objects are canceled. A Subscription Object iscanceled either via the Cancel-Subscription operation or by thePrinter (e.g., the Subscription Object is canceled when theassociated Job completes and is no longer in the Job Retention or Job History phase; see the "ippget-event-life (integer(15:MAX))" attribute discussion in section 8.1).However, the Printer MAY decide to terminate Event Wait Mode atany time, including in the first response. In this case, the Herriot, et al. Standards Track [Page 10]Printer MUST return the "notify-get-interval" operationattribute. This attribute indicates that the Printer wishes toleave Event Wait Mode and the number of seconds in the futurethat the Notification Recipient SHOULD try the Get-Notifications operation again. The Notification Recipient MUST accept thisresponse and MUST disconnect. If the Notification Recipient does not disconnect, the Printer SHOULD do so.From the Notification Recipient’s view, the response appears as aninitial burst of data, which includes the Operation Attributes Group and one Event Notification Attributes Group per Event Notificationthat the Printer is holding. After the initial burst of data, if the Notification Recipient has selected the Event Wait Mode option towait for additional Event Notifications, the Notification Recipientreceives occasional Event Notification Attribute Groups. Proxyservers may delay some Event Notifications or cause time-outs tooccur. The client MUST be prepared to perform the Get-Notifications operation again when time-outs occur.Each attribute is encoded by using the IPP rules for encodingattributes [RFC2910] and MAY be encoded in any order. Note: theGet-Jobs response in [RFC2911] acts as a model for encoding multiple groups of attributes. See section 11 for the encoding and transport rules.The following groups of attributes are part of the Get-Notifications Response:Group 1: Operation AttributesStatus Message: In addition to the REQUIRED status code returned in every response, the response OPTIONALLY includes a "status- message" (text(255)) and/or a "detailed-status-message"(text(MAX)) operation attribute, as described in [RFC2911],sections 13 and 3.1.6.The Printer can return any status codes defined in [RFC2911].If the status code is not ’successful-xxx’, the Printer MUSTNOT return any Event Notification Attribute groups. Thefollowing are descriptions of the important status codes:successful-ok: The response contains all Event Notification associated with the specified subscription-ids that hadbeen supplied in the "notify-subscription-ids" operation attribute in the request. If the requested Subscription Objects have no associated Event Notification, theresponse MUST contain zero Event Notifications.Herriot, et al. Standards Track [Page 11]successful-ok-events-complete: Indicates when this returnis the last return for all Subscription objects thatmatch the request, whether or not Event Notifications are returned. This condition occurs for Event Wait Mode with Notification Recipients waiting for responses when (1)the Subscription Object is canceled with a Cancel-Subscription operation, (2) the Subscription Object isdeleted, when the Per-Printer Subscription lease timeexpires, or (3) the ’job-completed’ event occurs for aPer-Job Subscription. This condition also occurs for aGet-Notifications request that a Notification Recipientmakes after the job completes, but before the Event Life expires. See section 10.1.client-error-not-found: The Printer has no SubscriptionObjects whose "notify-subscription-id" attribute equalsany of the values of the "notify-subscription-ids"operation attribute supplied, or the identifiedSubscription Object does not contain the "notify-pull-method" attribute with the ’ippget’ keyword value.server-error-busy: The Printer is too busy to accept thisoperation. The Printer SHOULD return the "notify-get-interval" operation attribute in the Operation Attributes of the response; then the Notification Recipient SHOULDwait for the number of seconds specified by the "notify- get-interval" operation attribute before performing this operation again. If the "notify-get-interval" Operation Attribute is not present, the Notification RecipientSHOULD use the normal network back-off algorithms todetermine when to perform this operation again.Natural Language and Character Set:The "attributes-charset" and "attributes-natural-language"attributes, as described in [RFC2911], section 3.1.4.2.The Printer MUST use the values of "notify-charset" and"notify-natural-language", respectively, from one Subscription Object associated with the Event Notifications in thisresponse.Normally, there is only one matched Subscription Object, or the value of the "notify-charset" and "notify-natural-language"attributes is the same in all Subscription Objects. If not,the Printer MUST pick one Subscription Object from which toobtain the value of these attributes. The algorithm forpicking the Subscription Object is implementation dependent.The choice of natural language is not critical, because ’text’ and ’name’ values can override the "attributes-natural-language" operation attribute. The Printer’s choice of charset Herriot, et al. Standards Track [Page 12]。