Page 4 of 10 FirstFirst ... 23456 ... LastLast
Results 46 to 60 of 136

Thread: Конфигурирование VSftpd

  1. #46
    Внёс конфиг TDA. набрал vsftpd /opt/etc/vsftpd.conf &.
    Пишет тоже самое словно проклятье какое-то.
    Перепрошивка и переустановка пакета непомогла!!!
    Что делать-то?????
    Может для запуска на сделать:
    #mv /opt/etc/vsftpd /opt /etc/init.d/s65vsftpd
    Кто знает напишите плиз!!!

  2. #47
    Ну давай по шагам тк ошибка у тебя скорее всего в руках:
    Конфиг не переноситься а именно правиться родной причем ТОЛЬКО средставим роутера(я использовал mc)
    Строка запуска в пост моунт:
    /opt/sbin/vsftpd /opt/etc/vsftpd.conf &
    стоит ПОСЛЕ всех моунтов(ибо иначе откуда ее запускать если еще ничег оен успело смонтиться)
    и перед ней еще:
    sleep 2s
    (ибо роутер загружаеться быстрее чем винт успевает проинициализироваться но енто у меня такой бокс под винт)
    в корне папки opt у мну соданна папка save куда копирую ВСЕ конфиги что правлю - очень полезно..
    wl-500gP 1.9.2.7-7g, + 2 HDD 500Gb

  3. #48
    И вопрос к знатокам Vsftpd - у него есть возможность ограничить отдельно скорость анонимуса и зареганных пользователей, а вот ограничить скорость отдельного зареганого пользователя как?
    wl-500gP 1.9.2.7-7g, + 2 HDD 500Gb

  4. #49
    Quote Originally Posted by TDA View Post
    И вопрос к знатокам Vsftpd - у него есть возможность ограничить отдельно скорость анонимуса и зареганных пользователей, а вот ограничить скорость отдельного зареганого пользователя как?
    добавь в файл vsftpd.conf

    Code:
    userlist_enable=YES
    userlist_deny=NO 
    userlist_file=/opt/etc/vsftpd/vsftpd.user_list
    user_config_dir=/opt/etc/vsftpd/users
    описание по строкам:
    1) включает загрузку списка пользователей, из имени файла определенном в userlist_file
    2) пользователи не будут иметь возможности залогинится, до тех пор, пока они не будут явно указаны в файле определенном в userlist_file
    3) имя файла с именами пользователей
    4) папка с конфигами на каждого пользователя

    создаешь файл vsftpd.user_list и добавляешь в него своих пользователей
    например:
    Code:
    user1
    user2
    в папке users создаешь файлы user1, user2 и т.д.
    в этих файлах можешь делать индивидуальные настройки для каждого пользователя

  5. #50
    Quote Originally Posted by Cympak View Post
    добавь в файл vsftpd.conf
    Спасибо оказалось достаточно сделать пункты 3 и 4 - теперь все натсроилось без проблемм..
    wl-500gP 1.9.2.7-7g, + 2 HDD 500Gb

  6. #51

    Question vsftpd upload для анонимов?

    anon_root=/tmp/harddisk/ftp_pub
    доступ на чтене есть,
    ндо приделать анонимам доступ на запись в
    anon_root=/tmp/harddisk/ftp_pub/upload

    как реализовать?
    ЗЫ
    чет не понимаю после новогодних потреблений,
    мозК отдыхает...
    С уважением, lex.

  7. #52
    желательно с ограничением по обЪему...
    С уважением, lex.

  8. #53
    up
    С уважением, lex.

  9. #54
    Join Date
    Jan 2007
    Location
    Moscow
    Posts
    156

    Question vsftpd

    Посмотри, как вот тут покатит? В Download права только на чтение, в Upload должно давать записывать. Ограничения по объему не пробовал
    WL-500gP(v1, 64mb) (1.9.2.7-d-r2624 by Oleg) + 3 x USB HDD
    Работают: analog, syslog-ng, cron, samba 3, RTorrent+RuTorrent, lighttpd, vsftpd+, настроена сеть и сетевая печать

  10. #55
    Quote Originally Posted by KRandall View Post
    Посмотри, как вот тут покатит? В Download права только на чтение, в Upload должно давать записывать. Ограничения по объему не пробовал
    доступа нет
    С уважением, lex.

  11. #56
    Join Date
    Jan 2007
    Location
    Moscow
    Posts
    156

    Lightbulb Доступ

    Quote Originally Posted by lexass View Post
    доступа нет
    Да, только сам увидел, что нет, это сервис No-IP что-то взбрыкнул Сейчас поправил (можно также лезть на ftp://81.88.121.74)
    WL-500gP(v1, 64mb) (1.9.2.7-d-r2624 by Oleg) + 3 x USB HDD
    Работают: analog, syslog-ng, cron, samba 3, RTorrent+RuTorrent, lighttpd, vsftpd+, настроена сеть и сетевая печать

  12. #57
    Quote Originally Posted by KRandall View Post
    Да, только сам увидел, что нет, это сервис No-IP что-то взбрыкнул Сейчас поправил (можно также лезть на ftp://81.88.121.74)
    доступа ftp://81.88.121.74/Download/WL-500gP/ НЕТ
    т.п. здесь конфиги лежат!?

    ЗЫ
    кириллЫч, сюда запости конфиг ПЛЗ...
    или в личку..
    Last edited by lexass; 06-01-2008 at 19:50.
    С уважением, lex.

  13. #58
    Join Date
    Jan 2007
    Location
    Moscow
    Posts
    156

    Lightbulb vsftpd

    Установлен вот этот vsftpd. Есть прользователь ftp в /etc/passwd
    Code:
    ...
    ftp:x:99:99:Linux User,,,:/opt/data/FTP/Public:/sbin/nologin
    ...
    и группа в /etc/group
    Code:
    ...
    nobody:x:99:
    ...
    вот мой /opt/etc/vsftpd.conf
    Code:
    listen=YES
    listen_port=21
    anonymous_enable=YES
    local_enable=YES
    write_enable=YES
    local_umask=088
    anon_umask=0888
    anon_upload_enable=YES
    anon_mkdir_write_enable=YES
    anon_other_write_enable=NO
    anon_world_readable_only=NO
    anon_root=/opt/data/FTP/Public
    pasv_enable=YES
    pasv_promiscuous=YES
    dirmessage_enable=YES
    dirlist_enable=YES
    xferlog_enable=YES
    connect_from_port_20=YES
    vsftpd_log_file=/opt/var/log/vsftpd.log
    xferlog_std_format=NO
    setproctitle_enable=YES
    idle_session_timeout=300
    nopriv_user=ftp
    ftpd_banner=<< Welcome to KRandall FTP >>
    deny_email_enable=YES
    banned_email_file=/opt/etc/vsftpd.banned_emails
    userlist_enable=YES
    userlist_file=/opt/etc/vsftpd.user_list
    ls_recurse_enable=YES
    chmod_enable=YES
    check_shell=NO
    chroot_local_user=NO
    convert_charset_enable=1
    local_charset=UTF8
    remote_charset=WIN1251
    и права на каталоги для пользователя ftp
    Code:
    admin@router /opt/data/FTP]$ ls -la
    ...
    drwxr-xr-x  4 admin root 4096 2007-11-13 07:21 Public
    [admin @router /opt/data/FTP]$
    Code:
    [admin@router Public]$ ls -la /opt/data/FTP/Public
    ...
    drwxr-xr-x 6 admin root 4096 2007-12-17 19:40 Download
    drwxrwxrwx 4 admin root 4096 2008-01-07 03:37 Upload
    [admin@router Public]$
    Соответственно Download только на чтение, Upload - с возможностью записи и создания каталогов. Удаление запрещено

    P.S.
    Quote Originally Posted by lexass View Post
    доступа ftp://81.88.121.74/Download/WL-500gP/ НЕТ
    ...
    поправил, дело было как раз в правах на каталог. Там кое-что есть, но не конфиги
    Last edited by KRandall; 07-01-2008 at 01:18. Reason: Каталоги
    WL-500gP(v1, 64mb) (1.9.2.7-d-r2624 by Oleg) + 3 x USB HDD
    Работают: analog, syslog-ng, cron, samba 3, RTorrent+RuTorrent, lighttpd, vsftpd+, настроена сеть и сетевая печать

  14. #59

    Thumbs up

    СПСБ, оно.
    буду посмотреть (для большей убежденности)...
    ЗЫ
    про ограничение на размер записываемого файла мысли есть?
    С уважением, lex.

  15. #60

    Unhappy Помогите с wl500gP

    ну в общем дела обстоят так не поднимаются rtorrent и vsftpd. Не знаю как найти причину. Ставил всё по инструкциям. В линуксе не разбираюсь вообще! Вчера случайно удалось таки запустить ADOS полноценно

    прошивка: 1.9.2.7-8

    вот список установленых прог:
    adduser - 1.9.0-1 - a multi-call binary for login and user account administration
    bzip2 - 1.0.4-2 - Very high-quality data compression program
    cron - 4.1-7 - Standard vixie cron, with cron.d addition
    cyrus-sasl-libs - 2.1.22-2 - Provides client or server side authentication (see RFC 2222).
    e2fsprogs - 1.40.3-1 - Ext2 Filesystem Utilities
    expat - 2.0.1-1 - XML Parser library
    fontconfig - 2.5.0-0 - Font configuration library
    freetype - 2.1.10-4 - Free truetype library
    gconv-modules - 2.2.5-7 - Provides gconv modules missing from the firmware. These are used by glibc's iconv() implementation.
    gdbm - 1.8.3-2 - GNU dbm is a set of database routines that use extensible hashing. It works similar to the standard UNIX dbm routines.
    glib - 2.9.6-1 - The GLib library of C routines.
    ipkg-opt - 0.99.163-9 - The Itsy Package Manager
    libcurl - 7.17.0-3 - Curl is a command line tool for transferring files with URL syntax, supporting FTP, FTPS, HTTP, HTTPS, GOPHER, TELNET, DICT, FI
    libdb - 4.2.52-3 - Berkeley DB Libraries
    libgd - 2.0.35-1 - An ANSI C library for the dynamic creation of images
    libjpeg - 6b-2 - collection of jpeg tools
    libpng - 1.2.23-1 - Portable Network Graphics Libraries
    libsigc++ - 2.0.18-1 - libsigc++ implements a typesafe callback system for standard C++.
    libtorrent - 0.11.9-1 - libtorrent is a BitTorrent library with a focus on high performance and good code.
    libuclibc++ - 0.2.2-4 - C++ standard library designed for use in embedded systems
    libxml2 - 2.6.30-2 - Libxml2 is the XML C parser and toolkit developed for the Gnome project.
    libxslt - 1.1.22-1 - An XML Stylesheet processor based on libxml2
    lighttpd - 1.4.18-1 - A fast webserver with minimal memory footprint.
    mc - 4.6.1-3 - Midnight Commander File Manager
    microperl - 5.8.8-11 - Microperl.
    nano - 2.0.7-1 - A pico like editor
    ncurses - 5.6-3 - NCurses libraries
    ncursesw - 5.6-1 - NCurses libraries with wide char support.
    openldap-libs - 2.3.38-1 - Open Lightweight Directory Access Protocol
    openssh - 4.7p1-1 - a FREE version of the SSH protocol suite of network connectivity tools.
    openssl - 0.9.7m-3 - Openssl provides the ssl implementation in libraries libcrypto and libssl, and is needed by many other applications and librari
    pcre - 7.4-1 - Perl-compatible regular expression library
    php - 5.2.5-1 - The php scripting language
    php-fcgi - 5.2.5-1 - The php scripting language, built as an fcgi module
    php-gd - 5.2.5-1 - libgd extension for php
    readline - 5.2-2 - The GNU Readline library provides a set of functions for use by applications that allow users to edit command lines as they are
    rtorrent - 0.7.9-2 - rtorrent is a BitTorrent client for ncurses, using the libtorrent library.
    screen - 4.0.3-2 - A screen manager that supports multiple logins on single terminal
    slang - 2.1.2-1 - S-Lang is a multi-platform library designed to allow a developer to create robust multi-platform software.
    sqlite - 3.5.4-1 - SQLite is a small C library that implements a self-contained, embeddable, zero-configuration SQL database engine.
    termcap - 1.3.1-2 - Terminal emulation library
    uclibc-opt - 0.9.28-12 - micro C library for embedded Linux systems
    vsftpd - 2.0.5-1 - ftp daemon with an emphasis on speed and security
    wget - 1.10.2-4 - A network utility to retrieve files from the Web
    xmlrpc-c - 1.11.00-2 - A library providing modular implementation of XML-RPC for C and C++.
    zlib - 1.2.3-2 - zlib is a library implementing the 'deflate' compression system.
    список процессов на данный момент:
    PID Uid VmSize Stat Command
    1 sirex200 716 S /sbin/init
    2 sirex200 SW [keventd]
    3 sirex200 RWN [ksoftirqd_CPU0]
    4 sirex200 SW [kswapd]
    5 sirex200 SW [bdflush]
    6 sirex200 SW [kupdated]
    7 sirex200 SW [mtdblockd]
    57 sirex200 308 S telnetd
    62 sirex200 376 S httpd vlan1
    68 sirex200 400 S syslogd -m 0 -O /tmp/syslog.log -S -l 7
    69 sirex200 368 S klogd
    70 nobody 444 S [dnsmasq]
    72 sirex200 508 S nas /tmp/nas.lan.conf /tmp/nas.lan.pid lan
    75 sirex200 SW [khubd]
    84 sirex200 276 S lpd
    86 sirex200 260 S p9100d -f /dev/usb/lp0 0
    98 sirex200 320 S infosvr br0
    99 sirex200 476 S watchdog
    101 sirex200 352 S ntp
    110 sirex200 SW [usb-storage-0]
    111 sirex200 SW [scsi_eh_0]
    117 sirex200 496 S upnp -D -L br0 -W vlan1
    120 sirex200 SW [kjournald]
    136 sirex200 404 S /opt/sbin/cron
    146 sirex200 1240 S /opt/sbin/sshd
    150 sirex200 1552 S /opt/sbin/sshd: sirex2003@notty
    155 sirex200 1140 S /opt/sbin/lighttpd -f /opt/etc/lighttpd/lighttpd.conf
    156 sirex200 4516 S /opt/bin/php-fcgi
    157 sirex200 460 S sh -c /opt/libexec/sftp-server
    158 sirex200 716 S /opt/libexec/sftp-server
    159 sirex200 4524 S /opt/bin/php-fcgi
    160 sirex200 1556 S /opt/sbin/sshd: sirex2003@notty
    162 sirex200 512 S -sh
    165 sirex200 400 R ps
    в post-boot добалено:
    # Run vsftpd server
    /opt/sbin/vsftpd /opt/etc/vsftpd.conf &

    #run rTorrent in background
    /opt/bin/screen -dmS rtorrent /opt/bin/rtorrent -n -o
    import=/opt/etc/rtorrent.conf
    при установке vsftpd ругнулся что не может создать папку /usr/share может нужно дефолтную каталог ему указать только вот как? конфиг вот:
    anonymous_enable=NO
    local_enable=YES
    write_enable=YES
    local_umask=022
    dirmessage_enable=YES
    xferlog_enable=YES
    connect_from_port_20=YES
    vsftpd_log_file=/opt/var/log/vsftpd.log
    ftpd_banner=HIVE.
    ls_recurse_enable=YES
    если нужны какие то ещё определённые данные спрашивайте сообще если смогу их узнать.

    Интересуют следующие вопросы:
    1)Как узнать почему не поднимаются эти службы (и желательно как это исправить, ну или хотя бы дать наводку где копать чтобы узнать)
    2)Что за процесс sftp-server (это случаем не стандартный stupid ftp сервак просто в настройках я его отключил)

Page 4 of 10 FirstFirst ... 23456 ... LastLast

Similar Threads

  1. FritzBox -> wl-hdd -> vsftpd Port дndern
    By PeterRies in forum German Discussion - Deutsch (DE)
    Replies: 1
    Last Post: 12-02-2008, 10:40
  2. vsftpd and ssl
    By greengreen in forum WL-500g Q&A
    Replies: 1
    Last Post: 03-07-2007, 07:00
  3. vsftpd login still slow
    By Gerdi in forum WL-500gP Q&A
    Replies: 0
    Last Post: 23-06-2007, 12:49

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •