Serve files through through http or ftp in command

Bug #436596 reported by Jean Daniel Browne
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Server Tips
Incomplete
Undecided
Unassigned

Bug Description

To serve files via ftp or http in one command, use twistd from the python-twisted package: 'twistd -n web --path /tmp -p 80' or 'twistd -n ftp --root /tmp -p 21'

In french:

Distribuer des fichiers en http ou ftp: installer le paquet python-twisted puis 'twistd -n web --path /tmp -p 80' or 'twistd -n ftp --root /tmp -p 21'

Revision history for this message
Dave Walker (davewalker) wrote :

Thanks for the tip.

Does this have any security implications that should be mentioned?

tags: added: needs-clarification
Changed in ubuntu-server-tips:
status: New → Incomplete
Revision history for this message
Jean Daniel Browne (jeandaniel.browne) wrote : Re: [Bug 436596] Re: Serve files through through http or ftp in command

Mmmh, the Twisted Python team is conservative and conscious about
security problems.

These two accesses are read only and static (no code can be executed
on the server). Obviously, sensitive data should not be included in
the directory served.

The ftp server can be configured in read/write with password protected
access, but this requires further configuration not included in this
tip.

All in all, It is always possible that a server has unexpected bugs
and behavior, but these simple commands, IMHO, are such a help
compared to a full fledged apache or vs-ftpd installation that they
should be marketed to conscious admins.

If you need an expert advice, i suggest that you turn to the Twisted
Python mailing list or Jonathan Lange at Canonical which seems to be
involved in the project.

Cheers,

On Wed, Nov 25, 2009 at 2:25 AM, Dave Walker <email address hidden> wrote:
> Thanks for the tip.
>
> Does this have any security implications that should be mentioned?
>
> ** Tags added: needs-clarification
>
> ** Changed in: ubuntu-server-tips
>       Status: New => Incomplete
>
> --
> Serve files through through http or ftp in command
> https://bugs.launchpad.net/bugs/436596
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Ubuntu Server Tips: Incomplete
>
> Bug description:
> To serve files via ftp or http in one command, use twistd from the python-twisted package: 'twistd -n web --path /tmp -p 80' or 'twistd -n ftp --root /tmp -p 21'
>
> In french:
>
> Distribuer des fichiers en http ou ftp: installer le paquet python-twisted puis 'twistd -n web --path /tmp -p 80' or 'twistd -n ftp --root /tmp -p 21'
>

--
Rasterization Zion babylon

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.