@Xyne mate I love this app but from some time I'm facing issue with `--auth` parameter: when I pass `--auth login password_plain` they simply don't work
What doesn't work? You can access the server without the prompt, or you can't access it at all?
HTTP authentication works for me with the current version.
I can't launch quickserve when the ipv6 stack is disabled and can't find a way to force ipv4-only. Is it possible ?
With ipv6 enabled, it works :
PeeredQuickserveServer
PID 17665
Addresses
br0: 192.168.1.110
br0: fe80::4216:7eff:feaa:e879
eno1: fe80::4216:7eff:feaa:e879
lo: 127.0.0.1
lo: ::1
Port 8000
Filelist None
Filterlist None
MOTD None
Upload directory None
Tar Disabled
Paths
antoine
/home/antoine
Multicast False
Avahi False
Static Peers None
br0 is a bridge tight to eno1.
I can't understand how to force listening on one address only, despites the -a option.
$ quickserve -a 192.168.1.110 .
Traceback (most recent call last):
File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/lib/python3.7/site-packages/ThreadedServers/PeeredQuickserve.py", line 565, in <module>
run(main)
File "/usr/lib/python3.7/site-packages/ThreadedServers/common.py", line 421, in run
raise e
File "/usr/lib/python3.7/site-packages/ThreadedServers/common.py", line 413, in run
main()
File "/usr/lib/python3.7/site-packages/ThreadedServers/PeeredQuickserve.py", line 554, in main
page_generators,
File "/usr/lib/python3.7/site-packages/ThreadedServers/PeeredQuickserve.py", line 194, in __init__
super().__init__(*args, **kwargs)
File "/usr/lib/python3.7/site-packages/ThreadedServers/Quickserve.py", line 205, in __init__
super().__init__(address, handler, options, *args, **kwargs) #Python3
File "/usr/lib/python3.7/site-packages/ThreadedServers/HTTPS.py", line 254, in __init__
http.server.HTTPServer.__init__(self, server_address, handler, *args, **kwargs)
File "/usr/lib/python3.7/socketserver.py", line 452, in __init__
self.server_bind()
File "/usr/lib/python3.7/http/server.py", line 137, in server_bind
socketserver.TCPServer.server_bind(self)
File "/usr/lib/python3.7/socketserver.py", line 466, in server_bind
self.socket.bind(self.server_address)
socket.gaierror: [Errno -9] Address family for hostname not supported
--tar {none,gz,bz2,xz} [{none,gz,bz2,xz} ...]
Enable directories to be transfered as optionally
compressed tar archives. This option accepts the
compression types to enable.
Hi xyne!
Thanks for this great piece of sw
Thanks
I have python from testing (testing/python 3.4.0-2), i guess this is the cause, isn't it?
Yep. The packages need to be rebuilt with Python 3.4. I will update the ones in my repo once Python 3.4 is officially released for Arch.
]]>quickserve --multicast /home/federico/share_dir/
/usr/bin/python3: Error while finding spec for 'ThreadedServers.MulticastQuickserve' (<class 'ImportError'>: No module named 'ThreadedServers')
pacman -Sl xyne-x86_64 | grep "installato"
xyne-x86_64 python3-threaded_servers 2014-1 [installato]
xyne-x86_64 quickserve 2013.5-1 [installato]
xyne-x86_64 reflector 2014-3 [installato: 2014-4]
(reflector from community)
I have python from testing (testing/python 3.4.0-2), i guess this is the cause, isn't it?
Again, thanks for your work
]]>That stated, I believe it is safe provided that you use a dedicated upload directory and properly configure client authorization. The best is to use SSL with client certificates. I tend to use SSL with HTTP Digest authorization.
Obviously if you do something stupid like run it as root with the system root directory as the upload directory and overwriting enabled, bad thingsā¢ will likely happen.
]]>