yassine1070 / tdt-amiko

Automatically exported from code.google.com/p/tdt-amiko
0 stars 0 forks source link

Telnet password #73

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hello please enable telnet password request in next build and disable telnet 
autologin.I open telnet port 23.And it is not secure connect to amiko over 
internet.Now to telnet can connect anything.Very please fix thanks

Original issue reported on code.google.com by kie...@gmail.com on 7 Apr 2013 at 7:19

GoogleCodeExporter commented 8 years ago
You can add password your self. It is off by default because we want fast 
access while image testing.

Original comment by alexeytech on 7 Apr 2013 at 11:04

GoogleCodeExporter commented 8 years ago
i don't know how enable.Password request work only in ftp and webif?What 
command i can enable telnet password and disable telnet autologin.

Original comment by kie...@gmail.com on 7 Apr 2013 at 4:23

GoogleCodeExporter commented 8 years ago
I've started this faq just now, follow this link
http://code.google.com/p/tdt-amiko/wiki/FAQ?ts=1365367799&updated=FAQ#enable_tel
net_password

Original comment by alexeytech on 7 Apr 2013 at 8:50

GoogleCodeExporter commented 8 years ago
But now when i delete and enter passwd i cannot access in telnet.After amiko 
reboot i try enter in telnet but putty closed.How fix?very please help.

Original comment by kie...@gmail.com on 8 Apr 2013 at 5:57

GoogleCodeExporter commented 8 years ago
Show your /etc/init.d/telnetd file. I've tested it yesterday. 

Original comment by alexeytech on 8 Apr 2013 at 12:46

GoogleCodeExporter commented 8 years ago
#! /bin/sh
#
# telnet daemon
# chkconfig: S 43 30
#

case "$1" in
  start)
    echo -n "Starting telnetd "
    start-stop-daemon -S -x /usr/sbin/telnetd
    echo "."
    ;;
  stop)
    echo -n "Stopping telnetd: "
    start-stop-daemon -K -x /usr/sbin/telnetd
    ;;
  restart)
    echo "Restarting telnetd..."
    $0 stop
    $0 start
    ;;
  *)
    echo "Usage: $SCRIPTNAME {start|stop}" >&2
    exit 1
    ;;
esac

exit 0

Original comment by kie...@gmail.com on 8 Apr 2013 at 1:07

GoogleCodeExporter commented 8 years ago
Are you sure you setup password with passwd correctly ?

Original comment by alexeytech on 8 Apr 2013 at 1:27

GoogleCodeExporter commented 8 years ago
Yes i enter command passwd and enter password 2 times.After change password i 
reboot router with reboot command.And now i cannot access in telnet completely

Original comment by kie...@gmail.com on 8 Apr 2013 at 1:38

GoogleCodeExporter commented 8 years ago
I use this image backup 
http://www.failai.lt/8irxpcaeo4np/OpenAR-P_OE2.0_211_alien_gst-git-08-01-13_add1
32c.zip.htm

Original comment by kie...@gmail.com on 8 Apr 2013 at 1:43

GoogleCodeExporter commented 8 years ago
Please help.

Original comment by kie...@gmail.com on 10 Apr 2013 at 7:33

GoogleCodeExporter commented 8 years ago
I try new build 
https://tdt-amiko.googlecode.com/files/OpenAR-P_OE2.0_211_alien_epl3-git-08-04-1
3_v2013-03-31-25-g6fbce32.zip But problem is.Then i delete from script -- -l 
/bin/autologin And enter in telnet passwd enter 2 times password.After amiko 
reboot i completely cannot access in telnet.

Original comment by kie...@gmail.com on 12 Apr 2013 at 6:55

GoogleCodeExporter commented 8 years ago
1./etc/init.d/telnetd delete from script -- -l /bin/autologin  
2.Enter password in telnet  "passwd"
3.Reboot
Tested is worked!

Original comment by schpunti...@gmail.com on 13 Apr 2013 at 8:08

GoogleCodeExporter commented 8 years ago
I say again i my amiko 8900 not working 

Original comment by kie...@gmail.com on 13 Apr 2013 at 8:10

