Stunnel error 10054 reading data from server

An application may receive the «10054» error when the application receives data from a connection on a computer that is running Windows 7 or Windows Server 2008 R2 if a TDI filter driver is installed Symptoms Consider the following scenario: You have a computer that is running Windows 7 or Windows Server 2008 R2. […]

Содержание

  1. An application may receive the «10054» error when the application receives data from a connection on a computer that is running Windows 7 or Windows Server 2008 R2 if a TDI filter driver is installed
  2. Symptoms
  3. Resolution
  4. Hotfix information
  5. Prerequisites
  6. Registry information
  7. Restart requirement
  8. Hotfix replacement information
  9. File information
  10. OpenSSL errno 10054,connection refused, whilst trying to connect to our server
  11. 2 Answers 2
  12. Ошибка Windows Sockets 10054
  13. socket error 10054
  14. 1 Answer 1
  15. SSH error 10054, Flow Socket Error Receiving Bytes
  16. 2 Answers 2
  17. Related
  18. Hot Network Questions
  19. Subscribe to RSS

An application may receive the «10054» error when the application receives data from a connection on a computer that is running Windows 7 or Windows Server 2008 R2 if a TDI filter driver is installed

Symptoms

Consider the following scenario:

You have a computer that is running Windows 7 or Windows Server 2008 R2.

A Transport Driver Interface (TDI) filter driver is installed on the computer. For example, a TDI filter driver is installed when you install McAfee VirusScan.

An application opens a TCP listening port to receive connections.

In this scenario, the application may receive the following error message:

WSAECONNRESET (10054) Connection reset by peer.
A existing connection was forcibly closed by the remote host.

This issue occurs because the TCP/IP driver does not close an incomplete TCP connection. Instead, the TCP/IP driver sends a notification that the TCP/IP driver is ready to receive data when the incomplete TCP connection is created. Therefore, the application receives an instance of the 10054 error that indicates that a connection is reset when the application receives data from the connection.

Resolution

To resolve this issue, install this hotfix.

Note This hotfix temporarily resolves this issue for application vendors before they migrate their implementation to Windows Filtering Platform (WFP). These application vendors use the TDI filter driver or the TDI extension driver (TDX) on a computer that is running Windows 7 or Windows Server 2008 R2.

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing the problem described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a «Hotfix download available» section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=supportNote The «Hotfix download available» form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

To apply this hotfix, you must be running Windows 7 or Windows Server 2008 R2.

Registry information

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:

322756 How to back up and restore the registry in WindowsTo enable the hotfix in this package, follow these steps:

In Registry Editor, locate the following registry subkey:

If you are running a 32-bit operating system, perform the following step:

Right-click the Parameters registry subkey, point to New, and then click DWORD Value.If you are running a 64-bit operating system, perform the following step:

Right-click the Parameters registry subkey, point to New, and then click DWORD (32-bit) Value.

Rename the new registry entry to TdxPrematureConnectIndDisabled and set the value to 1.

Restart requirement

You may have to restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

File information

The global version of this hotfix installs files that have the attributes that are listed in the following tables. The dates and the times for these files are listed in Coordinated Universal Time (UTC). The dates and the times for these files on your local computer are displayed in your local time together with your current daylight saving time (DST) bias. Additionally, the dates and the times may change when you perform certain operations on the files.

Windows 7 and Windows Server 2008 R2 file information notes

Important Windows 7 hotfixes and Windows Server 2008 R2 hotfixes are included in the same packages. However, hotfixes on the Hotfix Request page are listed under both operating systems. To request the hotfix package that applies to one or both operating systems, select the hotfix that is listed under «Windows 7/Windows Server 2008 R2» on the page. Always refer to the «Applies To» section in articles to determine the actual operating system that each hotfix applies to.

The MANIFEST files (.manifest) and the MUM files (.mum) that are installed for each environment are listed separately in the «Additional file information for Windows Server 2008 R2 and for Windows 7» section. MUM and MANIFEST files, and the associated security catalog (.cat) files, are extremely important to maintain the state of the updated components. The security catalog files, for which the attributes are not listed, are signed with a Microsoft digital signature.

Источник

OpenSSL errno 10054,connection refused, whilst trying to connect to our server

We are running a git server over https and didn’t have any trouble connecting because we all used visual studio to do so. Now someone wants to use the standard git bash and it fails to connect with the following error output.

I tried some different ciphersuites, nothing worked. Then it came to me that it might be that git doesn’t support ECDSA certificates yet. So I exchanged the ECDSA certificate for one with RSA. That also didn’t work.

