Short: Socks5 proxy server for AmiTCP Author: lbird@randomc.com (Leslie S. Bird) Uploader: lbird@randomc.com (Leslie S. Bird) Type: comm/tcp This is a direct port of socks5 V1.0r6 for Unix. Socks5 is a proxy server that will allow other computers to access the rest of the Internet through your Amiga. If you have more than one computer connected via TCP but only ONE account with your provider, Socks5 will allow other computers to pass through. Note that you will need client software on your other machine that supports Socks or else you will not be able to use it. Most Windows Internet applications can be configured for Socks. Not much exists in the way for Amiga apps, other than the program Socksproxy found on Aminet. Socks5 has been compiled with GCC 2.7.0 USAGE: Socks5 can only be run from inetd, OR in standalone using the -o (onetime option), since forking doesn't work properly. Standalone is handy for debugging, but not much else. run socks5 from standalone: socks5 -o for inetd, modify db/services socks 1080/tcp socks 1080/udp modify db/inetd.conf socks stream tcp nowait root AmiTCP:serv/socks5 socks5 -i socks dgram udp nowait root AmiTCP:serv/socks5 socks5 -i Place the socks5 executable in your AmiTCP:serv directory. Socks5 stores its files in the AmiTCP:conf/ directory, you will need to create this if you do not have it. The files SOCKS5.CONF and SOCKS5.PASSWD will need to be placed there. You will probably have to run a nameserver on your Amiga, or else the applications that default to Socks 4 protocol will not work well. I recommend NAMED.LHA, also found on Aminet. It seems to run just fine that way. A PC I have hooked up runs Netscape just fine; also tested with SocksCAP through which I've run Telnet, FTP, Realaudio. UDP applications currently do not work. Socks5 is supposed to allow the passing of udp packets, however in this Amiga version I have so far been unable to get it to work. If you have better luck please let me know! You also need ixemul.library 47.2 or better from Aminet. Please send comments/bug reports to me regarding the Amiga port of Socks5 at lbird@randomc.com ============================= Archive contents ============================= Original Packed Ratio Date Time Name -------- ------- ----- --------- -------- ------------- 2196 1073 51.1% 03-Aug-98 22:22:44 Socks5.readme 180988 73093 59.6% 03-Aug-98 21:22:32 +socks5 167000 69816 58.1% 03-Aug-98 21:40:56 +socks5_020 165348 69616 57.8% 03-Aug-98 21:56:16 +socks5_040 326 215 34.0% 17-Jun-97 13:23:50 +socks5.conf 14 14 0.0% 17-Jun-97 13:23:06 +socks5.passwd 3503 1607 54.1% 13-Jun-97 16:31:30 +Copyright 19676 5966 69.6% 29-Apr-96 15:51:06 +rfc1928.txt 3540 1408 60.2% 29-Apr-96 15:51:44 +rfc1929.txt 15988 4780 70.1% 28-Jun-96 09:29:30 +rfc1961.txt 12269 3645 70.2% 29-Apr-96 15:49:04 +socks.faq 5071 1494 70.5% 18-Jun-97 09:56:40 +multiple_server.example 344 210 38.9% 18-Jun-97 10:25:00 +README 5672 1642 71.0% 18-Jun-97 09:56:42 +server_2_multiple_server.examp 3527 1227 65.2% 18-Jun-97 09:56:42 +single_homed_host.example 190 130 31.5% 21-May-97 16:15:26 +socks5.conf.dualhomed 339 164 51.6% 21-May-97 16:13:32 +socks5.conf.gssapi 80 66 17.5% 25-Feb-97 13:10:40 +socks5.conf.multipleservers 327 211 35.4% 28-Mar-97 10:34:06 +socks5.conf.realaudio 415 187 54.9% 21-May-97 16:21:56 +socks5.conf.server2server 76 68 10.5% 07-Jun-96 15:01:58 +socks5.conf.singlehomed 276 166 39.8% 28-Mar-97 10:44:00 +socks5.conf.userpassword 4965 1828 63.1% 12-Jun-97 14:23:24 +runsocks.1 8812 2926 66.7% 20-Jul-98 09:27:20 +socks5.1 970 478 50.7% 17-Jun-97 12:25:00 +socks5_clients.1 1480 694 53.1% 16-Sep-97 13:42:20 +stopsocks.1 9916 3251 67.2% 17-Jun-97 12:26:44 +libsocks5.conf.5 13293 4042 69.5% 16-Jul-98 12:11:44 +socks5.conf.5 2399 950 60.4% 03-Jun-97 15:42:18 +socks5.passwd.5 11102 3979 64.1% 03-Jun-97 15:31:24 +README 1007 595 40.9% 03-Aug-98 21:38:52 +Amiga.Changes 2610 790 69.7% 20-Jul-98 13:02:58 +block.h 12254 2457 79.9% 03-Aug-98 20:36:28 +config.h 12070 2379 80.2% 29-Jun-98 16:40:18 +config.h.in 5202 1896 63.5% 20-Jul-98 13:03:06 +defs.h 2140 732 65.7% 20-Jul-98 13:02:58 +hide.h 2512 847 66.2% 20-Jul-98 13:02:58 +includes.h 715 353 50.6% 30-Oct-97 12:47:18 +Makefile.in 2267 741 67.3% 20-Jul-98 13:02:58 +protos.h 1449 614 57.6% 20-Jul-98 13:02:58 +s5util.h 2105 702 66.6% 20-Jul-98 13:02:58 +sigfix.h 4566 1141 75.0% 20-Jul-98 13:02:58 +socks.h 4949 1539 68.9% 20-Jul-98 13:02:58 +socks5api.h 751 358 52.3% 20-Jul-98 13:02:58 +socks5p.h 3025 905 70.0% 20-Jul-98 13:02:58 +system.h 3235 986 69.5% 20-Jul-98 13:02:58 +threads.h 5738 1515 73.5% 20-Jul-98 13:02:58 +addr.c 1856 652 64.8% 20-Jul-98 13:02:58 +addr.h 9823 2890 70.5% 20-Jul-98 13:02:58 +buffer.c 937 393 58.0% 20-Jul-98 13:02:58 +buffer.h 6162 1870 69.6% 20-Jul-98 13:02:58 +cache.c 1288 519 59.7% 20-Jul-98 13:02:58 +cache.h 9138 2830 69.0% 20-Jul-98 13:03:00 +conf.c 612 329 46.2% 20-Jul-98 13:03:00 +conf.h 40537 9691 76.0% 20-Jul-98 13:03:00 +confutil.c 5040 1753 65.2% 20-Jul-98 13:03:00 +confutil.h 484 259 46.4% 20-Jul-98 13:03:00 +cram.c 462 247 46.5% 20-Jul-98 13:03:00 +cram.h 484 261 46.0% 20-Jul-98 13:03:00 +dpin.c 501 270 46.1% 20-Jul-98 13:03:00 +dpin.h 530 275 48.1% 20-Jul-98 13:03:00 +dpinutil.c 512 280 45.3% 20-Jul-98 13:03:00 +dpinutil.h 23494 5753 75.5% 20-Jul-98 13:03:00 +gss.c 630 328 47.9% 20-Jul-98 13:03:00 +gss.h 6828 2101 69.2% 20-Jul-98 13:03:00 +hostname.c 659 343 47.9% 20-Jul-98 13:03:00 +hostname.h 12171 3589 70.5% 20-Jul-98 13:03:00 +libproto.c 921 458 50.2% 20-Jul-98 13:03:00 +libproto.h 8380 3112 62.8% 20-Jul-98 13:03:00 +log.c 1441 612 57.5% 20-Jul-98 13:03:00 +log.h 3216 1118 65.2% 26-Aug-97 15:21:54 +Makefile.in 9176 2477 73.0% 20-Jul-98 13:03:00 +msg.c 800 385 51.8% 20-Jul-98 13:03:00 +msg.h 1249 610 51.1% 20-Jul-98 13:03:00 +null.c 629 330 47.5% 20-Jul-98 13:03:00 +null.h 16826 3628 78.4% 20-Jul-98 13:03:00 +protocol.c 1458 495 66.0% 20-Jul-98 13:03:00 +protocol.h 13526 2785 79.4% 20-Jul-98 13:03:00 +rld.c 8089 2532 68.6% 20-Jul-98 13:03:00 +select.c 547 277 49.3% 20-Jul-98 13:03:02 +shim.c 500 273 45.4% 20-Jul-98 13:03:02 +shim.h 7116 2271 68.0% 20-Jul-98 13:03:02 +upwd.c 639 335 47.5% 20-Jul-98 13:03:02 +upwd.h 21122 3558 83.1% 20-Jul-98 13:03:02 +wrap.c 2067 833 59.7% 20-Jul-98 13:03:02 +wrap.h 24980 5879 76.4% 20-Jul-98 13:03:02 +wrap_tcp.c 1089 432 60.3% 20-Jul-98 13:03:02 +wrap_tcp.h 22693 5692 74.9% 20-Jul-98 13:03:02 +wrap_udp.c 1157 442 61.7% 20-Jul-98 13:03:02 +wrap_udp.h 566 291 48.5% 20-Jul-98 13:03:02 +ban.c 695 348 49.9% 20-Jul-98 13:03:02 +ban.h 6386 2116 66.8% 20-Jul-98 13:03:02 +daemon.c 1814 711 60.8% 20-Jul-98 13:03:02 +daemon.h 5521 1725 68.7% 20-Jul-98 13:03:02 +flow.c 648 330 49.0% 20-Jul-98 13:03:02 +flow.h 6775 1951 71.2% 20-Jul-98 13:03:02 +info.c 654 353 46.0% 20-Jul-98 13:03:02 +info.h 5004 1408 71.8% 24-Aug-97 20:32:08 +Makefile.in 1670 526 68.5% 20-Jul-98 13:03:02 +msgids.h 3258 1316 59.6% 20-Jul-98 13:03:02 +packet.c 570 317 44.3% 20-Jul-98 13:03:02 +packet.h 17720 5106 71.1% 20-Jul-98 13:03:02 +proxy.c 553 307 44.4% 20-Jul-98 13:03:02 +proxy.h 4995 1668 66.6% 20-Jul-98 13:03:02 +s2s.c 701 354 49.5% 20-Jul-98 13:03:04 +s2s.h 4705 1515 67.8% 20-Jul-98 13:03:04 +sema.c 892 425 52.3% 20-Jul-98 13:03:04 +sema.h 4872 1831 62.4% 20-Jul-98 13:03:04 +sident.c 782 386 50.6% 20-Jul-98 13:03:04 +sident.h 20636 6546 68.2% 20-Jul-98 13:03:04 +socket.c 668 356 46.7% 20-Jul-98 13:03:04 +socket.h 688 361 47.5% 01-May-97 13:45:04 +stopsocks.in 17521 4666 73.3% 20-Jul-98 13:03:04 +tcp.c 806 409 49.2% 20-Jul-98 13:03:04 +tcp.h 10508 2980 71.6% 20-Jul-98 13:03:04 +tracer.c 738 377 48.9% 20-Jul-98 13:03:04 +tracer.h 23790 6368 73.2% 20-Jul-98 13:03:04 +udp.c 647 362 44.0% 20-Jul-98 13:03:04 +udp.h 12319 3678 70.1% 20-Jul-98 13:03:04 +udputil.c 3170 1226 61.3% 20-Jul-98 13:03:04 +udputil.h 36522 8384 77.0% 20-Jul-98 13:03:04 +validate.c 37105 8371 77.4% 03-Aug-98 21:21:38 +validate.c.AMIGA 1118 490 56.1% 20-Jul-98 13:03:04 +validate.h 1076 473 56.0% 20-Jul-98 13:03:04 +webcache.c 536 313 41.6% 20-Jul-98 13:03:04 +webcache.h -------- ------- ----- --------- -------- 1213095 415007 65.7% 06-Aug-98 20:30:40 125 files