IdResourceStringsCore.pas 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288
  1. {
  2. $Project$
  3. $Workfile$
  4. $Revision$
  5. $DateUTC$
  6. $Id$
  7. This file is part of the Indy (Internet Direct) project, and is offered
  8. under the dual-licensing agreement described on the Indy website.
  9. (http://www.indyproject.org/)
  10. Copyright:
  11. (c) 1993-2005, Chad Z. Hower and the Indy Pit Crew. All rights reserved.
  12. }
  13. {
  14. $Log$
  15. }
  16. {
  17. Rev 1.5 12/2/2004 9:26:44 PM JPMugaas
  18. Bug fix.
  19. Rev 1.4 11/11/2004 10:25:24 PM JPMugaas
  20. Added OpenProxy and CloseProxy so you can do RecvFrom and SendTo functions
  21. from the UDP client with SOCKS. You must call OpenProxy before using
  22. RecvFrom or SendTo. When you are finished, you must use CloseProxy to close
  23. any connection to the Proxy. Connect and disconnect also call OpenProxy and
  24. CloseProxy.
  25. Rev 1.3 11/11/2004 3:42:52 AM JPMugaas
  26. Moved strings into RS. Socks will now raise an exception if you attempt to
  27. use SOCKS4 and SOCKS4A with UDP. Those protocol versions do not support UDP
  28. at all.
  29. Rev 1.2 2004.05.20 11:39:12 AM czhower
  30. IdStreamVCL
  31. Rev 1.1 6/4/2004 5:13:26 PM SGrobety
  32. EIdMaxCaptureLineExceeded message string
  33. Rev 1.0 2004.02.03 4:19:50 PM czhower
  34. Rename
  35. Rev 1.15 10/24/2003 4:21:56 PM DSiders
  36. Addes resource string for stream read exception.
  37. Rev 1.14 2003.10.16 11:25:22 AM czhower
  38. Added missing ;
  39. Rev 1.13 10/15/2003 11:11:06 PM DSiders
  40. Added resource srting for exception raised in TIdTCPServer.SetScheduler.
  41. Rev 1.12 10/15/2003 11:03:00 PM DSiders
  42. Added resource string for circular links from transparent proxy.
  43. Corrected spelling errors.
  44. Rev 1.11 10/15/2003 10:41:34 PM DSiders
  45. Added resource strings for TIdStream and TIdStreamProxy exceptions.
  46. Rev 1.10 10/15/2003 8:48:56 PM DSiders
  47. Added resource strings for exceptions raised when setting thread component
  48. properties.
  49. Rev 1.9 10/15/2003 8:35:28 PM DSiders
  50. Added resource string for exception raised in TIdSchedulerOfThread.NewYarn.
  51. Rev 1.8 10/15/2003 8:04:26 PM DSiders
  52. Added resource strings for exceptions raised in TIdLogFile, TIdReply, and
  53. TIdIOHandler.
  54. Rev 1.7 10/15/2003 1:03:42 PM DSiders
  55. Created resource strings for TIdBuffer.Find exceptions.
  56. Rev 1.6 2003.10.14 1:26:44 PM czhower
  57. Uupdates + Intercept support
  58. Rev 1.5 10/1/2003 10:49:02 PM GGrieve
  59. Rework buffer for Octane Compability
  60. Rev 1.4 7/1/2003 8:32:32 PM BGooijen
  61. Added RSFibersNotSupported
  62. Rev 1.3 7/1/2003 02:31:34 PM JPMugaas
  63. Message for invalid IP address.
  64. Rev 1.2 5/14/2003 6:40:22 PM BGooijen
  65. RS for transparent proxy
  66. Rev 1.1 1/17/2003 05:06:04 PM JPMugaas
  67. Exceptions for scheduler string.
  68. Rev 1.0 11/13/2002 08:42:02 AM JPMugaas
  69. }
  70. unit IdResourceStringsCore;
  71. interface
  72. {$i IdCompilerDefines.inc}
  73. resourcestring
  74. RSNoBindingsSpecified = 'No bindings specified.';
  75. RSCannotAllocateSocket = 'Cannot allocate socket.';
  76. RSSocksUDPNotSupported = 'UDP is not support in this SOCKS version.';
  77. RSSocksRequestFailed = 'Request rejected or failed.';
  78. RSSocksRequestServerFailed = 'Request rejected because SOCKS server cannot connect.';
  79. RSSocksRequestIdentFailed = 'Request rejected because the client program and identd report different user-ids.';
  80. RSSocksUnknownError = 'Unknown socks error.';
  81. RSSocksServerRespondError = 'Socks server did not respond.';
  82. RSSocksAuthMethodError = 'Invalid socks authentication method.';
  83. RSSocksAuthError = 'Authentication error to socks server.';
  84. RSSocksServerGeneralError = 'General SOCKS server failure.';
  85. RSSocksServerPermissionError = 'Connection not allowed by ruleset.';
  86. RSSocksServerNetUnreachableError = 'Network unreachable.';
  87. RSSocksServerHostUnreachableError = 'Host unreachable.';
  88. RSSocksServerConnectionRefusedError = 'Connection refused.';
  89. RSSocksServerTTLExpiredError = 'TTL expired.';
  90. RSSocksServerCommandError = 'Command not supported.';
  91. RSSocksServerAddressError = 'Address type not supported.';
  92. RSInvalidIPAddress = 'Invalid IP Address';
  93. RSInterceptCircularLink = '%s: Circular links are not allowed';
  94. RSNotEnoughDataInBuffer = 'Not enough data in buffer. (%d/%d)';
  95. RSTooMuchDataInBuffer = 'Too much data in buffer.';
  96. RSCapacityTooSmall = 'Capacity cannot be smaller than Size.';
  97. RSBufferIsEmpty = 'No bytes in buffer.';
  98. RSBufferRangeError = 'Index out of bounds.';
  99. RSFileNotFound = 'File "%s" not found';
  100. RSNotConnected = 'Not Connected';
  101. RSObjectTypeNotSupported = 'Object type not supported.';
  102. RSIdNoDataToRead = 'No data to read.';
  103. RSReadTimeout = 'Read timed out.';
  104. RSReadLnWaitMaxAttemptsExceeded = 'Max line read attempts exceeded.';
  105. RSAcceptTimeout = 'Accept timed out.';
  106. RSReadLnMaxLineLengthExceeded = 'Max line length exceeded.';
  107. RSRequiresLargeStream = 'Set LargeStream to True to send streams greater than 2GB';
  108. RSDataTooLarge = 'Data is too large for stream';
  109. RSConnectTimeout = 'Connect timed out.';
  110. RSICMPNotEnoughtBytes = 'Not enough bytes received';
  111. RSICMPNonEchoResponse = 'Non-echo type response received';
  112. RSThreadTerminateAndWaitFor = 'Cannot call TerminateAndWaitFor on FreeAndTerminate threads';
  113. RSAlreadyConnected = 'Already connected.';
  114. RSTerminateThreadTimeout = 'Terminate Thread Timeout';
  115. RSNoExecuteSpecified = 'No execute handler found.';
  116. RSNoCommandHandlerFound = 'No command handler found.';
  117. RSCannotPerformTaskWhileServerIsActive = 'Cannot perform task while server is active.';
  118. RSThreadClassNotSpecified = 'Thread Class Not Specified.';
  119. RSMaximumNumberOfCaptureLineExceeded = 'Maximum number of line allowed exceeded'; // S.G. 6/4/2004: IdIOHandler.DoCapture
  120. RSNoCreateListeningThread = 'Cannot create listening thread.';
  121. RSInterceptIsDifferent = 'The IOHandler already has a different Intercept assigned';
  122. //scheduler
  123. RSchedMaxThreadEx = 'The maximum number of threads for this scheduler is exceeded.';
  124. //transparent proxy
  125. RSTransparentProxyCannotBind = 'Transparent proxy cannot bind.';
  126. RSTransparentProxyCanNotSupportUDP = 'UDP Not supported by this proxy.';
  127. //Fibers
  128. RSFibersNotSupported = 'Fibers are not supported on this system.';
  129. // TIdICMPCast
  130. RSIPMCastInvalidMulticastAddress = 'The supplied IP address is not a valid multicast address.';
  131. RSIPMCastNotSupportedOnWin32 = 'This function is not supported on Win32.';
  132. RSIPMCastReceiveError0 = 'IP Broadcast Receive Error = 0.';
  133. // Log strings
  134. RSLogConnected = 'Connected.';
  135. RSLogDisconnected = 'Disconnected.';
  136. RSLogEOL = '<EOL>'; // End of Line
  137. RSLogCR = '<CR>'; // Carriage Return
  138. RSLogLF = '<LF>'; // Line feed
  139. RSLogRecv = 'Recv '; // Receive
  140. RSLogSent = 'Sent '; // Send
  141. RSLogStat = 'Stat '; // Status
  142. RSLogFileAlreadyOpen = 'Unable to set Filename while log file is open.';
  143. RSBufferMissingTerminator = 'Buffer terminator must be specified.';
  144. RSBufferInvalidStartPos = 'Buffer start position is invalid.';
  145. RSIOHandlerCannotChange = 'Cannot change a connected IOHandler.';
  146. RSIOHandlerTypeNotInstalled = 'No IOHandler of type %s is installed.';
  147. RSReplyInvalidCode = 'Reply Code is not valid: %s';
  148. RSReplyCodeAlreadyExists = 'Reply Code already exists: %s';
  149. RSThreadSchedulerThreadRequired = 'Thread must be specified for the scheduler.';
  150. RSNoOnExecute = 'You must have an OnExecute event.';
  151. RSThreadComponentLoopAlreadyRunning = 'Cannot set Loop property when the Thread is already running.';
  152. RSThreadComponentThreadNameAlreadyRunning = 'Cannot set ThreadName when the Thread is already running.';
  153. RSStreamProxyNoStack = 'A Stack has not been created for converting the data type.';
  154. RSTransparentProxyCyclic = 'Transparent Proxy Cyclic error.';
  155. RSTCPServerSchedulerAlreadyActive = 'Cannot change the scheduler while the server is Active.';
  156. RSUDPMustUseProxyOpen = 'You must use proxyOpen';
  157. //ICMP stuff
  158. RSICMPTimeout = 'Timeout';
  159. //Destination Address -3
  160. RSICMPNetUnreachable = 'net unreachable;';
  161. RSICMPHostUnreachable = 'host unreachable;';
  162. RSICMPProtUnreachable = 'protocol unreachable;';
  163. RSICMPPortUnreachable = 'Port Unreachable';
  164. RSICMPFragmentNeeded = 'Fragmentation Needed and Don''t Fragment was Set';
  165. RSICMPSourceRouteFailed = 'Source Route Failed';
  166. RSICMPDestNetUnknown = 'Destination Network Unknown';
  167. RSICMPDestHostUnknown = 'Destination Host Unknown';
  168. RSICMPSourceIsolated = 'Source Host Isolated';
  169. RSICMPDestNetProhibitted = 'Communication with Destination Network is Administratively Prohibited';
  170. RSICMPDestHostProhibitted = 'Communication with Destination Host is Administratively Prohibited';
  171. RSICMPTOSNetUnreach = 'Destination Network Unreachable for Type of Service';
  172. RSICMPTOSHostUnreach = 'Destination Host Unreachable for Type of Service';
  173. RSICMPAdminProhibitted = 'Communication Administratively Prohibited';
  174. RSICMPHostPrecViolation = 'Host Precedence Violation';
  175. RSICMPPrecedenceCutoffInEffect = 'Precedence cutoff in effect';
  176. //for IPv6
  177. RSICMPNoRouteToDest = 'no route to destination';
  178. RSICMPAAdminDestProhibitted = 'communication with destination administratively prohibited';
  179. RSICMPSourceFilterFailed = 'source address failed ingress/egress policy';
  180. RSICMPRejectRoutToDest = 'reject route to destination';
  181. // Destination Address - 11
  182. RSICMPTTLExceeded = 'time to live exceeded in transit';
  183. RSICMPHopLimitExceeded = 'hop limit exceeded in transit';
  184. RSICMPFragAsmExceeded = 'fragment reassembly time exceeded.';
  185. //Parameter Problem - 12
  186. RSICMPParamError = 'Parameter Problem (offset %d)';
  187. //IPv6
  188. RSICMPParamHeader = 'erroneous header field encountered (offset %d)';
  189. RSICMPParamNextHeader = 'unrecognized Next Header type encountered (offset %d)';
  190. RSICMPUnrecognizedOpt = 'unrecognized IPv6 option encountered (offset %d)';
  191. //Source Quench Message -4
  192. RSICMPSourceQuenchMsg = 'Source Quench Message';
  193. //Redirect Message
  194. RSICMPRedirNet = 'Redirect datagrams for the Network.';
  195. RSICMPRedirHost = 'Redirect datagrams for the Host.';
  196. RSICMPRedirTOSNet = 'Redirect datagrams for the Type of Service and Network.';
  197. RSICMPRedirTOSHost = 'Redirect datagrams for the Type of Service and Host.';
  198. //echo
  199. RSICMPEcho = 'Echo';
  200. //timestamp
  201. RSICMPTimeStamp = 'Timestamp';
  202. //information request
  203. RSICMPInfoRequest = 'Information Request';
  204. //mask request
  205. RSICMPMaskRequest = 'Address Mask Request';
  206. // Traceroute
  207. RSICMPTracePacketForwarded = 'Outbound Packet successfully forwarded';
  208. RSICMPTraceNoRoute = 'No route for Outbound Packet; packet discarded';
  209. //conversion errors
  210. RSICMPConvUnknownUnspecError = 'Unknown/unspecified error';
  211. RSICMPConvDontConvOptPresent = 'Don''t Convert option present';
  212. RSICMPConvUnknownMandOptPresent = 'Unknown mandatory option present';
  213. RSICMPConvKnownUnsupportedOptionPresent = 'Known unsupported option present';
  214. RSICMPConvUnsupportedTransportProtocol = 'Unsupported transport protocol';
  215. RSICMPConvOverallLengthExceeded = 'Overall length exceeded';
  216. RSICMPConvIPHeaderLengthExceeded = 'IP header length exceeded';
  217. RSICMPConvTransportProtocol_255 = 'Transport protocol > 255';
  218. RSICMPConvPortConversionOutOfRange = 'Port conversion out of range';
  219. RSICMPConvTransportHeaderLengthExceeded = 'Transport header length exceeded';
  220. RSICMPConv32BitRolloverMissingAndACKSet = '32 Bit Rollover missing and ACK set';
  221. RSICMPConvUnknownMandatoryTransportOptionPresent = 'Unknown mandatory transport option present';
  222. //mobile host redirect
  223. RSICMPMobileHostRedirect = 'Mobile Host Redirect';
  224. //IPv6 - Where are you
  225. RSICMPIPv6WhereAreYou = 'IPv6 Where-Are-You';
  226. //IPv6 - I am here
  227. RSICMPIPv6IAmHere = 'IPv6 I-Am-Here';
  228. // Mobile Regestration request
  229. RSICMPMobReg = 'Mobile Registration Request';
  230. //Skip
  231. RSICMPSKIP = 'SKIP';
  232. //Security
  233. RSICMPSecBadSPI = 'Bad SPI';
  234. RSICMPSecAuthenticationFailed = 'Authentication Failed';
  235. RSICMPSecDecompressionFailed = 'Decompression Failed';
  236. RSICMPSecDecryptionFailed = 'Decryption Failed';
  237. RSICMPSecNeedAuthentication = 'Need Authentication';
  238. RSICMPSecNeedAuthorization = 'Need Authorization';
  239. //IPv6 Packet Too Big
  240. RSICMPPacketTooBig = 'Packet Too Big (MTU = %d)';
  241. { TIdCustomIcmpClient }
  242. // TIdSimpleServer
  243. RSCannotUseNonSocketIOHandler = 'Cannot use a non-socket IOHandler';
  244. implementation
  245. end.