🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: sci.electronics.design
Article #387

Re: network (as in The Internet, not YOUR "intranet") file systems

#387
From: Don Y
Date: Sun, 18 Oct 2026 01:40
221 lines
11812 bytes
On 10/17/2026 5:21 PM, Waldek Hebisch wrote:
>>>> Did you note the catalog of *open* FTP sites I mentioned?
>>
>> Or, did you miss that?  All of those sites running "old" software
>> instead of migrating their stores to an HTTP(s) interface.  What
>> were they thinking??  :>
> 
> FTP is fine if data is world accessible and you either do not
> care about integrity or have a way to verify integrity (like
> securely transmited cryptographic checksums).
> 
> The mere existence of servers is weak indicator.  There are
> active gopher servers (I supect that there are a lot of them,
> but for me it makes no sense to try to find them), a guy in
> alt.fun.computers offers various inf via finger protocol.

As I said, many universities publish their research/sources
on FTP servers.  They are simple to administer and universally
accessible FILE servers -- not APP servers.

> You asked "what is used", and AFAICS in most cases it is https,
> or possibly http if you want to save cost of encryption and
> have cryptographic checksums to verify integrity.

I noted that OUR concensus was FTP.  We looked at the sites
we visit to retrieve files and the URLs all began with "ftp://"

>>>>> university-wide non-Microsoft system which is accessed from
>>>>> the Internet via https.  Local department used to have ssh (and
>>>>> so scp) access to files (either on a file server or via NFS mounted
>>>>> filesystem available to ssh sever), but now most of this is moved
>>>>> to Google.
>>>>>
>>>>> There are various internal systems, AFAIK they are reachable
>>>>> from outside only via VLAN.
>>>>>
>>>>> Outside university I run my server (https, ssh, mail, no ftp).
>>>>
>>>> So, how would you pull down the 84GB of files that I accessed?
>>>> Build a big file list and then write a script?
>>>
>>> That depends on what is offered by the server.  Recursive 'wget'
>>> can pull a lot of data unatended.
>>
>> But that assumes you want everything under the tree.  And,
>> have a way to convey the URL to wget.
> 
> More or less the same as with ftp.

No.  I can pick and chose individual files from an FTP server.
I don't have to take an entire subtree.
>> rsync can exploit all of these mechanisms.  BUT, the operator of
>> an rsyncd can elect to turn off certain command line options.
>> E.g., to disable the "checksum" comparison, forcing you to rely on
>> sizes and timestamps -- and, requiring a DL to get the actual contents.
>>> When I can I use rsync which IME is rather efficient.  Also git
>>> seem to be quite efficient.  scp seem to be less efficient, but
>>> is convenient when available.
>>>
>>>> What *else* does your HTTPd host -- besides file stores?
>>>
>>> There is a wiki, in a sense file store, but with added features
>>
>> So, I can't access it with the normal filesystem API
>> (readdir, read, write, etc.)?
> 
> No.  I do not like this aspect, but core data is stored as blob
> understood by wiki software, but inconvenient to handle in other
> way.

I implement user-space file systems for every "container type";
whether that's a (sub-)directory, a compressed archive (ARJ, ACE,
ZIP, TAR/TGZ, etc.), virtual disk image (ISO, VHD, VMDK, etc.)
or, in this case, an FTP *file* hierarchy.

So, I can freely navigate the union of all of these as if they
were a unified virtual filesystem.  No need to guess where
a particular file might be located -- just ask the database
where it is and where any duplicates ("backup copies")
might exist.

Being able to mount an FTP site as part of a virtual file system
means I can compare my mirror of that site *to* that site
just like I can compare one "folder" to another COPY of that
folder -- no special tools involved despite the fact that the
files are remote.

It also means I can choose to look at just part of a file
to ascertain its type -- by only read(3)-ing as much as I need.

>>> Normally I have at least modestly modern software (say less than
>>> 15 years old).  All my resonably sized systems have ssh demon.
>>> In one case I have system (200 MB installed size) with no web
>>> server.  AFAIK installing a web server there would be easy,
>>> ftp less easy.  In other cases having a web server is basically
>>> choosing an install option (and similarly for ftp server).
>>
>> FTP uses far less resources (memory and MIPS) than HTTP.
>> HTTP has more "work" to do than FTP.  FTP stores far less
>> state (per connection) than HTTP.  I can implement an
>> FTPd on an 8 bit MPU and performance will be limited to
>> how fast the MPU could push bytes down the protocol stack
>> (because that's all it has to do).  HTTPd would be
>> considerably harder (unless you decide to only implement a
>> specific subset -- and lose any other capabilities that
>> could have been available)
>>
>> Think: "an order of magnitude"
> 
> 1) You asked what is used on the Internet.  Frequently answer to
> this is bloated software and bloated protocol.

But that doesn't seem to be the case for sites that are
concerned with serving *files*.

> 2) Apparently you argue that ftp is better.  AFAICS basically the
> only advantage is that ftp spec is simpler.  http/https have
> many optional parts and even if you do not implement minimal
> spec are still likely to work well.  You say that ftp has less
> state, but AFAIK it is not true: http can handle single request,
> so can be almost stateless, the only state needed is for tcp
> stream.  ftp has separate control and data connections and even
> if you intend to transfer single file you need to keep state of
> control connection.  As a practical example you can see http
> server for Arduino.

HTTP rarely serves JUST files.  Otherwise, it would be called FTP.

> If you want good perfromance server will get more complicated,
> but http server has advantage that single connection can handle
> both control and data and you can transfer several files over
> single connection.
> 
> 3) AFAICS having a single protocol is simpler than multiple
> protocols.  Since typically at least some things need encryption,
> one is likely to need https server.  Once this server is in
> place easy way it to use it to serve other stuff.  Also, web
> browser have a lot of capabilties and user are expected to have
> a web browser.  That IMO explains why https is popular.  Other
> protocols get use either of inertia or possibly optimizing
> specific application.

