Re: FakeThreads-Server

new topic     » goto parent     » topic index » view thread      » older message » newer message

On  0, Kat <gertie at PELL.NET> wrote:
> 
> On 15 Aug 2002, at 19:17, jbrown105 at speedymail.org wrote:
> 
> > 
> > >From my web site you can get a working version of my fake thread
> > library,
> > which abandoned the mutex/shared memory idea and uses a server to
> > handle shared
> > variable requests. It works, and it is my hope that it will be useful
> > for someone
> > one day. Also I'm working on EParts, a library which is based on RDC,
> > but
> > allows multiple servers and well as multiple clients, and eventually
> > peer-to-peer
> > calling of routines instead of just having clients call one server, as
> > RDC is now.
> > 
> > BTW, I am uploading my FakeBind package to my site right now as well.
> > Any comments?
> 
> About using sockets, yeas, a biggie: do NOT use if you are not behind a 
> firewall, or without password protection and ip verification in your Eu code. 
> Opening a port for anyone to access is like handing your keybd to strangers.
> 
> The http://www.rapideuphoria.com/mirc.zip shows how to add Eu threads to 
> mirc. The same can add threads to Eu itself.
> 
> Kat
> 

Can I get it to work for Linux? My FakeThreads-Server package is
Linux-only
(It may work for FreeBSD tho) while your package looks like its
Windows-only
(I assume from the presence of Win32Lib). I agree that my method is not
secure,
but the port which is used is chosen randomly and can not be known
ahead of time,
and nmap, a portmap scanner, appears not to be able to find the port
which my
threads server connects to. This makes is unlikely that someone will be
able to
break in (I agree its not 100%, but it does pose a formidable barrier).
Also,
any Linux user with a direct connection to the internet will be running
some
sort of firewall, unless they found some way to connect their system
without
running any servers. That said, using sockets for a program designed to
work
locally is a bad idea, but I was stuck with getting mutexes to work (it
appeared
that multiple programs would access the database anyways an corrupt
it).

jbrown


-- 
http://fastmail.fm/ - Access your email from home and the web

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu