Jump to content

Recommended Posts

Posted (edited)

Добрый вечер

странная ситуация

в логах на коммутаторе куча таких сообщений

 

Dec  4 18:33:11  ex4550.sw sshd: SSHD_LOGIN_FAILED: Login failed for user 'root' from host '164.132.24.255'
Dec  4 18:33:13  ex4550.sw sshd[98376]: Received disconnect from 222.65.43.72: 11: Bye Bye [preauth]
Dec  4 18:33:13  ex4550.sw sshd[98377]: Received disconnect from 222.65.43.72: 11: Bye Bye
Dec  4 18:33:13  ex4550.sw sshd[98376]: Disconnected from 222.65.43.72 [preauth]
Dec  4 18:33:13  ex4550.sw inetd[1323]: /usr/sbin/sshd[98376]: exited, status 255
Dec  4 18:33:13  ex4550.sw sshd[98385]: Received disconnect from 123.126.40.65: 11: Bye Bye
Dec  4 18:33:13  ex4550.sw sshd[98384]: Received disconnect from 123.126.40.65: 11: Bye Bye [preauth]
Dec  4 18:33:13  ex4550.sw sshd[98384]: Disconnected from 123.126.40.65 [preauth]
Dec  4 18:33:13  ex4550.sw inetd[1323]: /usr/sbin/sshd[98384]: exited, status 255
Dec  4 18:33:14  ex4550.sw sshd[98382]: Connection closed by 114.219.157.97 [preauth]
Dec  4 18:33:14  ex4550.sw sshd[98383]: Connection closed by 114.219.157.97
Dec  4 18:33:14  ex4550.sw inetd[1323]: /usr/sbin/sshd[98382]: exited, status 255
Dec  4 18:33:14  ex4550.sw sshd: SSHD_LOGIN_FAILED: Login failed for user 'root' from host '216.189.159.39'

 

но в то же время в конфигурации настроен ACL:


dmitry@ex4550.sw> show configuration firewall family inet filter local_acl 
term terminal_access {
    from {
        source-address {
            10.10.13.0/24;
        }
        protocol tcp;
        destination-port [ telnet ssh ];
    }
    then accept;
}
term terminal_access_denied {
    from {
        protocol tcp;
        destination-port [ ssh telnet ];
    }
    then {
        discard;
    }
}
term default-term {
    then accept;
}

dmitry@ex4550.sw> show configuration system services ssh 
root-login deny-password;
no-passwords;
protocol-version v2;
rate-limit 3;

{master:0}

 

dmitry@ex4550.sw> show configuration interfaces lo0 
unit 0 {
    family inet {
        filter {
            input local_acl;
        }
    }
}

 

причем я сам, с адресов, отличных от указанных в ACL залогиниться не могу.

но судя по логам, кто-то активно на него пытается долбиться

 

Edited by jama
Posted

dmitry@ex4550.sw> show version 
fpc0:
--------------------------------------------------------------------------
Hostname: ex4550.sw
Model: ex4550-32f
Junos: 15.1R7.9
JUNOS EX  Software Suite [15.1R7.9]
JUNOS FIPS mode utilities [15.1R7.9]
JUNOS Online Documentation [15.1R7.9]
JUNOS EX 4500 Software Suite [15.1R7.9]
JUNOS Web Management Platform Package [15.1R7.9]
 

ПО вроде свежее

Posted

Насколько помню, на EX4550 сильно не разгонишься с длинными фильтрами разрешенного на Lo0 ) Ткам кончится раньше.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...
На сайте используются файлы cookie и сервисы аналитики для корректной работы форума и улучшения качества обслуживания. Продолжая использовать сайт, вы соглашаетесь с использованием файлов cookie и с Политикой конфиденциальности.