Then I tried connecting with OpenSSL s_client with the following command:

This is the output from running the command:

I searched google for the error number 10054 and found it means connection refused. We use IIS 8.5 to supply the https endpoint for the git server. I can connect to the web environment through all webbrowsers and we can use the git server through the visual studio git interface. So I don’t think it’s a firewall issue. I’d like to know if anyone has experienced this problem before and if they could help us out here?

2 Answers 2

10054 is not connection refused, but connection reset by peer. This means, that a TCP connection was successfully established (s_client indicates CONNECTED) but when sending more data from the client to the server the server closed the connection without reading all the data (and send TCP RST back).

While this could be a firewall issue it could also indicate a problem at the server configuration, that is the server accepts the client but then cannot continue because of an invalid configuration. Such invalid configurations might be a missing permissions for the requested data, certificate without usable private key or others. I would suggest that you have a look at the server logs for more information.

I’ve also seen TCP RST with servers, load balancers or firewalls which do not understand current TLS versions and simply close the connection. Browsers work around this issue by transparently retrying with a lower TLS version. You might try if openssl s_client -ssl3 works against this server and you receive a certificate.

Источник

Ошибка Windows Sockets 10054

Причины возникновения
Причины этой ошибки разняться по своей «природе», но их объединяето то, что уже существующее (т.е. ранее установленое) соединение с клиентом разрывает сервер.

1. С версии 8.1.11 включен циклический перезапуск процессов, по наступлению интервала происходит автоматический перезапуск рабочих процессов rphost.

2. В некоторых случаях причиной ошибки могут стать утечки памяти.

3. Действия администратора в консоли (команда удалить пользователя)

4. Процесс rphost на серверном компьютере завершился аварийно

5. Ошибочное принятие высокой интенсивности пользователей за атаку на протокол в некоторых случаях Windows

6. Устаревание данных в кэшах

7. Плохо отслеживаемые события в фоновых процессах

8. Нестандартные запросы могут приводить к падениям rphost

Способы устранения
1. с 8.1.11 включен циклический перезапуск процессов, для анализа этого события на компьютере сервера 1С:Предприятия необходимо включить запись в технологический журнал событий PROC (пример файла logcfg.xml).
Когда процесс выключается, будет выведено событие PROC со свойством Txt=Process become disable.
Когда процесс останавливается, будет выведено событие PROC со свойством Txt=Process terminated. Any clients finished with error. Если аварийные завершения работы пользователей совпадают по времени с выводом этого события, то причиной является принудительная остановка рабочего процесса либо администратором (через консоль кластера), либо вследствие автоматического перезапуска.

2. перезагрузить сервер
3. убедиться, что причиной являются/не являются действия администратора в консоли
4. создать на сервере приложения два или более рабочих процесса, чтобы иметь возможность переподключиться в случаи сбоя рабочего процесса
5. Запусти программу regedit.exe, добавь новое значение типа DWORD с именем SynAttackProtect в раздел реестра HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesTcpipParameters и присвой ему значение 00000000
Имеет смысл делать для ОС Windows 2003 SP1 (http://msdn.microsoft.com/ru-ru/library/ms189083.aspx).

6. arp -d *
ipconfig /flushdns
ipconfig /registerdns
nbtstat -R
nbtstat -RR

7. отключить фоновые процессы во всех базах

8. найти технологическим журналом запрос, приводящий к падению

p.s. Кроме того, 54 ошибку можно получить на релизах 81(SQL) в типовой ТиС (демо, взятой с ИТС) релиз. 954 в клиент-серверном варианте.

обойти можно так:

— выполните конвертацию в файловый фариант информационной базы 1С:Предприятия 8.1,
— выгрузите полученную информационную базу в файл,
— загрузите в клиент-серверный вариант информационной базы 1С:Предприятия 8.1.

Источник

socket error 10054

I have a C/S program. Client use socket to send a file to server, after send approximate more than 700k data, client(on win7) will receive a socket 10054 error which means Connection reset by peer.

Server worked on CentOS 5.4, client is windows7 virtual machine run in virtual box. client and server communicate via a virtual network interface. The command port(send log) is normal, but the data port(send file) have the problem. If it was caused by wrong configuration of socket buffer size or something else? If anyone can help me check the problem. Thanks.

Every time I call socket send a buffer equals 4096 byte send(socket, buffer, 4096, 0 )

CentOS socket config.

I’m not quite understand what the socket buffer configuration means, if this will cause the receive incomplete result problem?

1 Answer 1

It’s almost definitely a bug in your code. Most likely, one side thinks the other side has timed out and so closes the connection abnormally. The most common way this happens it that you call a receive function to get data, but you actually already got that data and just didn’t realize it. So you’re waiting for data that you have already received and thus time out.

1) Client sends a message.

