НОВОЕ: OS/2 GURU - Вопросы и ответы

Reviews / articles about OS/2

Operating systems:
ArcaOS, eComStation, IBM OS/2 Warp
eComStation myths 

Latest  
 
 

Unsorted

 

 

ArcaOS 5.0 Russian
Russian ARCAOS exists and it's available since the middle of 2017. All versions are supported: 5.0, 5.0.1, 5.0.2.

eCo Software is able release 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./projects/reviews/index.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:

Virtual keyboard - on-screen virtual keyboard (useful for touchscreens, to input special characters)

Komentarze:

........ ...........
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.

It's easy to maintain eComStation: a) Fast installation (20 minutes and it's ready), b) Universal drivers, replace a device - the system boots and continues work, c) Use eCS to recover damaged Windows (no danger to be infected by virus)

 


 

(C) OS2.GURU 2001-2021