SMTP Service Extension for Authentication的外文翻译Word文档下载推荐.docx

上传人:b****8 文档编号:22390779 上传时间:2023-02-03 格式:DOCX 页数:13 大小:22.95KB
下载 相关 举报
SMTP Service Extension for Authentication的外文翻译Word文档下载推荐.docx_第1页
第1页 / 共13页
SMTP Service Extension for Authentication的外文翻译Word文档下载推荐.docx_第2页
第2页 / 共13页
SMTP Service Extension for Authentication的外文翻译Word文档下载推荐.docx_第3页
第3页 / 共13页
SMTP Service Extension for Authentication的外文翻译Word文档下载推荐.docx_第4页
第4页 / 共13页
SMTP Service Extension for Authentication的外文翻译Word文档下载推荐.docx_第5页
第5页 / 共13页
点击查看更多>>
下载资源
资源描述

SMTP Service Extension for Authentication的外文翻译Word文档下载推荐.docx

《SMTP Service Extension for Authentication的外文翻译Word文档下载推荐.docx》由会员分享,可在线阅读,更多相关《SMTP Service Extension for Authentication的外文翻译Word文档下载推荐.docx(13页珍藏版)》请在冰豆网上搜索。

SMTP Service Extension for Authentication的外文翻译Word文档下载推荐.docx

2.ConventionsUsedinthisDocument

Inexamples,"

C:

"

and"

S:

indicatelinessentbytheclientandserverrespectively.Thekeywords"

MUST"

"

MUSTNOT"

SHOULD"

SHOULDNOT"

and"

MAY"

inthisdocumentaretobeinterpretedasdefinedin"

KeywordsforuseinRFCstoIndicateRequirementLevels"

[KEYWORDS].

3.TheAuthenticationserviceextension

(1)thenameoftheSMTPserviceextensionis"

Authentication"

(2)theEHLOkeywordvalueassociatedwiththisextensionis"

AUTH"

(3)TheAUTHEHLOkeywordcontainsasaparameteraspaceseparatedlistofthenamesofsupportedSASLmechanisms.

(4)anewSMTPverb"

isdefined

(5)anoptionalparameterusingthekeyword"

isaddedtotheMAILFROMcommand,andextendsthemaximumlinelengthoftheMAILFROMcommandby500characters.

(6)thisextensionisappropriateforthesubmissionprotocol[SUBMIT].

4.TheAUTHcommandAUTHmechanism[initial-response]

Arguments:

astringidentifyingaSASLauthenticationmechanism.anoptionalbase64-encodedresponse

Restrictions:

AfteranAUTHcommandhassuccessfullycompleted,nomoreAUTHcommandsmaybeissuedinthesamesession.AfterasuccessfulAUTHcommandcompletes,aserverMUSTrejectanyfurtherAUTHcommandswitha503reply.TheAUTHcommandisnotpermittedduringamailtransaction.

Discussion:

TheAUTHcommandindicatesanauthenticationmechanismtotheserver.Iftheserversupportstherequestedauthenticationmechanism,itperformsanauthenticationprotocolexchangetoauthenticateandidentifytheuser.Optionally,italsonegotiatesasecuritylayerforsubsequentprotocolinteractions.Iftherequestedauthenticationmechanismisnotsupported,theserverrejectstheAUTHcommandwitha504reply.

Theauthenticationprotocolexchangeconsistsofaseriesofserverchallengesandclientanswersthatarespecifictotheauthenticationmechanism.Aserverchallenge,otherwiseknownasareadyresponse,isa334replywiththetextpartcontainingaBASE64encodedstring.TheclientanswerconsistsofalinecontainingaBASE64encodedstring.Iftheclientwishestocancelanauthenticationexchange,itissuesalinewithasingle"

*"

.Iftheserverreceivessuchananswer,itMUSTrejecttheAUTHcommandbysendinga501reply.

Theoptionalinitial-responseargumenttotheAUTHcommandisusedtosavearoundtripwhenusingauthenticationmechanismsthataredefinedtosendnodataintheinitialchallenge.

Whentheinitial-responseargumentisusedwithsuchamechanism,theinitialemptychallengeisnotsenttotheclientandtheserverusesthedataintheinitial-responseargumentasifitweresentinresponsetotheemptychallenge.Unlikeazero-lengthclientanswertoa334reply,azero-lengthinitialresponseissentasasingleequalssign("

="

).Iftheclientusesaninitial-responseargumenttotheAUTHcommandwithamechanismthatsendsdataintheinitialchallenge,theserverrejectstheAUTHcommandwitha535reply.

IftheservercannotBASE64decodetheargument,itrejectstheAUTHcommandwitha501reply.Iftheserverrejectstheauthenticationdata,itSHOULDrejecttheAUTHcommandwitha535replyunlessamorespecificerrorcode,suchasonelistedinsection6,isappropriate.Shouldtheclientsuccessfullycompletetheauthenticationexchange,theSMTPserverissuesa235reply.

Theservicenamespecifiedbythisprotocol'

sprofileofSASLis"

smtp"

.

IfasecuritylayerisnegotiatedthroughtheSASLauthenticationexchange,ittakeseffectimmediatelyfollowingtheCRLFthatconcludestheauthenticationexchangefortheclient,andtheCRLFofthesuccessreplyfortheserver.Uponasecuritylayer'

stakingeffect,theSMTPprotocolisresettotheinitialstate(thestateinSMTPafteraserverissuesa220servicereadygreeting).TheserverMUSTdiscardanyknowledgeobtainedfromtheclient,suchastheargumenttotheEHLOcommand,whichwasnotobtainedfromtheSASLnegotiationitself.TheclientMUSTdiscardanyknowledgeobtainedfromtheserver,suchasthelistofSMTPserviceextensions,whichwasnotobtainedfromtheSASLnegotiationitself(withtheexceptionthataclientMAYcomparethelistofadvertisedSASLmechanismsbeforeandafterauthenticationinordertodetectanactivedown-negotiationattack).TheclientSHOULDsendanEHLOcommandasthefirstcommandafterasuccessfulSASLnegotiationwhichresultsintheenablingofasecuritylayer.

Theserverisnotrequiredtosupportanyparticularauthenticationmechanism,norareauthenticationmechanismsrequiredtosupportanysecuritylayers.IfanAUTHcommandfails,theclientmaytryanotherauthenticationmechanismbyissuinganotherAUTHcommand.

IfanAUTHcommandfails,theserverMUSTbehavethesameasiftheclienthadnotissuedtheAUTHcommand.

TheBASE64stringmayingeneralbearbitrarilylong.ClientsandserversMUSTbeabletosupportchallengesandresponsesthatareaslongasaregeneratedbytheauthenticationmechanismstheysupport,independentofanylinelengthlimitationstheclientorservermayhaveinotherpartsofitsprotocolimplementation.

Examples:

220ESMTPserverready

EHLO

250-

250AUTHCRAM-MD5DIGEST-MD5

AUTHFOOBAR

504Unrecognizedauthenticationtype.

AUTHCRAM-MD5

235Authenticationsuccessful.

5.TheAUTHparametertotheMAILFROMcommand

AUTH=addr-spec

Anaddr-speccontainingtheidentitywhichsubmittedthemessagetothedeliverysystem,orthetwocharactersequence"

<

>

indicatingsuchanidentityisunknownorinsufficientlyauthenticated.

TheoptionalAUTHparametertotheMAILFROMcommandallowscooperatingagentsinatrustedenvironmenttocommunicatetheauthenticationofindividualmessages.

Iftheservertruststheauthenticatedidentityoftheclientto

assertthatthemessagewasoriginallysubmittedbythesuppliedaddr-spec,thentheserverSHOULDsupplythesameaddr-specinanAUTHparameterwhenrelayingthemessagetoanyserverwhichsupportstheAUTHextension.

AMAILFROMparameterofAUTH=<

indicatesthattheoriginalsubmitterofthemessageisnotknown.TheserverMUSTNOTtreatthemessageashavingbeenoriginallysubmittedbytheclient.

IftheAUTHparametertotheMAILFROMisnotsupplied,theclienthasauthenticated,andtheserverbelievesthemessageisanoriginalsubmissionbytheclient,theserverMAYsupplytheclient'

sidentityintheaddr-specinanAUTHparameterwhenrelayingthemessagetoanyserverwhichsupportstheAUTHextension.

Iftheserverdoesnotsufficientlytrusttheauthenticatedidentityoftheclient,oriftheclientisnotauthenticated,thentheserverMUSTbehaveasiftheAUTH=<

parameterwassupplied.TheserverMAY,however,writethevalueoftheAUTHparametertoalogfile.

IfanAUTH=<

parameterwassupplied,eitherexplicitlyorduetotherequirementinthepreviousparagraph,thentheserverMUSTsupplytheAUTH=<

parameterwhenrelayingthemessagetoanyserverwhichithasauthenticatedtousingtheAUTHextension.

AserverMAYtreatexpansionofamailinglistasanewsubmission,settingtheAUTHparametertothemailinglistaddressormailinglistadministrationaddresswhenrelayingthemessagetolistsubscribers.

Itisconformingforanimplementationtobehard-codedtotreatallclientsasbeinginsufficientlytrusted.Inthatcase,theimplementationdoesnothingmorethanparseanddiscardsyntacticallyvalidAUTHparameterstotheMAILFROMcommandandsupplyAUTH=<

parameterstoanyserverstowhichitauthenticatesusingtheAUTHextension.

MAILFROM:

e=mc2@>

AUTH=e+3Dmc2@

250OK

6.ErrorCodes

Thefollowingerrorcodesmaybeusedtoindicatevariousconditionsasdescribed.

432Apasswordtransitionisneeded

ThisresponsetotheAUTHcommandindicatesthattheuserneedstotransitiontotheselectedauthenticationmechanism.ThistypicallydonebyauthenticatingonceusingthePLAINauthenticationmechanism.

534Authenticationmechanismistooweak

ThisresponsetotheAUTHcommandindicatesthattheselectedauthenticationmechanismisweakerthanserverpolicypermitsforthatuser.

538Encryptionrequiredforrequestedauthenticationmechanism

ThisresponsetotheAUTHcommandindicatesthattheselectedauthenticationmechanismmayonlybeusedwhentheunderlyingSMTPconnectionisencrypted.

454Temporaryauthenticationfailure

ThisresponsetotheAUTHcommandindicatesthattheauthenticationfailedduetoatemporaryserverfailure.

530Authenticationrequired

ThisresponsemaybereturnedbyanycommandotherthanAUTH,EHLO,HELO,NOOP,RSET,orQUIT.Itindicatesthatserverpolicyrequiresauthenticationinordertoperformtherequestedaction.

7.FormalSyntax

ThefollowingsyntaxspecificationusestheaugmentedBackus-NaurForm(BNF)notationasspeci

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 成人教育 > 成考

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1