Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - bmartino1

Pages: 1 ... 53 54 [55]
811
as for the javascript, i believe you are talking about an rarw template or looking at the default hfs template that uses macros, and i belive you think it is java script....

yes, you can run hfs under ubuntu, but it can be hard to setup trafic going with the interfaces.
also, since hfs was designed as an executable, some feature will not work properly or not at all.

I have used hfs with ubuntu, but being ubuntu and have man pages, i would recommend using "LAMP"
http://www.howtoforge.com/ubuntu_lamp_for_newbies

812
windows media player doesn't suport "auth" stream(with out some major fiddling), use vlc for it

also, you can do it with html coding and a playlist file. have you ever herd of a "*.M3U"?
A m3u is a pre made cod elist of songs you put there via program or notepad...
using a msu file helps stream multiple files, and can put authentication in the file itself, so you create a list of music and put it in a m3u file the m3u become the single file that you play on a media player...

( yes these are going over music, but video formats also port over with them... )

http://en.wikipedia.org/wiki/M3U

Here a site that may work for you as well:

http://howto.wired.com/wiki/Stream_Your_Music_Online#Extended_M3U

please note:
--------------------------
Don't Feed the Lawyers:

You could be fined for broadcasting music/movies you don't own the copyright to, and in most cases the penalties are pretty severe. There are also plenty of rabid music industry lawyers with a history of going to great lengths to prosecute copyright violators. That said, be careful how you distribute your streams.
Some of the software solutions listed here have built-in password protection. Otherwise, you'll have to know some SSL and/or password protection web hosting configurations to lock down your stream.
Your other option -- and probably the safest -- is to just keep your station under wraps. You can listen to it freely, but don't go spreading the word. Remember, the internet has ears!
-------------------------------

813
looks new and inventive, appreciate the work you have done on it. i'm testing it on windows 7 x86 professional...

