Skip to content

pei-jikui/nginx-alg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nginx-alg

1.Introducation:

ALG MODULE support for NGINX and only ftp alg is supported currently.

2.How TO Use?

a. configure to add the alg module into the nginx 

    introduced a new compiling option --with-stream_alg for this purpose
    ./configure --with-stream --with-stream_alg ...

b. add the "alg ftp" option into the upstream server syntax scope.
   
   introduced a new running option "alg ftp" for this purpose.
    
    server {

        listen 60.60.60.77:2121;

        proxy_timeout 65534;

        proxy_pass vpnftp1;

        alg ftp;

    }

3.Ready Features

a. Multiple concurrent connections support.

b. Full modes, pasv and active, support.

c. Multiple servers in one upstream support.

d. Doesn't need to make any changes for either ftp client or ftp server.          

4.TO DO features

a. Boost Nginx connection's performance.

b. Other protocol's ALG.