Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

Re: lug-bg: Dial-on-demand + drugi glezotii


  • Subject: Re: lug-bg: Dial-on-demand + drugi glezotii
  • From: borj@xxxxxxxxx (Boris Jordanov)
  • Date: Fri, 15 Mar 2002 11:42:06 +0200



On Fri, 15 Mar 2002 10:51:27 +0200
George Danchev wrote:

> hmm, ami maj varianta s mezhdinno kacane na file-tata v ftp folder-a na 
> geteway-a e naj-painless, kato dojdat files na machinite pod tvoj kontrol 
> ve4e praish kvo si znaesh ... :) 

Ami natam otivat neshtata :) No vse oshte rabotja po purvonachalnia variant :)

> Users ot vytre (pc-tata zad gw-to) prosto ste mqtat na ftp folder-a na 
> gateway-a (dori mozhesh da gi izluzhesh 4e tova e alias na remote FTP serv-a, 
> da ne znaqt to4no ko stafa pri procesa na transfer ;-). Samo trqbva nadezhdno 
> da se nabludava (non-stop s endless loop ili prez daden time interval ) i 
> ustanovi koga ima pristignali novi files (razbira se otdelqsh specialna dir i 
> nikoj drug osven tqh da ne mozhe da stovarva tuka ;) 

Tova sum go reshil, polzvam virtualftpd - port na OpenBSD ftp daemon za Linux, raboti s virtualni useri ima addvuser, ftppasswd i suotwetno /etc/ftpasswd (ili neshto podobno), chroot-va se i prochee.

,  sled koeto dial-vash 
> ISP-to, i digash ssh tunnel-a da transfer po ftp ...
> (local_ftp_client -> local-ssh ->remote-ssh -> remote ftp_daemon) 
> Cqlatq procedura e dylga i error prone ... ama ste testvash ...
> 
> Btw taka kato razdelqsh nestata na dve (s mezhdinnoto store-vane na gateway-a)
> se izbqgva i eventualniq problem kogato usera ot vytre trqbva da svyrshi 
> vsi4ko  navednuh .... t.e. dokato gateway-q dial-va ISP-to (stoto nali si 
> on-demand) na user-a ot vyrte mozhe da mu izte4e timeout-a  ... e tova ne e 
> bolka stoto toj vednaga ste povtori , ama ... 

Tova daze e po-dobre :) Znachi kato pusnesh pppd otnachalo, toj diga ppp0 s _njakakvo_ IP i slaga routing default prez nego. Da, ama kato se pojavi trafic, v intervala m/u nachaloto na trafica i realnoto vdigane na ppp, paketite ot tozi trafik sa s bezumen sourceIP (toja koito si e slozil pppd) i dori i kato se vdigne ppp tija paketi sa murtvo meso. Zatova kato retry clienta veche hvashta istinskite IP-ta, ot realna ppp vruzka :) Abe shturotii :)

Take care

Boris Jordanov (borj) <borj@xxxxxxxxx>
ICQ 10751645

PGP-key-fingerprint:------------------------------
CB23 8B52 5FBC F36A 1B61  F1ED 2831 E52D AAFF 7B08
--------------------------------------------------
Public-key:---------------------------------------
http://borj.freeshell.org/borj.asc
--------------------------------------------------
To err is human...
to really foul up requires the root password.

<HR>
<UL>
<LI>application/pgp-signature \\\\\\\\\ \\\\: stored
</UL>

===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora



 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.