upon first launching it (as i have stunnel already on and working, it auto loaded to the stunnel and hfs config.

This hfs is no where near the same instal path of my other hfs builds......

Looking forward into your ssl embedded with hfs.

Thank you for your time and patience...

814
HFS ~ HTTP File Server / Re: no download
« on: November 18, 2013, 04:06:19 PM »
i have removed this setup and links from my hfs server.

815
Bug reports / Re: wild cards and band ip address
« on: November 18, 2013, 04:05:31 PM »

816
HFS ~ HTTP File Server / Re: no download
« on: November 18, 2013, 03:46:15 PM »
okay, i have a start on the right direction, from the setup.png, i added it again and the folder is called view2

http://bmartino1.dyndns.org/testing/view2/

this folder is doing what i want with it, my issue with this is resolved as i can use this in my html coding and rearange what i'mtrying to do.

Thank you rejetto for your help and support.

817
HFS ~ HTTP File Server / Re: no download
« on: November 18, 2013, 03:42:55 PM »
upon doing my idea, the folder permission to access the folder take over as the no download will not allow the traffic. shown a iframe source of access denied.

818
HFS ~ HTTP File Server / Re: no download
« on: November 18, 2013, 03:35:17 PM »
ive set up a scenario on my version of hfs:
http://bmartino1.dyndns.org/testing/

(for the account that will need access...
username: test
passsword: test

okay, i might be not understanding what you are trying to tell me...

as i (believe ) that i have done what you have posted, but the hfs login still takes over the folder...
upon adding the same folder hfs renames it, i rename it to the same name (see setup.png)

Issues, when traversing to the folder, the text document should be seen, but no access to download or read it, until log in
traversing to the path brings the login... eventually to hfs restricted access page... (see issue.png)

--------------------------------

i will try a new idae next, because i have them both under the same name...
using html and iframes two 2 different paths...
-------------

Thank you for your help and support

819
HFS ~ HTTP File Server / Re: no download
« on: November 18, 2013, 03:19:38 PM »
Thank you, i will try this when possible

820
I don't quite understand you problem, as i had dabbled doing this with html and hfs live template.
hfs template: https://drive.google.com/file/d/0B9u5dgydfOEuV3Q4WnZDbkxUTlk/edit?usp=sharing

I did find that when you locked the folder it would cause issues with the streaming and sort, the solution i found was to make a new empty folder with your user access permissions and then have the real folder which contained your movie files.

i will create a temp account for you and upon reply i can give you the live template link that i use.

This is actuality something i've been working on...

link:
http://bmartino1.dyndns.org/test/html%20music%20player/

username: test
password: test

I will keep this account up and open until nov 23, 2013

if this is not what you are looking for, please get back to me and i will try to help you out.

Thank you for your time and patience

821
HFS ~ HTTP File Server / stunnel and HFS (securing your hfs)
« on: November 17, 2013, 07:47:51 PM »

Hello there, i've been using HFS for about 5-9 years and when i started i didn't read any of the docs. I was fascinated with the potential and ease of this program and it web capabilities.

Which is why i'm posting my information on setting up hfs with stunnel.

Most information for doing this has already been done and setup many thanks to these people, but (for me) even flowing there instruction i ran in to problems, it is my hope that these issues can be fixed in this topic, either by helping each other or sharing our findings.

the link is here: http://www.rejetto.com/wiki/index.php?title=HFS:_Secure_your_server
( this page is the base of my setup )
although, i had to edit my stunel config a bit more to make it work the way i wanted...

Following this(the link provided and the instruction here latter) will most likely get you a https access... as it will be prety much straight forward.

Although, in my setup i ran in to fips errors and other setup issues, so i will be posting my finds here shortly (along with zip files of stunnel and openssh (you will have to recrate you security keys, and the key uploaded are no longer available for access to my server for security purposes...

so first let us get are tools:
For this tutorail i asume you will have a folder in the root of c:

path: C:/webroot/Hfs.exe
You will need to create a folder in that path and call it stunnel (this will be you install path for the program)
You will need to create a folder in that path and call it  openssh (this will be you install path for the program)


You will need:
HFS -  latest stable version 2.2f info http://www.rejetto.com/hfs/?f=dl ( http://www.rejetto.com/hfs/download )
Openssh - info http://slproweb.com/products/Win32OpenSSL.html ( http://slproweb.com/download/Win32OpenSSL-1_0_1g.exe )
Stunnel -  ( ftp://stunnel.mirt.net/stunnel/stunnel-4.56-installer.exe )
Ccleaner - info/donwload ( http://www.filehippo.com/download_ccleaner/ )
---------------------------------------------
You will need to install openssh first!
see info as open ssh requires other "updates" installs such as (Visual C++ 2008 Redistributables)...
once it is installed go to the directory and zip it in a compressed zip folder and put it some where safe like the desktop! we will be using it later

Now install stunnel
You wil be prompted to create security keys, from a batch, that is fine put what ever you like, but your computer name must be in the very last line asked
"commonName = Common Name (FQDN of your server) "
once it is installed go to the directory and zip it in a compressed zip folder and put it some where safe like the desktop! we will be using it later

-----------------------------------
You should now have 2 compressed zip files one open ssh and the other stunnel...  make sure you have them ready as we will need them for the portable versions...

Now open ccleaner and uninstall stunnel and openssh (only do this if you are making it portable)
If you uninstalled the programs
run ccleaners registry cleaner (we do this to remove stunnel and open ssh registry files to prevent issues later down the road...) other wise you can skip this
then restart the machine

the point form these installs is getting particular files and eventual making it portable as once we get the files, you will need to uninstall openssh and stunnel as the zip files house portable excutions...

---------ignore this if you don't want the portable as you will hve to edit stunel config to work with hfs...----------
open you web path: c:/webroot/hfs.exe
( delete stunnel and openssh folders) as they may still be left from the install

create a folder called stunnel and put the ziped files in this folder

to clarify you should have you path: c:/webroot
inside this folder should be hfs.exe and another folder stunnel
inside stunnel should be the 2 zip folders created earlier
 we will now extract the files so you should have a structure like this:
using cmd dir comand(these are the files you should have extracted, the zips contain maore, but htis is all that we will need:

create_pem.bat (which will be created latter by us )

OpenSSL-Win32.zip
stunnel.zip

libeay32.dll
libssl32.dll
openssl.exe
pem.conf
stunnel.conf
stunnel.exe
stunnel.html
stunnel.log
stunnel.pem
zlib1.dll

-----
if you wan to take the easy way out i have made a zip file of my webroot with stunnel and its configs...
----
----------------------
create a batch file named create_pem.bat (in open save as with all file types...)
batch contains:
openssl.exe req -new -x509 -days 3650 -nodes -config pem.conf -out stunnel.pem -keyout stunnel.pem

-------------------------
run the batch files, this will change you key, by asking the same question you had when you installed stunnel
(this is how stunnel generates you certificate...

congrats, all we have left to do is edit th stunnel config:

open the stunnel config: and delete everything in it and replace it with this:
-----------

; Lines preceded with a “;” are comments
; Empty lines are ignored
; For more options and details: see the manual (stunnel.html)

; i had issues with fips mode and my keys, in which to make it wok i need to disable fips
;https://developer.mozilla.org/en-US/docs/NSS/FIPS_Mode_-_an_explanation
fips = no

; File with certificate and private key
cert = stunnel.pem
key = stunnel.pem

; Log (1= minimal, 5=recommended, 7=all) and log file)
; Preceed with a “;” to disable logging
debug = 5
output = stunnel.log

; Some performance tuning
socket = l:TCP_NODELAY=1
socket = r:TCP_NODELAY=1

; Data compression algorithm: zlib or rle
compression = zlib

; SSL bug options / NO SSL:v2 (SSLv3 and TLSv1 is enabled)
options = ALL
options = NO_SSLv2

; Service-level configuration
; Stunnel listens to port 443 (HTTPS) to any IP (443 need to be port forwarded)
; and connects to port 4430 (HFS) on machine ip adress(which should be static)
[https]
accept = 0.0.0.0:443
connect = 192.168.1.254:4430
TIMEOUTclose = 0


-------
that it, with a little fudging, hfs should be available through https

here is the download:
Google has deleted it from my drive??? unknown why - can't seem to fin it...just isn't there...
i would have you go to Silent plz post to get file and/or use taht version of hfs with stunnel!...
http://www.rejetto.com/forum/hfs-~-http-file-server/for-testing-purpose-hfs-beta-279-including-ssl-tools/

822
Bug reports / wild cards and band ip address
« on: November 17, 2013, 06:54:21 PM »
In beta build 285, i noticed that when i was attempting to ban ip address with wild cards ie 202.*.*.*, those address where still being connected.

NO, the ip address was not inputted incorrectly
Yes, i had disconnect without reply on
No, i didn't have my log show banned ip address

It would ban the ip address if it was the full number ie 202.0.0.0 ..... doing that i had over 90 bans, which should have been taken care of with 2-3 ip with wild cards

(Please note, the ip address here are just examples and not the ip i was banning...

Not sure why the wild cards didn't work...

I have recently updated the build to 286 and will attempt to try again. and post picture of my issues if they are still a problem...

823
Bug reports / Re: Banned IP address able to connect
« on: November 17, 2013, 06:47:24 PM »
Yes, i have seen that issue before, double check to make sure your log is not showing baned ip adress, the ip may be banned, but it may not be getting access due to that rule, also try the heck box option Disconnect without reply...

824
HFS ~ HTTP File Server / no download
« on: November 17, 2013, 06:41:56 PM »
It not a high priority, and i may have just as easily misread/past it in forums and post.

BUT,

I would like to see another tab int the %folder% > Properties> permissions (access / delete / upload)

that would say download, so you can give the world a view of what is in the folder, but no access to download file with in it...

I see in the %folder% > Properties> Flags that there is "no download option" which may or may not allow this to happen as to my understanding that this will prevent traffic...

So i write to this forum to ask any ideas or opinions on this matter.

My objective to have a file in HFS be view able to the world, but not be able to be download until you login with an account.

(yes, i can restrict access to an account to have them only view and download, but i would like the world to still see what is there...)

Thank you for your time and patience as this will be my first post on this forum :D

Pages: 1 ... 53 54 [55]