Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dropbear is closing non-root connections when used in a docker container #146

Closed
Razorfang opened this issue Feb 17, 2022 · 4 comments
Closed

Comments

@Razorfang
Copy link

I want to test out an application that uses SSH to access devices which use the clish CLI project. I'm trying to create a docker container that runs Dropbear.

The application tries to log in as a user called tech. Here is the contents of my /etc/passwd file:

root:x:0:0:root:/root:/bin/sh
nobody:x:502:502:nobody,,,:/home/nobody:/bin/false
tech:x:0:0:tech,,,:/home/tech:/bin/sh

In case you're wondering why the tech user has a UID of 0, it's because in the custom CLI that's being run in the container via clish, the tech user needs root privileges for certain commands.

So far, this is working well for the root user, as shown below

debug2: channel 0: request shell confirm 1
debug3: send packet: type 98
debug2: channel_input_open_confirmation: channel 0: callback done
debug2: channel 0: open confirm rwindow 24576 rmax 32759
debug3: receive packet: type 99
debug2: channel_input_status_confirm: type 99 id 0
debug2: PTY allocation request accepted on channel 0
debug3: receive packet: type 99
debug2: channel_input_status_confirm: type 99 id 0
debug2: shell request accepted on channel 0

** LOGIN SUCCEEDS HERE **

However, when trying to log in as the tech user, the connection succeeds, but is then immediately terminated.
Here is the output of ssh with -vvv after the connection succeeds

debug2: channel 0: request shell confirm 1
debug3: send packet: type 98
debug2: channel_input_open_confirmation: channel 0: callback done
debug2: channel 0: open confirm rwindow 24576 rmax 32759
debug3: receive packet: type 99
debug2: channel_input_status_confirm: type 99 id 0
debug2: PTY allocation request accepted on channel 0
debug3: receive packet: type 99
debug2: channel_input_status_confirm: type 99 id 0
debug2: shell request accepted on channel 0

**LOGIN SUCCEEDS HERE, THEN TERMINATES**

debug3: receive packet: type 96
debug2: channel 0: rcvd eof
debug2: channel 0: output open -> drain
debug2: channel 0: obuf empty
debug2: channel 0: chan_shutdown_write (i0 o1 sock -1 wfd 5 efd 6 [write])
debug2: channel 0: output drain -> closed
debug3: receive packet: type 98
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug3: receive packet: type 97
debug2: channel 0: rcvd close
debug2: channel 0: chan_shutdown_read (i0 o3 sock -1 wfd 4 efd 6 [write])
debug2: channel 0: input open -> closed
debug3: channel 0: will not send data after close
debug2: channel 0: almost dead
debug2: channel 0: gc: notify user
debug2: channel 0: gc: user detached
debug2: channel 0: send close
debug3: send packet: type 97
debug2: channel 0: is dead
debug2: channel 0: garbage collecting
debug1: channel 0: free: client-session, nchannels 1
debug3: channel 0: status: The following connections are open:
  #0 client-session (t4 r0 i3/0 o3/0 e[write]/0 fd -1/-1/6 sock -1 cc -1)

debug3: send packet: type 1
debug3: fd 1 is not O_NONBLOCK
Connection to 172.17.0.3 closed.
Transferred: sent 2840, received 2688 bytes, in 0.0 seconds
Bytes per second: sent 807603.8, received 764379.9
debug1: Exit status 1

Any help debugging this would be appreciated.

@mkj
Copy link
Owner

mkj commented Feb 22, 2022

It looks like the tech user shell is just exiting early for some reason. If you can have strace in the container, could you log in as root, "strace -f -o log1.txt -p dropbearserverpid", log in as tech, then see if any files are missing etc?

Might also be worth putting some debug logging in ~tech/.bashrc (or whichever shell)

@Razorfang
Copy link
Author

I'm not sure what you meant by putting debug logging in my bashrc, but I did get some logs from strace. There's two files because in the container there were two PIDs (maybe because the docker daemon is started in a script instead of directly from the dockerfile). Here's the output from one process:

