Re: lug-bg: Dial-on-demand + drugi glezotii
- Subject: Re: lug-bg: Dial-on-demand + drugi glezotii
- From: danchev@xxxxxxxxx (George Danchev)
- Date: Fri, 15 Mar 2002 10:51:27 +0200
On Thursday 14 March 2002 09:44, you wrote:
> On Thu, 14 Mar 2002 09:13:57 +0100
>
> Teodor Georgiev wrote:
> > ima edna programka "dnotify", koiato se zakacha kato eventer za dadena
> > direktoria.
> > i ako nastupi v taia direktoria niakakva promiana (chmod/chown dori), v
> > neia e definiran
> > triger.. t.e. da se izpulni neshto si, ako stane neshto :))
> >
> > ta s tova mozhe da gleda v ftp direktoriata i ako ima nov fail ili neshto
> > podobno, da inicira ppp.
>
> Javno ne sum go objasnil kakto trjabva. Ideata e gateway-a da e _samo_
> gateway, na nego defakto njama ftp service, a ssh tunel bindnat na port 21
> na vutreshnia interface na gateway-a v edinia kraj, do ftp servera. A
> varianta s ftp daemon i na gateway-a sushto go obmisljam, no shte e malko
> po-komplicirano za realizacia i zasega se opitvam da go izbegna. Za
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 ... :)
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 ;) , 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 ...
> dial-on-demand-a njamam problemi, njama nuzda ot diald, pppd ja vurshi taja
> rabota otlichno.
>
> 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.
--
Greets,
fr33zb1
===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|