eCo Software
doesn't receive
payments from USA

 
Update

 
Applications

 
Advantages:

 
For developer:

 
(Пайпы программ)

 
Companies:

 
History:

 
(Бонусы)

 
Advice:

 
(Барьеры и решения)

 
Technologies:

 
(Применение в науке, лаборатории, ..)

 

 
Solutions

 
New eComStation:

 
Future:

 
(Ссылки на другие сайты)

 
(Картинка дня)

 
OS/2 artefacts:

 
Gadgets:

AD: ArcaOS 5.1 Russian LIP
Russian ARCAOS exists and it's available since the middle of 2017. All versions are supported: 5.1, 5.1.1.

eCo Software is able to maintain OS/2 LIP packages for any other language (German, Dutch, Brazilian Portuguese, Spanish, Sweden, etc)

Open the world of SocksD


TITLE: Open the world of SocksD

DATE: 2004-04-12 10:04:01

AUTHOR: Pavel Shtemenko

Please use online translator
go to http://translate.google.com
and request the translation of http://ru.ecomstation./showarticle.php?id=105
to your language

........... ............. . xx00 .... ... . ............ OS/2 ....... ......... ...........

........ ... .... ...

........ ......., ....... .. ..... ...... ... ......... .......... ...

.......... . ...

. ..... ..... ..... ..... . ......... TCPIP "enable socks", ...... ......... .... .... . .... .. ........... .... ... .. ............. ... .............., .., ... .... ......, .. .......... . .... . ... ....... ........, .. ....... ........ ................ ......... .... .....

".. . ....., - ...... .. ..... - .. . ........ ...... .. ..... ..........., ....... ........... . ................"

...... ...

.. ........... . ......... ... socks ... .. ...... "...... ...", .. ... "2-3 .......... ..... ..............." (c). ..... ...... SockD by Nickk; . ........... ........ .. ....... ...... ...... .......:

[Global]                                                              
LogFile socks.log                   ; ....... ..., ... .. ....... . .... 
                                      .... ...... ..... ......
UserLog sockuser.log                ; ... ............ ... .......... ..........
MaxUsers 150                        ; . ..... ...... ..... ............ 
                                      .......... .... ..... .....
                                                                      
[Socks:mysocks]                                                       
Bind 0.0.0.0:1080                   ; .... .. ....... .. ..... ......... .... ......

[User:mysocks]        
ip *                                ; .... ..... ............ ....
defrule allow                       ; . ...

........., ......... ... .. .... (.. ...... ...... ......, ...... .. .. ...... .... ... ...... ....... .....). . ... ..........

- .. ...., - ...... ......, - . .... ...... .., ... ... ........ ....... ..... .... ..........., . ....... .......... .... ........, .... ...... ......... ... .. .... ....... ...... . .... ......

....... ...

.. ........... . .... (....... .....) . ......... ..... "enable socks", .. ... .... ... ........ ......... .... . ......... ........., .. ...., ....... ....., ......... UserID . ......, ..... ......... ... . .......... ......... ...... . ... ... .... ..... ........, ...... ....... . .. ......... - ..... ...... .... . ..... ............ ... ....... ........... ..... . ....... ........ ..... .... ... ............. . ... ...........

........ ........., ...... .... ... ...... ......

....... .....

... ...... .......... ...... ...., ... .. ..... NAT, ... .. ..... proxy, . ...... ....... .. ........ ..... ... ...... .............. ......... .....? ..........! ..... ....... .. ... ........ ..... ...... ...... ... DCC, .. ..... NAT'.. (..... . ....... ... ........... ... .... . ....). .. .... ... ..... ...... ......... ....... ..... ...... ....... - .. .... ........ .......... . ...... ..... . ...... ............. ... ... ....... ....... .......... . ....... . ........... SockD (... ..... ...... ............. ... .......), . ..... ......., ..... .... . .. ....... ... .. ...-.. ...... . ..... ......, ... ...... ... .......... . ...... ..... ...., .... ... ............ ............ . ....... .......... . .. ...... ..... ..... .. ....... ...., . . ... .. ..... ... .......... ... .. ....... .... ....... .. .., .. "enable socket" .. ON!