2) Client sends another message.

3) Server reads both messages but thinks it only got one, sends an acknowledge.

4) Client receives acknowledge, waits for second acknowledge which server will never send.

5) Server waits for second message which it actually already received.

Now the server is waiting for the client and the client is waiting for the server. The server was coded incorrectly and didn’t realize that it actually got two messages in one go. TCP does not preserve message boundaries.

If you tell me more about your protocol, I can probably tell you in more detail what went wrong. What constitutes a message? Which side sends when? Are there any acknowledgements? And so on.

But the short version is that each side is probably waiting for the other.

Most likely, the connection reset by peer is a symptom. Your problem occurs, one side times out and aborts the connection. That causes the other side to get a connection reset because the other side aborted the connection.

Источник

SSH error 10054, Flow Socket Error Receiving Bytes

While connecting to server over SSH .. The connection got established but, after 1-2 seconds it got disconnected giving error message.

Tried Bitvise SSH Client, WinSCP. Same issue.

Error «Flow Socket Error receiving Bytes. Windows error 10054, An existing connection was forcibly closed by remote host.»

Not able to do anything. Tried almost everything I found.

Ubuntu Server, Digital Ocean

2 Answers 2

On Bitvise SSH Client main window, Login Tab, unchecking «Enable Obfuscation» did the trick for me.

Long story short, you can get this error if Bitvise server has blocked the IP you are trying to connect from. Solution: open Bitvise server > Sessions Tab > Manage Blocked IP’s and unblock the offending IP

I’ve had this with a user today. It turned out the user was connecting using the Bitvise client but was also trying to connect with the same account through an orchistration in Cast Iron. The Orchistration was set up to login with a password and Bitvise Server had blocked the IP address she was connecting from.

Hot Network Questions

To subscribe to this RSS feed, copy and paste this URL into your RSS reader.

Site design / logo © 2023 Stack Exchange Inc; user contributions licensed under CC BY-SA . rev 2023.1.14.43159

By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.

Источник


Offline

nikeo

 


#1
Оставлено
:

24 апреля 2013 г. 17:28:14(UTC)

nikeo

Статус: Участник

Группы: Участники

Зарегистрирован: 24.04.2013(UTC)
Сообщений: 19
Откуда: Москва

Добрый день!

Появилась вот такая проблемка:

Пытаюсь создать тунель между клиентом и сервером PostgreSQL.В обычной версии stunnel все работает,а тут «сервер неожиданно закрыл соединение.
Конфиг клиента:

cert = c:stunnelotr_cl.cer

output = C:Crypto-Prostunnel.log
socket = l:TCP_NODELAY=1
socket = r:TCP_NODELAY=1
debug = 7

client = yes
[postgresql-9.2]
accept= 5433
connect = x.x.x.x:9000

Конфиг сервера:

output = C:stunnelstunnel.log
socket = l:TCP_NODELAY=1
socket = r:TCP_NODELAY=1
debug = 7
[https]

accept= x.x.x.x:9000
connect = 5432
cert = C:stunnelotr_cl.cer

Лог клиента(если закоментировать сертификат и поставить verify = 0):
2013.04.24 18:07:42 LOG7[3620:3628]: postgresql-9.2 accepted FD=336 from 127.0.0.1:1073
2013.04.24 18:07:42 LOG7[3620:3628]: Creating a new thread
2013.04.24 18:07:42 LOG7[3620:3628]: New thread created
2013.04.24 18:07:42 LOG7[3620:2600]: client start
2013.04.24 18:07:42 LOG7[3620:2600]: postgresql-9.2 started
2013.04.24 18:07:42 LOG7[3620:2600]: FD 336 in non-blocking mode
2013.04.24 18:07:42 LOG7[3620:2600]: TCP_NODELAY option set on local socket
2013.04.24 18:07:42 LOG5[3620:2600]: postgresql-9.2 connected from 127.0.0.1:1073
2013.04.24 18:07:42 LOG7[3620:2600]: FD 176 in non-blocking mode
2013.04.24 18:07:42 LOG7[3620:2600]: postgresql-9.2 connecting
2013.04.24 18:07:42 LOG7[3620:2600]: connect_wait: waiting 10 seconds
2013.04.24 18:07:42 LOG7[3620:2600]: connect_wait: connected
2013.04.24 18:07:42 LOG7[3620:2600]: Remote FD=176 initialized
2013.04.24 18:07:42 LOG7[3620:2600]: TCP_NODELAY option set on remote socket
2013.04.24 18:07:42 LOG7[3620:2600]: start SSPI connect
2013.04.24 18:07:42 LOG3[3620:2600]: Credentials complete
2013.04.24 18:07:42 LOG7[3620:2600]: 78 bytes of handshake data sent
2013.04.24 18:07:42 LOG5[3620:2600]: 2025 bytes of handshake(in handshake loop) data received.
2013.04.24 18:07:42 LOG5[3620:2600]: 210 bytes of handshake data sent
2013.04.24 18:07:42 LOG3[3620:2600]: **** Error 10054 reading data from server
2013.04.24 18:07:42 LOG3[3620:2600]: Error performing handshake
2013.04.24 18:07:42 LOG5[3620:2600]: Connection reset: 0 bytes sent to SSL, 0 bytes sent to socket
2013.04.24 18:07:42 LOG7[3620:2600]: free Buffers
2013.04.24 18:07:42 LOG7[3620:2600]: delete c->hContext
2013.04.24 18:07:42 LOG7[3620:2600]: delete c->hClientCreds
2013.04.24 18:07:42 LOG5[3620:2600]: incomp_mess = 0, extra_data = 0
2013.04.24 18:07:42 LOG7[3620:2600]: postgresql-9.2 finished (0 left)

Лог сервера:
2013.04.24 18:07:42 LOG7[1788:1196]: postgresql-9.2 accepted FD=296 from 192.168.139.132:1074
2013.04.24 18:07:42 LOG7[1788:1196]: Creating a new thread
2013.04.24 18:07:42 LOG7[1788:1196]: New thread created
2013.04.24 18:07:42 LOG7[1788:2300]: client start
2013.04.24 18:07:42 LOG7[1788:2300]: postgresql-9.2 started
2013.04.24 18:07:42 LOG7[1788:2300]: FD 296 in non-blocking mode
2013.04.24 18:07:42 LOG7[1788:2300]: TCP_NODELAY option set on local socket
2013.04.24 18:07:42 LOG5[1788:2300]: postgresql-9.2 connected from 192.168.139.132:1074
2013.04.24 18:07:42 LOG7[1788:2300]: accept_handshake start
2013.04.24 18:07:42 LOG7[1788:2300]: SSPINegotiate start
2013.04.24 18:07:42 LOG7[1788:2300]: reading in SSPINeg err = 78
2013.04.24 18:07:42 LOG7[1788:2300]: Recieve 78 bytes from client on SSPINegotiateLoop
2013.04.24 18:07:42 LOG7[1788:2300]: AcceptSecurityContext finish, scRet = 590610
2013.04.24 18:07:42 LOG5[1788:2300]: Send 2025 handshake bytes to client
2013.04.24 18:07:42 LOG7[1788:2300]: reading in SSPINeg err = 210
2013.04.24 18:07:42 LOG7[1788:2300]: Recieve 210 bytes from client on SSPINegotiateLoop
2013.04.24 18:07:42 LOG7[1788:2300]: AcceptSecurityContext finish, scRet = -2146893008
2013.04.24 18:07:42 LOG3[1788:2300]: Accept Security Context Failed with error code 80090330
2013.04.24 18:07:42 LOG3[1788:2300]: Couldn’t connect
2013.04.24 18:07:42 LOG5[1788:2300]: Connection reset: 0 bytes sent to SSL, 0 bytes sent to socket
2013.04.24 18:07:42 LOG7[1788:2300]: free Buffers
2013.04.24 18:07:42 LOG7[1788:2300]: delete c->hContext
2013.04.24 18:07:42 LOG5[1788:2300]: incomp_mess = 0, extra_data = 0
2013.04.24 18:07:42 LOG7[1788:2300]: postgresql-9.2 finished (0 left)

ОС пробовал на ХР и на Server2008…

В чем может быть ошибка?


Вверх

Пользователи, просматривающие эту тему

Guest

Быстрый переход
 

Вы не можете создавать новые темы в этом форуме.

Вы не можете отвечать в этом форуме.

Вы не можете удалять Ваши сообщения в этом форуме.

Вы не можете редактировать Ваши сообщения в этом форуме.

Вы не можете создавать опросы в этом форуме.

Вы не можете голосовать в этом форуме.


Offline

Semen_Se

 


#1
Оставлено
:

8 марта 2022 г. 15:28:51(UTC)

Semen_Se

Статус: Новичок

Группы готовые для захвата: Участники

Зарегистрирован: 19.01.2022(UTC)
Сообщений: 2

Доброго времени суток!

Настраиваю интеграцию с ГИИС ДМДК, сделал все как в инструкции.

Служба запускается, но связи нет и в логах следующее:

Пробовал и х64, и win32 — результата нет

В один момент решил скачать и запустить stunnel_msspi.exe — первый раз вышло окно с логом [server down],
второй раз — запустился и в трее иконка с зеленым цветом. Запускаю 1с и вижу, что связь с ГИИС ДМДК появилась.
Но это не всегда, после перезагрузки не запускается.

Сейчас я уже совсем в растерянности и не могу понять при каких условиях вообще связь появляется.

(пока писал пост, решил проверить и запустил stunnel_msspi.exe двойным кликом — запустился зеленым в трее,
глянул на службу stunnel — она остановлена)

Как сделать, чтобы stunnel стабильно работал автоматически, без танцев и костылей?


Вверх


Offline

two_oceans

 


#2
Оставлено
:

10 марта 2022 г. 1:47:45(UTC)

two_oceans

Статус: Эксперт

Группы: Участники

Зарегистрирован: 05.03.2015(UTC)
Сообщений: 1,598
Российская Федерация
Откуда: Иркутская область

Сказал(а) «Спасибо»: 110 раз
Поблагодарили: 388 раз в 363 постах

Добрый день.
Не первая тема по ДМДК. Ну, во-первых, все ссылаются на «инструкцию», как будто написана тут на форуме, выглядит странно.

Цитата:

E_NO_CREDENTIALS: 0x8009030e

Цитата:

Как сделать, чтобы stunnel стабильно работал автоматически, без танцев и костылей?

Полагаю, проблема в отсутствии прав пользователя, под которым запускается служба, на контейнер или в отсутствии сертификата в хранилище компьютера. Вкратце, если служба запускается под локальной системой, то хранить контейнер в реестре не выйдет. Как самый простой вариант, можно изменить пользователя, под которым запускается служба, на текущего (из-под которого работает запуск двойным кликом). Однако использование текущего пользователя для служб не рекомендовано из-за риска повредить реестр при внезапной остановке службы. Еще может быть не установлен криптопровайдер уровня ядра, он нужен для доступа к ключам гост из служб. Попробуйте «изменить» установку Криптопро CSP и проверить, что этот компонент установлен.

Рекомендовано такое: скопировать контейнер вместо Реестра на другой считыватель (флешка/токен/несистемный раздел диска/Директория); установить сертификат в хранилище компьютера со ссылкой на контейнер компьютера (это можно сделать, перезапустив панель управления КриптоПро в режиме администратора и выбрав переключатель «компьютера»). Далее дать права на него через остнастку сертификаты (локальный компьютер — хранилище Личное — правой кнопкой мыши по нужному сертификату — все задачи — управление закрытыми ключами — дать нужному пользователю (системе, например) полные права). После этого служба сможет найти ключ и использовать его.

Двойным же кликом Вы запускаете от текущего пользователя для которого сертификат и контейнер установлены и доступны — значок зеленый. Если на компьютере не требуется работа тоннеля когда никто не залогинен, то можно убрать службу, а ярлык на stunnel_msspi.exe закинуть в автозагрузку.

По поводу «не всегда запускается» дело возможно в том, что служба и приложение используют один конфиг и слушают один порт (ну 1С же настроен на конкретный порт). С этим есть ограничение сокетов в Windows — 2 процесса не смогут слушать один и тот же адрес:порт, один из них завершается с ошибкой, что порт уже занят. Следовательно, хороший шанс что порт займет служба (не имеющая доступа к ключу), а завершится приложение (если stunnel_msspi вообще автозапускается) (который имеет доступ к ключу) и ничего работать не будет. Нужно из разнести на разные порты или оставить что-то одно.

Отредактировано пользователем 10 марта 2022 г. 1:54:58(UTC)
 | Причина: Не указана


Вверх

Пользователи, просматривающие эту тему

Guest

Быстрый переход
 

Вы не можете создавать новые темы в этом форуме.

Вы не можете отвечать в этом форуме.

Вы не можете удалять Ваши сообщения в этом форуме.

Вы не можете редактировать Ваши сообщения в этом форуме.

Вы не можете создавать опросы в этом форуме.

Вы не можете голосовать в этом форуме.

Symptoms

Consider the following scenario:

  • You have a computer that is running Windows 7 or Windows Server 2008 R2.

  • A Transport Driver Interface (TDI) filter driver is installed on the computer. For example, a TDI filter driver is installed when you install McAfee VirusScan.

  • An application opens a TCP listening port to receive connections.