GoogleCodeExporter commented 8 years ago
I do not believe you. Try one more time

Original comment by schpunti...@gmail.com on 13 Apr 2013 at 8:48

GoogleCodeExporter commented 8 years ago
Hi! Great image!

I'm testing now and after you do all this actions pass not gives secure. you 
can test to entry other long wrong pass and telnet is open and ftp also.
Check it please again. 

Thanks!

Original comment by valencia...@gmail.com on 14 Apr 2013 at 1:17

GoogleCodeExporter commented 8 years ago
@kiesa2 Try to change to /sbin/login

@valenciano652
This bug is confirmed, it looks like only first 8 characters are compared.

Original comment by alexeytech on 14 Apr 2013 at 4:26

GoogleCodeExporter commented 8 years ago
What change to /sbin/login?Where change?

Original comment by kie...@gmail.com on 14 Apr 2013 at 4:51

GoogleCodeExporter commented 8 years ago
Change /bin/autologin to /bin/login

Original comment by alexeytech on 14 Apr 2013 at 5:02

GoogleCodeExporter commented 8 years ago
Ok i change to this 

#! /bin/sh
#
# telnet daemon
# chkconfig: S 43 30
#

case "$1" in
  start)
    echo -n "Starting telnetd "
    start-stop-daemon -S -x /usr/sbin/telnetd -- -l /bin/login
    echo "."
    ;;
  stop)
    echo -n "Stopping telnetd: "
    start-stop-daemon -K -x /usr/sbin/telnetd
    ;;
  restart)
    echo "Restarting telnetd..."
    $0 stop
    $0 start
    ;;
  *)
    echo "Usage: $SCRIPTNAME {start|stop}" >&2
    exit 1
    ;;
esac

exit 0

But now i get putty error network error connection refused.

Original comment by kie...@gmail.com on 14 Apr 2013 at 5:12

GoogleCodeExporter commented 8 years ago
Maybe this bug fixed in last build? 
https://tdt-amiko.googlecode.com/files/OpenAR-P_OE2.0_211_alien_epl3-git-14-04-1
3_v2013-03-31-31-g994c8c4.zip

Original comment by kie...@gmail.com on 19 Apr 2013 at 4:22

GoogleCodeExporter commented 8 years ago
try, I can't reproduce.

Original comment by alexeytech on 19 Apr 2013 at 5:20

GoogleCodeExporter commented 8 years ago
Problem is in this build.I delete from telnetd -- -l /bin/autologin and login 
to telnet.I write passwd next enter password 2 times.And after reboot amiko i 
get error network error connection refused.very please fix this bug in next 
build.Telnet password prompt working in hdmu amiko 8900 images.But hdmu have 
old enigma2 webif.

Original comment by kie...@gmail.com on 19 Apr 2013 at 5:28

GoogleCodeExporter commented 8 years ago
I need more users that can confirm your trouble. Again, I can't reproduce.

Oo one idea. Are you sure that encoding and unix endlines and things like this 
is not damaged when you editing initd script? Use total commander, see editor 
settings...

Attach(!) /etc/init.d/telnetd so I can check it.

Original comment by alexeytech on 19 Apr 2013 at 5:51

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
i use winscp connect to ftp,ssh.I think this program good like total commander.

Original comment by kie...@gmail.com on 19 Apr 2013 at 5:54

GoogleCodeExporter commented 8 years ago
Please read my posts carefully if you want help.

Attach(!) /etc/init.d/telnetd so I can check it.

Original comment by alexeytech on 19 Apr 2013 at 5:55

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Very very thank you.Now works telnet password request.When i edit telnetd with 
total commander after image reinstall.Finish problem solved.

Original comment by kie...@gmail.com on 19 Apr 2013 at 6:00

GoogleCodeExporter commented 8 years ago
@valenciano652

I added sha hash for busybox 1.21.0-r1

Get it here:
http://code.google.com/p/tdt-amiko/issues/detail?id=52#c4

Original comment by alexeytech on 20 Apr 2013 at 11:38

GoogleCodeExporter commented 8 years ago

Original comment by andrey....@gmail.com on 21 Apr 2013 at 1:13