... ......... ..... ..... ........ . ..... .. ....... ..... ..... . .... ..... ......., . ...... .... ....., ... ... ..., ...... .. ........ . ..........

........

........... . ... ... .. ... . .... ......, .. .... ......... ....... ........ .... .. ....., .. ........ tracerte, .. ..... ........ VNC .... .. .. ......... direct x.x.x.x mask.mask.mask.mask, .. .... ...... ... .. ....... ...... ... .. .........

.. ...... ... ....., ...... .........

......

. SocksD ........ ....... . ..., ....... ............... ....... SockD, .......... .. .. ..........:

......... .......:

  • ULONG  _System dllinit(struct extern_options * args, 
    void (_System * extlog)(ULONG level, char * message));
    .......... ... ........ ........ extlog - ....... ....... ...... 
    ..... .............. ... ...... . ..... ... socksd.
    args - ......... ... ....... ....... .. ...... [ext] .......... ....:
    
    struct extern_options 
    .
    	struct extern_options * next;
    	char * name;
    	char * value;
    .;
    
  • ULONG _System auth(ULONG * id, ULONG internal_socket, char * login, ULONG direction);
    .......... ... .............. ............
    .......... ... .......... ............., ............ ... ........... 
    ....... ........ (........ id)
    ....... 0 - ......, ..... - ........, 
    direction = 0 ... ...... ......., 1 - ... ...... .......
    
  • ULONG _System dynauth(struct sockaddr_in * client_addr, char * method);
    .......... ... ...... ...... .............., ............ . method.
    ....... 0 - ......, ..... - ........, 
    
  • ULONG _System passwordauth(ULONG * id, struct sockaddr_in * client_addr,
    const char * login,const char * password);
    .......... ... ......... ..............
    .......... ... .......... ............., ............ ... ........... 
    ....... ........ (........ id)
    ....... 0 - ......, ..... - ........, 
    
  • ULONG _System handlepacket(ULONG id, ULONG internal_socket, ULONG external_socket, 
    unsigned char * buf, ULONG * len, ULONG direction, ULONG iftcp);
    .......... .. ...... .......... ..... ...... .....
    dire.tion: 0: client->server; 1: server->client
    iftcp: 1: tcp, 0: udp
    ....... 0 - ......, 1 - ........ ....., 2 - ....... .........., 
    
  • ULONG _System codepacket(ULONG id, unsigned char * buf, ULONG * len, 
    ULONG direction);
    .......... ... ........, ........... ......
    dire.tion: 0: client->server; 1: server->client
    ....... 0 - ......, ..... - ........, 
    
  • ULONG _System ext_rules(ULONG id, struct sockaddr_in * client_addr, 
    ULONG addr, USHORT port, char type, struct socks_list ** socks);
    .......... ... ........, ..... .. ....... ...... .. .......... .......
    ..... .......... ..... .......... . ....... .... ....... . socks .........
    ....... 0 - ......, ..... - ........, 
    
  • ULONG _System ext_dest(ULONG id, struct sockaddr_in * client_addr, 
    struct map_dests ** dest, struct socks_list ** socks);
    .......... ... ...... ...... .......... ... ............
    ..... .......... ..... .......... . ....... .... ....... . socks .........
    ....... 0 - ......, ..... - ........, 
    
  • ULONG _System shutdown(ULONG id);
    .......... ... ........ ..........
    

..... ......, ... .... .. ...... .......... .... ......, .. ... ... .......... ..... ....... . ....... . ...... [Global] ...:

InitOrdinal 33

... ..... ........ ..... ........ ........... ... ........ ..... ....... dllinit, .. ... .... .. ... ...... ....... .......... DLL, ...... ...... ..... ......... . sockd,cfg ............ .......... ...... ........ ........ ......... . .......... . ....... ....... .... - ... .....? - ....... .. ........... .... ..... ...... ..... - ... ...? .. . ..., .! - ......... ........ ... ..... .........,. - . ........... .. .........

........