In this scenario, the application may receive the following error message:

WSAECONNRESET (10054) Connection reset by peer.
A existing connection was forcibly closed by the remote host.

This issue occurs because the TCP/IP driver does not close an incomplete TCP connection. Instead, the TCP/IP driver sends a notification that the TCP/IP driver is ready to receive data when the incomplete TCP connection is created. Therefore, the application receives an instance of the 10054 error that indicates that a connection is reset when the application receives data from the connection.

Resolution

To resolve this issue, install this hotfix.

Note This hotfix temporarily resolves this issue for application vendors before they migrate their implementation to Windows Filtering Platform (WFP). These application vendors use the TDI filter driver or the TDI extension driver (TDX) on a computer that is running Windows 7 or Windows Server 2008 R2.

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing the problem described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a «Hotfix download available» section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=supportNote The «Hotfix download available» form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

To apply this hotfix, you must be running Windows 7 or Windows Server 2008 R2.

Registry information

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:

322756 How to back up and restore the registry in WindowsTo enable the hotfix in this package, follow these steps:

  1. In Registry Editor, locate the following registry subkey:

    HKEY_LOCAL_MACHINESYSTEMCurrentControlSetservicesTcpipParameters

  2. If you are running a 32-bit operating system, perform the following step:

    Right-click the Parameters registry subkey, point to New, and then click DWORD Value.If you are running a 64-bit operating system, perform the following step:

    Right-click the Parameters registry subkey, point to New, and then click DWORD (32-bit) Value.

  3. Rename the new registry entry to TdxPrematureConnectIndDisabled and set the value to 1.

Restart requirement

You may have to restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

File information

The global version of this hotfix installs files that have the attributes that are listed in the following tables. The dates and the times for these files are listed in Coordinated Universal Time (UTC). The dates and the times for these files on your local computer are displayed in your local time together with your current daylight saving time (DST) bias. Additionally, the dates and the times may change when you perform certain operations on the files.

Windows 7 and Windows Server 2008 R2 file information notes


Important Windows 7 hotfixes and Windows Server 2008 R2 hotfixes are included in the same packages. However, hotfixes on the Hotfix Request page are listed under both operating systems. To request the hotfix package that applies to one or both operating systems, select the hotfix that is listed under «Windows 7/Windows Server 2008 R2» on the page. Always refer to the «Applies To» section in articles to determine the actual operating system that each hotfix applies to.

  • The MANIFEST files (.manifest) and the MUM files (.mum) that are installed for each environment are listed separately in the «Additional file information for Windows Server 2008 R2 and for Windows 7» section. MUM and MANIFEST files, and the associated security catalog (.cat) files, are extremely important to maintain the state of the updated components. The security catalog files, for which the attributes are not listed, are signed with a Microsoft digital signature.

For all supported x86-based versions of Windows 7

File name

File version

File size

Date

Time

Platform

Tdx.sys

6.1.7600.20796

74,752

09-Sep-2010

02:19

x86

For all supported x64-based versions of Windows 7 and of Windows Server 2008 R2

File name

File version

File size

Date

Time

Platform

Tdx.sys

6.1.7600.20796

101,376

09-Sep-2010

02:52

x64

For all supported IA-64-based versions of Windows Server 2008 R2

File name

File version

File size

Date

Time

Platform

Tdx.sys

6.1.7600.20796

236,032

09-Sep-2010

01:47

IA-64

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the «Applies to» section.

More Information

For more information about WFP, visit the following Microsoft website:

General information about WFPFor more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Additional file information

Additional file information for Windows 7 and for Windows Server 2008 R2

Additional files for all supported x86-based versions of Windows 7

File name

Package_1_for_kb981344~31bf3856ad364e35~x86~~6.1.2.0.mum

File version

Not Applicable

File size

1,820

Date (UTC)

09-Sep-2010

Time (UTC)

18:48

Platform

Not Applicable

File name

Package_2_for_kb981344~31bf3856ad364e35~x86~~6.1.2.0.mum

File version

Not Applicable

File size

1,825

Date (UTC)

09-Sep-2010

Time (UTC)

18:48

Platform

Not Applicable

File name

Package_3_for_kb981344~31bf3856ad364e35~x86~~6.1.2.0.mum

File version

Not Applicable

File size

1,805

Date (UTC)

09-Sep-2010

Time (UTC)

18:48

Platform

Not Applicable

File name

Package_for_kb981344_rtm~31bf3856ad364e35~x86~~6.1.2.0.mum

File version

Not Applicable

File size

2,421

Date (UTC)

