Bug 12456 - ssh -f -w 0:1 рвёт соединение при большом трафике
Summary: ssh -f -w 0:1 рвёт соединение при большом трафике
Status: CLOSED WORKSFORME
Alias: None
Product: Sisyphus
Classification: Development
Component: openssh-server (show other bugs)
Version: unstable
Hardware: all Linux
: P2 major
Assignee: Gleb F-Malinovskiy
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-03 12:33 MSD by Anton Farygin
Modified: 2008-09-13 05:09 MSD (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Farygin 2007-08-03 12:33:07 MSD
Если построить туннель с помощью ssh -f -w, то при попытке прокачать большой
объём данных через этот туннел соединение будет разорвано на стороне сервера.

В логах вылезает переодически такое сообщение:
fatal: Read from socket failed: Connection reset by peer
И вот такое:
reverse mapping checking getaddrinfo for xxx.cc.ru [1xx.1xx.1xx.xx] failed -
POSSIBLE BREAK-IN 
ATTEMPT!
Comment 1 Anton Farygin 2007-09-25 12:37:28 MSD
Нет никаких изменений с этой ошибкой ?

Вылезает это здесь:
        memset(&hints, 0, sizeof(hints));
        hints.ai_family = from.ss_family;
        hints.ai_socktype = SOCK_STREAM;
        if (getaddrinfo(name, NULL, &hints, &aitop) != 0) {
                logit("reverse mapping checking getaddrinfo for %.700s "
                    "[%s] failed - POSSIBLE BREAK-IN ATTEMPT!", name, ntop);
                return xstrdup(ntop);
        }

В файле canohost.c

Воспроизводится ещё у sbolshakov
Comment 2 Dmitry V. Levin 2008-05-26 18:23:32 MSD
(In reply to comment #1)
> Нет никаких изменений с этой ошибкой ?

С какой версией openssh проблемы?
Comment 3 Anton Farygin 2008-05-27 06:23:56 MSD
Сейчас не могу воспроизвести - отказался от таких туннелей в пользу openvpn.
Comment 4 Sergey Bolshakov 2008-05-27 12:57:01 MSD
я использую с 4.7p1-alt1. давно не воспроизводилось.
Comment 5 Dmitry V. Levin 2008-09-13 05:09:38 MSD
Не воспроизводится.