[[ header START ]]

Welcome to OS2.GURU site! (eComStation.RU)

Select your language: Russian English Deutch Spanish Italian Portuguese Czech Polish French

Frequently asked questions and answers:
telegram

Форум обсуждение

telegram

Send message

telegram

[ +7-981-8529467 (Санкт-Петербург)

telegram

t.me/os2_guru

eComStation.RU


ru · en · de · es · it · pt · cz · pl · fr
OS/2 is a greatly different operating system for PC (ArcaOS, eComStation, IBM OS/2 Warp)
Applications, news, reviews, support of users, hardware, questions and answers.
 
[What is OS/2?  News  Install  Update  
 
 
Usage  Future  Community  Projects  

How to buy
russian OS/2 apps?

The concept of
OS/2 development

(Map of the site)

 
 
[[ head-3-search ]]

Database of OS/2 compatible hardware

[[ head-3-search END ]]

 
Update

 
Applications

 
Advantages:

 
For developer:

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

 
Companies:

 
History:

 
(Бонусы)

 
Advice:

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

 
Technologies:

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

 

 
Solutions

 
New eComStation:

 
Future:

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

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

 
OS/2 artefacts:

 
Gadgets:

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

Piano Launchpad - launch pad for your favorite applications

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.


Your Name:

Your E-Mail:

CODE:
......

  

Your Comment:


Does ACPI.PSD work on your notebook?

Please press Fn + F1, Fn + F2, .. keys and collect the codes. Read more

Articles

Operating System
Software
Hardware
For developer
Misc
From editor





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 - 2021 eCo Software, All rights reserved
Сибирский Медведь технологическая компания
eComStation Serenity Systems International • OS/2 Warp IBM Corporation • ArcaOS Arca Noae