09-Sep-2010

Time (UTC)

18:48

Platform

Not Applicable

File name

X86_bfb7f2e54887b839240a44ae0de89137_31bf3856ad364e35_6.1.7600.20796_none_3f3df7432361a4c5.manifest

File version

Not Applicable

File size

702

Date (UTC)

09-Sep-2010

Time (UTC)

18:48

Platform

Not Applicable

File name

X86_microsoft-windows-tdi-over-tcpip_31bf3856ad364e35_6.1.7600.20796_none_ea93f14a568e0aaf.manifest

File version

Not Applicable

File size

2,924

Date (UTC)

09-Sep-2010

Time (UTC)

04:58

Platform

Not Applicable

Additional files for all supported x64-based versions of Windows 7 and of Windows Server 2008 R2

File name

Amd64_8e30a6e4951f89c20ce3f8a1c04b9f2a_31bf3856ad364e35_6.1.7600.20796_none_8d28eb4c99ddf2d4.manifest

File version

Not Applicable

File size

706

Date (UTC)

09-Sep-2010

Time (UTC)

18:48

Platform

Not Applicable

File name

Amd64_microsoft-windows-tdi-over-tcpip_31bf3856ad364e35_6.1.7600.20796_none_46b28cce0eeb7be5.manifest

File version

Not Applicable

File size

2,926

Date (UTC)

09-Sep-2010

Time (UTC)

06:11

Platform

Not Applicable

File name

Package_1_for_kb981344~31bf3856ad364e35~amd64~~6.1.2.0.mum

File version

Not Applicable

File size

1,830

Date (UTC)

09-Sep-2010

Time (UTC)

18:48

Platform

Not Applicable

File name

Package_2_for_kb981344~31bf3856ad364e35~amd64~~6.1.2.0.mum

File version

Not Applicable

File size

2,057

Date (UTC)

09-Sep-2010

Time (UTC)

18:48

Platform

Not Applicable

File name

Package_3_for_kb981344~31bf3856ad364e35~amd64~~6.1.2.0.mum

File version

Not Applicable

File size

1,815

Date (UTC)

09-Sep-2010

Time (UTC)

18:48

Platform

Not Applicable

File name

Package_for_kb981344_rtm~31bf3856ad364e35~amd64~~6.1.2.0.mum

File version

Not Applicable

File size

2,659

Date (UTC)

09-Sep-2010

Time (UTC)

18:48

Platform

Not Applicable

Additional files for all supported IA-64-based versions of Windows Server 2008 R2

File name

Ia64_0bb425f9d3502a4be9efc4af61147428_31bf3856ad364e35_6.1.7600.20796_none_09467879be47b542.manifest

File version

Not Applicable

File size

704

Date (UTC)

09-Sep-2010

Time (UTC)

18:48

Platform

Not Applicable

File name

Ia64_microsoft-windows-tdi-over-tcpip_31bf3856ad364e35_6.1.7600.20796_none_ea959540568c13ab.manifest

File version

Not Applicable

File size

2,925

Date (UTC)

09-Sep-2010

Time (UTC)

05:48

Platform

Not Applicable

File name

Package_1_for_kb981344~31bf3856ad364e35~ia64~~6.1.2.0.mum

File version

Not Applicable

File size

2,051

Date (UTC)

09-Sep-2010

Time (UTC)

18:48

Platform

Not Applicable

File name

Package_for_kb981344_rtm~31bf3856ad364e35~ia64~~6.1.2.0.mum

File version

Not Applicable

File size

1,683

Date (UTC)

09-Sep-2010

Time (UTC)

18:48

Platform

Not Applicable

Need more help?

Natrv

1 / 1 / 0

Регистрация: 06.01.2011

Сообщений: 24

1

01.06.2011, 19:27. Показов 17359. Ответов 7

Метки нет (Все метки)


Всем привет. В кратце есть Инди UDPServer с него шлю сообщения на определённый адрес.Если послать сообщение на не существующий адрес в сети то в отладчики борланда будет выдано исключение ошибка сокета 10054. Если сделать уже все эти действия не с отладчика а напрямую скомпилировав экзешник и запустив, то исключение не выдается.Я всячески пытался поймать исключение причем исключение ставил на отправку (функция Send()) и где то прочитал что исключения возникает абсолютно не в функции отправки а где то внутри кода при приеме. Просто при посылке данных если на той стороне не открыт сокет на прием моему компу посылается сообщение «ошибка» и он получая его дает исключение 10054 недоступность сокета или что то подобное. Так вот если запускать экзешник посылать на не существующий адрес то как я говорил исключение не выдается, но после этого компонент просто становится в нехорошую позу и не посылает больше ничего пока не выйдешь из программы и заново ее не запустишь. Было найдено решение этой программы. Что бы не перезапускать прогу достаточно выполнить код

