[j-nsp] how to disconnect/kill tcp session from juniper router

Aaron aaron1 at gvtc.com
Mon Nov 21 16:29:29 EST 2016


I have an unauthorized telnet session attached to my router but it does not
show up under "show system users" and they have not successfully logged so
it doesn't seem that I can do the "request system logout.." thing

 

I do however so unsuccessful login attempts in syslog

 

How do I kill/disconnect this tcp session ?

 

me at j1> show system connections | grep ".23 "

tcp4       0      0  109.109.109.109.23
181.181.181.181.55436                          ESTABLISHED

tcp4       0      0  *.23                                          *.*
LISTEN

tcp4       0      0  *.6023                                        *.*
LISTEN

tcp4       0      0  *.6023                                        *.*
LISTEN

udp4       0      0  128.0.0.1.123                                 *.*

udp4       0      0  *.123                                         *.*

udp4       0      0  *.6123                                        *.*

udp4       0      0  *.6123                                        *.*

 

 

{master:0}

me at j1> show system processes | grep "PID|telnet"

  PID  TT  STAT      TIME COMMAND

70193  ??  Is     0:00.00 telnetd

 

 

{master:0}

me at j1> start shell

% ps -awwux | grep telnet

root   70193  0.0  0.1  2128  1396  ??  Is    1:34PM   0:00.00 telnetd

remote 70971  0.0  0.0   480   296  p5  R+    3:19PM   0:00.00 grep telnet

%

 

- Aaron



More information about the juniper-nsp mailing list