webif przez SSL
|
obsy |
Dodano 14-03-2009 15:25
|
VIP
Posty: 5775
Dołączył: 31/10/2006 20:06
|
Dokładnie, przecież w kamikaze uruchamia się to teraz przez /etc/init.d/stunnel start
O ile nie zepsułeś konfiguracji - powinien być uruchomiony. Zobacz w procesach (ps) i co w logach jest (logread)
|
|
|
|
orator |
Dodano 14-03-2009 17:27
|
User
Posty: 155
Dołączył: 08/08/2006 12:23
|
procesy i logi
PID USER VSZ STAT COMMAND
1 root 1920 S init
2 root 0 SW [keventd]
3 root 0 RWN [ksoftirqd_CPU0]
4 root 0 SW [kswapd]
5 root 0 SW [bdflush]
6 root 0 SW [kupdated]
8 root 0 SW [mtdblockd]
55 root 0 SWN [jffs2_gcd_mtd4]
67 root 1920 S init
77 root 1936 S /sbin/syslogd -C16 -S
79 root 1916 S /sbin/klogd
99 root 1936 S syslogd -C16
101 root 1916 S klogd
564 root 1936 S udhcpc -t 0 -i eth0.1 -b -p /var/run/eth0.1.pid -R
573 root 1924 S crond -c /etc/crontabs
580 root 1872 S /usr/sbin/dropbear -p 22
583 root 1924 S /usr/sbin/httpd -p 80 -h /www -r OpenWrt
587 root 1916 S telnetd -l /bin/login
605 nobody 1212 S /usr/sbin/dnsmasq -K -D -y -Z -b -E -s lan -S /lan/ -
1607 root 1952 S /usr/sbin/dropbear -p 22
1608 root 1928 S -ash
1618 ntp 1100 S /usr/sbin/ntpd -s
1620 root 1088 S /usr/sbin/ntpd -s
2206 ntp 1100 S /usr/sbin/ntpd -s
2208 root 1088 S /usr/sbin/ntpd -s
3822 root 1920 R ps
Jan 1 00:00:09 OpenWrt syslog.info syslogd started: BusyBox v1.11.2
Jan 1 00:00:09 OpenWrt user.notice kernel: klogd started: BusyBox v1.11.2 (2009-02-18 11:27:08 CST)
Jan 1 00:00:11 OpenWrt user.info kernel: b44: eth0: Link is up at 100 Mbps, full duplex.
Jan 1 00:00:11 OpenWrt user.info kernel: b44: eth0: Flow control is off for TX and off for RX.
Jan 1 00:00:12 OpenWrt user.debug kernel: eth0.0: add 01:00:5e:00:00:01 mcast address to master interface
Jan 1 00:00:13 OpenWrt user.info kernel: eth0.0: dev_set_promiscuity(master, 1)
Jan 1 00:00:13 OpenWrt user.info kernel: device eth0 entered promiscuous mode
Jan 1 00:00:13 OpenWrt user.info kernel: device eth0.0 entered promiscuous mode
Jan 1 00:00:13 OpenWrt user.info kernel: br-lan: port 1(eth0.0) entering learning state
Jan 1 00:00:13 OpenWrt user.info kernel: br-lan: port 1(eth0.0) entering forwarding state
Jan 1 00:00:13 OpenWrt user.info kernel: br-lan: topology change detected, propagating
Jan 1 00:00:13 OpenWrt user.debug kernel: eth0.1: add 01:00:5e:00:00:01 mcast address to master interface
Jan 1 00:00:13 OpenWrt user.debug kernel: eth0.1: del 01:00:5e:00:00:01 mcast address from vlan interface
Jan 1 00:00:13 OpenWrt user.debug kernel: eth0.1: del 01:00:5e:00:00:01 mcast address from master interface
Jan 1 00:00:13 OpenWrt user.debug kernel: eth0.1: add 01:00:5e:00:00:01 mcast address to master interface
Jan 1 00:00:15 OpenWrt user.info kernel: br-lan: port 1(eth0.0) entering disabled state
Jan 1 00:00:15 OpenWrt user.info kernel: br-lan: port 1(eth0.0) entering learning state
Jan 1 00:00:15 OpenWrt user.info kernel: br-lan: port 1(eth0.0) entering forwarding state
Jan 1 00:00:15 OpenWrt user.info kernel: br-lan: topology change detected, propagating
Jan 1 00:00:15 OpenWrt user.debug kernel: PCI: Setting latency timer of device 00:05.0 to 64
Jan 1 00:00:15 OpenWrt user.emerg kernel: PCI/DMA
Jan 1 00:00:15 OpenWrt user.emerg kernel: wl0: wlc_attach: chiprev 0 coreunit 0 corerev 9 cccap 0x4787aa maccap 0x0 band 2.4G, phy_type 2 phy_rev 7 ana_rev 2
Jan 1 00:00:16 OpenWrt user.warn kernel: wl0: Broadcom BCM4320 802.11 Wireless Controller 4.150.10.5
Jan 1 00:00:16 OpenWrt user.info : Warning: loading wl will taint the kernel: non-GPL license - Proprietary
Jan 1 00:00:16 OpenWrt user.info : See http://www.tux.org/lkml/#export-tainted for information about tainted modules
Jan 1 00:00:16 OpenWrt user.info kernel: CSLIP: code copyright 1989 Regents of the University of California
Jan 1 00:00:16 OpenWrt user.info kernel: PPP generic driver version 2.4.2
Jan 1 00:00:17 OpenWrt user.warn kernel: ip_tables: (C) 2000-2002 Netfilter core team
Jan 1 00:00:18 OpenWrt user.warn kernel: ip_conntrack version 2.1 (5953 buckets, 5953 max) - 360 bytes per conntrack
Jan 1 00:00:19 OpenWrt user.info : 'wl0' is disabled
Jan 1 00:00:19 OpenWrt user.info : 'wl0' is disabled
Jan 1 00:00:20 OpenWrt user.info : Loading defaults
Jan 1 00:00:20 OpenWrt user.info : Loading synflood protection
Jan 1 00:00:21 OpenWrt user.info : Adding custom chains
Jan 1 00:00:21 OpenWrt user.info : Loading zones
Jan 1 00:00:22 OpenWrt user.info : Loading rules
Jan 1 00:00:22 OpenWrt user.info : Loading forwarding
Jan 1 00:00:22 OpenWrt user.info : Loading redirects
Jan 1 00:00:22 OpenWrt user.info : Loading includes
Jan 1 00:00:24 OpenWrt user.notice root: adding lan (br-lan) to firewall zone lan
Jan 1 00:00:24 OpenWrt user.notice root: adding wan (eth0.1) to firewall zone wan
Jan 1 00:00:24 OpenWrt user.info : iptables: Invalid argument
Jan 1 00:00:25 OpenWrt cron.err crond[573]: crond (busybox 1.11.2) started, log level 8
Jan 1 00:00:26 OpenWrt authpriv.info dropbear[580]: Running in background
Jan 1 00:00:30 OpenWrt daemon.info dnsmasq[605]: started, version 2.46 cachesize 150
Jan 1 00:00:30 OpenWrt daemon.info dnsmasq[605]: compile time options: IPv6 GNU-getopt no-DBus no-I18N TFTP
Jan 1 00:00:30 OpenWrt daemon.info dnsmasq[605]: DHCP, IP range 192.168.1.100 -- 192.168.1.250, lease time 12h
Jan 1 00:00:30 OpenWrt daemon.info dnsmasq[605]: using local addresses only for domain lan
Jan 1 00:00:30 OpenWrt daemon.info dnsmasq[605]: reading /tmp/resolv.conf.auto
Jan 1 00:00:30 OpenWrt daemon.info dnsmasq[605]: using nameserver 191.254.25.254#53
Jan 1 00:00:30 OpenWrt daemon.info dnsmasq[605]: using local addresses only for domain lan
Jan 1 00:00:30 OpenWrt daemon.info dnsmasq[605]: read /etc/hosts - 1 addresses
Jan 1 00:00:30 OpenWrt daemon.err dnsmasq[605]: failed to read /etc/ethers:No such file or directory
Jan 1 00:01:17 OpenWrt auth.info passwd: Password for root changed by root
Jan 1 00:04:27 OpenWrt authpriv.info dropbear[1607]: Child connection from 192.168.1.11:1996
Jan 1 00:04:40 OpenWrt authpriv.warn dropbear[1607]: bad password attempt for 'root' from 192.168.1.11:1996
Jan 1 00:04:43 OpenWrt authpriv.notice dropbear[1607]: password auth succeeded for 'root' from 192.168.1.11:1996
Mar 14 16:04:38 OpenWrt daemon.info ntpd[2205]: set local clock to Sat Mar 14 16:04:38 UTC 2009 (offset 290361472.555092s)
Mar 14 16:04:53 OpenWrt cron.err crond[573]: time disparity of 4839358 minutes detected
plik konfiguracyjny zawiera tylko te wpisy z przykładu
kamikaze 8.09 |
|
|
|
obsy |
Dodano 14-03-2009 18:48
|
VIP
Posty: 5775
Dołączył: 31/10/2006 20:06
|
Jak widzisz w ogóle nawet Ci się proces nie uruchomił.
napisz po prostu stunnel w konsoli i zobacz czy sie uruchomi i czy czegoś nie wypisze.
|
|
|
|
orator |
Dodano 14-03-2009 19:37
|
User
Posty: 155
Dołączył: 08/08/2006 12:23
|
po wpisaniu odpowiednich ( w/w ) wersów do pliku konfiguracyjnego i wpisaniu stunnel w konsolę nic nie wyskoczyło (nowy znak zachęty) |
|
|
|
obsy |
Dodano 14-03-2009 20:01
|
VIP
Posty: 5775
Dołączył: 31/10/2006 20:06
|
Wcale nie pomagasz takimi odpowiedziami.
Wyinstaluj pakiet stunnel. zainstaluj ponownie. Nie zmieniaj nic w pliku konfiguracyjnym, wygeneruj tylko certyfikat i daj do /etc/stunnel/stunnel.pem
/etc/init.d/stunnel i powinno działać.
|
|
|
|
orator |
Dodano 14-03-2009 21:24
|
User
Posty: 155
Dołączył: 08/08/2006 12:23
|
dzięki wielkie mentorze działa
powiedz mi jak przenieść https z portu 443 na inny bo zmiana w pliku i restart usługi nic nie dały |
|
|
|
orator |
Dodano 15-03-2009 15:39
|
User
Posty: 155
Dołączył: 08/08/2006 12:23
|
mam problem z włączeniem stunnel
/etc/init.d/stunnel start
/etc/init.d/stunnel enable
nie odpalają go , dopiero wpisanie w konsoli stunnel odpala go |
|
|
|
obsy |
Dodano 15-03-2009 17:30
|
VIP
Posty: 5775
Dołączył: 31/10/2006 20:06
|
Jedyne zapisy odnośnie portów masz w konfiguracji, więc musi działać. Chyba ze firewall blokuje.
Gdzie masz ten stunnel zainstalowany, we flash czy na karcie.
Jak we flash to zobacz czy się zrobił link w /etc/rc.d.
|
|
|
|
orator |
Dodano 15-03-2009 18:12
|
User
Posty: 155
Dołączył: 08/08/2006 12:23
|
w rc.d jest plik S90stunnel |
|
|