C++
1
UDPServer->Active = false; UDPServer->Bindings->Clear(); UDPServer->Active = true;

Если выполнить данное действие прога реанимируется и все прекрассно шлет. То есть решение взять таймер на 500мс и каждые 500 мс выполнять код который выше. Но это через одно место, а хочется по нормальному. Просьба помогите поймать исключение. Заранее всем спасибо.

__________________
Помощь в написании контрольных, курсовых и дипломных работ, диссертаций здесь



0



1090 / 588 / 121

Регистрация: 11.11.2008

Сообщений: 1,544

02.06.2011, 05:37

2

имеется в виду TIdUDPServer? если да, то какая версия Indy?
проект в студию можно?



0



1121 / 792 / 100

Регистрация: 01.02.2011

Сообщений: 1,865

Записей в блоге: 1

02.06.2011, 06:02

3

Natrv У меня тоже эта проблема была, перешел из-за этого на TNMUDP. 10054 ловится в самом начале обработчика приёма пакетов с помощью WSAGetLastError



1



1 / 1 / 0

Регистрация: 06.01.2011

Сообщений: 24

02.06.2011, 09:03

 [ТС]

4

Доброе утро. Версия 8.0.25. Если не ошибаюсь kzru_hunter я читал вашу тему и видел что вы перебрались на тот компонент.Но все таки хочется решить проблему. Чувствую нутром что это сам инди виноват. Но даже не знаю билдер ловит прога нет 8(



0



1090 / 588 / 121

Регистрация: 11.11.2008

Сообщений: 1,544

02.06.2011, 11:24

5

как ни прискорбно, но виноват сам инди. 8 версия глюкавая.
сам в свое время помаялся с подобными глюками.
всё заработало и пошло как по маслу только, когда установил bds2006 с Indy версии то ли 9, то ли 10, не припомню.

p.s. а вообще еще вот интересно зачем пытаться с сервака отправить что-то на несуществующий ip, точнее на хост, с которым не установлено соединение? инициатором по идее должен быть клиент.



1



1 / 1 / 0

Регистрация: 06.01.2011

Сообщений: 24

02.06.2011, 11:42

 [ТС]

6

Ясно. Спасибо Вам за помощь буду пытаться обновлять инди. То что клиент должен слать это я знаю. А зачем слать на не существующий айпишник поясню. Пытаемся отослать сообщение клиенту зная его айпишник а он в этот момент прогу закрыл или комп перезагрузил и все компонент встал Всем спасибо



0



1090 / 588 / 121

Регистрация: 11.11.2008

Сообщений: 1,544

02.06.2011, 12:11

7

Цитата
Сообщение от Natrv
Посмотреть сообщение

Пытаемся отослать сообщение клиенту зная его айпишник а он в этот момент прогу закрыл или комп перезагрузил и все компонент встал

однако в очень редких случаях, лишь при аварийных падениях клиент не успевает сообщить серваку что отцепился.
я про то что прежде чем бездумно делать Send непонятно вообще на какой IP-шник (откуда ты его берешь?) можно пробить через Bindings на связи этот ip вообще или нет.



0



1 / 1 / 0

Регистрация: 06.01.2011

Сообщений: 24

02.06.2011, 15:21

 [ТС]

8

Вообщем это типа удаленный админ я делаю. Так вот у меня в проге есть список контактов и есть список серверов. Я решил делать несколько серверов, а не один но очень часто часть серваков в сети а часть нет, вот откуда не существующие айпишники. Так вот прога опрашивает сервер получает свой айпи загружает контакт лист и опрашивает у сервака айпишники юзеров контакт листа. Все хорошо и можно делать бинд как вы говорите перед каждой посылкой. Но есть также звонилка как в скайпе передача видоозвонка и там постоянно по юдп я шлю сендом данные. вот там как раз пробивать перед отсылкой данных в сети или не в сети юзер наверное будет не очень правильно!? т.к. шлю я очень часто. но все равно спасибо про бинд я и не думал что можно замутить



0



Понравилась статья? Поделить с друзьями:
  • Stunnel error 0x80092004 returned by certfindcertificateinstore
  • Stunnel error 0x8009035d returned by initializesecuritycontext 2
  • Stunnel error 0x80090326 returned by initializesecuritycontext 2
  • Stunnel error 0x8009030e returned by verifycertchain
  • Studio library maya error