..........., ........ .. ...... ... . ...... socks: ....... - ......., ....... ....... Nickk, .. . ....... ..., ... ... ... ...... ....... ... ... .. ......... ........ ...... ..............

.........:

  • ... - .. ...... ..... (....... ...., ... .....)
  • ....... - ........
  • .......... - 10^-39
  • ..... ...... - 1
  • ..... Sockd - 1
  • ....... ......... ... ......... ........ . .... ...... ..... ..... - 1
  • ..... ... ........... ............ ............ ............. - 2

... . ....... . ...., ....... ..... ............ .......... .. ....... ..... .......... ..... . .. ........... ............., . ......... .... ........, ... ... .......... ........... .......... "........ ......" ......... .. 2^-456 ......



Test the program:

NetDrive - attach ftp-directory to a drive letter (webDAV, .iso, NTFS volume, ..)

Comments:

........ ...........
2004-04-13 12:00:14

......., ..-.. .... ... .... os2ldr . ........ ........ ......... - . ........ ... ............

. ...... ..... jfs ... ...... . ...... ..... ............ - ..... . .. ....... ... .....(... ....... - ...... .. . ....)

Pavel Shtemenko
2004-04-15 16:04:47

.. .... ..... .... . ... ........ ........ . 2000 .... ;-) ...-.. .. RU/2 .... ...... .. ... .....

Oleandr
2004-04-26 10:48:12

2Pavel - . ..... .. Oracle ...... . "......", .... .. .. ... .....?

Alexander Lapshin
2004-04-30 13:22:51

......, ...... SocksD ..... "...." . .. ...... ..... ..... DialOnDemand. .... ... ......... . ....... ......... CMD'..... ..... .......... .......... ........ . ..........

...... Socks'.. ....... . ......!!!

.... . ............ ...........!!!

ErOs2
2004-04-30 18:23:50

2 Alexander Lapshin - . ..... ...... "...... SocksD"? ...-.. . . ....... ...... .. .......

Pavel Shtemenko
2004-05-01 22:12:38

to Oleand, ..... ... .., .... ... ... .. ........... ....... (...... ...........) ....... .. ..... ..... .... ... .......... .....

Dmitriy
2004-05-16 18:01:43

..., ...... ........ .. ...... ...... .. ......-.. . ... ..... ........ .... ......, ... .. ..... ....... .....-.. ...... . ... .... .......... ..... .... .. .........

..... .......... . ..., ... .. ........ ......... .... ... ......., . ..... ... ........... (. ......, ...... .. ....., ... ..... ........ .. .....), ... ....... ...... ..... ....

Pavel Shtemenko
2004-05-18 19:52:09

2 Dmitriy . . ...... ....... .. ........ ? ;-) . .... ....... ...... ~..... (.... ... ........ .............), .... .. . ... ............ ....... .. ...

Dmitriy
2004-05-28 21:23:19

........ .. ......... ........ ..... 0.

Comment this article.


Va e jmИno:

VА  E-Mail:

CODE:
762353......

  

VА  pЬМspЛvek:


If eComStation PC doesn't work properly (USB troubles / network is slow / can't run with 2 CPUs / applications crash) then make some efforts, analyze the problems and setup the system. eCSFAQ Frequently asked questions and answers

хlАnky

OperaХnМ systИm
Software
Hardware
Pro programАtory
OstatnМ
Od editora





Last active poll: What is the height of RPM barrier?

[Google]

IBM OS/2 Warp

 
For dummies

Report: OS/2 compatible hardware

 
Reviews


     
  Why eComStation?
Features
Advantages
Usage
Clips and screenshots
   eComStation for
for businessmen
for students and engineers
for reselles of computers
community of users
   Developer
Distribute the program
Description of API, libraries
Start new project
Competition
   Applications
On-line catalogue
Select from eCo Market
   Support service
Contact the web-master
Buy eComStation
Frequently asked questions
for Beginners
 
 
© 2001 - 2025 eCo Software, All rights reserved
Сибирский Медведь **********
eComStation Serenity Systems International • OS/2 Warp IBM Corporation • ArcaOS Arca Noae