Or because the capabilities of the more complex protocols
aren't needed.  Why does TFTP exist?  ARP/RARP?  PXE?
Protocols appear to address specific needs.  They stay
around as long as those needs persist.  E.g., I can
still run UUCP even though I don't use bang-mail anymore.

>> I do similarly to enable sshd.  But, have to ensure I have
>> host keys in place client and server side.  And, hope that the
>> dozens of settings in ssh.config and sshd.config have thoughtfully
>> been set for *my* needs.  This, because ssh can be used as
>> a tunneling protocol so the variations require are considerably
>> more complex.
>>
>> As with FTP, the telnet service and client are considerably smaller
>> and simpler than their ssh counterparts -- on the order of tens of KB.
>> Again, think an order of magnitude difference to support SSH.
>>
>> E.g., you can likely shrink a telnet client to < 20KB in an
>> embedded system.  And, set aside a few KB of RAM for a single
>> session.
>>
>> An SSH client would be almost ten times that and require 10 times
>> the RAM, per session.
>>
>> As with every application, time brings bloat, not economy.
> 
> Cost of ssh is mainly due to encryption.  I did not look how
> small ssh demon can be, but there are more lightweight alternatives
> with less features.  Note that after setting up encrypted
> connection RAM cost may be rather low.  Cost in CPU time depends
> on hardware suport, but when connection is used for control
> or debug even pure CPU implementation is likely to be good
> enough.
> 
> Unecrypted connections are suitable only for closed networks so
> are almost irrelevent in context of internet.

Yet all of these unencrypted FTP sites exist.  Go figure.

>> I use an SB2000 to verify that my sources are portable
>> (the SB2000 is SPARC, not ARM or x86; big-endian instead
>> of little; etc.).  As my code runs on bare metal, I am
>> only using the hardware resources on the machine.
>> So, the fact that it runs SLOWARIS 8 (EoL more than 15
>> years ago!) isn't an issue -- as long as I can move files
>> onto it and cause them to run.
>>
>> I have a Sun SPARCstation Voyager (1994 collector's piece) that
>> is similarly unconstrained.  Ditto a Compaq 386 Portable (1987).
>>
>> Why would I want to spend time porting "modern" software
>> to *any* of these boxes?  As long as I can access them
>> remotely and move data between them...  Their value is
>> historic, not performative (though the 386 also host an
>> Opus PM 110 to give me access to that toolchain)
> 
> I have a 386 machine, but it has no network card and was not
> used in many years so such issues are irrelevant for it.  But
> when I used netoworked 386 I had ssh on it.  Modern variant
> indeed would need some porting work, but even old one is more
> secure than unencrypted connection.

If all you need to do is move a file from one machine to another,
why does it have to be secure?  You are making usage assumptions
that don't universally apply.  Why limit a user's choice of solutions,
needlessly?

Assume the user is competent and understands the value and liabilities
of a particular solution -- *he* is the one who will be faced with
the consequences.

There's an "attitude" in many circles that refuses to assist folks who,
for example, want to run TELNET on their machines ("SSHd is more
secure"  "Yeah, but my client doesn't support SSH so are you saying
I shouldn't be allowed to connect to this machine???").  Paternalism
is arrogant and demeaning.  Assume the user is competent and able
to evaluate the consequences of his CHOICE, rather than dictate
what that choice should be.
Technical Details
Message-ID: <11b182j$ojpt$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <11a9fft$c4mn$1@dont-email.me> <11ae6sq$1etd1$3@paganini.bofh.team> <11aevum$2a4ka$1@dont-email.me> <11ai8bb$20gh7$2@paganini.bofh.team> <11ai9n2$3ertm$1@dont-email.me> <11al1sj$2aq5h$1@paganini.bofh.team> <11al795$gv5n$2@dont-email.me> <11am5pb$2csfr$1@paganini.bofh.team> <11amer9$10ig1$1@dont-email.me> <11b13ea$3p658$1@paganini.bofh.team>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Don Y <blockedofcourse@foo.invalid>
Newsgroups: sci.electronics.design
Subject: Re: network (as in The Internet, not YOUR "intranet") file systems
Date: Sat, 17 Oct 2026 18:40:31 -0700
Organization: A noiseless patient Spider
Lines: 221
Message-ID: <11b182j$ojpt$1@dont-email.me>
References: <11a9fft$c4mn$1@dont-email.me>
 <11ae6sq$1etd1$3@paganini.bofh.team> <11aevum$2a4ka$1@dont-email.me>
 <11ai8bb$20gh7$2@paganini.bofh.team> <11ai9n2$3ertm$1@dont-email.me>
 <11al1sj$2aq5h$1@paganini.bofh.team> <11al795$gv5n$2@dont-email.me>
 <11am5pb$2csfr$1@paganini.bofh.team> <11amer9$10ig1$1@dont-email.me>
 <11b13ea$3p658$1@paganini.bofh.team>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 18 Oct 2026 01:40:36 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="806717"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+wUn4oxolCOUjcF4Xm4NRp"; posting-host="ddf90f07166b67b72a1dc60a0f6b4566"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:c3VoyFOKqWWxT/n3GJbDRAkPWBI= sha256:2QZRKNbvSmTEI8xMWerzbRLcENtmlqto7vbihcAQxNI=
	sha1:YZcicD/159t24rd951DrxlrykFQ= sha256:1tTN6crqB/ewKwnUcvq66bvlchgIzrlojFl1GqyLwJU=
In-Reply-To: <11b13ea$3p658$1@paganini.bofh.team>
Content-Language: en-US