386   select(7, [3 4], NULL, NULL, NULL) = 1 (in [3])
386   accept(3, {sa_family=AF_INET, sin_port=htons(38384), sin_addr=inet_addr("172.17.0.1")}, [128->16]) = 5
386   getrandom("\xb0\x4e\x92\x22\xb9\x26\x3b\x38\x53\x7f\x06\xd5\xbd\x7e\x41\xd2\xf6\x1a\xe5\xa9\x4a\x6a\xec\x1c\xfd\x0e\x1d\xa4\x9d\x74\xea\x43", 32, GRND_NONBLOCK) = 32
386   openat(AT_FDCWD, "/proc/timer_list", O_RDONLY) = 6
386   read(6, "Timer List Version: v0.8\nHRTIMER"..., 4096) = 82
386   read(6, "cpu: 0\n clock 0:\n  .base:       "..., 4096) = 4096
386   read(6, "92905000-274844092905000 nsecs ["..., 4096) = 4096
386   read(6, " hrtimer_wakeup, S:01\n # expires"..., 4096) = 4096
386   read(6, "836609043883 nsecs [in 233071100"..., 4096) = 4096
386   read(6, "8: <ffff99b686a3bd30>, hrtimer_w"..., 4096) = 4096
386   read(6, "     1645388470673264806 nsecs\na"..., 4096) = 2422
386   read(6, "", 4096)                 = 0
386   close(6)                          = 0
386   openat(AT_FDCWD, "/proc/interrupts", O_RDONLY) = 6
386   read(6, "           CPU0       CPU1      "..., 4096) = 1791
386   read(6, "", 4096)                 = 0
386   close(6)                          = 0
386   openat(AT_FDCWD, "/proc/loadavg", O_RDONLY) = 6
386   read(6, "0.04 0.19 0.21 1/905 412\n", 4096) = 25
386   read(6, "", 4096)                 = 0
386   close(6)                          = 0
386   openat(AT_FDCWD, "/proc/sys/kernel/random/entropy_avail", O_RDONLY) = 6
386   read(6, "3792\n", 4096)           = 5
386   read(6, "", 4096)                 = 0
386   close(6)                          = 0
386   openat(AT_FDCWD, "/proc/net/netstat", O_RDONLY) = 6
386   read(6, "TcpExt: SyncookiesSent Syncookie"..., 4096) = 2479
386   read(6, "", 1617)                 = 0
386   close(6)                          = 0
386   openat(AT_FDCWD, "/proc/net/dev", O_RDONLY) = 6
386   read(6, "Inter-|   Receive               "..., 4096) = 446
386   read(6, "", 3650)                 = 0
386   close(6)                          = 0
386   openat(AT_FDCWD, "/proc/net/tcp", O_RDONLY) = 6
386   read(6, "  sl  local_address rem_address "..., 4096) = 600
386   read(6, "", 3496)                 = 0
386   close(6)                          = 0
386   openat(AT_FDCWD, "/proc/net/rt_cache", O_RDONLY) = 6
386   read(6, "Iface\tDestination\tGateway \tFlags"..., 4096) = 128
386   read(6, "", 3968)                 = 0
386   close(6)                          = 0
386   openat(AT_FDCWD, "/proc/vmstat", O_RDONLY) = 6
386   read(6, "nr_free_pages 126985\nnr_zone_ina"..., 4096) = 2899
386   read(6, "", 4096)                 = 0
386   close(6)                          = 0
386   getpid()                          = 386
386   clock_gettime(CLOCK_PROCESS_CPUTIME_ID, {tv_sec=0, tv_nsec=5344749}) = 0
386   openat(AT_FDCWD, "/dev/urandom", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 6
386   fstat(6, {st_mode=S_IFCHR|0666, st_rdev=makedev(0x1, 0x9), ...}) = 0
386   ioctl(6, TCGETS, 0x7ffccf41d880)  = -1 EINVAL (Invalid argument)
386   write(6, "n\300\231f1\217\275\361\30\212\267\367\215\262\263\323\313\234\220f_\211G\355F\211\22`\20w\314u", 32) = 32
386   close(6)                          = 0
386   pipe([6, 7])                      = 0
386   clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f9cfdb67e50) = 413
386   close(7)                          = 0
386   close(5)                          = 0
386   select(7, [3 4 6], NULL, NULL, NULL <unfinished ...>
413   getpid()                          = 413
413   socket(AF_UNIX, SOCK_DGRAM|SOCK_CLOEXEC, 0) = 8
413   connect(8, {sa_family=AF_UNIX, sun_path="/dev/log"}, 110) = -1 ENOENT (No such file or directory)
413   close(8)                          = 0
413   close(3)                          = 0
413   close(4)                          = 0
413   close(6)                          = 0
413   fcntl(5, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
413   fcntl(5, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
413   setsockopt(5, SOL_IPV6, IPV6_TCLASS, [72], 4) = -1 ENOPROTOOPT (Protocol not available)
413   setsockopt(5, SOL_IP, IP_TOS, [72], 4) = 0
413   setsockopt(5, SOL_SOCKET, SO_PRIORITY, [6], 4) = 0
413   pipe([3, 4])                      = 0
413   fcntl(3, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
413   fcntl(4, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
413   getpeername(5, {sa_family=AF_INET, sin_port=htons(38384), sin_addr=inet_addr("172.17.0.1")}, [128->16]) = 0
413   rt_sigaction(SIGCHLD, {sa_handler=0x55868ba63242, sa_mask=[], sa_flags=SA_RESTORER|SA_NOCLDSTOP, sa_restorer=0x7f9cfdbaf210}, NULL, 8) = 0
413   getpeername(5, {sa_family=AF_INET, sin_port=htons(38384), sin_addr=inet_addr("172.17.0.1")}, [128->16]) = 0
413   select(6, [3], [5], NULL, {tv_sec=300, tv_usec=0}) = 1 (out [5], left {tv_sec=299, tv_usec=999998})
413   writev(5, [{iov_base="SSH-2.0-dropbear_2020.81\r\n", iov_len=26}, {iov_base="\0\0\1\374\10\24~\241X\360D\300\210hi&0O\312\267^\363\0\0\0\273curve2"..., iov_len=512}], 2) = 538
413   select(6, [3 5], [], NULL, {tv_sec=300, tv_usec=0}) = 1 (in [5], left {tv_sec=299, tv_usec=999998})
413   select(6, [5], NULL, NULL, {tv_sec=1, tv_usec=0}) = 1 (in [5], left {tv_sec=0, tv_usec=999999})
413   read(5, "S", 1)                   = 1
413   select(6, [5], NULL, NULL, {tv_sec=1, tv_usec=0}) = 1 (in [5], left {tv_sec=0, tv_usec=999999})
413   read(5, "S", 1)                   = 1
413   select(6, [5], NULL, NULL, {tv_sec=1, tv_usec=0}) = 1 (in [5], left {tv_sec=0, tv_usec=999999})
413   read(5, "H", 1)                   = 1
413   select(6, [5], NULL, NULL, {tv_sec=1, tv_usec=0}) = 1 (in [5], left {tv_sec=0, tv_usec=999999})
413   read(5, "-", 1)                   = 1
413   select(6, [5], NULL, NULL, {tv_sec=1, tv_usec=0}) = 1 (in [5], left {tv_sec=0, tv_usec=999999})
413   read(5, "2", 1)                   = 1
413   select(6, [5], NULL, NULL, {tv_sec=1, tv_usec=0}) = 1 (in [5], left {tv_sec=0, tv_usec=999999})
413   read(5, ".", 1)                   = 1
413   select(6, [5], NULL, NULL, {tv_sec=1, tv_usec=0}) = 1 (in [5], left {tv_sec=0, tv_usec=999999})
413   read(5, "0", 1)                   = 1
413   select(6, [5], NULL, NULL, {tv_sec=1, tv_usec=0}) = 1 (in [5], left {tv_sec=0, tv_usec=999999})
413   read(5, "-", 1)                   = 1
413   select(6, [5], NULL, NULL, {tv_sec=1, tv_usec=0}) = 1 (in [5], left {tv_sec=0, tv_usec=999999})
413   read(5, "O", 1)                   = 1
413   select(6, [5], NULL, NULL, {tv_sec=1, tv_usec=0}) = 1 (in [5], left {tv_sec=0, tv_usec=999999})
413   read(5, "p", 1)                   = 1
413   select(6, [5], NULL, NULL, {tv_sec=1, tv_usec=0}) = 1 (in [5], left {tv_sec=0, tv_usec=999999})
413   read(5, "e", 1)                   = 1
413   select(6, [5], NULL, NULL, {tv_sec=1, tv_usec=0}) = 1 (in [5], left {tv_sec=0, tv_usec=999999})
413   read(5, "n", 1)                   = 1
413   select(6, [5], NULL, NULL, {tv_sec=1, tv_usec=0}) = 1 (in [5], left {tv_sec=0, tv_usec=999999})
413   read(5, "S", 1)                   = 1
413   select(6, [5], NULL, NULL, {tv_sec=1, tv_usec=0}) = 1 (in [5], left {tv_sec=0, tv_usec=999999})
413   read(5, "S", 1)                   = 1
413   select(6, [5], NULL, NULL, {tv_sec=1, tv_usec=0}) = 1 (in [5], left {tv_sec=0, tv_usec=999999})
413   read(5, "H", 1)                   = 1
413   select(6, [5], NULL, NULL, {tv_sec=1, tv_usec=0}) = 1 (in [5], left {tv_sec=0, tv_usec=999999})
413   read(5, "_", 1)                   = 1
413   select(6, [5], NULL, NULL, {tv_sec=1, tv_usec=0}) = 1 (in [5], left {tv_sec=0, tv_usec=999999})
413   read(5, "8", 1)                   = 1
413   select(6, [5], NULL, NULL, {tv_sec=1, tv_usec=0}) = 1 (in [5], left {tv_sec=0, tv_usec=999999})
413   read(5, ".", 1)                   = 1
413   select(6, [5], NULL, NULL, {tv_sec=1, tv_usec=0}) = 1 (in [5], left {tv_sec=0, tv_usec=999998})
413   read(5, "2", 1)                   = 1
413   select(6, [5], NULL, NULL, {tv_sec=1, tv_usec=0}) = 1 (in [5], left {tv_sec=0, tv_usec=999999})
413   read(5, "p", 1)                   = 1
413   select(6, [5], NULL, NULL, {tv_sec=1, tv_usec=0}) = 1 (in [5], left {tv_sec=0, tv_usec=999999})
413   read(5, "1", 1)                   = 1
413   select(6, [5], NULL, NULL, {tv_sec=1, tv_usec=0}) = 1 (in [5], left {tv_sec=0, tv_usec=999999})
413   read(5, " ", 1)                   = 1
413   select(6, [5], NULL, NULL, {tv_sec=1, tv_usec=0}) = 1 (in [5], left {tv_sec=0, tv_usec=999999})
413   read(5, "U", 1)                   = 1
413   select(6, [5], NULL, NULL, {tv_sec=1, tv_usec=0}) = 1 (in [5], left {tv_sec=0, tv_usec=999999})
413   read(5, "b", 1)                   = 1
413   select(6, [5], NULL, NULL, {tv_sec=1, tv_usec=0}) = 1 (in [5], left {tv_sec=0, tv_usec=999999})
413   read(5, "u", 1)                   = 1
413   select(6, [5], NULL, NULL, {tv_sec=1, tv_usec=0}) = 1 (in [5], left {tv_sec=0, tv_usec=999999})
413   read(5, "n", 1)                   = 1
413   select(6, [5], NULL, NULL, {tv_sec=1, tv_usec=0}) = 1 (in [5], left {tv_sec=0, tv_usec=999999})
413   read(5, "t", 1)                   = 1
413   select(6, [5], NULL, NULL, {tv_sec=1, tv_usec=0}) = 1 (in [5], left {tv_sec=0, tv_usec=999999})
413   read(5, "u", 1)                   = 1
413   select(6, [5], NULL, NULL, {tv_sec=1, tv_usec=0}) = 1 (in [5], left {tv_sec=0, tv_usec=999999})
413   read(5, "-", 1)                   = 1
413   select(6, [5], NULL, NULL, {tv_sec=1, tv_usec=0}) = 1 (in [5], left {tv_sec=0, tv_usec=999999})
413   read(5, "4", 1)                   = 1
413   select(6, [5], NULL, NULL, {tv_sec=1, tv_usec=0}) = 1 (in [5], left {tv_sec=0, tv_usec=999999})
413   read(5, "u", 1)                   = 1
413   select(6, [5], NULL, NULL, {tv_sec=1, tv_usec=0}) = 1 (in [5], left {tv_sec=0, tv_usec=999999})
413   read(5, "b", 1)                   = 1
413   select(6, [5], NULL, NULL, {tv_sec=1, tv_usec=0}) = 1 (in [5], left {tv_sec=0, tv_usec=999999})
413   read(5, "u", 1)                   = 1
413   select(6, [5], NULL, NULL, {tv_sec=1, tv_usec=0}) = 1 (in [5], left {tv_sec=0, tv_usec=999998})
413   read(5, "n", 1)                   = 1
413   select(6, [5], NULL, NULL, {tv_sec=1, tv_usec=0}) = 1 (in [5], left {tv_sec=0, tv_usec=999999})
413   read(5, "t", 1)                   = 1
413   select(6, [5], NULL, NULL, {tv_sec=1, tv_usec=0}) = 1 (in [5], left {tv_sec=0, tv_usec=999999})
413   read(5, "u", 1)                   = 1
413   select(6, [5], NULL, NULL, {tv_sec=1, tv_usec=0}) = 1 (in [5], left {tv_sec=0, tv_usec=999999})
413   read(5, "0", 1)                   = 1
413   select(6, [5], NULL, NULL, {tv_sec=1, tv_usec=0}) = 1 (in [5], left {tv_sec=0, tv_usec=999999})
413   read(5, ".", 1)                   = 1
413   select(6, [5], NULL, NULL, {tv_sec=1, tv_usec=0}) = 1 (in [5], left {tv_sec=0, tv_usec=999999})
413   read(5, "4", 1)                   = 1
413   select(6, [5], NULL, NULL, {tv_sec=1, tv_usec=0}) = 1 (in [5], left {tv_sec=0, tv_usec=999999})
413   read(5, "\r", 1)                  = 1
413   select(6, [5], NULL, NULL, {tv_sec=1, tv_usec=0}) = 1 (in [5], left {tv_sec=0, tv_usec=999999})
413   read(5, "\n", 1)                  = 1
413   select(6, [3 5], [], NULL, {tv_sec=300, tv_usec=0}) = 1 (in [5], left {tv_sec=299, tv_usec=997165})
413   read(5, "\0\0\5\344\n\0243`", 8)  = 8
413   read(5, "\360\347\325\303\313\276r\22\321\205\17\347\343\307\0\0\0\361curve25519-sha"..., 1504) = 1504
413   select(6, [3 5], [], NULL, {tv_sec=300, tv_usec=0}) = 1 (in [5], left {tv_sec=299, tv_usec=998697})
413   read(5, "\0\0\0,\6\36\0\0", 8)    = 8
413   read(5, "\0 J\tq@LWdB\7\351\244\217\276\346\241\232ES>\372K\226\275m\305\300\316w@\33"..., 40) = 40
413   openat(AT_FDCWD, "/etc/dropbear/dropbear_ecdsa_host_key", O_RDONLY) = 6
413   read(6, "\0\0\0\23ecdsa-sha2-nistp256\0\0\0\10nistp"..., 1700) = 140
413   read(6, "", 1560)                 = 0
413   close(6)                          = 0
413   writev(5, [{iov_base="\0\0\1\4\n\37\0\0\0h\0\0\0\23ecdsa-sha2-nistp25"..., iov_len=264}, {iov_base="\0\0\0\f\n\25\214\31\v\203\253\10\356I\250\343", iov_len=16}, {iov_base="\23\267\\|\353L\230\215\325~\341\370\23\312\1gr\326n\343\215\324r\345x~\244\360\33\353\365\341"..., iov_len=156}], 3) = 436
413   select(6, [3 5], [], NULL, {tv_sec=300, tv_usec=0}) = 1 (in [5], left {tv_sec=299, tv_usec=989590})
413   read(5, "\0\0\0\f\n\25\0\0", 8)   = 8
413   read(5, "\0\0\0\0\0\0\0\0", 8)    = 8
413   select(6, [3 5], [], NULL, {tv_sec=300, tv_usec=0}) = 1 (in [5], left {tv_sec=299, tv_usec=999460})
413   read(5, "\321\243\246\317\36\302\240\220", 8) = 8
413   read(5, "\310\261\343\0224\262\201\211\177\373\256K\251\305.;/Bo\365\t\344x\332\222\f\374\236\235\265 ?"..., 36) = 36
413   writev(5, [{iov_base="\225^v\367V\331\317\3dD.\0033\334+\375\f\20\265\2!1\1\35\4\302-\363\16:\251\250"..., iov_len=44}], 1) = 44
413   select(6, [3 5], [], NULL, {tv_sec=300, tv_usec=0}) = 1 (in [5], left {tv_sec=299, tv_usec=999894})
413   read(5, "\332.\217\333v\260r+", 8) = 8
413   read(5, "\204\331\200*X\276\305\255\245\312u\232\35\241ZM\271m,\362\325\271\236\350\272,:\216\363\243\20\346"..., 52) = 52
413   socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 6
413   connect(6, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
413   close(6)                          = 0
413   socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 6
413   connect(6, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
413   close(6)                          = 0
413   openat(AT_FDCWD, "/etc/nsswitch.conf", O_RDONLY|O_CLOEXEC) = 6
413   fstat(6, {st_mode=S_IFREG|0644, st_size=494, ...}) = 0
413   read(6, "# /etc/nsswitch.conf\n#\n# Example"..., 4096) = 494
413   read(6, "", 4096)                 = 0
413   close(6)                          = 0
413   openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 6
413   fstat(6, {st_mode=S_IFREG|0644, st_size=11216, ...}) = 0
413   mmap(NULL, 11216, PROT_READ, MAP_PRIVATE, 6, 0) = 0x7f9cfddb9000
413   close(6)                          = 0
413   openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libnss_files.so.2", O_RDONLY|O_CLOEXEC) = 6
413   read(6, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\3005\0\0\0\0\0\0"..., 832) = 832
413   fstat(6, {st_mode=S_IFREG|0644, st_size=51832, ...}) = 0
413   mmap(NULL, 79672, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 6, 0) = 0x7f9cfdb53000
413   mmap(0x7f9cfdb56000, 28672, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 6, 0x3000) = 0x7f9cfdb56000
413   mmap(0x7f9cfdb5d000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 6, 0xa000) = 0x7f9cfdb5d000
413   mmap(0x7f9cfdb5f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 6, 0xb000) = 0x7f9cfdb5f000
413   mmap(0x7f9cfdb61000, 22328, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f9cfdb61000
413   close(6)                          = 0
413   mprotect(0x7f9cfdb5f000, 4096, PROT_READ) = 0
413   munmap(0x7f9cfddb9000, 11216)     = 0
413   openat(AT_FDCWD, "/etc/passwd", O_RDONLY|O_CLOEXEC) = 6
413   lseek(6, 0, SEEK_CUR)             = 0
413   fstat(6, {st_mode=S_IFREG|0664, st_size=316, ...}) = 0
413   read(6, "root:x:0:0:root:/root:/bin/sh\nno"..., 4096) = 316
413   close(6)                          = 0
413   openat(AT_FDCWD, "/etc/shadow", O_RDONLY|O_CLOEXEC) = 6
413   lseek(6, 0, SEEK_CUR)             = 0
413   fstat(6, {st_mode=S_IFREG|0664, st_size=370, ...}) = 0
413   read(6, "root:$1$TRpbTjBM$rdmexrJ3iOjZ25K"..., 4096) = 370
413   close(6)                          = 0
413   geteuid()                         = 0
413   openat(AT_FDCWD, "/etc/shells", O_RDONLY|O_CLOEXEC) = 6
413   fstat(6, {st_mode=S_IFREG|0644, st_size=116, ...}) = 0
413   fstat(6, {st_mode=S_IFREG|0644, st_size=116, ...}) = 0
413   read(6, "# /etc/shells: valid login shell"..., 4096) = 116
413   read(6, "", 4096)                 = 0
413   close(6)                          = 0
413   writev(5, [{iov_base="\r\0027O\301\343\17\10\212\343_6.h\227e\220\307H\235]o\37ZL9\320b\257\262n@"..., iov_len=52}], 1) = 52
413   select(6, [3 5], [], NULL, {tv_sec=300, tv_usec=0}) = 1 (in [5], left {tv_sec=299, tv_usec=999860})
413   read(5, "D\216\277*X3&\303", 8)   = 8
413   read(5, "\241PS\335E\255\20-'u\270\363\2504\3_\317K\236\f\rP5\360\337\333\225\353\327\37V\374"..., 620) = 620
413   geteuid()                         = 0
413   openat(AT_FDCWD, "/etc/shells", O_RDONLY|O_CLOEXEC) = 6
413   fstat(6, {st_mode=S_IFREG|0644, st_size=116, ...}) = 0
413   fstat(6, {st_mode=S_IFREG|0644, st_size=116, ...}) = 0
413   read(6, "# /etc/shells: valid login shell"..., 4096) = 116
413   read(6, "", 4096)                 = 0
413   close(6)                          = 0
413   stat("/home/tech", 0x7ffccf41d6b8) = -1 ENOENT (No such file or directory)
413   writev(5, [{iov_base="\330KFw\v\324\243\224L\201\224Z\334q~_\305^\332DG:\32\244\177ej\377\244-;\340"..., iov_len=52}], 1) = 52
413   select(6, [3 5], [], NULL, {tv_sec=300, tv_usec=0}) = 1 (in [5], left {tv_sec=298, tv_usec=518671})
413   read(5, "[7Z\310\315\312\t\365", 8) = 8
413   read(5, "(\206\331\200\377\355d\240e%\271\316'.\347\264\r\r\34?g\6&\264%(4c#\234\206f"..., 76) = 76
413   geteuid()                         = 0
413   openat(AT_FDCWD, "/etc/shells", O_RDONLY|O_CLOEXEC) = 6
413   fstat(6, {st_mode=S_IFREG|0644, st_size=116, ...}) = 0
413   fstat(6, {st_mode=S_IFREG|0644, st_size=116, ...}) = 0
413   read(6, "# /etc/shells: valid login shell"..., 4096) = 116
413   read(6, "", 4096)                 = 0
413   close(6)                          = 0
413   getpid()                          = 413
413   socket(AF_UNIX, SOCK_DGRAM|SOCK_CLOEXEC, 0) = 6
413   connect(6, {sa_family=AF_UNIX, sun_path="/dev/log"}, 110) = -1 ENOENT (No such file or directory)
413   close(6)                          = 0
413   close(7)                          = 0
386   <... select resumed>)             = 1 (in [6])
413   writev(5, [{iov_base="\22o\356[IE\314>c\313\326z\356F\3r\30w\361U\301]3\375\321~\355a\257C\2o"..., iov_len=36}], 1 <unfinished ...>
386   close(6 <unfinished ...>
413   <... writev resumed>)             = 36
386   <... close resumed>)              = 0
413   select(6, [3 5], [], NULL, {tv_sec=28799, tv_usec=0} <unfinished ...>
386   select(7, [3 4], NULL, NULL, NULL <unfinished ...>
413   <... select resumed>)             = 1 (in [5], left {tv_sec=28798, tv_usec=999941})
413   read(5, "\24\2\330\213\360V\330m", 8) = 8
413   read(5, ".-\215\337h\314_>;F\273\351y\373P\343\331S%\21\343\360\251\266\10$\203,\221L\227w"..., 44) = 44
413   writev(5, [{iov_base="\254)\272\323\250\310\320\265g~\366\317\260\311\226\201\231\350~\265\376\326\362\262\331\331\20\326\376\326;\224"..., iov_len=44}], 1) = 44
413   select(6, [3 5], [], NULL, {tv_sec=28799, tv_usec=0}) = 1 (in [5], left {tv_sec=28798, tv_usec=999905})
413   read(5, "\367\24\252\362\217*\32Y", 8) = 8
413   read(5, "\352\266OL{Be\v\2404@\363\275\256DT\370\204\6\37$\337\310H\310uV\262\27\314\235\314"..., 340) = 340
413   openat(AT_FDCWD, "/dev/ptmx", O_RDWR) = 6
413   statfs("/dev/pts", {f_type=DEVPTS_SUPER_MAGIC, f_bsize=4096, f_blocks=0, f_bfree=0, f_bavail=0, f_files=0, f_ffree=0, f_fsid={val=[0, 0]}, f_namelen=255, f_frsize=4096, f_flags=ST_VALID|ST_NOSUID|ST_NOEXEC|ST_RELATIME}) = 0
413   ioctl(6, TCGETS, {B38400 opost isig icanon echo ...}) = 0
413   ioctl(6, TIOCGPTN, [1])           = 0
413   stat("/dev/pts/1", {st_mode=S_IFCHR|0620, st_rdev=makedev(0x88, 0x1), ...}) = 0
413   getuid()                          = 0
413   socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 7
413   connect(7, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
413   close(7)                          = 0
413   socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 7
413   connect(7, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
413   close(7)                          = 0
413   openat(AT_FDCWD, "/etc/group", O_RDONLY|O_CLOEXEC) = 7
413   lseek(7, 0, SEEK_CUR)             = 0
413   fstat(7, {st_mode=S_IFREG|0644, st_size=132, ...}) = 0
413   read(7, "root:x:0:root\nnobody:x:502:nobod"..., 4096) = 132
413   lseek(7, 0, SEEK_CUR)             = 132
413   read(7, "", 4096)                 = 0
413   close(7)                          = 0
413   getgid()                          = 0
413   chmod("/dev/pts/1", 0600)         = 0
413   ioctl(6, TIOCSPTLCK, [0])         = 0
413   ioctl(6, TIOCGPTPEER, 0x102)      = 7
413   ioctl(7, TCGETS, {B38400 opost isig icanon echo ...}) = 0
413   fstat(7, {st_mode=S_IFCHR|0600, st_rdev=makedev(0x88, 0x1), ...}) = 0
413   readlink("/proc/self/fd/7", "/dev/pts/1", 4095) = 10
413   stat("/dev/pts/1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0x88, 0x1), ...}) = 0
413   openat(AT_FDCWD, "/etc/passwd", O_RDONLY|O_CLOEXEC) = 8
413   lseek(8, 0, SEEK_CUR)             = 0
413   fstat(8, {st_mode=S_IFREG|0664, st_size=316, ...}) = 0
413   read(8, "root:x:0:0:root:/root:/bin/sh\nno"..., 4096) = 316
413   close(8)                          = 0
413   openat(AT_FDCWD, "/etc/group", O_RDONLY|O_CLOEXEC) = 8
413   lseek(8, 0, SEEK_CUR)             = 0
413   fstat(8, {st_mode=S_IFREG|0644, st_size=132, ...}) = 0
413   read(8, "root:x:0:root\nnobody:x:502:nobod"..., 4096) = 132
413   lseek(8, 0, SEEK_CUR)             = 132
413   read(8, "", 4096)                 = 0
413   close(8)                          = 0
413   stat("/dev/pts/1", {st_mode=S_IFCHR|0600, st_rdev=makedev(0x88, 0x1), ...}) = 0
413   chown("/dev/pts/1", 505, 505)     = 0
413   chmod("/dev/pts/1", 0622)         = 0
413   ioctl(6, TIOCSWINSZ, {ws_row=23, ws_col=136, ws_xpixel=0, ws_ypixel=0}) = 0
413   ioctl(6, TCGETS, {B38400 opost isig icanon echo ...}) = 0
413   ioctl(6, TCGETS, {B38400 opost isig icanon echo ...}) = 0
413   ioctl(6, SNDCTL_TMR_START or TCSETS, {B38400 opost isig icanon echo ...}) = 0
413   ioctl(6, TCGETS, {B38400 opost isig icanon echo ...}) = 0
413   writev(5, [{iov_base="\v,\347\10\354;\346\7\346lB[\251n\3449\330G|\337\37|\345\233\310S\225v\331\213\266\212"..., iov_len=36}], 1) = 36
413   select(6, [3 5], [], NULL, {tv_sec=28799, tv_usec=0}) = 1 (in [5], left {tv_sec=28798, tv_usec=999998})
413   read(5, "*\263\206\306s=\26|", 8) = 8
413   read(5, "\350}\\iP}\326\30{\322\0\321\v\254ug:\353tP\355): W+o`\345U\3002"..., 60) = 60
413   select(6, [3 5], [], NULL, {tv_sec=28799, tv_usec=0}) = 1 (in [5], left {tv_sec=28798, tv_usec=999998})
413   read(5, "\375\5\36\331\10\260\372\342", 8) = 8
413   read(5, "\365\212\270\256\342Hh\3512\245\301\337\344\206\31\243\371y\267\365\354P\21-\224i\263\375E\3369\271"..., 36) = 36
413   getsockname(5, {sa_family=AF_INET, sin_port=htons(22), sin_addr=inet_addr("172.17.0.3")}, [128->16]) = 0
413   getpeername(5, {sa_family=AF_INET, sin_port=htons(38384), sin_addr=inet_addr("172.17.0.1")}, [128->16]) = 0
413   clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f9cfdb67e50) = 415
413   close(7)                          = 0
413   fcntl(6, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
413   writev(5, [{iov_base="Gd\236]=iL\356\273{-\375\207\301R\324'\344:\5Q\27\313\352\371\33\274X\327K,\332"..., iov_len=36}], 1) = 36
413   select(7, [3 5 6], [], NULL, {tv_sec=28799, tv_usec=0} <unfinished ...>
415   rt_sigaction(SIGCHLD, {sa_handler=SIG_DFL, sa_mask=[CHLD], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f9cfdbaf210}, {sa_handler=0x55868ba63242, sa_mask=[], sa_flags=SA_RESTORER|SA_NOCLDSTOP, sa_restorer=0x7f9cfdbaf210}, 8) = 0
415   close(6)                          = 0
415   rt_sigaction(SIGTTOU, {sa_handler=SIG_IGN, sa_mask=[TTOU], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f9cfdbaf210}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
415   openat(AT_FDCWD, "/dev/tty", O_RDWR|O_NOCTTY) = -1 ENXIO (No such device or address)
415   setsid()                          = 415
415   openat(AT_FDCWD, "/dev/tty", O_RDWR|O_NOCTTY) = -1 ENXIO (No such device or address)
415   ioctl(7, TIOCSCTTY, 0)            = 0
415   openat(AT_FDCWD, "/dev/pts/1", O_RDWR) = 6
415   close(6)                          = 0
415   openat(AT_FDCWD, "/dev/tty", O_WRONLY) = 6
415   close(6)                          = 0
415   dup2(7, 0)                        = 0
415   dup2(7, 1)                        = 1
415   openat(AT_FDCWD, "/etc/passwd", O_RDONLY|O_CLOEXEC) = 6
415   lseek(6, 0, SEEK_CUR)             = 0
415   fstat(6, {st_mode=S_IFREG|0664, st_size=316, ...}) = 0
415   read(6, "root:x:0:0:root:/root:/bin/sh\nno"..., 4096) = 316
415   close(6)                          = 0
415   geteuid()                         = 0
415   getpid()                          = 415
415   ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
415   fstat(0, {st_mode=S_IFCHR|0622, st_rdev=makedev(0x88, 0x1), ...}) = 0
415   readlink("/proc/self/fd/0", "/dev/pts/1", 4127) = 10
415   stat("/dev/pts/1", {st_mode=S_IFCHR|0622, st_rdev=makedev(0x88, 0x1), ...}) = 0
415   access("/var/run/utmpx", F_OK)    = -1 ENOENT (No such file or directory)
415   openat(AT_FDCWD, "/var/run/utmp", O_RDONLY|O_CLOEXEC) = 6
415   lseek(6, 0, SEEK_SET)             = 0
415   access("/var/run/utmpx", F_OK)    = -1 ENOENT (No such file or directory)
415   openat(AT_FDCWD, "/var/run/utmp", O_RDWR|O_CLOEXEC) = 8
415   dup2(8, 6)                        = 6
415   close(8)                          = 0
415   alarm(0)                          = 0
415   rt_sigaction(SIGALRM, {sa_handler=0x7f9cfdcc8fe0, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f9cfdbaf210}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
415   alarm(10)                         = 0
415   fcntl(6, F_SETLKW, {l_type=F_WRLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0
415   alarm(0)                          = 10
415   rt_sigaction(SIGALRM, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f9cfdbaf210}, NULL, 8) = 0
415   pread64(6, "\7\0\0\0\205\1\0\0pts/0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 384, 0) = 384
415   pread64(6, "", 384, 384)          = 0
415   lseek(6, 0, SEEK_END)             = 384
415   lseek(6, 384, SEEK_SET)           = 384
415   write(6, "\7\0\0\0\237\1\0\0pts/1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 384) = 384
415   fcntl(6, F_SETLKW, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0
415   close(6)                          = 0
415   access("/var/log/wtmpx", F_OK)    = -1 ENOENT (No such file or directory)
415   openat(AT_FDCWD, "/var/log/wtmp", O_WRONLY) = 6
415   alarm(0)                          = 0
415   rt_sigaction(SIGALRM, {sa_handler=0x7f9cfdcc8fe0, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f9cfdbaf210}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f9cfdbaf210}, 8) = 0
415   alarm(10)                         = 0
415   fcntl(6, F_SETLKW, {l_type=F_WRLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0
415   alarm(0)                          = 10
415   rt_sigaction(SIGALRM, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f9cfdbaf210}, NULL, 8) = 0
415   lseek(6, 0, SEEK_END)             = 384
415   write(6, "\7\0\0\0\237\1\0\0pts/1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 384) = 384
415   fcntl(6, F_SETLKW, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0
415   close(6)                          = 0
415   stat("/var/log/lastlog", {st_mode=S_IFREG|0664, st_size=292292, ...}) = 0
415   openat(AT_FDCWD, "/var/log/lastlog", O_RDWR|O_CREAT, 0600) = 6
415   lseek(6, 147460, SEEK_SET)        = 147460
415   write(6, "L\324\26bpts/1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 292) = 292
415   close(6)                          = 0
415   dup2(7, 2)                        = 2
415   close(7)                          = 0
415   stat("/home/tech/.hushlogin", 0x7ffccf41d6c8) = -1 ENOENT (No such file or directory)
415   openat(AT_FDCWD, "/etc/motd", O_RDONLY) = 6
415   read(6, "\342\242\200\342\241\264\342\240\221\342\241\204\342\240\200\342\240\200\342\240\200\342\240\200\342\240\200\342\240\200\342\240"..., 2000) = 1451
415   read(6, "", 549)                  = 0
415   close(6)                          = 0
415   write(1, "\342\242\200\342\241\264\342\240\221\342\241\204\342\240\200\342\240\200\342\240\200\342\240\200\342\240\200\342\240\200\342\240"..., 1451 <unfinished ...>
413   <... select resumed>)             = 1 (in [6], left {tv_sec=28798, tv_usec=997628})
413   read(6, "\342\242\200\342\241\264\342\240\221\342\241\204\342\240\200\342\240\200\342\240\200\342\240\200\342\240\200\342\240\200\342\240"..., 16375) = 91
413   writev(5, [{iov_base="\357\ti\t*u5|@\7kq\30Y\340\233.jP)I\333x\354!\352J\357\301\355\325\232"..., iov_len=132}], 1) = 132
413   select(7, [3 5 6], [], NULL, {tv_sec=28799, tv_usec=0}) = 1 (in [6], left {tv_sec=28798, tv_usec=999988})
413   read(6, "\r\n", 16375)            = 2
413   writev(5, [{iov_base="o+q$Y\32W\5\350C-\213\3Y\253\262\301\220\252Y\371\266\370\356\235$bfy\373DR"..., iov_len=36}], 1) = 36
413   select(7, [3 5 6], [], NULL, {tv_sec=28799, tv_usec=0}) = 1 (in [6], left {tv_sec=28798, tv_usec=999977})
413   read(6, "\342\240\270\342\241\207\342\240\200\342\240\277\342\241\200\342\240\200\342\240\200\342\240\200\342\243\200\342\241\264\342\242"..., 16375) = 91
413   writev(5, [{iov_base="\252x\342\30\310dUw)u8\356\252\274\303\0323\7DJ\255\276\332\351\22\315]\231\233T\263\233"..., iov_len=132}], 1) = 132
413   select(7, [3 5 6], [], NULL, {tv_sec=28799, tv_usec=0}) = 1 (in [6], left {tv_sec=28798, tv_usec=999991})
413   read(6, "\r\n", 16375)            = 2
413   writev(5, [{iov_base="f\272\306f\267DI\2\37S\356\1\256M\4-.\204\373\342n\333I\213\337\270`u:\276o\343"..., iov_len=36}], 1) = 36
413   select(7, [3 5 6], [], NULL, {tv_sec=28799, tv_usec=0}) = 1 (in [6], left {tv_sec=28798, tv_usec=999968})
413   read(6, "\342\240\200\342\240\200\342\240\200\342\240\200\342\240\221\342\242\204\342\243\240\342\240\276\342\240\201\342\243\200\342\243"..., 16375) = 91
413   writev(5, [{iov_base="\353\346\246\233\322\330\352Wv\211{-!-{g*\353=\346\16c\307O\232\221\305\27KSu\222"..., iov_len=132}], 1) = 132
413   select(7, [3 5 6], [], NULL, {tv_sec=28799, tv_usec=0}) = 1 (in [6], left {tv_sec=28798, tv_usec=999991})
413   read(6, "\r\n", 16375)            = 2
413   writev(5, [{iov_base="\232\333H\363\201\323Y\0062\331Z\322\247/\306\7\377\347\343\305\201\367F\216@.&\233\215\365\235\330"..., iov_len=36}], 1) = 36
413   select(7, [3 5 6], [], NULL, {tv_sec=28799, tv_usec=0}) = 1 (in [6], left {tv_sec=28798, tv_usec=999988})
413   read(6, "\342\240\200\342\240\200\342\240\200\342\240\200\342\242\200\342\241\200\342\240\201\342\240\200\342\240\200\342\240\210\342\240"..., 16375) = 91
413   writev(5, [{iov_base="d(\36\246\267\311\263\254\213\310\372\244\317\224\t\242\265\350\257\6\244\215\3\345.\350\311\336\17\341\2\360"..., iov_len=132}], 1) = 132
413   select(7, [3 5 6], [], NULL, {tv_sec=28799, tv_usec=0}) = 1 (in [6], left {tv_sec=28798, tv_usec=999991})
413   read(6, "\r\n", 16375)            = 2
413   writev(5, [{iov_base="\240\362zEyr\333<*\310{\215\261iB\321W\2514\325\353\245=oW\213\376&NG\311\254"..., iov_len=36}], 1) = 36
413   select(7, [3 5 6], [], NULL, {tv_sec=28799, tv_usec=0}) = 1 (in [6], left {tv_sec=28798, tv_usec=999988})
413   read(6, "\342\240\200\342\240\200\342\240\200\342\242\200\342\241\276\342\243\201\342\243\200\342\240\200\342\240\264\342\240\202\342\240"..., 16375) = 91
413   writev(5, [{iov_base="\226\0\16\265\256)\301AQ\337\37*\251dJ\250\341R\264\\\341\3527g\334\217\224G\323K5\314"..., iov_len=132}], 1) = 132
413   select(7, [3 5 6], [], NULL, {tv_sec=28799, tv_usec=0}) = 1 (in [6], left {tv_sec=28798, tv_usec=999991})
413   read(6, "\r\n", 16375)            = 2
413   writev(5, [{iov_base="\"\207.\215\17\246!\25P\370\372o\202 sDD\235\213)\252 \201\272\312ly\300d/\277@"..., iov_len=36}], 1) = 36
413   select(7, [3 5 6], [], NULL, {tv_sec=28799, tv_usec=0}) = 1 (in [6], left {tv_sec=28798, tv_usec=999968})
413   read(6, "\342\240\200\342\240\200\342\242\200\342\243\276\342\243\277\342\243\277\342\243\277\342\243\267\342\243\256\342\243\275\342\243"..., 16375) = 91
413   writev(5, [{iov_base="\227\337\345y\365\326\221\311\226r *\206\254\320\241-\f\337\342,I\3A\303\200\260=e~V\375"..., iov_len=132}], 1) = 132
413   select(7, [3 5 6], [], NULL, {tv_sec=28799, tv_usec=0}) = 1 (in [6], left {tv_sec=28798, tv_usec=999979})
413   read(6, "\r\n", 16375)            = 2
413   writev(5, [{iov_base="w\6\325\275\342\227\267\244\36\r\16\235\200\17A\234\6\323\215D\275\252v\270\200\263\241\226\321\365D\362"..., iov_len=36}], 1) = 36
413   select(7, [3 5 6], [], NULL, {tv_sec=28799, tv_usec=0}) = 1 (in [6], left {tv_sec=28798, tv_usec=999991})
413   read(6, "\342\240\200\342\242\200\342\241\236\342\240\201\342\240\231\342\240\273\342\240\277\342\240\237\342\240\211\342\240\200\342\240"..., 16375) = 91
413   writev(5, [{iov_base="FJ\230\20\303\3002\362FKYt1\2674\234\17\301+f3EH.\3015\273eW\324G\200"..., iov_len=132}], 1) = 132
413   select(7, [3 5 6], [], NULL, {tv_sec=28799, tv_usec=0}) = 1 (in [6], left {tv_sec=28798, tv_usec=999991})
413   read(6, "\r\n", 16375)            = 2
413   writev(5, [{iov_base="\203a\362f\267\220\315R\251z\323p\177\262]\344l:\341L\204\20.\215\257\337\3d\255\214p\337"..., iov_len=36}], 1) = 36
413   select(7, [3 5 6], [], NULL, {tv_sec=28799, tv_usec=0}) = 1 (in [6], left {tv_sec=28798, tv_usec=999972})
413   read(6, "\342\240\200\342\243\276\342\243\267\342\243\266\342\240\207\342\240\200\342\240\200\342\243\244\342\243\204\342\243\200\342\241"..., 16375) = 91
413   writev(5, [{iov_base="\\\270B\335\317\367f7\347\252UkA8\272\356\31\302\346\344\347\202\4\303\1:\25\357\312!\27\364"..., iov_len=132}], 1) = 132
413   select(7, [3 5 6], [], NULL, {tv_sec=28799, tv_usec=0}) = 1 (in [6], left {tv_sec=28798, tv_usec=999991})
413   read(6, "\r\n", 16375)            = 2
413   writev(5, [{iov_base="\206y\212\3704\2162\340<L\375\300X\311\355+\310\333\363V\237\365\300\375/\306A<(\216\26\377"..., iov_len=36}], 1) = 36
413   select(7, [3 5 6], [], NULL, {tv_sec=28799, tv_usec=0}) = 1 (in [6], left {tv_sec=28798, tv_usec=999991})
413   read(6, "\342\240\200\342\240\211\342\240\210\342\240\211\342\240\200\342\240\200\342\242\246\342\241\210\342\242\273\342\243\277\342\243"..., 16375) = 91
413   writev(5, [{iov_base="n\372'`\257\35&\362\312\365-\364\331;\242R#\vI,\307\236Vp\32\250\245r\372 7\362"..., iov_len=132}], 1) = 132
413   select(7, [3 5 6], [], NULL, {tv_sec=28799, tv_usec=0}) = 1 (in [6], left {tv_sec=28798, tv_usec=999992})
413   read(6, "\r\n", 16375)            = 2
413   writev(5, [{iov_base="\337\252\3215\305Q\263\332\33z\353'\30\365/\361Bs\276\0\207j6\205\377\334\7\22\305\377\335\4"..., iov_len=36}], 1) = 36
413   select(7, [3 5 6], [], NULL, {tv_sec=28799, tv_usec=0}) = 1 (in [6], left {tv_sec=28798, tv_usec=999991})
413   read(6, "\342\240\200\342\240\200\342\240\200\342\240\200\342\240\200\342\240\200\342\240\200\342\240\211\342\240\262\342\243\275\342\241"..., 16375) = 91
413   writev(5, [{iov_base="\247\3~\273\222\22\217\236\260\356;V\213\23\31?sp\32\327\3y\302\252\370 \262\342\333\30\306\313"..., iov_len=132}], 1) = 132
413   select(7, [3 5 6], [], NULL, {tv_sec=28799, tv_usec=0}) = 1 (in [6], left {tv_sec=28798, tv_usec=999992})
413   read(6, "\r\n", 16375)            = 2
413   writev(5, [{iov_base="\374zUd\344)\363\240\233\227\202\r\207\304\303k\6\23\313\260\206\364>H\0\346\326\215&\221\262\4"..., iov_len=36}], 1) = 36
413   select(7, [3 5 6], [], NULL, {tv_sec=28799, tv_usec=0}) = 1 (in [6], left {tv_sec=28798, tv_usec=999991})
413   read(6, "\342\240\200\342\240\200\342\240\200\342\240\200\342\240\200\342\240\200\342\240\200\342\240\200\342\242\270\342\243\277\342\243"..., 16375) = 91
413   writev(5, [{iov_base="\237\366\252\331\373\223\313\353\270\26\202\272\20\261\5\355p\305@\345U\330\34\257\222T\223\252\34\373H\23"..., iov_len=132}], 1) = 132
413   select(7, [3 5 6], [], NULL, {tv_sec=28799, tv_usec=0}) = 1 (in [6], left {tv_sec=28798, tv_usec=999992})
413   read(6, "\r\n", 16375)            = 2
413   writev(5, [{iov_base="\365\207\314Qu\227\202\355\217\6\1GS\317\24\225\265u\210\305\243\357\274\234;\351\217\237P\334\225Q"..., iov_len=36}], 1) = 36
413   select(7, [3 5 6], [], NULL, {tv_sec=28799, tv_usec=0}) = 1 (in [6], left {tv_sec=28798, tv_usec=999992})
413   read(6, "\342\240\200\342\240\200\342\240\200\342\240\200\342\240\200\342\240\200\342\243\200\342\243\200\342\243\210\342\243\277\342\243"..., 16375) = 91
413   writev(5, [{iov_base="\303\337\35\265\270\211<\374$\345:\231\303\304\350'`'i7\334\340}\324Rc\310\244\307\343{\335"..., iov_len=132}], 1) = 132
413   select(7, [3 5 6], [], NULL, {tv_sec=28799, tv_usec=0}) = 1 (in [6], left {tv_sec=28798, tv_usec=999992})
413   read(6, "\r\n", 16375)            = 2
413   writev(5, [{iov_base="\263\266\357\306\255-R\0073\337\246,`\0\214A\22\31\34U\373\31\355UH`\370e\306\27\315\337"..., iov_len=36}], 1) = 36
413   select(7, [3 5 6], [], NULL, {tv_sec=28799, tv_usec=0}) = 1 (in [6], left {tv_sec=28798, tv_usec=999990})
413   read(6, "\342\240\200\342\240\200\342\240\200\342\240\200\342\240\200\342\240\200\342\242\277\342\243\277\342\243\277\342\243\277\342\243"..., 16375) = 91
413   writev(5, [{iov_base="\235\204\322C48\34UI\32\351\227D\231\237\374tA\227\364\206\264\311Ow\327\351\227L\20\367<"..., iov_len=132}], 1) = 132
413   select(7, [3 5 6], [], NULL, {tv_sec=28799, tv_usec=0}) = 1 (in [6], left {tv_sec=28798, tv_usec=999985})
413   read(6, "\r\n", 16375)            = 2
413   writev(5, [{iov_base="\22\32_\2512\25(&\37ok\324\354\37$Nf\310\376hUB:4\345`<\225\372\270$\214"..., iov_len=36}], 1) = 36
413   select(7, [3 5 6], [], NULL, {tv_sec=28799, tv_usec=0}) = 1 (in [6], left {tv_sec=28798, tv_usec=999991})
413   read(6, "\342\240\200\342\240\200\342\240\200\342\240\200\342\240\200\342\240\200\342\240\200\342\240\271\342\243\277\342\243\277\342\243"..., 16375) = 91
413   writev(5, [{iov_base="\35.\213\35CZ\243\316/\351\237S\355*\263\270H\377\301AC\271\3\220z\340@\261`\355\331\34"..., iov_len=132}], 1) = 132
413   select(7, [3 5 6], [], NULL, {tv_sec=28799, tv_usec=0}) = 1 (in [6], left {tv_sec=28798, tv_usec=999991})
413   read(6, "\r\n", 16375)            = 2
413   writev(5, [{iov_base="\332\252be$\346\271\223\316\6\322:eJ\333 \340\333\335\20'za\272\211\363@R\214\355\210\300"..., iov_len=36}], 1) = 36
413   select(7, [3 5 6], [], NULL, {tv_sec=28799, tv_usec=0}) = 1 (in [6], left {tv_sec=28798, tv_usec=999968})
413   read(6, "\342\240\200\342\240\200\342\240\200\342\240\200\342\240\200\342\240\200\342\240\200\342\240\200\342\240\200\342\240\211\342\240"..., 16375) = 54
413   writev(5, [{iov_base="\266\355\230n\310\264k\375m\331_\336o.\345*{g\3#\36>\245vA\247_\372O\2\273\256"..., iov_len=92}], 1) = 92
413   select(7, [3 5 6], [], NULL, {tv_sec=28799, tv_usec=0} <unfinished ...>
415   <... write resumed>)              = 1451
413   <... select resumed>)             = 1 (in [6], left {tv_sec=28798, tv_usec=999958})
413   read(6, "\r\n* * * * * * * * * * * * * * * "..., 16375) = 113
413   writev(5, [{iov_base="\310\263*}\24(>\31\226A\353-\217\343\365\315\25\366\31\367c\315:\221\341j}\327~\203\2\4"..., iov_len=148}], 1) = 148
413   select(7, [3 5 6], [], NULL, {tv_sec=28799, tv_usec=0} <unfinished ...>
415   getrandom("\xc2\x0e\xa4\x3d\xf5\x64\xff\xa7\x62\xb6\x98\x22\x9b\x73\x55\x2d\xf1\x39\xe4\x96\xa1\xfd\xed\x23\xe4\xab\xfe\x28\x1e\x5c\x65\x21", 32, GRND_NONBLOCK) = 32
415   openat(AT_FDCWD, "/proc/timer_list", O_RDONLY) = 6
415   read(6, "Timer List Version: v0.8\nHRTIMER"..., 4096) = 82
415   read(6, "cpu: 0\n clock 0:\n  .base:       "..., 4096) = 4096
415   read(6, "7152434535-274847152484535 nsecs"..., 4096) = 4096
415   read(6, " hrtimer_wakeup, S:01\n # expires"..., 4096) = 4096
415   read(6, "6833-274837918246831 nsecs [in 1"..., 4096) = 4096
415   read(6, "09138 nsecs]\n #37: <ffff99b687ea"..., 4096) = 4096
415   read(6, "et:     0 nsecs\nactive timers:\n "..., 4096) = 2575
415   read(6, "", 4096)                 = 0
415   close(6)                          = 0
415   openat(AT_FDCWD, "/proc/interrupts", O_RDONLY) = 6
415   read(6, "           CPU0       CPU1      "..., 4096) = 1791
415   read(6, "", 4096)                 = 0
415   close(6)                          = 0
415   openat(AT_FDCWD, "/proc/loadavg", O_RDONLY) = 6
415   read(6, "0.04 0.19 0.21 2/908 415\n", 4096) = 25
415   read(6, "", 4096)                 = 0
415   close(6)                          = 0
415   openat(AT_FDCWD, "/proc/sys/kernel/random/entropy_avail", O_RDONLY) = 6
415   read(6, "3794\n", 4096)           = 5
415   read(6, "", 4096)                 = 0
415   close(6)                          = 0
415   openat(AT_FDCWD, "/proc/net/netstat", O_RDONLY) = 6
415   read(6, "TcpExt: SyncookiesSent Syncookie"..., 4096) = 2479
415   read(6, "", 1617)                 = 0
415   close(6)                          = 0
415   openat(AT_FDCWD, "/proc/net/dev", O_RDONLY) = 6
415   read(6, "Inter-|   Receive               "..., 4096) = 446
415   read(6, "", 3650)                 = 0
415   close(6)                          = 0
415   openat(AT_FDCWD, "/proc/net/tcp", O_RDONLY) = 6
415   read(6, "  sl  local_address rem_address "..., 4096) = 600
415   read(6, "", 3496)                 = 0
415   close(6)                          = 0
415   openat(AT_FDCWD, "/proc/net/rt_cache", O_RDONLY) = 6
415   read(6, "Iface\tDestination\tGateway \tFlags"..., 4096) = 128
415   read(6, "", 3968)                 = 0
415   close(6)                          = 0
415   openat(AT_FDCWD, "/proc/vmstat", O_RDONLY) = 6
415   read(6, "nr_free_pages 126770\nnr_zone_ina"..., 4096) = 2899
415   read(6, "", 4096)                 = 0
415   close(6)                          = 0
415   getpid()                          = 415
415   clock_gettime(CLOCK_PROCESS_CPUTIME_ID, {tv_sec=0, tv_nsec=2542669}) = 0
415   openat(AT_FDCWD, "/dev/urandom", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 6
415   fstat(6, {st_mode=S_IFCHR|0666, st_rdev=makedev(0x1, 0x9), ...}) = 0
415   ioctl(6, TCGETS, 0x7ffccf41d2f0)  = -1 EINVAL (Invalid argument)
415   write(6, "\323\355>B\362\3561\337\376\261J\202\336d\367\235B\26\373\314}\t(\234\214\332\246\201\375\7\2109", 32) = 32
415   close(6)                          = 0
415   getuid()                          = 0
415   setgid(505)                       = 0
415   openat(AT_FDCWD, "/proc/sys/kernel/ngroups_max", O_RDONLY) = 6
415   read(6, "65536\n", 31)            = 6
415   close(6)                          = 0
415   openat(AT_FDCWD, "/etc/group", O_RDONLY|O_CLOEXEC) = 6
415   lseek(6, 0, SEEK_CUR)             = 0
415   fstat(6, {st_mode=S_IFREG|0644, st_size=132, ...}) = 0
415   read(6, "root:x:0:root\nnobody:x:502:nobod"..., 4096) = 132
415   lseek(6, 0, SEEK_CUR)             = 132
415   lseek(6, 0, SEEK_CUR)             = 132
415   lseek(6, 0, SEEK_CUR)             = 132
415   lseek(6, 0, SEEK_CUR)             = 132
415   lseek(6, 0, SEEK_CUR)             = 132
415   lseek(6, 0, SEEK_CUR)             = 132
415   lseek(6, 0, SEEK_CUR)             = 132
415   read(6, "", 4096)                 = 0
415   close(6)                          = 0
415   setgroups(2, [505, 502])          = 0
415   setuid(505)                       = 0
415   chdir("/home/tech")               = -1 ENOENT (No such file or directory)
415   getpid()                          = 415
415   socket(AF_UNIX, SOCK_DGRAM|SOCK_CLOEXEC, 0) = 6
415   connect(6, {sa_family=AF_UNIX, sun_path="/dev/log"}, 110) = -1 ENOENT (No such file or directory)
415   close(6)                          = 0
415   openat(AT_FDCWD, "/etc/passwd", O_RDONLY|O_CLOEXEC) = 6
415   lseek(6, 0, SEEK_CUR)             = 0
415   fstat(6, {st_mode=S_IFREG|0664, st_size=316, ...}) = 0
415   read(6, "root:x:0:0:root:/root:/bin/sh\nno"..., 4096) = 316
415   close(6)                          = 0
415   geteuid()                         = 505
415   chown("/dev/pts/1", 0, 0)         = -1 EPERM (Operation not permitted)
415   getpid()                          = 415
415   socket(AF_UNIX, SOCK_DGRAM|SOCK_CLOEXEC, 0) = 6
415   connect(6, {sa_family=AF_UNIX, sun_path="/dev/log"}, 110) = -1 ENOENT (No such file or directory)
415   close(6)                          = 0
415   chmod("/dev/pts/1", 0666)         = 0
415   exit_group(1)                     = ?
413   <... select resumed>)             = 1 (in [6], left {tv_sec=28798, tv_usec=991963})
413   read(6, 0x55868d3f3a51, 16375)    = -1 EIO (Input/output error)
413   shutdown(6, SHUT_RD)              = -1 ENOTSOCK (Socket operation on non-socket)
413   writev(5, [{iov_base="\33\301L\305\250ls*?\237cX>\274x\204tE?g\201\255\205\376\212\340\212Ip2\231\263"..., iov_len=36}], 1) = 36
413   select(7, [3 5], [], NULL, {tv_sec=28799, tv_usec=0} <unfinished ...>
415   +++ exited with 1 +++
413   <... select resumed>)             = ? ERESTARTNOHAND (To be restarted if no handler)
413   --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=415, si_uid=505, si_status=1, si_utime=0, si_stime=0} ---
413   write(4, "\1", 1)                 = 1
413   rt_sigaction(SIGCHLD, {sa_handler=0x55868ba63242, sa_mask=[], sa_flags=SA_RESTORER|SA_NOCLDSTOP, sa_restorer=0x7f9cfdbaf210}, NULL, 8) = 0
413   rt_sigreturn({mask=[]})           = -1 EINTR (Interrupted system call)
413   select(7, [3 5], [], NULL, {tv_sec=28799, tv_usec=0}) = 1 (in [3], left {tv_sec=28798, tv_usec=999998})
413   read(3, "\1", 1)                  = 1
413   read(3, 0x7ffccf41d8d8, 1)        = -1 EAGAIN (Resource temporarily unavailable)
413   wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], WNOHANG, NULL) = 415
413   wait4(-1, 0x7ffccf41d884, WNOHANG, NULL) = -1 ECHILD (No child processes)
413   shutdown(6, SHUT_WR)              = -1 ENOTSOCK (Socket operation on non-socket)
413   close(6)                          = 0
413   shutdown(-1, SHUT_RD)             = -1 EBADF (Bad file descriptor)
413   shutdown(-1, SHUT_RDWR)           = -1 EBADF (Bad file descriptor)
413   shutdown(-1, SHUT_WR)             = -1 EBADF (Bad file descriptor)
413   writev(5, [{iov_base="\271$\\;\16I\306\2217\364\250-\35\272\244C)A\206r\246a\342\1{\261\252W\35r\334G"..., iov_len=52}, {iov_base="\262\30\361\34\24l\231_d/\"\33\202\225\363\221\6O\251\26fN\271\246\0332\335\r\344Bt\375"..., iov_len=36}], 2) = 88
413   select(7, [3 5], [], NULL, {tv_sec=28799, tv_usec=0}) = 1 (in [5], left {tv_sec=28798, tv_usec=999803})
413   read(5, "\351\24\256I^\365<\305", 8) = 8
413   read(5, "\336lKi\211\315\345\226\2529\215\365\32\r~\35g\366Da\326\\\f\240\270\340$\326", 28) = 28
413   openat(AT_FDCWD, "/etc/passwd", O_RDONLY|O_CLOEXEC) = 6
413   lseek(6, 0, SEEK_CUR)             = 0
413   fstat(6, {st_mode=S_IFREG|0664, st_size=316, ...}) = 0
413   read(6, "root:x:0:0:root:/root:/bin/sh\nno"..., 4096) = 316
413   close(6)                          = 0
413   geteuid()                         = 0
413   access("/var/run/utmpx", F_OK)    = -1 ENOENT (No such file or directory)
413   openat(AT_FDCWD, "/var/run/utmp", O_RDONLY|O_CLOEXEC) = 6
413   lseek(6, 0, SEEK_SET)             = 0
413   alarm(0)                          = 0
413   rt_sigaction(SIGALRM, {sa_handler=0x7f9cfdcc8fe0, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f9cfdbaf210}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
413   alarm(10)                         = 0
413   fcntl(6, F_SETLKW, {l_type=F_RDLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0
413   alarm(0)                          = 10
413   rt_sigaction(SIGALRM, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f9cfdbaf210}, NULL, 8) = 0
413   pread64(6, "\7\0\0\0\205\1\0\0pts/0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 384, 0) = 384
413   pread64(6, "\7\0\0\0\237\1\0\0pts/1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 384, 384) = 384
413   fcntl(6, F_SETLKW, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0
413   access("/var/run/utmpx", F_OK)    = -1 ENOENT (No such file or directory)
413   openat(AT_FDCWD, "/var/run/utmp", O_RDWR|O_CLOEXEC) = 7
413   dup2(7, 6)                        = 6
413   close(7)                          = 0
413   alarm(0)                          = 0
413   rt_sigaction(SIGALRM, {sa_handler=0x7f9cfdcc8fe0, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f9cfdbaf210}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f9cfdbaf210}, 8) = 0
413   alarm(10)                         = 0
413   fcntl(6, F_SETLKW, {l_type=F_WRLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0
413   alarm(0)                          = 10
413   rt_sigaction(SIGALRM, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f9cfdbaf210}, NULL, 8) = 0
413   pread64(6, "\7\0\0\0\237\1\0\0pts/1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 384, 384) = 384
413   lseek(6, 384, SEEK_SET)           = 384
413   write(6, "\10\0\0\0\237\1\0\0pts/1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 384) = 384
413   fcntl(6, F_SETLKW, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0
413   close(6)                          = 0
413   getpid()                          = 413
413   access("/var/log/wtmpx", F_OK)    = -1 ENOENT (No such file or directory)
413   openat(AT_FDCWD, "/var/log/wtmp", O_WRONLY) = 6
413   alarm(0)                          = 0
413   rt_sigaction(SIGALRM, {sa_handler=0x7f9cfdcc8fe0, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f9cfdbaf210}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f9cfdbaf210}, 8) = 0
413   alarm(10)                         = 0
413   fcntl(6, F_SETLKW, {l_type=F_WRLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0
413   alarm(0)                          = 10
413   rt_sigaction(SIGALRM, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f9cfdbaf210}, NULL, 8) = 0
413   lseek(6, 0, SEEK_END)             = 768
413   write(6, "\10\0\0\0\235\1\0\0pts/1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 384) = 384
413   fcntl(6, F_SETLKW, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0
413   close(6)                          = 0
413   chown("/dev/pts/1", 0, 0)         = -1 ENOENT (No such file or directory)
413   chmod("/dev/pts/1", 0666)         = -1 ENOENT (No such file or directory)
413   select(7, [3 5], [], NULL, {tv_sec=28799, tv_usec=0}) = 1 (in [5], left {tv_sec=28798, tv_usec=999998})
413   read(5, "$\4\206\320\240\24\330\335", 8) = 8
413   read(5, "\177\337\302\301x\24\32\37\177[\306:\324\243\241\363'\313\33$\207]\274\24\364\23\10\257\306\24\250^"..., 52) = 52
413   getpid()                          = 413
413   socket(AF_UNIX, SOCK_DGRAM|SOCK_CLOEXEC, 0) = 6
413   connect(6, {sa_family=AF_UNIX, sun_path="/dev/log"}, 110) = -1 ENOENT (No such file or directory)
413   close(6)                          = 0
413   exit_group(0)                     = ?
413   +++ exited with 0 +++
386   <... select resumed>)             = ? ERESTARTNOHAND (To be restarted if no handler)
386   --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=413, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
386   wait4(-1, NULL, WNOHANG, NULL)    = 413
386   wait4(-1, NULL, WNOHANG, NULL)    = 0
386   rt_sigaction(SIGCHLD, {sa_handler=0x55868ba654aa, sa_mask=[], sa_flags=SA_RESTORER|SA_NOCLDSTOP, sa_restorer=0x7f9cfdbaf210}, NULL, 8) = 0
386   rt_sigreturn({mask=[]})           = -1 EINTR (Interrupted system call)
386   select(7, [3 4], NULL, NULL, NULL <detached ...>

And from the other:

387   read(6, "strace: Process 387 attached\r\n", 16375) = 30
387   writev(5, [{iov_base="Z\26f\16g\272V4o&v\253\27&\250[\353)\270\240\23A\213\27\366\2424\212gS\301$"..., iov_len=68}], 1) = 68
387   select(7, [3 5 6], [], NULL, {tv_sec=28704, tv_usec=0}) = 1 (in [5], left {tv_sec=28695, tv_usec=871205})
387   read(5, "\17'\374\204q\226:\352", 8) = 8
387   read(5, "4\177\214\r\237\255sY11[<\200\306\340\4\257,\327\213\216\217\217*\213n$\252", 28) = 28
387   writev(6, [{iov_base="\3", iov_len=1}], 1) = 1
387   select(7, [3 5 6], [], NULL, {tv_sec=28696, tv_usec=0}) = 1 (in [6], left {tv_sec=28695, tv_usec=999877})

@mkj
Copy link
Owner

mkj commented Feb 24, 2022

Ah, the problem looks like /home/tech is missing

415   chdir("/home/tech")               = -1 ENOENT (No such file or directory)

Really Dropbear should just print a warning there.

@Razorfang
Copy link
Author

Alright, adding in the /home/tech directory fixed the issue. Thank you for your help.

mkj added a commit that referenced this issue Feb 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants