アットウィキロゴ

vsftpd_1.2.1_prelogin.c_init_connection

source

prelogin.c

line

30 - 93

概要


void init_connection(struct vsf_session* p_sess)

処理の流れ



  • tunable_setproctitle_enable が有効の場合

 tunable_setproctitle_enable が設定されている場合(デフォルトは 0)

tunable_setproctitle_enable
可能にされると、vsftpdは、システムプロセスのセッション状態情報がリストアップされているのを示してみるでしょう。 
言い換えれば、プロセスの報告された名前は、vsftpdセッションがしていることを反映するために変化するでしょう(怠けてください、などをダウンロードして)。 
あなたはセキュリティ目的のためにたぶんこれをやめたがっています。 

    35     vsf_sysutil_setproctitle("not logged in");
    36   }

  • /* Before we talk to the remote, make sure an alarm is set up in case * writing the initial greetings should block.

    40   vsf_cmdio_set_alarm(p_sess);


    41   emit_greeting(p_sess);

  • username と password 処理

    42   parse_username_password(p_sess);


function


    30 void
    31 init_connection(struct vsf_session* p_sess)
    32 {
    33   if (tunable_setproctitle_enable)
    34   {
    35     vsf_sysutil_setproctitle("not logged in");
    36   }
    37   /* Before we talk to the remote, make sure an alarm is set up in case
    38    * writing the initial greetings should block.
    39    */
    40   vsf_cmdio_set_alarm(p_sess);
    41   emit_greeting(p_sess);
    42   parse_username_password(p_sess);
    43 }
最終更新:2009年03月01日 16:14
ツールボックス

下から選んでください:

新しいページを作成する
ヘルプ / FAQ もご覧ください。