├── ChangeLog ├── INSTALL ├── License ├── Makefile.in ├── SOLARIS.NOTES ├── TODO ├── admin └── login │ ├── Copia di login2.html │ ├── OK.html │ ├── answer.php │ ├── bg.png │ ├── bottone.png │ ├── bottone2.png │ ├── button.png │ ├── button_blue_left.png │ ├── button_blue_right.png │ ├── constring.php │ ├── getuser.php │ ├── header_bg.png │ ├── index.php │ ├── index.php.ORIG │ ├── input_left.png │ ├── input_right.png │ ├── lock_icon.gif │ ├── login.css.OLD │ ├── login.php │ ├── login.php.ORIG │ ├── login2.html │ ├── login_new.css │ ├── login_table.sql │ ├── loginerror.php │ ├── password.jpg │ ├── password.png │ ├── selectuser.js │ ├── username.png │ └── whoyou.php ├── build ├── README.build ├── mod_bot.mk ├── mod_bot2.mk ├── mod_top.mk └── mod_top2.mk ├── common ├── Makefile ├── Makefile.in ├── SS5MySql.c ├── SS5OpenLdap.c └── SS5Radius.c ├── conf ├── examples │ ├── admin │ ├── ss5.conf │ ├── ss5.ha │ └── ss5.passwd ├── ss5.conf ├── ss5.ha ├── ss5.init ├── ss5.passwd └── ss5.sysconfig ├── configure ├── configure.ac ├── doc ├── README.BALANCE ├── README.CONSOLE ├── README.EPOLL ├── README.MODULES ├── README.SS5SRV ├── ldap │ ├── README.ldap │ └── examples │ │ ├── entries.ldif │ │ └── slapd.conf └── pam │ ├── README.pam │ └── examples │ └── ss5.pam ├── include ├── SS5Basic.h ├── SS5Core.h ├── SS5Debug.h ├── SS5Defs.h ├── SS5ExternalProgram.h ├── SS5GSSApi.h ├── SS5Main.h ├── SS5Mod_authentication.h ├── SS5Mod_authorization.h ├── SS5Mod_balance.h ├── SS5Mod_bandwidth.h ├── SS5Mod_dump.h ├── SS5Mod_filter.h ├── SS5Mod_log.h ├── SS5Mod_proxy.h ├── SS5Mod_socks4.h ├── SS5Mod_socks5.h ├── SS5Mod_statistics.h ├── SS5Modules.h ├── SS5MySql.h ├── SS5OpenLdap.h ├── SS5Pam.h ├── SS5Radius.h ├── SS5Server.h ├── SS5Srv.h ├── SS5Supa.h ├── SS5Thread.h ├── SS5Utils.h ├── SockAddr ├── config.h └── config.h.in ├── install-sh ├── man ├── FreeBSD │ ├── ss5.1.gz │ ├── ss5.conf.5.gz │ ├── ss5.ha.5.gz │ ├── ss5.pam.5.gz │ ├── ss5.passwd.5.gz │ ├── ss5_gss.5.gz │ ├── ss5_supa.5.gz │ └── ss5srv.1.gz ├── Linux │ ├── ss5.1.bz2 │ ├── ss5.1.gz │ ├── ss5.conf.5.bz2 │ ├── ss5.conf.5.gz │ ├── ss5.ha.5.bz2 │ ├── ss5.ha.5.gz │ ├── ss5.pam.5.bz2 │ ├── ss5.pam.5.gz │ ├── ss5.passwd.5.bz2 │ ├── ss5.passwd.5.gz │ ├── ss5_gss.5.bz2 │ ├── ss5_gss.5.gz │ ├── ss5_supa.5.bz2 │ ├── ss5_supa.5.gz │ ├── ss5srv.1.bz2 │ └── ss5srv.1.gz └── SunOS │ ├── ss5.1 │ ├── ss5.conf.5 │ ├── ss5.ha.5 │ ├── ss5.pam.5 │ ├── ss5.passwd.5 │ ├── ss5_gss.5 │ ├── ss5_supa.5 │ └── ss5srv.1 ├── modules ├── Makefile.in ├── mod_authen │ ├── Makefile.in │ ├── SS5Basic.c │ ├── SS5ExternalProgram.c │ ├── SS5Mod_authentication.c │ ├── SS5Pam.c │ └── SS5Supa.c ├── mod_author │ ├── Makefile.in │ └── SS5Mod_authorization.c ├── mod_balance │ ├── Makefile.in │ ├── README.balamgr │ ├── SS5Logo.jpg │ ├── SS5Mod_balance.c │ └── balamgr.c ├── mod_bandwidth │ ├── Makefile.in │ └── SS5Mod_bandwidth.c ├── mod_dump │ ├── Makefile.in │ └── SS5Mod_dump.c ├── mod_filter │ ├── Makefile.in │ └── SS5Mod_filter.c ├── mod_log │ ├── Makefile.in │ └── SS5Mod_log.c ├── mod_proxy │ ├── Makefile.in │ └── SS5Mod_proxy.c ├── mod_socks4 │ ├── Makefile.in │ └── SS5Mod_socks4.c ├── mod_socks5 │ ├── Makefile.in │ └── SS5Mod_socks5.c ├── mod_statistics │ ├── Makefile.in │ ├── README.statmgr │ ├── SS5Logo.jpg │ ├── SS5Mod_statistics.c │ └── statmgr.c └── module.install └── src ├── Makefile.in ├── SS5Core.c ├── SS5Debug.c ├── SS5GSSApi.c ├── SS5Main.c ├── SS5Modules.c ├── SS5Server.c ├── SS5Srv.c ├── SS5Thread.c └── SS5Utils.c /INSTALL: -------------------------------------------------------------------------------- 1 | Linux installation using source RPM 2 | ================================== 3 | 4 | 1. To compile ss5, type: 5 | 6 | rpmbuild --rebuild ss5-X.Y-mrZ.src.rpm 7 | 8 | 2. To install ss5, type: 9 | 10 | rpm -ivh ss5-X.Y-mrZ.i386.rpm 11 | 12 | 3. To remove ss5, type: 13 | 14 | rpm -e ss5-X.Y-mrZ.i386.rpm 15 | 16 | 17 | Linux installation using tar.gz 18 | ================================== 19 | 20 | 1. cd to the directory containing the ss5 source code 21 | and type: 22 | 23 | ./configure 24 | 25 | 2. To compile ss5, type: 26 | 27 | make 28 | 29 | 3. To install ss5, type: 30 | 31 | make install 32 | 33 | 4. To remove ss5, type: 34 | 35 | make uninstall 36 | 37 | To remove the program binaries and object files from the source code 38 | directory, type: 39 | 40 | make clean 41 | 42 | To remove the files that configure created before recompiling or before 43 | compiling ss5 for a different kind of computer, type: 44 | 45 | make distclean 46 | 47 | 48 | Solaris installation using tar.gz 49 | ================================= 50 | 51 | 1. cd to the directory containing the ss5 source code 52 | and type: 53 | 54 | ./configure 55 | 56 | 2. To compile ss5, type: 57 | 58 | make 59 | 60 | 3. To install ss5, type: 61 | 62 | make install 63 | 64 | 4. Copy the content of doc/pam/examples/pam file into /etc/pam.conf 65 | 66 | 5. To remove ss5 from your system, type: 67 | 68 | make uninstall 69 | 70 | To remove the program binaries and object files from the source code 71 | directory, type: 72 | 73 | make clean 74 | 75 | To remove the files that configure created before recompiling or before 76 | compiling ss5 for a different kind of computer, type: 77 | 78 | make distclean 79 | 80 | 81 | Configuring package 82 | =================== 83 | 84 | configure recognizes options that control the compilation process: 85 | 86 | --with-debug 87 | Turn on debugging flags 88 | 89 | --with-gssapi 90 | Turn on gssapi support 91 | 92 | --with-configfile=FILE 93 | Set the location of config file, i.e. /usr/local/etc/ss5.conf (default /etc/opt/ss5/ss5.conf) 94 | 95 | --with-passwordfile=FILE 96 | Set the location of password file, i.e. /usr/local/etc/ss5.passwd (default /etc/opt/ss5/ss5.passwd) 97 | 98 | --with-logfile=FILE 99 | Set the location of log file, i.e. /usr/local/log/ss5.log (default /var/log/ss5/ss5.log) 100 | 101 | --with-profilepath=PATH 102 | Set the location of profile path, i.e. /usr/local/etc (default /etc/opt/ss5) 103 | 104 | --with-libpath=PATH 105 | Set the location of ss5 modules, i.e. /usr/local/lib/ss5 (default /usr/lib/ss5) 106 | 107 | --with-tracepath=PATH 108 | Set the location of ss5 trace files, i.e. /usr/local/trc/ss5 (default /var/log/ss5) 109 | 110 | --with-defaultaddr=ADDR 111 | Set default bind address, i.e. 10.10.10.1 (default 0.0.0.0, all addresses) 112 | 113 | --with-defaultport=PORT 114 | Set default bind port, i.e. 8080 (default 1080) 115 | 116 | --with-defaultuser=USERNAME 117 | Set default user process, i.e. socksuser (default nobody) 118 | 119 | Configuring installation 120 | =================== 121 | 122 | configure recognizes options that control the installation process: 123 | 124 | --with-confpathbase=PATH 125 | Set install location of ss5 config files (default /etc/opt) 126 | 127 | --with-binpathbase=PATH 128 | Set install location of ss5 binary files (default /opt) 129 | 130 | --with-docpathbase=PATH 131 | Set install location of ss5 doc files (default /usr/share/doc) 132 | 133 | --with-manpathbase=PATH 134 | Set install location of ss5 man files (default /usr/share/man) 135 | 136 | --with-tracepathbase=PATH 137 | Set install location of ss5 trace files (default /var/log/ss5) 138 | 139 | --with-logpathbase=PATH 140 | Set install location of ss5 log file (default /var/log/ss5) 141 | 142 | -------------------------------------------------------------------------------- /SOLARIS.NOTES: -------------------------------------------------------------------------------- 1 | With Solaris 8, you should create a symbolic link under modules directory (i.e. /usr/lib/ss5/) as follow: 2 | 3 | ln -s /usr/local/lib/libgcc_s.so.1 /usr/lib/ss5/libgcc_s.so.1 4 | 5 | -------------------------------------------------------------------------------- /TODO: -------------------------------------------------------------------------------- 1 | 1) fix log during udp stream 2 | 2) ftp fixup 3 | 3) admin console 4 | 5 | -------------------------------------------------------------------------------- /admin/login/Copia di login2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 |Richiesta < "; 8 | echo $q ; 9 | echo " > inserita correttamente.
"; 10 | ?> 11 | -------------------------------------------------------------------------------- /admin/login/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postageapp/ss5/b1b95d817cd7caea4680e72092056ef1f1cc59c8/admin/login/bg.png -------------------------------------------------------------------------------- /admin/login/bottone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postageapp/ss5/b1b95d817cd7caea4680e72092056ef1f1cc59c8/admin/login/bottone.png -------------------------------------------------------------------------------- /admin/login/bottone2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postageapp/ss5/b1b95d817cd7caea4680e72092056ef1f1cc59c8/admin/login/bottone2.png -------------------------------------------------------------------------------- /admin/login/button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postageapp/ss5/b1b95d817cd7caea4680e72092056ef1f1cc59c8/admin/login/button.png -------------------------------------------------------------------------------- /admin/login/button_blue_left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postageapp/ss5/b1b95d817cd7caea4680e72092056ef1f1cc59c8/admin/login/button_blue_left.png -------------------------------------------------------------------------------- /admin/login/button_blue_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postageapp/ss5/b1b95d817cd7caea4680e72092056ef1f1cc59c8/admin/login/button_blue_right.png -------------------------------------------------------------------------------- /admin/login/constring.php: -------------------------------------------------------------------------------- 1 | 11 | -------------------------------------------------------------------------------- /admin/login/getuser.php: -------------------------------------------------------------------------------- 1 | "; 26 | while($row = mysql_fetch_array($result)) 27 | { 28 | echo " "; 29 | } 30 | echo " "; 31 | 32 | 33 | } 34 | 35 | mysql_close($con); 36 | } 37 | ?> 38 | -------------------------------------------------------------------------------- /admin/login/header_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postageapp/ss5/b1b95d817cd7caea4680e72092056ef1f1cc59c8/admin/login/header_bg.png -------------------------------------------------------------------------------- /admin/login/index.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |This Is The Content it is protected with who you php script.
11 | Log out 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /admin/login/input_left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postageapp/ss5/b1b95d817cd7caea4680e72092056ef1f1cc59c8/admin/login/input_left.png -------------------------------------------------------------------------------- /admin/login/input_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postageapp/ss5/b1b95d817cd7caea4680e72092056ef1f1cc59c8/admin/login/input_right.png -------------------------------------------------------------------------------- /admin/login/lock_icon.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postageapp/ss5/b1b95d817cd7caea4680e72092056ef1f1cc59c8/admin/login/lock_icon.gif -------------------------------------------------------------------------------- /admin/login/login.css.OLD: -------------------------------------------------------------------------------- 1 | * {padding: 0; margin: 0; outline: none} 2 | html {height: 100%} 3 | body {font: 14px arial, sans-serif; color: #103D4A; line-height: 18px; height: 100%} 4 | p {margin-top:10px} 5 | a {text-decoration: none; color: #984121} 6 | em {font-family: "Trebuchet MS", arial, sans-serif; font-weight: bold} 7 | img, fieldset {padding-bottom: 1px; border-top-style: solid; border-top-width: 1px; border-top-color: #ccc; border-right-style: none;border-left-style: none;border-bottom-style: none;} 8 | legend { font-weight: bold; margin-top: 5px; color: black;} 9 | table {border-collapse: collapse; border-spacing: 0} 10 | textarea {border: none; font: 12px arial, helvetica, sans-serif; color: #222} 11 | h1 {font: bold 18px 'Trebuchet MS', Arial, Helvetica, sans-serif} 12 | h2 {font: bold 16px 'Trebuchet MS', Arial, Helvetica, sans-serif} 13 | h3 {font-size: 14px} 14 | h4 {font: bold italic 12px 'Trebuchet MS', Arial, Helvetica, sans-serif} 15 | h5 {font-size: 12px} 16 | 17 | .graphic_text {display: block; text-indent: -5000px; overflow: hidden; background-repeat: no-repeat} 18 | 19 | .form dt {width: 70px} 20 | .form dd {margin: -19px 0 10px 80px} 21 | .form input {font-size: 11px} 22 | .form_list dt {width: 70px; padding-bottom: 17px} 23 | .form_list dd {position: absolute; margin: -37px 0 0 80px; line-height: 26px} 24 | 25 | .input_text {line-height: 14px; background: url("input_right.png") top right no-repeat; display: -moz-inline-stack; display: inline-block; zoom: 1; *display: inline} 26 | .input_text > span {background: url("input_left.png") no-repeat; padding: 4px 2px 4px 5px; margin-right: 3px; display: block} 27 | .input_text input {border: none; border-width: 0; height: 16px; font-size: 12px; color: #222} 28 | 29 | 30 | * + html .input_text input {margin-top: -1px} 31 | 32 | .input_text input.default_value {font-family: "Trebuchet MS", Arial, sans-serif; font-style: italic; color: #999} 33 | 34 | .ibutton {background-position: 0 0; background-repeat: no-repeat; padding: 0 0 0 5px; line-height: 33px; float: left; cursor: pointer} 35 | .ibutton.blue {background: url("button_blue_left.png") 0 0 no-repeat} 36 | .ibutton.blue:hover {background-position: 0px -50px} 37 | .ibutton.blue:active {background-position: 0px -100px} 38 | 39 | .ibutton > span {display: block; padding-right: 10px; padding-left: 5px; text-align: center; font: normal 15px/33px "Trebuchet MS", Arial, sans-serif; color: #455a2c; background-position: right 0; background-repeat: no-repeat} 40 | .ibutton.blue > span {color: #165667; background-image: url("button_blue_right.png")} 41 | .ibutton.blue:hover > span {background-position: right -50px} 42 | .ibutton.blue:active > span {background-position: right -100px} 43 | 44 | .ibutton span.graphic_text {background-position: center 9px; background-repeat: no-repeat} 45 | 46 | 47 | body > .container {height: auto; min-height: 100%; position: relative} 48 | body > .container > .content {background: white; padding: 0 10px 0 10px} 49 | body > .container > .content > .content_inner {width: 880px; margin: 0 auto; padding: 25px 0 0 0} 50 | 51 | 52 | .header {background: url("header_bg.png") repeat-x; border-bottom: 1px solid #a8c7ce; padding: 0 10px 0 10px} 53 | .header_content {padding: 15px 0px 0 0px; height: 57px; width: 880px; margin: 0 auto; position: relative} 54 | 55 | 56 | body.top #go_home {display:none} 57 | body h2.graphic_text {height: 25px} 58 | 59 | body.login #footer .go_home {display: none} 60 | 61 | body.login > .container > .content > .content_inner {padding: 35px 0 30px 25px} 62 | body.login .footer_content {padding: 10px 0 25px 50px; width: 805px} 63 | body.login .header_content {left: 0} 64 | body.login #login_block {padding: 10px 0 10px 0px; position: relative; width: 350px; margin-left: 48px} 65 | 66 | body.login .explanation {position: absolute; width: 200px; top: 6px; left: 532px} 67 | body.login .explanation.subtext {font-size: 13px; line-height: 20px} 68 | 69 | body.login div.line {margin-bottom: 20px} 70 | body.login div.line > label {display: block; width: 100px; height: 24px; float: left} 71 | 72 | body.login #login_label {background: url("username.png") no-repeat left center; } 73 | body.login #password_label {background: url("password.png") no-repeat left center} 74 | 75 | body.login #login_block .input_text input {width: 240px} 76 | body.login #login_button {float: right} 77 | body.login #forgot_your_password {font: normal 12px Arial; display: block; margin: 30px 0 0 100px} 78 | 79 | .mytest { 80 | position:relative; 81 | width:240px; 82 | height:180px; 83 | top:-200px; 84 | left:200px; 85 | cursor: pointer; 86 | background-color: #3A0000; 87 | background:#f2f2f2; 88 | border:1px solid #c3c3c3; 89 | display:inline-block; 90 | } 91 | 92 | 93 | -------------------------------------------------------------------------------- /admin/login/login.php: -------------------------------------------------------------------------------- 1 | 2 | 32 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 |