FuguHub Your Personal File Sharing Solution

 

FuguHub

Manage Data Your Way

Forum

Welcome
by BarracudaDriveSupport » Tuesday, December 04th, 2007

Welcome

 

Welcome to the new BarracudaDrive bulletin board. The Bindows powered Bulletin Board is also included in your BarracudaDrive release 3.8, thus making it very easy for you to host your own forum.

 

Please select a category that best fits your questions.

 

See the following link for more information about our bulletin board:

http://barracudaserver.com/products/BarracudaDrive/BulletinBoard.lsp

 

WYSIWYG Editor

 

The built in forum editor is a WYSIWYG Editor, but most of the advanced controls such as adding images and links are disabled in this release.

 

 

Rich Text Pasting

 

You can bypass the rich text restrictions in the built in editor by, for example, writing in MS Word and pasting your rich text into the forum editor. As an example, this post was written in MS Word and pasted into the forum.

 

 

Images and Links

You can add links and images by dragging and dropping links from another online server.

 

The following image and link are pasted from Wikipedia.

 

Our Local harbor, Dana Point:

 

 Image:5862+5863w p.jpg

 

Link: http://en.wikipedia.org/wiki/Dana_Point

RE: Welcome
by kjhawley » Tuesday, May 06th, 2008

The Web-links in the Welcome email are not available - cannot be accessed on the internet. It would be helpful to read the previous postings to the forum, because the existing forum postings are very few and limited in subjects. Question- Do the forum entries ever receive replies? Thanks

RE: Welcome
by ingrid » Wednesday, May 07th, 2008

Yes, all entries receive a reply.  This online BarracudaDrive server had been under attack.  BarracudaDrive was resilient to the attacks;  however, this was not the case with the old PHP powered bulletin board.  BarracudaDrive includes a web redirector that redirected requests from BarracudaDrive to the old bulletin board powered by Apache.  The attackers managed to compromise PHP, so for this reason we stopped the Apache server.  We are sorry about the inconvenience, but we do not want our site compromised.

Messages from the old bulletin board
by BarracudaDriveSupport » Wednesday, May 07th, 2008

Messages from the old bulletin board

The following data is collected by extracting all messages from the old bulletin board. You can use the search button in your browser to search for relevant text.

thanks alot wolfgang - i simply turned off my zonealarm firewall and it allowed me to log in and that - but i still need a way to bypass the firewall so taht i am still protected from it - asw i want it set up so i can acces my files on my home computer from school - which means i will need to leave my computer and the internet running all day - thus open to hackers etc, if i dont have the firewall operating.

cheers

rolf
Removed users and SPAM  We removed many users that apparently are using this BB for spam. We may have to close the BB if this continues.
BD on DSL Live Linux    I am not a Linux guy, for this reason I use DSL linux only for some stuff. http://www.damnsmalllinux.org/
This is a live linux CD with only 50MB. Works great. I tried to run BD on DSL, but without success. Guess the main reason is that I do not know Linux :-)
DSL is supposed to use a external appplication with "MyDSL" to automatically install when you have the file in the format xxx.tar.gz. The BD linux file is originally xxx.tat.tar, so i un-tar-ed and then gzipped it to xxx.tar.gz, copied it into directory on USB stick, mounted it and used EMELFM, the file manager in DSL to install with the "MyDSL" button. Now when you activate the "MyDSL" button the problem appears, I get error message:

tar: Write Error, no space left on device
tar: Invalid tar magic!

The USB stick is 1 Gb and full readable by DSL and has a lot of space free, the RAM disk DSL is running in, is 512 MB, with enough space left. So the device can not be full. Or I am mistaken? Does the Invalid tar magic mean that the tar is incompatible from BD with the DSL linux version ?
Or what I guess, I am doing something completely wrong, because I am one of these windows dummies.

Anyone smart out there with DSL linux knowledge? Any help appreciated!
It's not one of my major concerns to get BD on DSL running (I have it running on XP), but this would really make a very nice standalone system when copied onto same live Linux DSL CD.
Thanks,Wolfgang
Disk Space in Linux     I suspect DSL is using a RAM disk for writable storage normally.  In order to use the flash drive, you'll need to mount it somewhere.

If DSL doesn't do it automatically, post the output of the following terminal commands:

df
dmesg | grep sd[a-z]
lsusb


Or, for a quick and dirty test:

mount /dev/sda1 /mnt


Or, try a LiveCD targeted towards people not as comfortable with UNIX, such as Ubuntu.
      Thanks unixman, the USB stick is mounted, you just push a button and it mounts the selected drive, in this case sda1. I can copy to/from this USB stick in DSL with the filemanager. This is not the problem. Also DSL is running in a RAM disk for speed, during startup you just say "dsl toram" and it creates and mounts the RAM drive automatically. This shoud also not be a problem, I have 512 MB RAM. All else works fine.
//Wolfgang
Mount point The next thing to check is that the tar file is being uncompressed at or below the moutpoint of the USB drive.  Also, check the free space:

df
Help for a potential new user please      Hi All,

I would like to know how easy BarracudaDrive is to use from the point of view of some one with no real experience of web servers. So that you know where I'm at, my knowledge extends to being able to easily understand how to use GUI type website development software and purchase sever space to upload my sites to. I am good at understanding new sofware and solving computer problems etc. I'm the one people call on when things go wrong!
I hope that helps and look forward to your replys. Many Thanks, Keith. :D
Not a DSL Package I think the problem might be that DSL is trying to install this tar file like an application package, and it isn't just trying to uncompress it in a directory.  Try just untaring it from the command line inside the USB drive mount point:

cd /mnt/wherever
tar xzvf /path/to/tarfile.tar.gz

This will unpack the tar file in your working directory, and then you should be able to start barracuda from there.
Barracudadrive ROCKS!   Greetings  :D
 
Just wanted to drop a line here on the forum to say THANKS for a fantastic program!

I notice there has been quite a surge in membership here over the last week-or-so, and can't help wondering what everybody else is doing.

Personally I really like the clean, compact, secure, no-nonsense design, the embedded LUA  8)  the security  :twisted:  and the possibility to have concurrency in CGI.

I'm exploring the possibility to use this for AJAX with X3D in developing interactive Web3D content. Eventually I think lua server pages might offer significant improvements over php, or Perl.

So far, I just got things installed and am looking forward to trying my hand at lsp.

I'd love to see examples of what others here are doing with Barracudadrive!

Cheers all around!

-Dagfinn
      If you just started to play around with BD, I assume you have the BD and your browser on same PC or on same company or home network. If this is the case, do NOT set up any proxy config in your browser. The proxy setup is only needed if you want to browse outside your network. This means if you want to configure the proxy in your browser you need to know the URL or IP adress of your company proxy server and the port number of the proxy server. Then you have to also set up in the browser config the exception that for local adresses the browser does NOT connect to proxy. This is your case. That means exception must be set to 127.0.0.1 and localhost.
But to get you running, set for now, NO proxy in the browser and see if it works. If not, let us know exactly how the BD is installed, where the browser is and so on. (Also if you start the BD with commandline options etc) We will figure a way out, to get you running.
//Wolfgang
Windows Configuration (HOWTO) ?     Added by BB admin:

Start by reading old forum:
http://groups.msn.com/BarracudaDrive/messages.msnw

The web-file-manager and WebDAV root URL:

The /dav/ and /drive/ URL’s refers to the same physical location on your hard drive.
/dav/ is for WebDAV clients only.
/drive/ is the web-file-manager and can be used by any browser.

Windows XP WebDAV client
see this tutorial if you have problems with the Windows XP client.



Adding users and setting permissions:
The link "Configure the hard drive realm database" on the settings page opens the users and constraints editor for managing users and permissions for the web-file-manager and WebDAV.

A tutorial is available for setting up user accounts and permissions:
http://barracudaserver.com/examples/BarracudaDrive/realm/index.html


The "admin" user and admin permissions:

BarracudaDrive does not have a real administrator account. The name ‘admin’ is a special name that in BD 2.0 to 3.2 is allowed to access the users and constraints editor. Note, this will change in the next major version. The administrator is a normal user when you navigate the web-file-manager and WedDAV. The admin user is by default set to have an empty roles field in the user editor. This means that the admin user is in all roles as specified in our documentation. The admin user can only access directories that are configured in the constraints editor. The admin user is not allowed to access directories that are setup to have no access. It is easy to make such mistakes when setting up permission rules in the constraints editor.


The -r command line option:

The -r command line option controls the start of the /dav/ and /drive/ on your physical hard drive. The default is set to ‘/’ for UNIX and ‘C:\\’ for windows, where C: is the drive BD runs on i.e. can also be D:, E: etc.

The BD home root directory: http://localhost/settings/SetDiskDir.html
This directory is not affected by the -r option.

Assuming you have a directory ‘mydir’ in the root of your hard drive with an index.html file, the index.html file will be accessible as:
Web-file-manager: http://localhost/drive/mydir/index.html
WebDAV: http://localhost/dav/mydir/index.html.

Example, setting -r/mydir i.e. do the following at the command line:
BarracudaDrive -r/mydir

This makes the above index.html available at:
Web-file-manager: http://localhost/drive/index.html
WebDAV: http://localhost/dav/index.html.

The command line option option -r/ on Windows i.e. do the following at the command line:
BarracudaDrive -r/

This makes the above index.html available at:
Web-file-manager: http://localhost/drive/C/mydir/index.html
WebDAV: http://localhost/dav/C/mydir/index.html.

See the -r/ Windows tutorial for more information:
http://barracudaserver.com/examples/BarracudaDrive/DrvCmdOptWin.html

-r command line options and permission rules

Changing the path with -r invalidates all of your previously set constraints. You should therefore decide how to use the -r switch prior to creating all the constraints.

Think about the following:
Do you really need to change the default settings?
If you do, make sure you set the command line option prior to creating constraints.
Always use the "browse" button in the constraints editor when setting a path.

See command line options for more information:
http://barracudaserver.com/examples/BarracudaDrive/cmdloptions.html




------------------------------------------------------------------------------------
How do you share specific folders on different drives on a Windows installation?  I do not want to share the root of different drives but just  specific folders on different drives?

Do you have to run multiple instances of BarracudaDrive?

What does the URI look like for these specific folders?

I have BarracudaDrive working on a single drive, but would like to incorporate multiple drives.

Thanks.
      http://barracudaserver.com/examples/BarracudaDrive/cmdloptions.html

-r/

http://barracudaserver.com/examples/BarracudaDrive/DrvCmdOptWin.html
RE: Windows Configuration (HOWTO) ? I've been trying unsuccessfully to configure in Windows so that I can remotely attach to both c: and d: drives. Can't seem to find where I can "set the command line option to -r/"?

Thanks in advance....



http://barracudaserver.com/examples/BarracudaDrive/cmdloptions.html

-r/

http://barracudaserver.com/examples/BarracudaDrive/DrvCmdOptWin.html
      Unfortunately the documentation states you must understand the contraints editor.  Apparently I do not.

I do not want to grant anyone top-level (root) access to any drive, but I do want to be able to give any user access to some specific directory on any drive.

I started BarracudaDrive with the advanced option switch '-r/', as mentioned in the documentation to enumerate all the drive letters.

Then I create a constraint with every drive letter (/<drive>/*) with the method of none (thinking this would remove root access for all drives).  This could be the first error, not allowing any access, but this was the only way I could think create the desired environment.

Next I create another contraint that includes the specific directory.  Something like this:  /X/SomeDir/* .  I give this contraint a role name.

I then assign a user to the above constraint/role.

I try to acess https://somehost/dav/X/SomeDir/ but have no luck.

I even tried to remove some of the constraints from the ALL-DRIVES definition, but even that did not work.

Is there any way to achieve my goal?

Also where in the documentation does it state the correct URIs to access specific resources.

For example, for the web interface:

https://somehost/drive/DefinedResource/

or

for WebDAV

https://somehost/dav/DefinedResource/

I can get basic functionality to work, but I would like to have more control of the access, and I have been unsuccessful with my attempts.

I could move this all to a Linux host and probably not have these problems, but I would like to get this working on a Windows server if possible.

Thanks for your help.
Re: RE: Windows Configuration (HOWTO) ?   Can't seem to find where I can "set the command line option to -r/"?

You can just pass it as a command-line argument.

On a windows system you can either create a short-cut with the command line arguments, or from the command line run:

/path/to/BarracudaDrive.exe -r/
      Ok, I have found this documentation:

http://barracudaserver.com/examples/BarracudaDrive/WebDAV.html

Which does mention using /dav/ when using WebDAV resources.

That being said, after being prompted for username/password, I still get an error that states that the resource does not appear to be valid.

Thanks.
      Ok, I have found this documentation:
http://barracudaserver.com/examples/BarracudaDrive/WebDAV.html
Which does mention using /dav/ when using WebDAV resources.


The constraints (user permissions) are the same for /drive/ and /dav/
/drive/ is for the web-file manager and /dav/ is for clients that talk WebDAV.


That being said, after being prompted for username/password, I still get an error that states that the resource does not appear to be valid.


The key is to understand how to setup user permissions. You must carefully read the documentation or maybe ask a friend to help you out.
      Maybe this helps to identify some of the problems discribed by some users. This is what have been my problems and how i fixed them.
a) Missing directories and missing drives
When you delete one or more directories on your PC and still have this (now missing directory) directories configured as rule in the drive DB, then a other directoy or drive can disapear. This happens also if you do not use this user or directory with the non-existing directory.  I could not figure out what logic is behind what other specific directory or drive will not show up in directory list , but as long you make sure all directories in restriction really exist, you will not have any problem.
b) some stuff works for one user, but not for other user on BD
If same drive or directory string is used in more then one rule, only one of them will work, the others don't (I am not sure its the first created or the first in alphabet. You must make a constrain (unique name) for one or multiple directies. but never show same directory in different contraints. For this resaon its not a good idea to have the user name also used for the constraints name. When you do this you will mostly run into this problem. Also its a good idea to have differnt constraints name for drive filters and tunnel filters. In m case I call all drive rules drive_xxxxx and the tunnel rules tunnel_yyyyy then its a lot easier to have a overview of overlapping rules. Anything what is in someway redundant in DB creates some problem.
c)admin has set unlimited access to all directories, but can not login to a other user directory (in his filter range)
The filter in drive DB is used for access rights, but for login it's just the "landing zone" this means when you want the admin giving access to login to user directories, you must give him same rule as for the user in addition to his own  /*
d) Tunnel DB
Similar as above also for tunnel DB. Also tunnel DB does not know that 127.0.0.1 and localhost is the same, this means if you want to give access via IP and/or domain, you must configure both in tunnel DB.

I do not know if this helps for all problems, but this fixed my issues.

//Wolfgang
      I have carefully read the documentation, but still can not get it to work.

From the web interface as user1 I can use the following URL:

https://myhost/drive/X/somedir/

I try to use the following URL for use with WebDAV with same user:

https://myhost/dav/X/somedir/

and no joy (get an invalid resource error).

If I login as admin rather then user1 using WebDAV using this URL:

https://myhost/dav/

I see a listing of all root drives that have been published.

So WebDAV apparently works, but not for a user, (user1), who can access files via web interface.

Also, something I find strange...

Taking the example above.

Although when I log in as admin and can connect to https://myhost/dav/ if I browse to drive "X" (https://myhost/dav/X/) I see every directory except https://myhost/dav/X/somedir/; where somedir is the directory which I defined for user1 to access.

So admin has a role which is defined for /* (all methods), but can not list the directory /somedir from drive X.

But if admin user manually types the URL:

https://myhost/dav/X/somedir/, the admin user sees the list of files.  Why can user list files by manually typing URL, but can not list the Directory by using web interface navigation?

This does not look right to me at all.  Can someone who has this working please explain to me why the program reacts the way I have described above.  Also if someone has a working example I would love to see it.

Thanks.
Scott
Windows Configuration (HOWTO) ?     I had the same problems. You can not mix virtual and physical directory.

your physical root starts always with:

https://yourdomain/drive/   after this you have the directory string you want to give access. For example, do not change root of server, means it is on root of your drive you installed the server(for example its installed on D:). now you want to give someone access to d://friends/alex  then the URL would be https://yourdoamin/drive/friends/alex   now in the constraints editor, you give the admin yourself the right to  /*  and to alex you give the right  /friends/alex/*

If you want to reach the same with webdav, change in URL the word drive to dav. In constraints editor its case sensitive.

When you have time a couple of days , i can provide a complete template with full working html overlay to server that you have public and personel web pages with login and links to all this with config files. But as said its not fully done, give me a couple of days.

wolfgang
      You have not read the manual. You can change the port number and use http for file transfer. It is not possible to use a browser for file transfer with http, but you can use WebDAV.

We suggest that you install DriveOnWeb.

Connect to the server using http://domain.name/dav/

A free tool that does not require installation is davexplorer: http://www.davexplorer.org/
feature request, start apps   I have to say it again, I really love the BD, it's a really great server. As I am not a programmer, I can not make it myself. To make BD really unique. I would like to see a additional webservice/API like on http://barracudaserver.com/examples/BarracudaDrive/CommandLine.html under Barracudadrive API, for example cmd=ls, to have a similar command to start any kind of executable on the BD server (like .exe, .com, .bat, .vbs etc) At normal this feature is for security reason not advisable on a webserver. But BD is unique with the realm editor and  filters to create. If additional now to the drive and tunnel DB also a new DB for application start would be added and (and have following 3 fields) only a file configured in DB, in the right directory and now the trick, would have configured also the MD5 of the file in the DB would be able to be started only if the MD5 matches, I would say it would be really secure that this could not be mis-used. This would enable to use a lot of existing commandline tools to control X10 (www.x10.com) devices or relay boards and also a lot of DOS commands and more in a save way WITHOUT the programming knowledge to create webservices in java, JSON or similar via webinterface. I know this is a very rude way, because there is no direct feedback with this system, but would be good enough for a lot of home applications.
Thanks, Wolfgang
Re: Windows Configuration (HOWTO) ?
When you have time a couple of days , i can provide a complete template with full working html overlay to server that you have public and personel web pages with login and links to all this with config files. But as said its not fully done, give me a couple of days.

Anything you could provide will be helpful!  Thank you.

Remember in my scenario I want access to all drives and not just access to a single configured root drive or the top-level root directory from where BarracudaDrive was launched.  The '-r/' command line argument gives me that functionality.

If I use /drive/ or /dav/ URI I will see a list of files which represent the drive letters: /C, /D, /E, etc.  This is great!

Now I need to use the constraints editor to grant/deny specific rights to individual sub-directories within each drive.

Here is an example:

Constraint 1:
Name:  ALL-DRIVES
Constraint: /A/*, /B/*, /C/*, /D/*, /E/*
Roles:  N/A
Method: none

Constraint 2:
Name: Admin
Constraint: /*
Roles: Admin
Method: All methods

Constraint 3:
Name: SomeDir_D
Constraint: /D/SomeDir/*
Roles: SomeDir_D
Method: GET

From the user editor.
Admin is assigned the role Admin
User1 is assigned the role SomeDir_D

If the Admin user logs in and uses this URL:
http://myhost/drive/D/
The Admin user will see every directory except d:\\SomeDir.
This does not make sense to me.  Admin user was granted all methods with /*.  Why does admin user not have access to /D/Somedir/ ?

If User1 logs in and uses this URL:
http://myhost/drive/
The user does not have access to root. (Ok this at least makes sense to me).
If User1 logs in and uses the URL:
http://myhost/drive/D/SomeDir/
They will see a listing of the files.  (Again this makes sense to me, this is what I wanted to achieve).

Ok now time to move on to WebDAV.
From command window on Windows box I type:
net use * http://myhost/dav/ /user:Admin
a drive letter is mapped.  I see the exact same thing as I saw when using the /drive/ URI in the web interface.  I can navigate the mapped drive, but the the directory <mapped>:\\D\\SomeDir is not available.

If I type this at the command line:
net use http://myhost/dav/D/SomeDir/ /user:User1
I get the following error message:
System error 5 has occurred.

Access is denied.

Acess was fine using /drive/ URI from the Web Interface, why does it not work with WebDAV?

What if there is a remote system user on the BarracudaDrive server that is the same username that is configured within BarracudaDrive?  For example is the username being sent as LOCALHOSTNAME\\User1 instead of User1 and this is causing the Access denied message?

Lets throw some SSL into the mix:
net use * https://myhost/dav/ /user:Admin

Without SSL in the mix it worked fine, now I get:
System error 67 has occurred.

The network name cannot be found.

If I use the web interface with this URL it works.
https://myhost/drive/

I will admit I am not quite sure about how I am trying to use the users/contraints, but there still appears to be quite a few strange anomolies.

Possibly I am not using the program as it is intended to be used.  I am just trying to understand why certain things work the way they do.

Thanks.
Scott
cant change the pasword or log in   hi guys i started following the configuration instructions but i cant seem to log on  - i used the admin,admin name and password but it just takes me back to the logon screen with no notice of the wrong password?

could you please help me?

cheers

rolf
      thanks alot i will try that.

cheers

rolf
      it still doesnt work - i think it has to do with my proxy setup - i am runnung mozilla firefox 2.0 and i think i need to configure the connnection ports and proxy stuff up - i am unsure what to make them? could you lease help me?

cheers

rolf
HTTPS Barracuda seems to be a very promising software, but, unfortunately, unusable for me, and it's very frustrating. The reason of this is https.
I would lile to use it mainly to exchange files between my office and my home. Currently, I use Filegateway, which does the job, but which requests a system service, and I don't like too much this. Barracuda coud be another way, but the company I work for blocks https sites outside of a very short "white list" for security reasons. This means that a site working with https on a personal domain cannot be reached.
http sites are less strongly blocked and usually work. This is why Filegateway works well, it uses http.
It would be a good idea to let the user choose to use http or https for file transfers. Of course, when using http, the root directory should not be c:\\ and the transferred files shoud be encrypted, but all that is possible.
By the way, the software woud be more usable as well if it were possible to choose the port numbers it uses.
Best regards.
MGR.
      You have somehow managed to set a password.

Do the following:
Stop the server
Delete the XML files
Start the server and redo configuration
      This problem will be fixed in the next version.
HTTP Tunnel setup Hi all, this looks to be a great app!

However I am having a little trouble, when trying to test the tunnel facility locally I get this:

E:\\Downloadutils>java -jar HttpsTunnel.jar localhost 80:localhost:80
Checking if 'localhost' is running HttpsTunnel
Cannot connect to 'localhost':-1

E:\\Downloadutils>java -jar HttpsTunnel.jar localhost 443:localhost:443
Checking if 'localhost' is running HttpsTunnel
Cannot connect to 'localhost':-1

Barracuda is running I have the B in the sys tray, is there something else I need to do to start the tunnel server?

Many Thanks,

Bilbo
      Wilfred, did you get my message?
//Wolfgang
BD 3.201 stops responding     Since I upgraded from 3.2 to 3.201 (the new version using homedir.cfg unstead of xml) i have the problem that the server stops responding after a few hours. When this happens, the BD icon is still visible, when you exit the application the icon disappears(this still works), but in reality the barracudadrive is still running when you check in task manager. This means you can not restart BD, you have to kill at first the process. The errorlog shows following, there is more in the log, but this seems the point when it happens, then the messages are repeated:
=========================================
Response:
<HTTP>
SharkSSL : Handshake not complete
SharkSSL : Sent alert message, level 2, description 10

Response:
<HTTP>
SharkSSL : Crypto failure during encrypt operation
SharkSSL : Sent alert message, level 2, description 10

Response:
<HTTP/1.1 200 OK

Date: Fri, 01 Dec 2006 04:46:48 GMT

Server: BarracudaServer.com (Windows)

Connection: Close
===========================================

 Maybe its something i am doing, but its still the same as before the upgrade and all was really great. For this reason my server was down now very often.

Any help appreciated. Thanks, Wolfgang
http set to high port number  Seems to be there is small bug when http port is set to high port number. For example when http port is set to 50000, all works except the introduction page shows  port  -15536, and also when you right click the BD drive icon and select setting, then the browser opens with http://localhost:-15536/settings/, what results in "page can not be displayed", if URL is manual corrected to http://localhost:50000/settings/, all works.
//Wolfgang
ReRun installation wizard     I had managed to get as far as where it was telling me to do port forwarding and the power flickered and my computer rebooted.  How do I get back into the installation wizard to complete the process?

-----Paul-----
      Thanks,
We will fix this in the next release.

BTW, where is your promised tunnel documentation?
      have now server running with different user accounts, main webpage, login to all accounts, each acount can have own webpages, photoalbum, each has tunnel for surfing with proxy and also freecap on stick to proxify applications, also your java client on stick with java on stick that it works without java from host computer. Also SFTP access to the drives.  Have it in a zip file, after de-zip it works out of the box as localhost, then you use batch editor (free) to change all hard adresses from 127.0.0.1 to your domainname, configure your router and dynDNS and you are full in business with all the functions. Working now on the documentation, gues you can have first version next week.

//Wolfgang
      Scott, can confirm what you say

invisible dir:
I reported before in a tread that some user directories do not show up in the admin account. But only some. i have one Admin account and 6 user accounts. Admin has all access, users have only access to their own user directory. Only one of the user directories I can not see as admin. Also when you want to login to a user directory as a admin, it does not allow  you, only when you log asadmin to root. When i set in constrain editor for admin also all path for each user drectory, the admin can now login everywhere and also the invisible directory apeared. To me this looks like some bug, but i can not figure out why this one directory did not displayed. I had directory /CD/alek/ what showed up and one with name /CD/alex/ did not show up, just very similar names, all the other dir had completly different names..do not know if this means something.

can not go to certain dir:
maybe with all our testing trial and error, the BD locks us out with this 4 times login and then 10 min wait, because somtimes it has 403 error, sometimes it says no rights to this resource.....I am not sure. Maybe Wilfred could throw in a test switch on commandline to switch the security feature off for testing. My brewsky consumption goes really up during the waiting periods. Wilfred confirmed in other thread that my assumption and also yours for drive path are right, will try next time that there are no login errors to see if above theorie is right.

wedav:
all the problems with webdav and also login with webdav go away when you use the webdrive client, as explained it seems the windows webdav implementation is useless. Its also a lot faster and works all the time.

when i do not use the -r/ switch, i have all working. With the -r/ switch i have above problems, and i did change the path and also constrain editor after i switched the -r/ on. maybe tonight i can do some more testing.

The tunnel works great.

//Wolfgang
Punching holes into firewalls The following is a link to an article about how to bypass firewalls and how the Barracuda HTTPS tunnel can be used.

http://sebsauvage.net/punching/
Photo albums and online PowerPoint like presentations We have assembled an easy to use package for creating professional looking presentations and photo albums.

http://barracudaserver.com/examples/BarracudaDrive/applications/presentation/
     I have been through the documentation, and I am still having problems reaching my goals.

I understand the built-in XP WebDAV client may be buggy, by why does it work as one user, but not another.  That does not make sense.  Especially if the "admin" user is not a special user.  I honestly have not tried any of the other mentioned clients to see if the results are different.  I do not really have the need for WebDAV I was just sharing my experiences and possibly pointing out a bug.

I have outlined my constraints and what works and what does not work.  Can you point out the errors in my logic?  If I am interpreting the documentation correctly, and my constraints are set up properly, then there is a problem with the server

I am not trying to knock the development of this project.  I am merely testing this software and hoping to learn something from others users.  I understand the questions that started this thread were basic questions that could have been answered by carefully reading the documentation, but I would still like some feedback on why my constraints are not behaving as I might expect.

Thank you for your answers and for the work that has been put into developing the software.

Scott
       If I am interpreting the documentation correctly, and my constraints are set up properly, then there is a problem with the server

It is your configuration that is not properly setup or you have a non working XP DAV client.

I suggest that you first try with a browser and not a DAV client when you test your new user. Make sure you have the following methods set for the user in the constraints editor:
COPY
DELETE
GET
MKCOL
MOVE
POST
PROPFIND
PROPPATCH
PUT

Log in with the new user credentials using IE in a directory where the user is set to have the necessary permissions. The browser will give you a message if you have no permission.

Press the web-folder button.

The user can obviously not login with a URL that is not setup to have the necessary permissions. For example the /dav/ URL will most likely not work for the user as you have most likely denied access to root.

The problem with the XP client is that it is very bad at reporting back to the user if the server denies the request. It is for this reason difficult to use the XP client as you have no idea of what went wrong.

Why do you think the company selling WebDrive can successfully sell when they are competing with a free version built into XP?
It is because the built in XP version does not work.

It is however possible in most cases to use the XP version, though you may have to get a new version as explained at the top of this topic.
Java Client File Manager      On page:

http://barracudaserver.com/examples/BarracudaDrive/screenshots.html

is a Java Client File Manager described, and link to download:

http://barracudaserver.com/examples/BarracudaDrive/jfm.html

link seems to be dead. Is this Java Client File Manager available ?

Thanks, Wolfgang
Questions regarding "Set web server "home" root directory"  I noticed there is no DiskDir.xml file in the BarracudaDrive home directory it looks like it has been replaced  by HomeDir.cfg file. This happened after upgrading BarracudaDrive to version 3.2.1 from 3.0. Is this change from DiskDir.xml to HomeDir.cfg by design? Is there any need for concern?

When I set the web server "home" root directory in BarracuaDrive ver 3.2.1  I get the following message/warning which appears under the path input box…

"You have enabled your home directory, but you do not have an index.html or an index.lsp page in '/C/WebServer/WebPages/'. The link http://mydomain/home/ will not work unless you create an index page."

Note - I have tried setting the web server "home" root directory using both Internet Explorer 6 and Firefox, however, I get the same warning message using either bowser. Also I do have an index.html in C:\\WebServer\\WebPages and the link http://mydomain/home/ works fine. Is there any need for concern?

Thanks in advance for your response!
Re: Questions regarding "Set web server "home" root director      I noticed there is no DiskDir.xml file in the BarracudaDrive home directory it looks like it has been replaced  by HomeDir.cfg file. This happened after upgrading BarracudaDrive to version 3.2.1 from 3.0. Is this change from DiskDir.xml to HomeDir.cfg by design? Is there any need for concern?


No need to be concerned. We are moving away from using XML for storing the configuration data. BD 3.2 is a hybrid i.e. some data is saved as XML and some data is not.



"You have enabled your home directory, but you do not have an index.html or an index.lsp page in '/C/WebServer/WebPages/'. The link http://mydomain/home/ will not work unless you create an index page."


We added some logic for making it easier to set the home directory. This text is just information and you can ignore the message. The information displayed is not always correct in BD 3.2

BTW, have you tried Lua Server Pages?
We like to encourage everyone to try LSP.
The next version of BD will also include an integrated database.
      The Java file Manager is currently unavailable. You can use WebDAV or the web-file-manager as replacements.
      In Zonealarm you must configure: Program Control, then find barracudaserver and make all 4 check marks (allow for server) for security, do you have a router or is your PC directly on the internet (directly to CableModem connected)? If you have router, only forward port 443 and NOT 80. If  you do not have router you need to block some ports on your machine with ZoneAlarm or a port blocker from analogx. Let me know your setup, then i can tell you what to configure. You will also need a Dynamic DNS service.
Wolfgang
      thanks alot i will configure taht now.

cheers

rolf
question on tunnel function   I tried with a packet monitor to check if the tunnel client or the BD sends keep alive traffic when there is no data sent via the tunnel. But have not been sucessful, because on client side i go via proxy, and when i remotly log in at home and want to check there, my remote login works also with SSL.
What I am trying to find out is if the tunnels (client and or server side)sends some keep alive traffic, I want to know if the tunnel can be detected when there is no data traffic on tunnel. Maybe Wilfred can shed some light on this?

Thanks,Wolfgang
      No, the tunnel is using HTTP, which is stateless, and you must therefore maintain the tunnel by other means.

BTW, a new tunnel is released, which circumvent a problem in Java. The connection could sometimes drop. The new command line version can also accept the username and password directly from the command prompt.

The new tunnel should fix the following:
RDP over HTTPS tunnel connections drop
      This is great, that you can add the username and password on commandline. Now the tunnel with reversed VNC connection will work, needs only a batchfile that VNC will be switched off before tunnel starts and then switched on again. tunnel will not start when port is already in use. With manual user/password input i have tested, it works. This was also the reason for initial question to keep the tunnel running. (only a good trigger is needed, working on it) Really great!
Now only one thing is missing on tunnel :-)  :-) UDP support, check this http://tunnel.mrq3.com/explain/node6.html#SECTION00015200000000000000

Thanks,Wolfgang
      unixman, thanks, you have been right. uncompressed, un-tared the stuff, mounted the USB stick, then:

dsl@box: /mnt/sda1$ StartBarracudaDrive.sh
Setting user to 'dsl'
HTTP listening on port 80
HTTPS listening on port 443
dsl@box: /mnt/sda1$

then it created the config files on the USB stick. This means the BD works somehow, but no display. In Linux on DSL do i have to start the browser manual and need to know URL, or shall browser start like in windows ?

Thanks,Wolfgang
Web Server URL    From DSL, you can browse to:

http://localhost/

or

https://localhost/

Of course, if you start BD and the ports it displays change, you'll have to add the ports to the URLs.
      thanks, should have taken a brewsky to relax, then think about it , before I asked the question. Expected to see something.....works perfectly, thanks for all your help.
      Did something change on the "existing" commandline parameters? when i use the new tunnel jar file with my existing shell script it does not connect and says then

:503

when i fall back to old tunnel jar, all works. Did not use the new user or password option. So there should not be any typo when i use the script. Did also try to key it in manually in command window, same result.

Any help appreciated, thanks, Wolfgang
      No, the tunnel works for me?

Here are two examples:

No user and password on the command line:
java -jar HttpsTunnel.jar 192.168.1.2 8080:google.com:80
Pinging 192.168.1.2
Found 192.168.1.2
Checking if '192.168.1.2' is running HttpsTunnel
Server requires authentication
User name:xxx
password:
Server connection established
Listening on port 8080


User and password on the command line:
java -jar HttpsTunnel.jar -user xxx -pass xxx 192.168.1.2 8080:google.com:80
Pinging 192.168.1.2
Found 192.168.1.2
Checking if '192.168.1.2' is running HttpsTunnel
Server requires authentication
Server connection established
Listening on port 8080
      Hmmm, I don't know. I downloaded twice, tried it with BD 3.2 and BD 3.21 , with and without proxy, IP or domain, used one tunnel or multiple, same machine, remotely, used also your example, works with old, but not with new. So, error message is not always same.

Pinging 127.0.0.1
Cannot Connect to '127.0.0.1':-1
or
Cannot Connect to 'mydomain':-530

are the -1 and -530 error codes ? if yes, any explanation for it available?

The MD5 of my version is

a38a563c8d882e00d09991e241a140a0

could you confirm, its the same you are testing? (I used HashCalc from http://www.slavasoft.com)
Thanks, Wolfgang
Java Webstart     I am having trouble trying to launch a Java Application using Webstart from my Barracuda Drive Homepage.  My jnlp file works fine when configured with localhost in the codebase, but I receive a Download Failure error loading my jar file when launching from my domain.

Also if I redirect the jnlp to my Apache webserver the application loads fine.

I'm not sure if the failure is because there the MIME type for jnlp is not configured on the webserver, but is there a way to configure the MIME types for the Barracuda Drive webserver?

I'm quite new to webservers in general and java webstart, so any help would be greatly appreciated.
      i did that with the zonealarm configurations but it still wont work unless it is switched off. i think it is still blocking it somehow?

cheers

rolf
      The domain name must match the domain in the jnlp file.

See:
http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/faq.html

and:
http://lopica.sourceforge.net/faq.html
      ok, I've verified that the domain matches.  I'm almost positive its correct because everything works fine, when I append :8080 to the domain and load the jnlp file using apache.  But maybe its my directory structure that's causing the problem.

I have the jnlp and jar files in a subdirectory of the barracuda home directory ie (c:/bd/home/ws/).  The link on the page is to http://mydomain/home/ws/myjnlp.jnlp, which seems to load webstart correctly.  In my jnlp file i have:

<?xml version="1.0" encoding="utf-8"?>
  <jnlp
  href="http://mydomain/home/ws/myjnlp.jnlp">
   
<information>
       <title>MyTitle</title>
       <vendor>Vendor</vendor>
       <description>Desc</description>
       <description kind="short">Short Desc</description>
       <offline-allowed/>
     </information>
     <security>
       <all-permissions/>
     </security>
     <resources>
       <j2se version="1.6"/>
       <jar href="http://mydomain/home/ws/mySignedJar.jar"/>
     </resources>
     <application-desc main-class="myPackage.myMainClass"/>
</jnlp>

And I receive the following error from webstart:
JNLPException
\tat com.sun.javaws.LaunchDownload.downloadJarFiles(Unknown Source)
\tat com.sun.javaws.LaunchDownload.downloadEagerorAll(Unknown Source)
\tat com.sun.javaws.Launcher.downloadResources(Unknown Source)
\tat com.sun.javaws.Launcher.prepareLaunchFile(Unknown Source)
\tat com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
\tat com.sun.javaws.Launcher.launch(Unknown Source)
\tat com.sun.javaws.Main.launchApp(Unknown Source)
\tat com.sun.javaws.Main.continueInSecureThread(Unknown Source)
\tat com.sun.javaws.Main$1.run(Unknown Source)
\tat java.lang.Thread.run(Unknown Source)

I'm sure it's something stupid that I'm missing.  Thanks again for help.
      I have the same setup with Zone Alarm. You need a router in front of your PC, Zone Alarm is not enough. I use the linksys WRT54G with Sveasoft firmware (http://www.sveasoft.com). Only forward 443 to your PC with BD running. With your dynamic DNS provider setup (I use http://www.no-ip.com) also a web redirect, from www.yourdomain.com (http port 80) to your https://yourdomain.com/home/index.html) so people can access your site with http, but your webredirect will convert it to https and you do not need to have port 80 open on your router. Also switch off "ping" on your router.

In Zone Alarm set following:
program control - Main - to medium
program control - main - Automatic lock - to off
program control - programs - set BD with all four checkmarks to allow server on internet
firewall - main - internet zone - to medium
firewall - main - trusted zone - to off (that you can mount drives in your network)
firewall - advanced - make additional checkmark at: Allow uncommon protocolls at high security

with this setting I can use the SSL tunnel and also https web pages and webDAV with SSL on internet.

Let us know if you can get it running.
//Wolfgang
      Thanks, the latest version does take care now of the problem, it works now also when port 80 is closed and also wen http port is moved to higher port number, also user and password on commanline work nicely.

Would it be possible to have a download page with BD and tunnel code with MD5 checksum and old and new versions with update history? To have all on one place, for easy identification?

Thanks again, Wolfgang
HowTo remove download (upload) load from your BD      If you are in the same situation as myself, using BD on a Cable or DSL connection and must watch your bandwith and want to publish some files, you can use following solution (this works also for real big bandwith!);
http://www.coralcdn.org/     and more detail  http://wiki.coralcdn.org/wiki.php 
This will work for files to download, and is mainly to be used for more static content, like file download and will only work without https (SSL). You must change your dowload link:
If current download link is  http://mydomain.com/home/myfile.zip, you must change to http://mydomain.com.nyud.net:8080/home/myfile.zip 
if you currently run BD fr example from http port 62899,  port 80 is not advisable, for example  http://mydomain.com:62899/home/myfile.zip you must change to:
http://mydomain.com.62899.nyud.net:8080/home/myfile.zip
Attention, as you see your port number is now prefixed with a dot and not a colon. (see http://wiki.coralcdn.org/wiki.php?n=Main.FAQ#otherports)
When you do this, on the first dowload  your file is uploaded and cached at nyud.net and everyone who is downloading your file after te first download will get it from this caching website and NOT from your webserver for the next 12 hours, this means no traffic to your website (almost) just cecking if file still exist). After 12 hours this caching proxy will be updated again. With this system your upload traffic will be reduced dramatically. How does it work, check here:  http://wiki.coralcdn.org/wiki.php?n=Main.Servers
How can you check if this is really working? Download NetMeter from http://readerror.gmxhome.de/ and install, then download first time your file, you will see upload (UL) and download (DL) at the same time, when you download the second time, you will see only download, because the file will be downloaded from cache of coral network and NOT from your server. Even better, download from other PC and you will see no download traffic on your server.
What's the drawback? It works only for files to maximum of 50 MB !
If you want to offer bigger video files, you still can upload them to the Internet archive and link to them :  http://www.archive.org . Internet archive offered in the past also freecache.org, for bigger files to cache, but the service is not active anymore. :cry:
If you want to count the downloaded files, use our dynamic DNS service, like http://www.no-ip.com and create a web redirect to your file to dwload and no-ip will provide a counter to see how often the file was downloaded (how often the web redirect was used, the counter works mostly only on the paid service)
Have fun with this one, Wolfgang
not listed on Google, robots.txt    When you run your BD from home on a Cable or DSL connection, it's advisable that your website is not listed on google. For this reason you can use the robots.txt , see http://www.robotstxt.org/wc/exclusion.html#robotstxt
now the issue: Wen you use BD, you can only use robots.txt in http://www.yourdomain.com/home/robots.txt , but the most search engines expect it at http://www.yourdomain.com/robots.txt, some of te bg search engines like yahoo are flexible and find it also in the home dir. ut a lot of other do not. See your log file:  ttpTrace.txt . Also you can include the Meta tags http://www.robotstxt.org/wc/exclusion.html#robotstxt in your own web pages.
But for the settings, start and introduction page, you can not do this.
Maybe Wilfred can help that robots.txt is also available, if exist on, http://www.yourdomain.com/robots.txt  and also that the Meta tags for no robots included in the standard configuration pages. This would be really nice  8)  8)
As usual, Thanks a lot, Wolfgang
      I personally do not see any reason for not using port 80. I have been running BarracudaDrive for more than a year on my personal DSL connection without problems. I have BarracudaDrive running on a Mac Mini and my DSL gives me 15Kbyte upload speed. I can see from the logs that the search engines are accessing my Mac, but this has not slowed down my DSL connection.

I also use BarracudaDrive as a regular web-server so I cannot block port 80. I think it depends on your use of BarracudaDrive which may be different from mine.
      2 different issues.
The port 80 when open gets always scanned from kiddies trying to do something, also some cable providers block also port 80, thats the reason I do not use port 80 on my router. What I am doing is, use a high port number, never scanned by the kiddy scripts and not blocked , in the 50000 range and make a web redirect on my Dyn DNS provider (www.no-ip.com). This works in this way:
http://mydomain.com:50499/home/index.html will go directly to my start page if needed. But no-one want to key this into his browser, so I set up a web redicrect. This means http://www.mydomain.com (port 80) (setup at no-ip) will be redirected by no-ip to my http://mydomain.com:50499/home/index.html
 I am doing the same also from http to https start page.

The other part  is that I do not want my server listed with all my stuff on Google (search for my domain on google) For this reason the robot.txt and the robot Meta tags shall be used, its not perfect, but the big search engines obey the rules, like google and yahoo, when the robots.txt is findable on the proper place. The bots expect the robots.txt at http://mydomain.com/robots.txt but this can not be done at the moment with BD, you can only find it at http://mydomain.com/home/robots.txt  . For example Google does not find it there.  Search in httptrace what google and yahoo is doing, yahoo is trying a couple of variants to find robots.txt and not only in the server root, but still I am also listed on yahoo.
For this reason it would be nice that when the robots.txt when placed into the BD install directory (server root) should be findable from the internet and the bots with mydomain.com/robots.txt.

Thanks, Wolfgang
HowTo use browser via tunnel  You want to use your tunnel to avoid browsing restrictions imposed by a corporate proxy?  Well, this can be done. You need to install a proxy at your home server.

BarracudaDrive Product webpage  http://barracudaserver.com/products/BarracudaDrive/

<script type="text/javascript">
digg_url = úhttp://sharkssl.com/44100/viewtopic.php?t=43ú;
</script>
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>

Here a diagram of the setup we want to do 

http://coololdman.com:60080/downloads/tunnel_browser_01.jpg

(maybe my server is down, then try again later)

For example use CCproxy and/or AnalogX proxy. I suggest you install both and you use the proxy working better for you.
Download CCproxy from

http://www.youngzsoft.net/ccproxy/ccproxysetup.exe

and AnalogX proxy from

http://www.analogx.com/contents/download/network/proxy.htm

When both proxy are configured with same ports, you can only run one at a time to avoid conflicting ports. AnalogX proxy ports are fixed and can not be changed. To use either proxy without reconfiguration, it is advisable to use same port config, this means configure CCproxy for port 6588 for http and https protocoll. Now you must configure your tunnel. Your tunnel shall be always configured asymmetric to avoid conflicting ports on the client side. This means set the tunnel (when used with the jar file) to:
java -jar httpsTunnel.jar -ssl companyproxy.com:8080 yourdomain.com 58080:localhost:6588
What means:

companyproxy  = when you at work you must configure the proxy used at work, go to IE, tool - internet options - connections - Lan settings and you will see what proxy domain and also wich port is used (if a configuration script is configured, copy this URL and past it in your browser and you will see the file with the proxy info, based on your IP adress you will be able to identify your company proxy)

yourdomain.com =  your domain name at home or your IP adress of your homerouter (you must forward port 443 on your home router to your BD server)  

58080:localhost:6588  = the port 58080 is the entry point of your tnnel at your work PC and localhost in this case is your home PC and 6588 is on your home PC the exitpoint of your tunnel and will connect to your proxy on port 6588

You have to configure the tunnel database. Create a rule:

called:  tunnel_user
/localhost/6588/
/127.0.0.1/6588/

each user you want to give permission you have to give access to tunnel_user

Now you need a browser on the work PC. Assume you do not have admin rights on your work PC, so you can not install "normal" software, for this reason you need to download a "portable" browser running from a USB stick. Use Opera portable and/or Firefox portable (see

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

and/or search Google) Now this new browser you have to configure to use a different proxy settings then your original company IE browser. Configure Opera or Firefox to http/https for localhost and the port used to 58080 (do not set any exceptions), this will make the browser use your tunnel entrypoint as proxy, what will be forwarded to your home CCproxy or Analogx proxy and then proxied out in the Inernet.

Well have fun, keep in mind, when avoiding a firewall you need to get permission of the network operator! You have been warned!
Keep in mind, your browsing is via a encrypted SSL tunnel, so can not be identified what you see or download, but to what websites you go is still traceable! At normal your browser/PC will make a DNS request for the website you want to go, and the DNS server used will be at normal the DNS server at work, so your DNS requests are still visible in the DNS server logfile (and your IP adress)

//Wolfgang
HowTo use tunnel with almost any application    You want to use applications not supporting a proxy configuration and/or your corporate proxy blocks the ports needed for the application.  Well, this can be done.

There are some limitations, there are some application that can not be "socksyfied" and also when application needs UDP support it can not be done, because BD tunnel does not support UDP as is. (A lot of games need UDP support, see here to find out more about your application:

http://www.portforward.com/cports.htm

You need to install a proxy supporting socks at your home server.

Here a diagram of the setup we want to do

http://coololdman.com:60080/downloads/tunnel_socks_01.jpg

(maybe my server is down, then try again later)

For example use CCproxy and/or AnalogX proxy. I suggest you install both and you use the proxy working better for you.
Download CCproxy from

http://www.youngzsoft.net/ccproxy/ccproxysetup.exe

and AnalogX proxy from

http://www.analogx.com/contents/download/network/proxy.htm

When both proxy are configured with same ports, you can only run one at a time to avoid conflicting ports. AnalogX proxy ports are fixed and can not be changed. To use either proxy without reconfiguration, it is advisable to use same port config, this means configure CCproxy for port 1080 for socks protocoll. Now you must configure your tunnel. Your tunnel shall be always configured asymmetric to avoid conflicting ports on the client side. This means set the tunnel (when used with the jar file) to:
java -jar httpsTunnel.jar -ssl companyproxy.com:8080 yourdomain.com 51080:localhost:1080
What means:

companyproxy = when you at work you must configure the proxy used at work, go to IE, tool - internet options - connections - Lan settings and you will see what proxy domain and also wich port is used (if a configuration script is configured, copy this URL and past it in your browser and you will see the file with the proxy info, based on your IP adress you will be able to identify your company proxy)

yourdomain.com = your domain name at home or your IP adress of your homerouter (you must forward port 443 on your home router to your BD server)

51080:localhost:1080 = the port 51080 is the entry point of your tunnel at your work PC and localhost in this case is your home PC and 1080 is on your home PC the exitpoint of your tunnel and will connect to your socks proxy on port 1080

You have to configure the tunnel database. Create a rule:

called: tunnel_socks
/localhost/1080/
/127.0.0.1/1080/

each user you want to give permission you have to give access to tunnel_socks

Now we need to get your application to enable to use a socks proxy, called socksify. For this we need following program called freecap.

http://www.freecap.ru/eng/

Install freecap and configure to use proxy:  localhost and the port for it 51080 (it will use the tunnel as proxy)

Then any program "started within" freecap will be proxified and tunnel out to your socks proxy.

Before you start with your application to socksify, its advisable to test your setup with a proven working setup. Install PixaMSN, this is a free MSN messenger client without any proxy support. This means it will at normal not work behind a corporate firewall. We will install it and make it working with freecap via your tunnel and socks proxy. Download from:

http://usuarios.lycos.es/pixador/PixaMSN.zip

Its a portable softwae, so needs no installation, just run the exe file, but not within windows.  You must open freecap and click add application, add Pixamsn, then start Pixamsn within freecap, now add your MSN user  ID and password and Pixamsn will login to MSN via your tunnel when all is setup right. If pixaMSN works right try to add your application you want to use to freecap and you should be able to use it via the tunnel.

Well have fun, keep in mind, when avoiding a firewall you need to get permission of the network operator! You have been warned!
Keep in mind, using your application via a encrypted SSL tunnel, can not be identified what you are doing, but to what servers you connect is still traceable! At normal your application/PC will make a DNS request for the server you want to go, and the DNS server used will be at normal the DNS server at work, so your DNS requests are still visible in the DNS server logfile (and your IP adress)

//Wolfgang
      Ooohps, forgot some details about freecap configuration!

dwnload from  http://www.freecap.ru/eng/ 

download the version without installer, it will run like a portable application from USB stick.

Configuration:

Note: when you are in setting in freecap, use only selection of tabs on top, the vertical selections have bug and are misleading, going to wrong window

freecap - file - settings - now set following

default proxy =   localhost

port = 1080

select  socks v5 and  do NOT check the field user ID

thats basically it.

When all is working, you can try (also DNS proxying must be set at ome on CCproxy) to configure following:

freecap - file - settings - program

now you can set also DNS resolution to local or remote, if set to remote the DNS server at home configured would be used (avoiding that your activity will be in logfile of your work location). Do this only if all works, this will be slower, because it goes via tunnel, maybe does not work with all programs.

If you have problems, you can setup logfile under:

freecap - file - settings - log settings

Guess, this should be all, Wolfgang
      you can also use tunnel with freecap to use Telnet.

You must open windows telnet client via freecap. In freecap - file - new application - browse

now go to c:\\windows\\system32 and click telent.exe

when you start now telnet via icon in freecap you can telent to any server on internet.

for test, you can find some telnet bbs:

http://www.dmine.com/telnet/newbbs.asp 

keep in mind, not all are up all the time.

//Wolfgang
HowTo tunnel VNC  HowTo tunnel VNC

If you want to remotely log into your home PC from work via any firewall and encrypted in the BD SSL tunnel you can use VNC. http://en.wikipedia.org/wiki/Vnc
Some versions of VNC offer also encryption plugins, but these plugins are not full SSL compatible and can bypass a firewall
only with help of some external servers. If you use BD tunnel you have no problems with firewalls and have additional all
the other features of the BD server.

Here a diagram of what we want to do:

http://coololdman.com:60080/downloads/tunnel_vnc_01.jpg

(maybe my server is down, then try again later)

You can use any flavour of VNC, but I recommend to use UltraVNC ( http://www.uvnc.com ), because UltraVNC offers also a VNC
proxy (called repeater) that allows you in a easy way to login into multiple PCs on your home network without complicated
port number changes, you can install it without registry settings (this means it could run parallel to a existing VNC installation)
and also you can buildt yourself a custom portable server version, and has also a lot of other features and is pretty fast when you install
the display driver. (You can als create a reversed VNC connection, will post this separately).


At first you must configure your tunnel. Your tunnel shall be always configured asymmetric to avoid conflicting ports on
the client side. The tunnel will consist of "2 tunnels" ! This means set the tunnel (when used with the jar file) to:
java -jar httpsTunnel.jar -ssl companyproxy.com:8080 yourdomain.com 55900:localhost:5900 55901:localhost:5901
What means:

companyproxy = when you at work you must configure the proxy used at work, go to IE, tool - internet options - connections - Lan settings and you will see what proxy domain and also wich port is used (if a configuration script is configured, copy this URL and past it in your browser and you will see the file with the proxy info, based on your IP adress you will be able to identify your company proxy)

yourdomain.com = your domain name at home or your IP adress of your homerouter (you must forward port 443 on your home router to your BD server)

first tunnel for VNC direct connection to server:

55900:localhost:5900 = the port 55900 is the entry point of your tunnel at your work PC and localhost in this case is your home PC and 5900 is on your home PC the exitpoint of your tunnel and will connect to your VNC server at port 5900.

second tunnel for VNC connection via VNC proxy (VNC repeater):

55901:localhost:5901 = the port 55901 is the entry point of your tunnel at your work PC and localhost in this case is your home PC and 5901 is on your home PC the exitpoint of your tunnel and will connect to your VNC proxy (VNC repeater) on port 5901.

You have to configure the tunnel database. Create a rule:

called: tunnel_VNC

/localhost/5900/
/127.0.0.1/5900/
/localhost/5901/
/127.0.0.1/5901/

I assume you only want to give yourself, the admin the permission to use this rule and not other users of the BD.

Now the installation of the  VNC server. You always install the package (use the latest version, at the moment 1.0.2)) , this will install server and also the
viewer (client) and additional install the video driver on your BD server at home.   Download from  http://www.uvnc.com/download/index.html

Install the video driver.

When installed run: install as service, click also install video driver  and run VNC server  and configure a password. Use only a maximum of 8 characters for
password to keep it compatible with other viewer versions of VNC.
Right click on Ultra VNC server icon in taskbar and select properties, check for the video driver and make checkmark to use video driver.
All the configuration, also config for Administrator in VNC keep as default.

Then click in menu install Ultra VNC repeater  as a service.  Right click on Ultra VNC repeater icon in taskbar and select Settings, make sure under
accept it says port 5901, we will not use the listen port, dont change the default listen port.

Now copy from your

c:\\Program Files\\UltraVNC\\   (when installed with defaults)

the file vncviewer.exe to your USB stick, the viewer is a portable program, to be used for remote access from your work PC.

Now how to use it:

USB stick on your work PC, start at first the tunnel, with link from http://barracudaserver.com/examples/BarracudaDrive/HttpsTunnel/index.html

or download the jarfile and start from commandline.  (as explained above)
java -jar httpsTunnel.jar -ssl companyproxy.com:8080 yourdomain.com 55900:localhost:5900 55901:localhost:5901

When tunnel is open start your vncviewer from your USB stick.

When you want to connect directly to your BD server:

key in under VNC server localhost::55900    (you need 2 colons ! when you use different VNC viewer it may be different!)

do not use anything in repeater.

localhost on port 55900 will connect to your entrypoint of your tunnel at the work PC and on localhost port 5900 it will
exit at your home PC and connect to your VNC server.

If you have multiple PC on your home network, you use the repaeter:

key in under VNC server homeserverIPadress  (for example 192.168.0.12 and no port number (it will use default 5900)

and now mark the checkmark for repeater and key in under repeater  localhost:55901  (this will connect localhost on your
work PC, on port 55901 (entrypoint of your tunnel) and exit at home on 5901 to your VNC repeater, and repeater will forward
 to your PC on home network as configured in VNC server.
 
Hope that i do not have to many bugs in my explanation.

//Wolfgang
Dose BD support resume download for clients?   I'm new to BD and finally I made it goes well, but I have a question that BD uses javascript in directory list and my FlashGet can't catch the download, therefore IE comes out and no way for resuming.

Is there any way for resuming downloads on a BD file server? thanks.

I find BD server is very client friendly, but not so friendly to admins :D  still, a very powerful util!
      I have not tried this with warcraft, but I checked on http://www.portforward.com/cports.htm, so warcraft needs to tunnel port 6112 to 6119 , but it seems to be TCP and also UDP.

Sockscap, you can replace with freecap and you dont need to re-install it every few month, freecap is fully free and has more features.

I assume this setup would be right, look at the overview diagram and instructions at:

http://barracudaserver.com/examples/BarracudaDrive/BB/viewtopic.php?t=44

You do not have to change anything on the instruction, should work as described. Make the test with PixaMSN and telnet as described, to make sure the setup is right, before you try it with warcraft.

At normal BD does not support UDP in tunnel, maybe when encapsulated in socks (with sockscap or freecap) it's good enough for warcraft.

Try it out if it works and let us know!

//Wolfgang
      What i forgot to say, when you start your application, in your case warcraft within freecap (same functionality as sockscap) then all ports will be encapsulated into socks and forwarded via tunnel to proxy server at home and then go to internet to all other destinations. So even if warcraft is changing the ports during playing, or in new versions  it will use different ports. it will work. The only question is if the setup is good enough for UDP (what is really used in UDP by warcraft).

In freecap setup, is also a point to enable "some kind of UDP " support, maybe this you have to enable.

//Wolfgang
      thanks for your answer:)
      Just in case anyone else is interested I did get an answer:

Features
--------

Improved authentication, LSP script , enhanced GUI configuration
dialogs.

User definable (with script support) static and dynamic pages.

Define your own home page, set certificates, commercial license,
run as an Windows service (if you like), simplified installation.


See also http://barracudaserver.com/pr/lsp.html
WOW Help    I would like to use Barracuda to tunnel World of Warcraft traffic, I currently do this with SocksCap and HTTP Tunnel, but it costs money and it's not that fast.

The problem is that the WoW.exe client connects to a variety of changing IP addresses over the same port. The Barracuda client appears to only be able to tunnel traffic from a local port to a specific (fixed) remote host and port.

Is there any way to set up a sort of dynamic tunnel on Barracuda, so if traffic goes out to port 3724 on host X, then it tunnels to 3724 on host X, X being an application generated variable?

I hope this makes sense. Thanks to anyone that can help, even if you tell me it's not possible!
problem with my notebook pls anybody help Hello,
I am having trouble with my Internet explorer.It is doing some very odd things.Sometimes it will completely close the page i am visiting for no reason or it will be very slow loading pages and when i say slow i mean very very very slow for eg i tried to google something and after 10 minutes of the page trying to load i gave up.I thought that it was perhaps the topic i was searching so i tried putting in random things to see if that made any difference but it didn't.Another problem i had was when i was on a forum and clicked on a link and nothing happened i tried to open a new tab and that wouldn't work either and it would let me access any options that are in my tools menu.i had to restart my computer.Just to let you know i have high speed Internet connection.Thanks in advance to anyone that helps me with this problem.
      thanks alot i wil d/l those programs now, i also have a router for the internet connection will that effect it as well.

cheers

rolf
Re: Dose BD support resume download for clients?      I'm new to BD and finally I made it goes well, but I have a question that BD uses javascript in directory list and my FlashGet can't catch the download, therefore IE comes out and no way for resuming.

Is there any way for resuming downloads on a BD file server? thanks.
No

Many tools, such as FlashGet, are abusing this feature and we have therefore removed HTTP range requests handling from the server. A client should not open more than two connections to a server according to the HTTP specification.


I find BD server is very client friendly, but not so friendly to admins :D  still, a very powerful util!
Please elaborate.
      I am not sure your question is applicable to this forum, but I suggest that you install Firefox, which is a much better browser than IE.
Pro / Commercial License      I hope this is the correct spot to post this.

I need a webDAV box and I'm currently considering Apache and BarracudaDrive.  I really like this product, but would hate to make a decision without knowing the details of the Pro version.  Is there any information available yet such as what will be different and mainly what the pricing will look like?

Thanks!
      check the port numbers, port 443 for https(SSL), SSH is port 22,
check here: http://www.iana.org/assignments/port-numbers
on most firewalls/proxy port 563 NNTP secure news is mostly allowed, you could force BD to run SSL tunnel on 563 and firewall should allow, when proxy is set correctly.

//wolfgang
      I do not know Kaspersky in detail, but like with any virusscanner, when configured to scan also web pages , this will get very slow when the web page is a file manager like on BD. I assume you must configure Kaspersky that it does not scan web pages, just only local files and downloads, but not the content of web pages.

//Wolfgang
ufff nothing... forbidenn again...  I tell you that like I have heard that this working is for the port 80 by means of programs that make tunnels like the httport.... same they have told me that for other ports... I saw it working for the 80... 
 
another devises...
certificate error What Do I need to do in order to eliminate the first page people get when they visit my web page is a page entitled "There is a problem with this website's security certificate". Do I need to purchase a certificate? If so what kind and What should it cost. All I'm trying to do is eliminate that warning page that leads to my  non business homepage
      Hi Pitoniso,

Send me private message with your proxy URL and proxy port number, I will send you back configuration syntax for tunnel and also for BD server setup for port 80 and also port 563 to try out.

//Wolfgang
Same error message when using a tunnel in BD    Dear readers,

I have a simular problem

When I setup a tunnel i.e. /google.com/80, create a Constraints "tunnels", drag the admin role into the Role List, the BD server excepts this and I can save this Tunnel Constraints without any problems. A created user "admin" is a member of the "admin" role. Next I startup HttpsTunnel with in the command textbox: localhost 2080:google.com:80, type in the admin credentials. All fine until now. I see that this Jave applet is listenig on port 2080 and binded to all. So using the Iexplorer: http://localhost:2080/ should have the same result as typing: http://google.com/. My local port 2080 is tunneld through SSL/443 to the BD server and this BD server will forward my request via port 80 to google.com. Well, it is not. I see in the tunnel client:You are not authorized to access the resource, but actually, I am.
In other words, what is going wrong in my settings of the BD server. Solutions can be found at the author, but refer to older versions of Barracuda and are actually outdated.
My Barracude version: Version 3.3 prerelease 2

Is this a well known issue?

Warm regards,

Gerard
Tunnel clnt msg: You are not authorized to access the resour      Dear readers,

I have a simular problem

When I setup a tunnel i.e. /google.com/80, create a Constraints "tunnels", drag the admin role into the Role List, the BD server excepts this and I can save this Tunnel Constraints without any problems. A created user "admin" is a member of the "admin" role. Next I startup HttpsTunnel with in the command textbox: localhost 2080:google.com:80, type in the admin credentials. All fine until now. I see that this Jave applet is listenig on port 2080 and binded to all. So using the Iexplorer: http://localhost:2080/ should have the same result as typing: http://google.com/. My local port 2080 is tunneld through SSL/443 to the BD server and this BD server will forward my request via port 80 to google.com. Well, it is not. I see in the tunnel client:You are not authorized to access the resource, but actually, I am.
In other words, what is going wrong in my settings of the BD server. Solutions can be found at the author, but refer to older versions of Barracuda and are actually outdated.
My Barracude version: Version 3.3 prerelease 2

Is this a well known issue?

Warm regards,

Gerard
Problemm with http      Hi all and happy new year. I have a problem, when i connect with internet explorer 7 my browsing is very slow 5 minuts for open a html page. I dont know why i dont touch my setting is deafult with kaspersky 6.0 if disable the security service my browsing is very fast. My sistem is win xp with 1gb ram and centrino duo can help me?
Tnx and sorry but my eng is very bad.
      FYI

I believe there are some anti-spam plugins for the bulletin board.  I've seen them in use elsewhere and apparently they work pretty well.
      We have incorporated one anti-spam plugin and it somewhat works. We do not have time to investigate which plugin that works better. It takes time to manually incorporate the PHP code into the BB.
      I guess I thought it was simply a plugin that didn't need much config, sorry.  For what its worth here's a link to one I've seen in use, but I really don't know more than that.

http://www.phpbb.com/phpBB/viewtopic.php?t=465600
Constraints Just wondering the best way to achieve this...

I created /jobs and folders A, B and C below that.  If I want user 1 to have full rights to everything beneath /jobs and have user 2 to have full rights only to /jobs/B what is the best way to get there?  I'm not so concerned with methods, but more the user/constraint setup with this situation.

I'm not happy with the way I am doing it now and assume there must be a better way to do this.  Any tips?

Thanks!
      I have set this up on my server like this:

name and roles for users2:   drive_job_B

/job/B/*

user2 has following roles:

drive_job_B

and for the manager (user1):

name and roles:  drive_job_all

/job/*

if you want to give this "manager" also the possibility to logon not only at /job/* , but he shall also be able to log on directly to A, B and C same as the 2 users, you must add additional:

to user1 following roles:

user1 has following roles

drive_job_all
drive_job_A
drive_job_B
drive_job_C


Note: this means you have to create also similar roles for dir A and dir C, same as you did for dir B

See also my last post on this thread: http://barracudaserver.com/44100/viewtopic.php?t=9
if you duplicate same path for different users, some drives or directories could disapear.

if you have the startup BD commandline option set to -r/  , you must write the full path

for example jobs is at c:\\data\\jobs\\   etc

it would look like

/C/data/jobs/*

//Wolfgang
      I will reply again when I have a bit more time, but right now I am very frustrated and either I don't have a clue how this works or its very buggy.  I'm just not sure why this seems to complicated when OS file system rights are so clear to me.

I have a setup now like this:

/jobs/A/drafts
/jobs/A/final

I would like user1 to have full access to everything.
I would like user2 to have full access to drafts and read-only access to final.

It seems like no matter what I do I can't get it to work like that.  I definitely need to spend some time this weekend looking over the old forum.

Any tips?

EDIT: I wasn't able to find any documentation on how to handle spaces in paths when making a constraint.  Do I need quotes or anything?
need help with web file manager     hello forum

please help me setup the built in web file manager
here is what i have so far:
registered with DynDns and can access my router externally with IP and domain name
got barracuda drive running and can access my drive in local host
set up port forwarding in router for port 80 and 443
here is the problem: when i try to access my drive externally with
URL/drive, all i get is the login screen for my router and not the login for
my barracuda drive
i also disabled my software firewall
did i overlook something?
please help
      depending on your router, go in config of your router, you must find something like "remote management" for your router. This must be switched off. You still can manage your router from home, but not from internet. If your router allows, and you really need remote management of your router from internet, then you must change the remote managment port of your router to something different then port 80.

//Wolfgang
Security consideration, do NOT use shortcuts in BD Folders  When BD is installed on a windows platform, uses the -r switch (tested on BD 3.2) never make shortcuts to directories inside or outside the directories defined in the constraint setting.

For example, all the directories accessable for users of BD reside in C:\\BD\\user1 and C:\\BD\\user2 etc. You have also setup now a common directory with only download rights for all users as C:\\BD\\downloads_all\\

Well all this works fine until you have following idea. You have a lot of files in a directory C:\\data\\documents\\ Now you want to make them accessible for all your users, but do NOT want to copy all this files (duplicate them) into the C:\\BD\\downloads_all\\ directory,

you get the smart idea, make a shortcut for the directory C:\\data\\documents\\   , the shortcut a file "Shortcut to file C:\\data\\documents.lnk, you place now into the directory C:\\BD\\downloads_all\\ .

Well when you click now into the file manager of BD as any of the users this shortcut, then it works, you will be transfered to this "external" directory,

but now the problem, the restrictions do NOT work anymore, you can go anywhere in the system when you click Root or any other part of the directory path.

So remember, place NEVER shortcuts to files or directories into any BD accessible directories. I do not see really a problem with this, but you must be aware of this, that you never do this as system admin of BD.

//Wolfgang
Bug?  Paths create unwanted directories and files?    Greetings,
I've been using BD for some time and I came across something I thought might be a bug.  Probably just me setting something wrong!

When a user creates a directory with ".." notation (ie ../../DIRECTORYNAME)
They then have access below their specific directory.  In my case I have a user at "/bd/home/joe".  Constraints are set up for "/joe/*", however, I can log in as joe and create "../../whatever" and then access this directory and upload files from within the "/bd/" directory!

Any comments?  Workarounds?

Best regards,

Jonathan
Permissions set correctly, now only DIR's can be created    I fiddled with the constraints and found a big problem on my part.
I changed the admin role to not include "joe" and the only problem
now is that joe can create directories wherever.

Any solution?

Best regards,

Jonathan
      I guess it is not a good idea to have the home and user directories "below" the BD directory, special the user directories, because the home directory is open to all. Maybe Wilfred can explain if this should be done or not?. But I can confirm, when you have parallel to BD the home and the user directories (as on my setup) you can create the directory as you explain with the web interface. So this seems to be a issue. But in my setup the directory is created parallel to BD, but the user seems not be able to access it.

With the access problems in the constraints what you describe, i guess you have some of the problems I had before. Check my last post in http://barracudaserver.com/44100/viewtopic.php?t=9, during testing did you remove some of the directories you still have in some rules in constrains editor? this can cause some weird stuff.

So the creation of the directory is a issue seems to be.

//Wolfgang
Re: Bug?  Paths create unwanted directories and files?     
When a user creates a directory with ".." notation (ie ../../DIRECTORYNAME)
They then have access below their specific directory.

There seems to be a bug that allows a user to create a directory outside of their specific directory, but the user can not access this directory unless he has read access. The bug is in "mkdir" and not in the way BD handles access rights.
What about abuse? There seems to be a bug that allows a user to create a directory outside of their specific directory, but the user can not access this directory unless he has read access. The bug is in "mkdir" and not in the way BD handles access rights.

I agree, however, this could be a potential problem since people are out there looking to mess your system up.  I can think of a couple of things that could be done but I won't post them here. 

What is the quota for directories by the way - unlimited?  Does Barracuda drive have any quota controls?

JD
Daylight Savings Time   I wouldn't imagine the upcoming changes to DST would affect BarracudaDrive, but does anyone know for sure so I can check it off on my list? :)
same user, multiple login     question: can same user login from multiple locations at the same time? It seems to work. But i want to know if this can create problems with drive web interface, with webdav, or tunnel login when you peform not only login, but use the drive and tunnel concurrently ? I am not sure if this could create issues? When this is done, maybe only read access to drive shall be allowed? The idea is, to give a group of users only one account to login.

this brings up other question, can different users login from same PC , I tried this out with webdrive webdav client and login to 2 different user accounts and seems to work. Assume this should couse no issues.

Any information on this appreciated.

Thanks,Wolfgang
cgi-bin     does BD support a cgi-bin directory ?

Thanks,Wolfgang
      Should not affect BD, but let me know how it goes :-)
      No it supports LSP, which is much better than CGI.
      I presume you are referring to the new 3.3 prerelease you are using.
You can set how many times each user can login in the admin panel.
I believe it defaults to 3 concurrent logins. This should be in the new documentation for the admin panel.
It is common to login using more than one client -- i.e. using a browser client, a WebDAV client, and a HTTPS tunnel client.
Login locally or not makes not difference to the server.

BTW, I suggest that you do not login with WebDrive or any other WebDAV client that integrates with the file system on the same PC as the server is running, unless you like to freeze your PC.
      haha, sound good to me, thanks for the quick response!
Novato....!!!!!   hi

it is possible with this software to navigate for internet, chatear for the yahoo messenger, to use it as an internet proovedor (ISP)......

thx...
      qué pasa ?   8)

Can you please explain in detail what you want to do?

BD is a webserver, provides tunneling, remote drive access with SSL and more. In the HowTo section of this forums are some examples what you could setup.

//Wolfgang
      grande la puta!  :lol:   we have to fix this!
Sorry my spanish is very limited, only to the bad words!

check this:  http://barracudaserver.com/44100/viewtopic.php?t=43

you will see how to insert your http proxy from work, do exactly as in example

//Wolfgang
Problem whit my tunnels...Problemas con mi Tunnel.... well looking this..

java -jar 127.0.0.1 2048:127.0.0.1:1080...

this work good.....but i can't connect any soft trought this tunnels....

why....hi told me... you dont have access to this recourse....

????????

help....

chequenme esto....

java -jar 127.0.0.1 2048:127.0.0.1:1080...

Este codigo me funciona bien.... me habilita el 2048 supongo para poder conectarme con cualquier soft a el...

me dice "You dont have access to this recourse...

el usuario con el que me logeo es el Admin, asi que no entiendo...

Ayuda................
Http----Proxy     I have a proxy in my work, doesn't ssl an socks, is a http proxy... whit authentication...

how can't connect whit mytunnels y my home...

java -jar httpstunnel.jar .........................................

help....again...
BarracudaDrive 3.3      BarracudaDrive 3.3

We are pleased to announce BarracudaDrive 3.3.
Press Release: http://barracudaserver.com/pr/BarracudaDrive3.3.htm

 BarracudaDrive 3.3 comes with a totally redesigned user interface that is much easier to use.  It includes all features from previous versions and a number of new features.

Home page moved
http://barracudaserver.com/products/HomeServer/

Upgrading from previous versions
The new server is using a different format for the user and constraints databases. The new server is designed to automatically convert the old format to the new format. We suggest that you install the server in a new directory and copy all files with the XML extension from the old server to the new BarracudaDrive directory before starting the new server. The installation program will then convert all files to the new format.
      BarracudaDrive 3.3 professional home page

http://barracudaserver.com/products/BarracudaDrive/
Problem starting https tunnel Hello,
I downloaded the latest version of barracuda. I extract files and launch the webserver.

After creating admin user...I want to start https tunnel from Settings page.

I start the java file and have this error:

An error occurred while launching/running the application.

Title: HTTPS tunnel
Vendor: Real Time Logic Ltd.
Category: Download Error

Unable to load resource: https://localhost/rtl/tunnel/?http=8080&socks=1080&lp=&rh=&rp=&z9ZAqJtI=b09b39f8461d1be9
      Details please:
Java version
Java web-start version
Browser type and version
Operating system type and version
filesystem-filter as a web-application    Is or will be there a way to use scripts instead of rules to define wiche files should be visibel for a user ?
My idea is a filesystem-filter as a web-application.
For example there are some MP3-files. My script knows them. Two of them are in the same folder and are blues. Three other are in three different folders this are rock. In the same three folders are also three classic.
User A select per browser "blues" and has access to the folder so he will see this two.
User B select "rock" but has only of one of the corresponding folder access. He will see only one file.
What i need is a kind of trigger (eventhandler, callback or any other name for "call my skript after read or rather instead of read bevor process).

Please pardon my English, my native tongue is German.
      Yes you can do this by using the integrated Barracuda Lua Server Pages (LSP) scripting language.

This means that you will have to write a server side LSP application for managing the MP3 files.

Take a look at the following functions in the LSP documentation at: http://barracudaserver.com/doc/Lua/

request: user()  -- Get user name and find out what MP3 files he can access

response:forward() – Forward the HTTP request to a MP3 file the script knows about. This server side method bypasses the normal security model and allows the server side script to forward the command to any MP3 file – i.e. it allows the script to dynamically redirect the request to any file.

Writing LSP applications require that you invest some time in learning the following:
HTML
LSP
Lua: http://www.amazon.com/gp/product/8590379825?tag2=theprogrammil-20
      Thank you for your quick help !

I am not sure about your answer. My englisch is inferior as it may looks. I am fishing the vocabulary from a translater.
From tha Lua Server Pages : Forwards a request FROM THIS lsp page to another resource ...
I am new in lua and LSP but i think i will get it. My problem is : I ask myself how can i embed my skript in the web-dav-process ?

May you can make please a simple example witch hides for example only "test.txt" and can show me how to implement it ?

It would be a greate help for me !!!
      This is common terminology in server side scripting.
The Barracuda web-server’s API is in many ways similar to the Servlet API, except for being much easier to use.
You can search the web for servlet and forward. Here is one link.
http://www.jguru.com/faq/view.jsp?EID=1310997

response:forward is also similar to the transfer method in ASP:
http://www.w3schools.com/asp/met_transfer.asp


I ask myself how can i embed my skript in the web-dav-process ?


You cannot use WebDAV as WebDAV is for non browser clients.
You need to design a web application that can be used by a browser.


Request Delegation

Many server based web architectures use the mediator-view architecture, which relies on the ability of a server to delegate or "dispatch" a request to another resource. Request delegation is handled by the response object which can dispatch a request to static resources such as HTML pages or dynamic LSP code. This dispatching occurs by either "including" a page or "forwarding" the request to another page. The dispatched resource can access the current state of the request, the session, or the application/server object.

If you are familiar with JSP, you will see that we use a more simple approach. We bind the include and forward methods to the response object.

The response include method enables another resource to be included dynamically in the response to a client request. Included resources cannot modify the HTTP response headers; whatever is set by the calling resource will hold true. All attempts to set any header values will be ignored. If the included resource is a LSP, any objects that are bound to the request can be accessed by the included resource.

The forward method forwards the client request to another resource, such as a static HTML file or a LSP. The original resource can perform some preliminary work before sending the request to a resource that will provide the response. As with the include method, any objects that are bound to the request can be accessed by the forwarded resource. Note that the calling LSP/HttpPage/HttpDir service function should not write anything to the response prior to the forward action. Any data in the response buffer will be cleared. The resource forwarding the request can add or change any HTTP header, such as creating a session object, adding cookies, setting date headers, etc..

The include and forward methods can be used by a resource to completely hide the underlying architecture. Visitors will see the same URL, but the page will look different for each request.

One of the unique features of the include and forward methods is that one can use a relative path when including another resource. The virtual file system automatically combines directory branches with duplicate names so that the two directory structures look like one. It is possible to include, for example, a HTML file in a duplicate directory that may be in a HttpResRdr instance using a relative path.

Note that HttpResponse::forward and HttpResponse::sendRedirect work very differently. The sendRedirect method instructs the server to send an HTTP 302 message back to the client, instructing the client to access a new resource at the specified URL. The initial request object that was accessed by the original LSP/HttpPage/HttpDir terminates when that page completes its execution (that is, at the end of the service method), so the new resource loses the initial request state.

The include and forward method can include any type of file, but most files can also be directly fetched by the visitor. You should use server side include files if you want to protect the pages form being directly accessed by a visitor. Please see Server Side Include Files for more information.
      thousand thanks for your work !!!!!!!!

I fear may i did not clearly say what i wont.

What i mean when i say "User A will see two files and user B will see only one file" ist they will see this files in whose filesystem (via web-dav).
When i gather the meaning of your explanation right you tell me how to manage what they will see in whose browser (right ?).

Its a hard way for me (englisch, foreign technic, lua and LSP). If you can say you mean the same as i, i want believe it will be worthwhile to go this way.
If i could see any example wich do this or any similar i could know it
Proxy say Error 403 Forbiden...     Ok my proxy denaid this connection because the 443 is closed...

This soft can be connected by the port 80, the httport works me well for the 80, however I heard that I can also connect myself for the 25 among other ports, they can tell me some program that tells me the ports that my proxy has open that is good.....

Well again help me...

thx
      Hi Uwe,

As far as i understand Wilfred, you can make the files available via a web application with LUA (similar as with jsp, but a lot simpler with LUA), but the idea is not to modify the WebDAV interface with a filter.

Hallo Uwe,

Uwe, soweit ich das verstehe was Wilfred erklaert, Du kannst ein web interface mit LUA schreiben (Aehnlich wie mit jsp, aber mit viel einfacheren commands mit LUA) um nur gefilterte files Anzuzeigen auf ner http webseite zum runterladen, aber Du kannst das nicht mit WebDav kombinieren.

If you need a translation, send me a private message.

//Wolfgang
      Hi Pitoniso,

You could use a port scanner on the proxy, but I do NOT recommend to do it! I assume you are doing this at work, when you run a port scanner on the proxy the security department will get you!   :evil:

If you can use your IE browser at work and can look at https web sites. Then the proxy allows you to use the 443 port. You must look under configuration in IE (internet Explorer) whats the URL and port number for https proxy (the proxy may use 8080 or other port for https), maybe you need also authentication on the http proxy, if this is the case it will be your login/password at work.

//Wolfgang
      Thank you both !!!

BarracudaDrive appeals to me even so. Not at last because the good peopel in this forum.
The handling of the known objekts would i write in any case in a compiler-language.
The webinterface for usage is a other thema.
Now i have to decide to use Serv-U (the only FTP-Server i know with this feature), write a extension for a script language (yes, i know its also posible for lua) or write one or the hole (web- and ftp/webdav-server) in the same language as the logic.

In any case i will hold one eye at BarracudaDrive.

Uwe B.

PS
Wolfgang is my second name :-)

PPS
A complete other approach would be to write a hook for only on process (BarracudaDrive). I could use the usermanagment, would have a skriptbased GUI (customizeable skinable) and a lot more. May we rw us soon.
Well looking this!!     The 443 port is close because many user's was conect to services SSH...

The 80 port is free....

Any idea...

Ok
      There a different companies selling SSL certificates. BD comes with a "self signed" SSL certificate, this is free. A "real" certifiacte needs to be purchased. Make a search on Google who sells them. For example Verisign or also No-IP  http://www.no-ip.com/services/certificates/ssl_compare.html 

But we have to ask Wilfred how to install the certificate on BD. I have never done it. Maybe you need the BD pro version that you can install a bought SSL certificate ?

//Wolfgang
      Yes, you need BD pro if you would like to change the built in self signed certificate with a valid certificate.

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

http://www.google.com/search?q=cheap+ssl

There is a political problem with SSL certificates, especially now with the new IE7.
http://ask.slashdot.org/article.pl?sid=06/06/16/206247
http://ask.slashdot.org/article.pl?sid=02/10/02/000241
http://ask.slashdot.org/article.pl?sid=01/03/18/1855230

The scam:
http://www.verisign.com/ssl/ssl-information-center/faq/extended-validation-ssl-certificates.html
      Hi Bilbo,

You are trying to use port 80 and 443 twice. The BD server already  allocated port 80 and 443. You need to setup Tunnel Constraints with different listening ports then 80 and 443 if you use the Tunnel client on the same computer as the BD server.

Kind regards,

Gerard
      I am trying to get the 1st tunnel  that is here.....: http://barracudaserver.com/examples/BarracudaDrive/HttpsTunnel/

....to work. Getting this error:

E:\\Downloadutils>java -jar HttpsTunnel.jar localhost 2880:localhost:80
Checking if 'localhost' is running HttpsTunnel
Cannot connect to 'localhost':-1


in tunnel constraints added a constraint called admin with /*/*

Apologies for my noobness!
      Try my example, this is maybe easier to understand at

http://barracudaserver.com/44100/viewtopic.php?t=43

I guess one problem is the permission setup you have in BD server, thats the reason you get the error message, it means the tunnel works to your BD, but it does not let you use the exit point of tunnel.

//Wolfgang
      forgot to say, works same on previous and new versions of server, i upgraded my server and same rules still work in 3.3 version.

//Wolfgang
      No, you may not have access. It is easy to misconfigure the tunnel constraints.

It is difficult for me to help you as you have not given me any information about your tunnel constraints configuration.

Try first by setting a host such as /* i.e. accept any destination and port.
Make sure the constraint is not disabled.
      Thanks, say the company proxy required authentication username and password, is that supported?  Would it be:

java -jar httpsTunnel.jar -ssl companyproxy.com:8080 -user username -pass password yourdomain.com 58080:localhost:6588 ??

Or is the username and password for barracuda drive?
      in this case its user/password for BD, that is how it works on my server. If omitted, it will ask you to key in the user and password.  We have to ask Wilfred, if and how login/password on SSL or socks proxy in Http Tunnel client is supported?

//Wolfgang
      You have to pay attention to what the HTTPS tunnel prints out on the command line
Proxy requires authentication
Server requires authenticationThe tunnel will not ask the user to enter proxy username/password unless requested from the proxy – i.e. the tunnel negotiates with the proxy. Older versions of Java run time had problems with this so make sure you have the latest java runtimes.

Avoid using -user username -pass password if proxy requires authentication.
      BTW, you can execute external command line based programs by writing some simple LSP code. See io.popen for more information.
You can basically emulate your own CGI by using request:data() and io.popen(). You can pass in commands directly from the URL if you like.

http://www.lua.org/manual/5.1/manual.html#pdf-io.popen
      Hi Wilfred,

Sorry for my late response, but I am not feeling well at the moment.
I will try to follow your advice asap.
All other features are working perfectly except tunneling for now, but I am sure that it has something to do with my settings, otherwise more people would have similar problems.

Warm regards,

Gerard
      Hi Wilfred,

The parameter /* (allow any connection and port) works fine.

What information do you exactly need from me to investigate what is going on?
I would really appreciate it!

Kind regards,

Gerard
How do I bind BD to a specific IP Address?      Hi guys,

How can I bind BD to a specific IP address. You've got a command line argument for the port but I can't see one for the IP.

Regards,
Richter
      Hi Gerard,

whats your drive constraint name/role and setting ?
whats your tunnel constraint name/role an setting?

How many different roles you have set for this one user for testing?

//Wolfgang
      you really want to get me into programming  :D

2 different things I want to do:

a) running Big Brother on BD, this would require the cgi-bin directory
http://www.bb4.org/download.html  click Demo on left.
I have no idea how I would start this with Lua. The install instruction tells you just to key in the cgi-bin directory, then it installs the code and supposedly all works, well after some config.....Who knows, but i believe, have only heard good things about it.

b) to start some .exe files to control X10 modules or relay boards, guess I can figure out how to do this with the Lua instructions for io.popen, will try when I have time  8) 

Thanks,Wolfgang
      You cannot do this in the free version. Most home users have one network card.
      Just out of curiosity, why you wan to bind only to one IP/network card? In windows you can reach the server from any network card anyway. If you want block the access from one IP adress, guess you must use firewall software to block from one network, if this blocking works, depends on the firewall software, because port blocking software mostly does not let you specify the IP adress.(like http://www.analogx.com/contents/download/network/pblock.htm  )

//Wolfgang
      Hi Gerard,

There seems to be a undocumented feature when you set the tunnel constraints. You must add a forward slash after the port number, for example  you want port 58080, then you must key in

58080/ 

then after psushing the ADD button in the window below it must look like this for example:

/localhost/58080/

when you upgrade from old version of BD, you will not notice this issue. Only if you key in new constraints.

Let us know what tunnel constraints you set, and how it looks in window, and let us know if it now works.

//Wolfgang
      check also this, my post that you have to add a slash after port number:

http://barracudaserver.com/44100/viewtopic.php?t=86

//Wolfgang
      Hi Pitoniso,

check also this, my post that you have to add a slash after port number:

http://barracudaserver.com/44100/viewtopic.php?t=86

//Wolfgang
Hiii people!! Nobody can force to Barracuda...  do a tunnel by the 80 port....the 443 is closed i my network....


thx any anwser...


bye
      Did you read my private message ? Does it mean it worked?

//Wolfgang
      Hi Wolfgang,

Yesssssss!!!!
Your suggestion was right. Adding the extra slash has solved it. Now I can give separate tunnels to different roles and with the right credentials, BD forwards the permitted ports.

great job! thank you very much for all your effort.

Wofgang, do you still have another version of HTTPS Tunnel, which can work with an older version of Java?

Greetings,

Gerard
      Hi Wolfgang,

About the HTTPS Tunnel. Is it possible to configure it in such a way, that it only binds to the localhost ?
In case of opening a few listening ports, everyone can reach these ports from the LAN. In case of binding to the localhost, then only the particular user can reach these ports from its local PC.

Greetings,

Gerard
      Sorry, I forgot to tell that so now and than BD is loosing its system tray icon. The BD thread is still running without any problem but has lost control of its tray icon.
It is minor, but perhaps interesting

Greetings,

Gerard
      never had with BD 3.3 a crash or loosing the icon in tray. Older versions had some crash problems, with keeping tread running etc. but never with 3.3. What OS you are using XP or w2k ?  My main server runs on XP.

regarding tunnel and Java. You need for all versions minimum 1.4 or higher.

What you can do is this. Make a portable version of java.
Install on  a PC the newest version of java. Then copy the Java dir (its installed in program dir) on a USB stick (for use on a PC without the correct version of java). Then copy the downloadable jar file into the bin directory of the java. And then start the tunnel with following vbs script. The script create with text editor and extension .vbs   with this it will run from any machine with or without java installed. You must change the commandline options in script.

shell script:

Set objShell = CreateObject("Wscript.Shell")
objShell.Run("%comspec% /T:4E /k java -jar httpstunnel.jar 127.0.0.1 808:google.com:80")


//Wolfgang
      install Zone Alarm on PC. Then you can control if anyone or who can reach your PC. Configuration that Zone Alarm does NOT block BD, see here:

http://barracudaserver.com/44100/viewtopic.php?t=26

//Wolfgang
      forgot to say, the vbs script must be also in the bin dir of java. The PC does not know any path of Java when running from stick.

//Wolfgang
      regarding your disapearing BD icon from tray.

By any change you have installed on your PC Kaboodle ? I know definitly Kaboodle makes disapearing icons and other problems on your PC. I tried this for a long time, good idea, but this guys dont get it right. It creates major issues, they change von release to release, but the icon disapaer for my knowledge was never solved.

http://www.kaboodle.org/

When you de-install Kaboodle your icons will come bacj hopefully. The other problem to consider is WinPcap  http://www.winpcap.org/ , in combination with other programs on your PC can also cause weird problems. Kaboodle needs WinPcap to work. try to avoid also WinPcap.

//Wolfgang
      Hi Wolfgang,

No I haven't installed any of your described software, but I found out that the icon disappears after an explorer restart. This is a well known issue. The undocumented "TaskbarCreate" message is not the solution, but using a kind of timing to rebuild the icon every 4 seconds or so. An animation should be nice as well to notify any activaty on the BD server. Who knows, maybe for the future.

Thanks for your script, I will give it a try. Actually, I thought that Java 1.5 was required, but you are telling me that ver 1.4 will do as well. Let me check on that first.

Regards,

Gerard
      Yes you are right about that, but in situations when you only have user rights, this is not an option.
Still hankering to localhost binding options...

Regards,

Gerard
      I am not sure I see the problem as BarracudaDrive is a high security product.

No one can access the tunnel unless they have the following:
1 A user account on the BarracudaDrive server.
2 Permission to connect to the requested host/port

You can configure the permissions using the tunnel admin panel
      This is possible, but you will have to run SSL on port 80, which may confuse many clients.

This is how I did it.

Start the server as: BarracudaDrive -p8080 -s80
SSL is now at port 80.

Using the tunnel, I connect as follows:
java -jar HttpsTunnel.jar localhost:80 1234:localhost:4321

I did this test running the tunnel client on the same computer as the server. Replace localhost:80 with your domainname:80

Port number 1234 and 4321 are just for test. Replace with the port numbers you use.
Playing video clips and mp3's Hi,

Is it possible for a user to play video clips and/or mp3's directly from the Web-File-Manager or WebDav :?:

When I try to play a video clip (.wmv or .mpg) directly by clicking on the file in Web-File-Manager my Window Media Player 11 opens up and then the following error pops up..."Windows Media Player encountered an error when  connecting to the server. The security information from the server could not be validated." I checked the error message code it is "error message C00D11E4"

When I try to play an mp3 (.mp3) song I get a Download File pop up with three choices "Open", "Save" and "Cancel"  if I select "Open" it downloads something to the local hard drive and my music player opens but the songs does not show up in the play list or play.

The same problems occur wheather I access the files through Web-File-Manager or WebDav.

Is there something I am doing wrong that I can not play video clips and mp3's directly  from the Web-File-Manager or WebDav :?:

I would appreciate any help you can provide!  :)
Problem with password on corporate proxy  Hi I am a new BarracudaDrive user and let me just start by saying that's a great piece of software, doing exactly what I want.

The only problem I have is when I am trying to reach my home machine (WindowsXP) hosting BarracudaDrive from my work office.
I use the following command :
java -jar HttpsTunnel.jar -ssl corporateproxy.com:proxyport myHomeAddress:8443 5900:localhost:5900 (I am trying to reach VNC port on the home server)
The command window in which I have launched the command is asking for the proxy password (this is what I expected) but it is not accepting the login/password I have submitted.
I suspect that, due to the fact that my login is composed of two words separed by a "space", that this is not corectly captured by the java code or not transmitted as such to the proxy.

Could you please tell me if login containing a "space" are valid ones (This I could not change on the corporate proxy)

Thank's in advance for any help

Regards

Patrick
      Webfile manager and WebDav are TCP based, so the transfer of the file is "reliable" the packets will be retransmitted etc. This means its slow. Assume the error messages you get are related to this. Even if you would not get the errors, it will never be reliable over the internet. At normal if you want to listen to audio or video over the internet, it needs to be streamed with RTP/RTSP via UDP. BD does not include a streaming server. If you want to do this, use Orb. www.orb.com, you can use also winamp in combination with orb.

//Wolfgang
What happened to the "Logout" button in BarracudaD    Hi,

I was wondering what happened to the "Logout" button from the Web-File-Manager screen :?: :?

I requested this feature in a previous version of BD and the developer graciously added the "Logout" button for me, but now there is no "Logout" button in 3.3 it seems to have been replaced with a "Settings" button. Another thing I find strange is I cannot find my previous post, in the forum, requesting this feature be added...it looks like it has been deleted.  :?

I would appreciate if the developer could reinstate this feature.  :)
      Thanks for the information Wolfgang...

Am I correct in assuming that if a user downloads the file first to his hard drive then he would be able to play the files in question...because he would then be playing a local copy not trying to stream it from the BD server :?:
      correct. But give orb a try.

//Wolfgang
      There are already too many buttons on the web-file-manager and we needed the "settings" button. You can easily logout as soon as you press the settings button.

:idea: If you really want the old feature back, you can do that by encapsulating the web-file-manager into a simple frame based html document that you can have on your BarracudaDrive server.
      Not sure I agree with Wolfgang in that TCP should cause this problem. I have used streaming music via the web-file-manger many times, but I avoid using Microsoft products as I always have problems with their software.

I use Winamp and I have so far had no problems. Winamp is associated with mp3 on my computer and starts automatically when I click on MP3 links in the web-file-manager.

UDP is typically used when broadcasting music/movies, which is not exactly what you are trying to do.
      :idea: If you really want the old feature back, you can do that by encapsulating the web-file-manager into a simple frame based html document that you can have on your BarracudaDrive server.

Thanks for the reply Wilfred...however I do not have any idea how to do what you suggested.  :oops: If you can provide an example of what you have suggested and exactly what to do with it that would be awesome...if not, I guess I will have to live with what is provided.

Thanks again!
      Thanks for your input as well Wilfred...

Unfortunately the majority of users do use Microsoft products by default so while your suggestion of using Winamp may work for you it does not solve my users problems who have no desire to use alternate programs. They would fall into the same category as maybe 85% of the world's computer users.

FYI...I am using Musicmatch 7.0 (old version with less bloat) which is associated with my mp3 files on my computer and it is the program I used when I wrote of the problems in my original post. So it does not work either.

You did not mention anything about the video clips...as I said I use Windows Media Player 11 and it does not work as noted in my original post. What program do you use to play your video files? Do you have any problems with video files when trying to play them through the Web-File-Manager?

I would appreciate any further input you may have!  :)
      BarracudaDrive requires authentication so I presume this is the cause of your problems. Try putting an mp3 file in your "home" directory if you created one. Authentication is not required for the home directory.

My DSL internet connection is not fast enough for letting users upload videos, but I would probably use flash. I am no expert in this, but many sites today seem to provide flash movies and I have to say that it always work better than using the Windogs stuff. I had a link to a conversion tool I was going to try, but I cannot find the link. I am sure there are many tools you can try.
Ok let me see if i understand!!!    In my home execute this command!!

barracudadrive -p8080 -s80

And that is't...

???
Nothing...!!      Well i wating...

Bye
      pitoniso, you did not pick up my private message.

But anyway, here is a copy:

Hi Pitoniso,

At first try to do it with SSL:

At first start BD with the new ports:

barracudadrive.exe -p 8080 -s 80 -r

This should start BD with port 8080 for http (we will not use) , and port 80 for https, and the -r will make all your drives accessible.

Now set in your browser the proxy for http and https to: proxy.sld.cu port 3128

so you can reach now for example settings with: https://yourdomain.cu:80/settings

or your drive with https://yourdomamin.cu:80/Drive/C (C is for your C drive etc)

or with webdav: https://yourdomamin.cu:80/Dav/C (C is for your C drive etc)


or make tunnel:

when you donwload the jar file from
http://barracudaserver.com/examples/BarracudaDrive/HttpsTunnel/HttpsTunnel.jar


you can start then the tunnel jar file:

java -jar HttpsTunnel.jar -ssl proxy.sld.cu:3128 yourdomain:80 50000:localhost:55000

this makes the entry point of your tunnel at work at port 50000 and the exit at home at 55000


This https/SSL on port 80 will only work if the administrator did not block
the SSL protocoll on port 80 on proxy and on firewall.

If SSL is blocked on port 80 on your proxy/firewall, you can reach your server with
http, but then there is no security. i do not recommend.

start BD with:

barracudadrive.exe -r

This should start BD with port 80 for http , and port 443 (we will not use) for https,
and the -r will make all your drives accessible.

Now set in your browser the proxy for http and https to: proxy.sld.cu port 3128

or your drive with http://yourdomamin.cu/Drive/C (C is for your C drive etc)

or with webdav: http://yourdomamin.cu/Dav/C (C is for your C drive etc)

Are you sure the main domain for proxy is       sld.cu ?

I made a domain check at http://network-tools.com/ and sld.cu is not found.

It is possible that this is fake domain and works only internal of your network, i do not know. Maybe try
to get the IP adress of this proxy server, this may work better if this is a fake domain name.

Hey, by the way, how is the weather in Cuba?

//Wolfgang
      Hi Wilfred,

Your BarracudaDrive has a high security level, no doubt about it, but if I am running HTTPSTUNNEL it will listen on a particular port. Everyone who can reach my PC on the LAN will be able to use that port as well. Let's say I configure a tunnel on my PC on port 1081 and tunnel this port via BD to a sock server, then every other user on the LAN can configure its PC to use my IP and port 1081 as a sock server, because this port 1081 has been bound to all (0.0.0.0). In case that I can choose to bind only to 127.0.0.1, no one will ever notice that a local thread is listening on port 1081.
I even know that some Administrators do port scan's on their Segment.

Regards,

Gerard
      Hi Patrick,

Try to replace the space with a + or a %20. I have no idea if it will solve your problem.

Greetings,

Gerard
      Try to replace the space with a + or a %20. I have no idea if it will solve your problem.No that will not work.

The tunnel client should not have any problems with spaces in your name and/or password so it must be something else that is not working.
      Try to replace the space with a + or a %20. I have no idea if it will solve your problem.No that will not work.

The tunnel client should not have any problems with spaces in your name and/or password so it must be something else that is not working.

Gerard and Wilfred,

Thank's for your reply, and yes Wilfred you are right, the problem were somewhere else. In fact our proxy did not accept a HTTPS request on the 8443 port. I have switched to 443 and now it is working perfectly.

Thank's again

Regards

Patrick
Wolfganga...      Uff well the weather fine the connection so so... here no internet free... i have to do magic for this....

Well now i'm test you example....

Wait my answer
Negative!!! Whit barracudadrive.exe -p 8080 -s 80.... i can't connect...

he told me... no found server...

tu check this in your PC... well the answer is negative....
Open this page is the home page of my domain... www.sld.cu

bye...
Run BarracudaDrive as a service     Is it possible to run BarracudaDrive as a "SERVICE" under WindowsXP ?

Patrick
      Browser Mozilla 2.0.0.3

J2SE Runtime 5.0

Java web start 1.0.1
Adding HTTP(S) and SOCKS proxy support to the BarracudaDrive      Hi Wilfred,

Binding ports to an IP works now, so that means that you can keep your open ports local without revealing it. A valuable extension, thank you!
I have some troubles with SOCKS5. When asking for a socks v5, no authentication (05 01 00) the client replies with: SOCKS: Password authentication not supported by client, but actually I requested a SOCKS connection without authentication.
HTTP proxy works perfectly!
HTTPS proxy works perfectly!
Greetings,

Gerard
TunnelClient into silent mode question: Is it possible to switch the TunnelClient into silent mode?

Gerard
      Have a question regarding proxy filter:

How do the tunnel filter on BD server work, can be configured for http and socks proxy? Want to give a admin user access to intranet and internet, but "regular' user shall only have access to internet for my own security reason that not all my machines on intranet behind my firewall can be reached from a regular user.
This can not be solved with firewall SW on PC, because Zone Alarm and similar allow only filtering for Intranet only, but NOT for Internet only. Assume this is true for all small home firewalls on PC.

Thanks,Wolfgang
      not possible at the moment, (not even with add on software as some people allready tried) shall be available in future on the professional version.

//Wolfgang
Re: Adding HTTP(S) and SOCKS proxy support to the BarracudaD      When asking for a socks v5, no authentication (05 01 00) the client replies with: SOCKS: Password authentication not supported by client, but actually I requested a SOCKS connection without authentication.

You are doing something wrong.
The following tunnel will ask the client to authenticate: sp:1080
The following tunnel will not ask the client to authenticate: s:1080

When using sp:1080, you typically get:
SOCKS: Password authentication not supported by client.
from browsers as they do not implement SOCKS5 authentication.
Re: TunnelClient into silent mode   Is it possible to switch the TunnelClient into silent mode?


No
      How do the tunnel filter on BD server work
The authorization for a proxy is identical to the authorization for a tunnel. The difference between a tunnel connection and a proxy connection is that it is possible to have a client such as a browser do the authentication by using the 'p' attribute. You can therefore have a tunnel client at say work and let other users at the intranet with a BarracudaDrive login use your tunnel connection.

As an example, browsers will popup a proxy login window. The user’s name and password is forwarded by the tunnel client down to the BarracudaDrive server.

You can give permission/limit the tunnel users by using the BarracudaDrive tunnel constraints editor.
      I guess my question was misunderstood.

For example, I use a browser with http proxy tunnel or for example I use telnet with freecap to socksify with socks tunnel.

when all is setup, I can browse the internet and with telnet I can go into the internet, thats great for all users. That is what everyone wants to do.

But I can also key into the browser http://192.168.10.12 (when used via the tunnel) and it will find a webserver if i have one on my box behind my firewall. same with ftp://192.168.10.12 if there is a ftp server for the administrator, but not for regular users. Also you could say telnet 192.168.10.12, same issue. This function is really great for the admin of the BD. But if you give a account to your friend or if this is a proffessional service, you do not want to give a "regular' user access to http, ftp, telnet and what ever (scann your network) via the tunnel into your 192.168.10.x network.
So the question is how you can configure the restriction in BD that a regular user can NOT go to 192.x.x.x (on a professional site it could also be public IP behind firewall), in reality, you want inhibit all direct reachable IP adresses in your network, and only allow IP adresses reachable via the gateway adress of the PC where BD is installed. This means when only gateway adress is allowed, then user can only go into Internet, but not into your private network. (This is true for IP and domain names)
The same is true if a site is offering a tunnelservice to the public, you could not go to any box behind their firewall.

//Wolfgang
      If you start the proxy using the 'p' attribute, then each client connecting via the tunnel must authenticate to the BarracudaDrive server.

The tunnel translates each PROXY request to /host/port so you simply setup rules using the tunnel constraints editor. For example a user having the following constraint can only access google: /google.com/*

You can make this more generic by giving a set of users the following:
/*  (enabled)
/192.168.10.11/* (disabled)
/192.168.10.12/* (disabled)

The users can access everything except for 192.168.10.11 and 192.168.10.12 You cannot do a rule for 192.168.10.x. You must do a rule for each computer on your home LAN.
      Hi Wilfred,

I hope you won't get mad at me, but s and s<b>p</b> have exactly the same result.
<pre><H3>SOCKS: Password authentication not supported by client.</H3></pre>
Command-line without Auth: <i>java -jar httpstunnel.jar localhost s:localhost:1080</i>
If I use  userid and password, all is fine...

Gerard
Connect Method..Block... GET and POST...Allow...      Well people that it's...the tipical method Connect is used in the HTTPTUNNEL Barracuda SOft ... how can make a connection whit GET and POST method's..

I can do this???

I waiting....
      You are right. The tunnel client’s credentials were not properly handled, but it is fixed now. Try downloading the tunnel client again.  I am writing this via the socks proxy so it seems to be working now.
      Hi Pitoniso,

I guess you are out of luck. As far as I understand this, BD is using standard SSL encryption, for this the standard is to use connect command on a proxy. Even if you trick the SSL tunnel without the connect, I assume in most cases it will not work, because the SSL signature can be detected by proxy and/or firewall. This is what I said, when port 443 or 563 do not work, in most cases you are out of luck with SSL on proxy or firewall. When you want to tunnel via port 80, you would need to hide the tunnel , this means SSL can not be used, you need non-standard tunnel. BD is using SSL so this would not work.

Check this:  http://www.htthost.com/      I never tried, this tunnel seems to do what you need. But I do not know if it really works. Try it out and let us know. Check the newsletter on this site also with some articles.

Maybe Wilfred has some other ideas?

//Wolfgang
      Hi Wilfred,

Great, all works fine now. Thanks for your effort!

Greetings,

Gerard
      You are posting this in the wrong group

LSP is automatically compiled by BarracudaDrive when the page with Lua code is accessed by a browser.

See the tutorial for more information:
http://barracudaserver.com/products/FreeLspApps/tutorials.html

CSP
You do not have access to CSP in BarracudaDrive. The CSP tag language is only available to companies purchasing the Barracuda Embedded web Server SDK. As an example, the BarracudaDrive web server is built by using this SDK.

The Barracuda Embedded web Server SDK is not sold to individuals.
      Exactly the same browser and Java version I use.
Not sure why this fails.
Try another browser/computer.

BTW, did you accept the self signed certificate?
The Java Web Start may look like it fails if you do not accept the cert.

Check if you can launch the following example from Sun:
http://java.sun.com/developer/technicalArticles/JavaLP/javawebstart/AutoInstallDemo.html
Hot to compile CSP & LSP pages?     Hi Friends,
How to compile CSP & LSP pages in the Barracuda Drive.

Please let me know....

Thanks in advance
Suman#SS185
      Hi wolfgang,

Thanks for your help.
And i will do what you said.

Regards
Suman#SS185
      Hi Suman.

you should ask questions in the "General' forum. On this forum HowTo you should only post "HowTo's" meaning instructions how to do things.

Anyway, you must follow the setup instructions in BD when you install it, and there is a application to create the www folder. In this you can place all your html files. When you follow the instruction, it even opens you a html test page and this page you can replace and then link all your other pages to it.

//Wolfgang
How to launch new html pages from barracuda drive?    Hi Friends,
I am new to barracuda drive. Will you please tell me how to launch html pages from the barracuda drive? If CSP has to be included then how to save the file (either .html or .csp). And how to compile and where do i get the binary and in which folder should i place them in order to launch the pages from my system?

Please let me know...
if possible both in windows and linux...

Thanks in advance
Suman#SS185
HowTo use HttpTunnel jar file with Portable Java      What do we want to solve?

You want to use a jar file (in our case the http tunnel client or the java DavExplorer client  http://www.davexplorer.org/ )
on a computer without java, or without the proper java version installed, and additional you do not have admin rights to install
the proper java version on the host computer, like on a lot of corporate computers or in a internet cafe.

We want to create a portable Java on a USB stick and run the HttpTunnel.jar file from this USB stick with the included portable java.

All this is not to complicated, but needs a couple of steps.

At first, we will create this "portable java" and then we need to create a shell script (.vbs file) to start the tunnel.

To say this from the beginning, our Portable Java has limited functionality, it allows us to run only jar files, it is not good enough to
use it with a portable browser like Firefox or Opera for Java applications downloaded from web servers.

If someone finds out how to do this, let me know, me and a lot of other people would like to do this  :D
(Maybe to create a plugin for Firefox to use the portable java...)

Lets start:

1) You need a PC without java installed, go to

start - settings - control panel - add/remove programs

and remove any JRE (java) installation.

2) next step, now reboot your PC.

Then go to

c:\\Pogram Files\\   and make sure there is no java directory, if there is, delete it.

3) next step, go to  http://www.java.com/en/download/manual.jsp

This process should work with any Java version. I tested with 1.5.x and also with 1.6.01 
(this corresponds to Java Runtime Environment Version 6 Update 1)

select the first install, the latest version, called Windows (Online Installation), install all default without any add ons.

4) go with your file manager to:

C:\\Documents and Settings\\  and copy now the CONTENT of the complete java directory in a new created directory called
c:\\tmp_create_java_portable , this c:\\tmp_create_java_portable will only be used until we are done with our design.

5) Now remove again the newly installed Java from your computer with:

start - settings - control panel - add/remove programs

and remove any JRE (java) installation.   (This is needed that we can test later if our portable java is working)

6) next step, now reboot your PC again.

7) download the http tunnel client from http://barracudaserver.com/examples/BarracudaDrive/HttpsTunnel/HttpsTunnel.jar 
(or the Dav Explorer from http://www.davexplorer.org/ )

or any application based on a jar file, and copy the jar file (HttpsTunnel.jar) into the

c:\\tmp_create_java_portable\\bin\\   directory

8)  As the Tunnel client needssome parameters to run and it runs in a command window, we need to create a shell script
to run our jar file.

we create a file with a text editor, called

start_tunnel_user.vbs

we save it with the .vbs extension into c:\\tmp_create_java_portable\\bin\\start_tunnel_user.vbs

and copy following lines into the file:

Set objShell = CreateObject("Wscript.Shell")
objShell.Run("%comspec% /T:4E /k java -jar httpsTunnel.jar yourdomain.com 58080:localhost:6588 51080:localhost:1080")

if you want to use it at your workplace with a proxy connection to internet, use following for the vbs file:

Set objShell = CreateObject("Wscript.Shell")
objShell.Run("%comspec% /T:4E /k java -jar httpsTunnel.jar -ssl companyproxy:8080 yourdomain.com 58080:localhost:6588 51080:localhost:1080")

9) Now we copy the content of  c:\\tmp_create_java_portable\\* to a USB stick. We assume the USB stick is drive d:\\ , into
a directory called  d:\\portable_tunnel_java

10) download the application  pstart from http://www.pegtop.net/start/ and install on USB stick

11) configure pstart to start with menu the file

d:\\portable_tunnel_java\\bin\\start_tunnel_user.vbs

then remove the d: from the configuration, that pstart is able to start tunnel from any drive assigned when installed on different computer.
then create autostart file for USB stick in pstart config menu.

12) We are done, now you can insert the USB stick in any computer and start with pstart the HttpTunnel with the portable Java, independent
if host computer has no java or wrong version of Java installed.

The Tunnel is configured to create a http/https tunnel proxy on port 58080 to port 6588 on the BD server and on BD server is a
http proxy with port 6588 installed.
The second tunnel is a socks tunnel from port 51080 to the socks proxy with port 1080 on the BD server. You can adjust your
tunnels to your needs and include also other commandline parameters..  depending you use the free home server version or the Barracuda Drive pro.


If you need help on the Shell scripts with command line window (.vbs files) at:
http://www.microsoft.com/technet/scriptcenter/resources/qanda/nov05/hey1111.mspx

Help with batch files (.bat files) at: http://www.computerhope.com/batch.htm

Let me know if it works!

//Wolfgang
HowTo configure Zone Alarm for BD   HowTo configure the free Zone Alarm for BD

In Zone Alarm set following:
program control - Main - to medium
program control - main - Automatic lock - to off
program control - programs - set BD with all four checkmarks to allow server on internet
firewall - main - internet zone - to medium
firewall - main - trusted zone - to off (that you can mount drives in your network)
firewall - advanced - make additional checkmark at: Allow uncommon protocolls at high security

with this setting I can use the SSL tunnel and also https web pages and webDAV with SSL on internet.

//Wolfgang
HowTo use SSH with BarracudaDrive proxy tunnel  HowTo use a SSH tunnel when the firewall blocks SSH and/or port 22

If you work with Unix or Linux systems, you will need in a lot of cases SSH. When then your firewall does not allow outgoing SSH connection you are in trouble or you can use BD to encapsulate the SSH tunnel into a SSL tunnel.

The trick to do this is to use the Barracudadrive To establish a SSL tunnel and the the SSH tunnel is encapsulated into the SSL connection. This works also with reversed SSH tunnels created in Putty.

To do this you need the free tool Putty http://www.putty.nl/ and
http://en.wikipedia.org/wiki/PuTTY

and barracudadrive professional with proxytunnel or you need the free BarracudaDrive homeserver
and additional a proxy server software like AnalogX proxy

http://www.analogx.com/contents/download/network/proxy.htm

or CCproxy

http://www.youngzsoft.net/ccproxy/

see the diagram for the connections:

http://coololdman.com:60080/downloads/tunnel_SSH_01.jpg

the same configuration as in diagram have been tested:

a) SSH via putty to a SSH UNIX box on internet

b) SSH via putty to windows box with Cygwin SSH installed, see

http://www.openssh.com/windows.html


c) SFTP to  FTPshell server from

http://www.ftpshell.com/server/index.htm

d) Reversed tunnel created from Putty to SSHd server and telnet client on BD server side is
able to connect via SSH tunnel in SSL tunnel to telnet server on BD tunnel client side. see the diagram

You need to configure Putty to use proxy server, it works fine when Http proxy is selected, did not have sucess with socks 5 proxy selected, maybe it needs socks 4 configured to be compatible. Did not have time to finish the socks testing.  Any way, it works perfect with http proxy tunnel, so no need to experiment with socks.

In putty the target is the real IP adress of the target SSH server. This means if for example the target SSHd server on same PC as BD is 192.168.44.55, then you need to use this private IP
adress as target in putty. In putty proxy config set to http proxy without authentication and set localhost and port 58080 or whatever port is set on your tunnel for http proxy tunnel.

You need to set tunnels and reversed tunnels in putty, go to putty-SSH-Tunnel and select for standard SSH tunnel "local" and for reversed SSH tunnel "remote"

When you use SFTP, keep in mind it works only with a real SFTP (based on SSH) sometimes the term SFTP is used incorrectly for a FTPS connection (based on SSL and this needs multiple return path like regular FTP) and this will not work.

e) You can also have a Unix box on client side connect to putty and use the tunnel (both direction possible)

f) SSH via Putty to SSHd server on BD PC see
http://www.freesshd.com

Well, have fun with the setup.

//Wolfgang
Re: Hot to compile CSP & LSP pages? Hi Friends,
How to compile CSP & LSP pages in the Barracuda Drive.

Please let me know....

Thanks in advance
Suman#SS185

To compile and strip debug information, from the commandline use:

blua parselsp.lua mypage.lsp|bluac -s -o mycompiledpage.lsp -

blua and bluac can be found in the installed BarracudaDRive directory
BarracudaDrive Professional -  Mac OS X?  Hi there,

I am currently evaluating alternative technologies for file transfer over the web for our company. I tried the free version of BarracudaDrive and it looks very promising but also lacks of some features (e.g customized UI).

I am very interested in "BarracudaDrive Professional" cause it could give us exactly the stuff we need here. At the moment we are using a Apple XServe as ftp-server but we are not happy with an ftp-solution.

I read in the factsheet that BarracudaDrive Professional has no OS X support. Is that true? Are you planning to make a port for OS X?

kind regards
      Thanks Friends
How to know whether hte BarracudaDrive is running or not?   Hi,
How to know whether the barracuda drive is running or not in Linux machine?
I am working on the linux machine through Putty. How can i know whether the barracuda drive is ruuning or not and also on which port?
Please let me know

Thanks in advance
Suman
Will you plesae help me for CSP tags in Barracuda Webserver?      Hi Friends,
Will you please help me by providing the information for CSP tags in Barracuda drive.
Some days back, i found this information:

--------------------------------------------------------------------------------
The C/C++ Server Pages (CSP) tags

The CspCompiler recognizes 7 different tags. You can read the SUN JSP tag introduction, which gives a good introduction in how to use some of the tags we use. The JSP and CSP tags are not identical for all tags.

<g>\tGlobal declarations. Things like #include directives and declaration of types.

<%!  %>\tDeclarations. An overload HttpPage object can add its own data members. This tag is almost identical to the JSP tag, except for that you cannot declare and initialize at the same time. You initialize the variable with the !! tag.

<%!!  %>\tInitialization. The HttpPage constructor code goes here. This method is called once when application is started and should be used to initialize the variables declared with the ! tag.

<p>\tProlog code. Provides a convenient way of making sure that whatever goes here is emitted at the top of HttpPage_service, the servlet service function. This tag is useful if you write C code since it makes it possible to declare variables in the scope of the servlet service function. C++ code is not limited to declaring variables at the top of a scope declaration.

<e>\tEpilogue code. Cleanup code that must be run just before the HttpPage_service function returns. The compiler emits a label just before the epilogue code. The generated code jumps to this label if any error is detected during execution. You can also use this label in your code as a way to emulate exceptions. Example: if(error) goto L_epilogue;

<% %>\tCode fragments. A code fragment can contain any number of language statements, variable declarations, or expressions that are valid in the page scripting language, which is C or C++.

<%= %>\tThe expression tag is not identical to the JSP tag, which automatically converts the expression to a string. With this CSP tag, you must specify which format flags to use. The format flags are the same as the ones used by printf. If you do not specify a format flag, the expression is assumed to be a string i.e. the two following tags will produce the same result
<%="hello"%>
<%="%s" "hello"%>.

You can also print more complex expressions, for example:
<%="%s %d %s" "Hi, I am", 10, "years old">.

--------------------------------------------------------------------------------
That's et... after that, i am unable to find the information. Please help me.
And also if there are any links, please send me.


Thanks in advance
Suman#SS185
Configuration Problem   Hi,
 I'm new to Barracuda Drive. I have set up BD as specified in the instructions. I have configured my router properly, but i can't get to my computer using my IP address. When I enter it in the address box it searches and con't find it. http://localhost/ works fine. So my computer cannot be accessed from anywhere else. What am I doing wrong? I have a Dlink DI-524 router and a 2Wire high speed modem. Could there be a firewall blocking it? Please help.  :?
      you must configure your router to forward the port 80 and 443 to your PC. Some information how to do this, you can find at: http://www.portforward.com/ When this is done, you can reach your server with your external IP adress, when you also setup a dynamic DNS service, then it will work also with a domain name. Do you have a firewall software running on your PC ? like Zone Alarm? If yes, see here: http://sharkssl.com/44100/viewtopic.php?t=98
//Wolfgang
      I responded to this question in your previous post
http://sharkssl.com/44100/viewtopic.php?t=101
      You can use a command such as 'ps' if you started BD as a daemon and you need to know if BD is running.

BD prints the port numbers to the trace as follows:
HTTP listening on port 80
HTTPS listening on port 443

You must start BD as root and set a user on the command line to make BD listen on port 80 and 443 on Linux. See the command line option –u for more information:
http://barracudaserver.com/products/HomeServer/cmdloptions.html
wolfgang    yes this is set, but same results, nothing.
My computer firewall is off, My router firewall is off, Could their be a Modem firewall? :?
      you have set a fixed IP adress on your PC running BD?
when you are on same PC as BD is installed
a) can you reach BD with http://localhost    ?
b) can your reach your BD with your fixed IP like http://192.168.x.x   ?
c) you setup portforwarding of port 80 and port 443 on your router to the fixed IP 192.168.x.x  of your PC  ?
d) your connection is a DSL or a cable connection ? explain exactly also next point.
e) is your modem/router setup with PPTP or similar ?
f) do you have second PC on your home network ? to test to reach your BD server ?
g) on your router, configure the WAN side to allow ping, then when you are at on other location , for example friend (only behind home router, NOT behind a corporate firewall) can you ping your router ?

let me know, then we will see how to proceed.

//Wolfgang
Reply To Wolfgang Your Questions:
a)yes, I get BD start page
b)I get my router control panel
c)yes
d)yes, AT&T Yahoo! High-Speed.
e)I can turn it on, but it says Europe only, i'm USA
f)no
g)yes i can ping (w/o changing router WAN settings)
      a) thats good
b) thats not good, whats your router internal IP adress, should be 192.168.x.1 whats the x? whats the fixed IP of your PC , should be 192.168.x.y, whats the Y ?
c) to what IP adress did you forward the port 80 and also the port 443?
d) you get it via phone line or via coax ?
e)don't turn it on, when its not needed. (the point is, if you would have a PPTP connection, then its possible that the acces to your router could be prohibited by your ISP) but when you can brows the internet without PPTP switched on, all is ok, dont change anything.
f)ok
g) good, from where did you ping?
we will get there.

//Wolfgang
      forgot one thing, do this also:
go to:
http://network-tools.com/ 
select    HTTP Header  , then click submit
then click on the link below submit saying:
The Privacy.net Analyzer is back online with an extensive browser test!  Click this link to test your connection  (be patient, takes  a while)
This will analyze your firewall, tell me what it says under "Firewall Test" it says what ports are tested  and also what ports are open on your router.

//Wolfgang
      Hi wilfred,

I downloaded free CSP compiler from http://www.micronovae.com/Download.html
which is for windows. I assumed that, all the tags will be same and working on the CSP compiler by micronovae. After that from the information what i got(Tags, that i posted), i came to know that tags are some what different in micronovae CSP compiler to that of to the BD CSP tags.(That i found on the net). That's y, in order to know whether all the TAGS or else only some of them differ , i posted for CSP information relating to the barracuda. So that i can decide whether i can proceed learning CSP compiler using micronovae or not.

Please let me know
Suman#SS185
     
I downloaded free CSP compiler from http://www.micronovae.com/Download.html

This is a different product using the same name for C Server Pages.
You cannot use this product with BarracudaDrive.

You do not have access to CSP in BarracudaDrive. The CSP tag language is only available to companies purchasing the Barracuda Embedded web Server SDK. As an example, the BarracudaDrive web server is built by using this SDK.

You can Use LSP:
http://barracudaserver.com/products/BarracudaDrive/LuaServerPages.html
Reply To Wolfgang Reply to questions:
b)the x is 0. I think my fixed IP is 69.221.238.46
c)both to 69.221.238.46
d)phone line
g)I pinged from my friends computer, but his is on same LAN

http://network-tools.com/ Firewall Test Says:

Firewall Test

The following ports were checked: 554, 1755, 443, 80
Out of the above ports, the following are open and permitting outbound traffic: 554

Firewall status: PRESENT

Thanks again
      Hi,

Guess there is some misunderstanding of IP adressess and this is causing the problem.

Go to http://support.dlink.com/products/revision.asp?productId=DI-524 and select your router (different revisions) and then you can download the correct manual for your router.

The router has a external IP adress ( WAN side, public IP adress) and also a internal IP (LAN side) adress, as of the manual your internal router IP adress is 192.168.0.1 (on LAN side all the IP adresses ar non-public must start with 192.168.x.y)
I assume your external IP adress ( WAN side) is 69.221.238.46 (maybe a fixed adress or not, does not matter at the moment) you can verify this when you check with the http://network-tools.com/ , it will show your routers external IP adress.

now in your PC, open a command window and type in
ipconfig
then it will show the IP adress of your PC something like 192.168.0.y ( I assume it will be 192.168.0.2)

In the network configuration of your PC, did you set DHCP or a fixed IP adress ? It should be set to a fixed IP.

In the router manual go to the page explaining the virtual server setup , enable virtual server and set the server to the IP adress of your PC, thats the IP adress you find out with ipconfig (as you do not have a second PC on your network, I assume its 192.168.0.2, except you set a different fied IP adress in your network config)

Now go in manual to Firewall rules check that you see the port forwarding from the virtual server.

Now go to Tools and then Admin, make sure that "remote management is switched OFF (disabled) , thats important (you need only to configure your router from your home PC.

This should do the job

now, from your own PC when set up right you should be able to reach BD
with

http://localhost
http://192.168.0.2 (or the fixed IP you found with ipconfig)
http://69.221.238.46   or the IP you found with network tools

if all this works. then check again with network tools if it shows you now that port 80 and port 443 are open

If all works from your PC (including http://69.221.238.46) but the ports 80 and 443 are not shown as open with network tools then your ISP is blocking the ports, if this is the case, there are maybe some other tricks to make it working.
At first try this and let us know the results.
//Wolfgang
howto add certificate to BD Pro?    Hi there,

It is hinted that it is possible to add a server certificate to BD pro, so as to remove the warning messages when folks connect to the web drives, but there's no 'howto' that I can see.

Can someone give me the steps?

thanks!
Re: howto add certificate to BD Pro?      WHat sort of certificate do you have?
     I've generated a server certificate using CAcert.org.  (They do free server (and client, should you need that) certificates.)
      I have a very similar problem. I just purchased the pro version for the sole purpose of using my browser via a secure tunnel.

I get the following error:

Unable to load resource: HTTPS://myurl/rtl/tunnel/HttpsTunnelWS.jar

Details please:
Java version : J2SE Runtime Environment 5.0 update 7, update 11, 6.0 update 1
Java web-start version: not sure
Browser type and version: Firefox 2.0.0.3
Operating system type and version: tried server on both Vista and XP sp2 machines, as well as trying client access from both - results in same error!

I don't see this file in the installation folder or sub folders. but it is in a zip file (bd.zip) that seems to be password protected/encrypted or just currupted since i can't extract files from it.

edit: also note, the tray icon does not function correctly in windows vista. It does not correctly show that the service is running, when it is. Attempts to re-start the service from the tray icon result in it still thinking it is stopped, when that is not the case.
     

I get the following error:

Unable to load resource: HTTPS://myurl/rtl/tunnel/HttpsTunnelWS.jar


We have seen that newer versions of the Java runtime may fail to properly load and start the tunnel. We will investigate this problem. You can in the meantime download and use the command line version: http://barracudaserver.com/products/BarracudaDrive/HttpsTunnelClient.html

Can you also try the online Java Web Start version and let us know if it works for you?


I don't see this file in the installation folder or sub folders. but it is in a zip file (bd.zip) that seems to be password protected/encrypted or just currupted since i can't extract files from it.

The ZIP file is password protected.
     

I get the following error:

Unable to load resource: HTTPS://myurl/rtl/tunnel/HttpsTunnelWS.jar


We have seen that newer versions of the Java runtime may fail to properly load and start the tunnel. We will investigate this problem. You can in the meantime download and use the command line version: http://barracudaserver.com/products/BarracudaDrive/HttpsTunnelClient.html

Can you also try the online Java Web Start version and let us know if it works for you?


I don't see this file in the installation folder or sub folders. but it is in a zip file (bd.zip) that seems to be password protected/encrypted or just currupted since i can't extract files from it.

The ZIP file is password protected.

I'm kinda new to this, java, ect. But i followed the link you provided and tried the webstart from that page. I got the following error:
Unable to load resource: http://barracudaserver.com/products/BarracudaDrive/HttpsTunnelWS.jar

i'll play around with the command line version when I get home from work.
Yes, It Works     Yes! Thank You! this works.

But, still problems.
My start page and rest of my site works but nothing else.
When I try to login to view my Hard Drive, or something like that,
Usually it will ask for my password.
Now it says Unsecured Connection. Click Here To Continue With HTTPS.
I click it and it fails to connect. I confirmed this error on my friends computer.
AND, When, I turned off DHCP my other computer on the same network could not connect to the internet or network...How can I fix this? For the time being I have turned DHCP back on.

thanks again.
Issues - Not happy : Happy now :-)  See the following topic:
http://sharkssl.com/44100/viewtopic.php?t=110

---------------------------------------------------------------
I'm not sure if i am being inpatient, but so far I am not happy with my purchase. The features I purchased it for do not work as advertised. The website shows it off as being something that works great, and is easy to use. But so far my experience is otherwise.

I purchased it so I could tunnel my browser traffic from my work pc to my home pc, to bypass gaming filters at work. So far i've ran into bugs that prevent me from using the product as it is advertised. I didn't pay ~$60USD to beta test the program, nor go through a million steps to set it up - if i wanted to fiddle around with configuring something, i'd go back to using OpenVPN w/ssl. I certainly didn't buy it for the webserver, when apache and abyss webserver are free.

so far i get the following error, which prevents me from using the tunnel features: Unable to load resource: HTTPS://myurl/rtl/tunnel/HttpsTunnelWS.jar

i get the very same error using the WebStart feature from: http://barracudaserver.com/products/BarracudaDrive/HttpsTunnelClient.html

I attempted to use the command line version from that page as well. It connected with the server running on my home pc, but would not take my login info correctly, and would not log me in. It then banned me... no where do i see anything that lets me unban my work IP address.... i searched the forums and came up empty.

I'm sorry, but i don't see how you could sell this software with the lack of support, testing, and documentation on how to even use it. Who can i contact for a refund, cause i am not willing to wait for bug fixes for something i paid for today?
      ok, good to hear!

2 different issues:

a) when you click https, you can not connect:
I assume when you do this with local host and interna and external IP it works when you on your BD server, but not when you are outside your network. I assume you set only a virtual server for port 80 , but not for port 443.
If this is true you must check with http://network-tools.com/  that port 443 is open, and in your virtual server configuration that there is no mistake in the port 443 forwarding


b) DHCP, there is some misunderstanding:
1) in router config, DHCP must be always switched on.
2) in router manual you will see that there are 2 ranges of internal non-public IP adresses, in your router, check the DHCP tab in router, there is a range of DHCP adresses, in the manual I looked the default seems to be 192.168.0.100 to 192.168.0.199 is the range used for DHCP.
3) this means you can use 192.168.0.2 to 192.168.0.99 for a fixed (static IP adress) configuration and also above 192.168.0.200 to 192.168.0.253

What does this mean? go in you PC to your network configuration for your network card, and only there you switch off DHCP use and now you have to key in manually a IP adress out of the range 192.168.0.2 to 192.168.0.99, for example use 192.168.0.50 as IP, as netmask 255.255.255.0 and gateway adress is the IP of your router 192.168.0.1  then save it and reboot your PC
after that you must set the virtual server for port 80 and also for port 443 to the new static IP of 192.168.0.50
and all should work.

Read here how to configure your router:
http://www.portforward.com/english/routers/port_forwarding/Dlink/DI-524/DI-524index.htm

Read here how to set a static IP (fixed IP) on your PC:
http://www.portforward.com/networking/staticip.htm on bottom of page select the OS you use for the instructions how to configure.

//Wolfgang
      Well, I am one of the early users of BD when the tunnel was introduced, when you read all the HowTos in the forum that I wrote, they work all with the free version of BD, now all this isincluded in new professional version to allow a easy operation and the version has been updated. And as Wilfred already mentioned there seems to be some issues with the latest Java version.
Give Wilfred a break until he knows the reason, believe it or not, there are other installations they work. When you follow the Forum, you will see that everyone who had problems got helped. Sometimes it is not instantly, but you can be sure it will be fixed.

Regarding your lockout, its somewhere described, if you have to many failed log ins, for security reason (that a bot can not break into your system) the log in is blocked for maybe 15 minutes (dont catch me on exactly how many minutes), after this you can try again.

So i hope a nice working together will help everyone to figure out technical issues.

//Wolfgang
      I realize I am being impatient. But I still feel as though I wasted a decent amount of money on something that wasn't tested thoroughly. I didn't research this product too much, I just came upon it today. I installed the free version, only to see that the tunneling feature was disabled in the free version. I then decided to buy the professional version, since I assumed it would work just like all the nice pictures and diagrams showed on the website.

But it has bugs that are preventing me from using it. While the tutorials may serve their purpose for the free version. And maybe the majority of people use that version. I don't want to be installing additional programs, ect, to create my tunnel, which is why I purchased an all-in-one program that is supposed to do that... otherwise I'd just setup OpenVPN again. I redo my computer's operating system frequently, and would rather not go through the trouble of setting up multiple programs, ect, to create a tunnel.

I may be jumping to conclusions, but my initial thought when I visited the forums here was "oh no, I bought something that doesn't seem too popular, or is immature"... just going by the lack of posts in the forums here.
I really don't want to be frequenting 'another forum', waiting for fixes, support, ect. I just wanted to buy the program and use it. I don't even know how I will receive such fixes, or how soon they possibly will be fixed. It's not like it was a $10-$20 program... How would you initially feel? Am I the only one that purchased the professional version, and is having this issue?

(yeah, I'm not having a good day :cry: )
Java BUG makes HTTPS tunnel fail    New versions of Java send an invalid date header to the server. This causes the server to calculate a date in the future and consequently sends a 304 Not Modified response to Java Web Start.

Java makes two mistakes:
* Sets a date header it should not set
* Sets the date before the legal start of UNIX time:
   Http://en.wikipedia.org/wiki/Unix_time


We doubt SUN will fix this anytime soon so we will provide a workaround to the problem. BarracudaDrive professional users can soon expect an update.
      I removed the latestet version of java (6.0) and left 5.0 update 11 installed, it ran, but comes up with the following errors:

Executing command received from the BarracudaDrive server.
Checking if 'localhost' is running HttpsTunnel.
Cannot connect to 'localhost': : You are not authenticated

i have no clue if i am using this correctly, as there really is no guide for the professional version. I haven't changed anything from any of the default settings. The only things i have done is created an admin user, and a normal user. Nothing else was done in any of the control panels, ect. My ISP doesn't allow port 80 or 8080 access, but allows 443, so i can use https. port 443 is forwarded. Currently i am just trying to create a tunnel on the server computer using localhost. Once i know that works, i'll attempt to connect from another computer using WAN IP.

My question is, what do i need to do to get this thing working?
-----------------------------------------------------------------------------------

edit: well i added 'admin' to user constraints for tunnel.. that seemed to get rid of that error message.. but still not sure if i am doing anything else incorrectly.

what I really need is a guide for the server edition. A step by step on how to setup the server side and how to connect via client side. it's kinda confusing. there is the 'Start HTTPS Tunnel' button @ https://localhost/rtl/settings/#

to the side of that is 'Advanced' button, where i can change ports for HTTP Proxy Port and SOCKS Proxy Port.

I have no clue what to do with these ports, or how they are used. I changed the HTTP Port to 5190, cause that is one of the select ports that i can use from work. I left the Proxy port at is default 1080. Both ports are forwarded in my router.

Ports I can use from work:
Instant Message ports: 5190, 5050, 1863
HTTPS: 443

Ports blocked by my ISP: 80, 8080.

if i try to browse to my LAN IP:5190 I see the following in the java client:

Executing command received from the BarracudaDrive server.
Checking if 'localhost' is running HttpsTunnel.

BarracudaDrive connection established.
Binding to address localhost:5190
HTTP proxy listening on port 5190.
Binding to address localhost:1080
SOCKS proxy listening on port 1080.
Client HTTPS tunnel ready to accept connections.

HTTP: Invalid command string: GET / HTTP/1.1
HTTP: Invalid command string: GET / HTTP/1.1
HTTP: Invalid command string: GET / HTTP/1.1

      I will go get one of their certificates. I will let you know the result.
      I'm confused: is it a *secret* where and how to install the cert in this piece of software?

does bd expect the cert to be installed in the certificate manager (control panel -> internet options)?

does bd expect the cert to be a certain filename, in a certain directory under the installation tree (C:\\bd\\... ?)

this seems like something that should be pretty simple.
      Sorry for causing any confusion. Installable certificate support missed the current release. We hop to have it in the next release.
      See the previous post about the BUG in Java.  It is virtually impossible to test this software with all Java versions. In addition, you may have intercepting software in your company that tries to tunnel the connection like a normal HTTP connection.

I suspect the error you get is something to do with a firewall/proxy at work. It may think that the tunnel connection is a normal HTTP GET thus starting a normal HTTP proxy tunnel. You cannot bypass the company proxy if it does not support HTTPS proxying i.e. the CONNECT method.

Can you show me how you start the command line Java tunnel?

Any errors in the software will be fixed and you will get a new version free of charger.
      See the previous post about the BUG in Java.  It is virtually impossible to test this software with all Java versions. In addition, you may have intercepting software in your company that tries to tunnel the connection like a normal HTTP connection.

I suspect the error you get is something to do with a firewall/proxy at work. It may think that the tunnel connection is a normal HTTP GET thus starting a normal HTTP proxy tunnel. You cannot bypass the company proxy if it does not support HTTPS proxying i.e. the CONNECT method.

Can you show me how you start the command line Java tunnel?

Any errors in the software will be fixed and you will get a new version free of charger.

the above test was done on my home computer, which also hosts the barracudadrive server. It was not done using the command line. I have since removed the newer versions of java, so that is not the current issue. it has nothing to so with my companies firewall, as i wasn't at work at the time... but i have successfully used OpenVPN to tunnel all traffic from my work pc through my home pc.. so i know it will work. I know what ports aren't blocked at work.

what i really need is a step by step guide on how to use the tunneling feature built into the professional edition. It shouldn't be so hard to create one, if the features do work and are known how to use.
      Hi Diverge,

You said you want to browse to your LAN IP:5190

This makes me believe you dont use this correctly, correct me if i am wrong.

How it shall work:

Do not change the tunnel config in BD. This means http/https tunnel on port 8080 and socks tunnel on port 1080

Now you must set your proxy configuration in your browser for http/https to localhost and port 8080  (for this example we use only the http/https tunnel)

Now for example you want now to browse via the tunnel:
a) got to CNN, just  go to http://www.cnn.com
b) if you have a web server on one of your machines in the homenetwork (but not accesible from internet...just a example) you would go there with http://192.168.0.55 (or what ever the non-public IP adress on the webserver of your home LAN would be.

see this example (this is for free server with separate proxy) but the config for browser and also when you establish a manual tunnel with jar file should be identical. In the example i use only port 58080 for the http/https tunnel. http://sharkssl.com/44100/viewtopic.php?t=43 In this diagram you see also that the tunnel itself uses port 443 to go thrue the firewall with the connect command, but the port 8080 for http/https and port 1080 is used for the browser to connect to the tunnel . So it does not matter if your company does not allow 8080 to internt, you go just with your browser local on your PC to the entrance of your tunnel.

//Wolfgang
      I am not sure I understand your question. The documentation is online.
http://barracudaserver.com/products/BarracudaDrive/HttpsTunnelClient.html

The integrated tunnel is just to make it easier to start the tunnel for the most common use case.

The tunnel button on the settings page starts the tunnel with the following parameters:
<remotehost> h:127.0.0.1:8080 s:127.0.0.1:1080
      yeah, honestly i have no clue what i am doing or how to use this software. I have it setup on my home pc. i can access it from my work pc by https://myurl (i have a DynDNS domain - it's function is built in my router and have been using it for at least a year now).

once i connect to https://myurl i've been logging in, and then going to the https://myurl/rtl/settings/ and clicking the 'Start HTTPS Tunnel' button.

Am I doing anything correctly here?
      i think i figured it out. I didn't realize I had to use the command line version on the client end. I thought I could just browser to https://myurl and create the tunnel that way.

I've got it working now. Sorry that i was a pain in the butt :oops:
      i just created a little guide, that might be a little simpler and easier to follow.
----------------------------------------------------------

Using BarracudaDrive Professional Editon

Once you have BD installed on the host machine, and have created a user, forwarded port 443 to the host machine in your router, you can create a tunnel the following 2 ways:

1. Using a web browser, goto the WAN IP of the machine that is hosing BD.
____a. Login with the user info you created when setting up BD.
____b. goto settings, then select 'Start HTTPS Tunnel' button. This should default to HTTP 8080 and SOCKS 1080.
____c. Now that the tunnel is running, goto your browser setting and change to 'Manual proxy configuration'
____d. enter 'localhost' and port '8080' for both HTTP and SSL. And enter 'localhost' and port '1080' for SOCKS.
____e. Save the settings - now your browser should be using the tunnel you created.

2. using the command line version of the tunnel, which can be found here: http://barracudaserver.com/products/BarracudaDrive/HttpsTunnelClient.html
____a. download the HttpsTunnel.jar to a folder
____b. create a tunnel.bat file in the same folder, or any batch file w/ name of your choice
____c. in the batch file put the following: java -jar HttpsTunnel.jar WAN_IP hp:8080 s:localhost:1080
____d. change the WAN_IP to your own WAN IP or domain name if you have one
____e. run the batch file
____f. login using the user info you created when setting up BD.
____g. Now that the tunnel is running, goto your browser setting and change to 'Manual proxy configuration'
____h. enter 'localhost' and port '8080' for both HTTP and SSL. And enter 'localhost' and port '1080' for SOCKS
____i. Save the settings - now your browser should be using the tunnel you created.

*if you get an unauthorized user error, or something like that, you have to add that user, or user group to the Tunnel Contraints in the 'Administrator panel'
      Very Good, but one correction

you shall not set http/https  and also the socksproxy in the browser. This will cause problems with in some situations.

set only the http/https proxy!

or set only the socks proxy in browser, but this does not work reliable with all browsers.

At normal you use the http/https proxy for browser and other applications will use the socks proxy tunnel, including applications without proxy setting can use a pplication called freecap (to socksify) and will use the socks proxy tunnel.

//Wolfgang
      Very Good, but one correction

you shall not set http/https  and also the socksproxy in the browser. This will cause problems with in some situations.

set only the http/https proxy!

or set only the socks proxy in browser, but this does not work reliable with all browsers.

At normal you use the http/https proxy for browser and other applications will use the socks proxy tunnel, including applications without proxy setting can use a pplication called freecap (to socksify) and will use the socks proxy tunnel.

//Wolfgang

okay. thanks! So far I haven't ran into any problems when I set the SOCKS in the browser too. But I will remove it. Thanks again :)

On a side note, I have a question. When using the 'Start HTTPS Tunnel' button, I only see the first webpage I go to listed in the java box. Is it supposed to list all the traffic like the command line version does?


Executing command received from the BarracudaDrive server.
Checking if 'myurl' is running HttpsTunnel.

BarracudaDrive connection established.
Binding to address localhost:8080
HTTP proxy listening on port 8080.
Binding to address localhost:1080
SOCKS proxy listening on port 1080.
Client HTTPS tunnel ready to accept connections.

HTTP: connecting www.xtremesystems.org/80/
HTTP: connecting www.xtremesystems.org/80/
Closing www.xtremesystems.org/80/


edit: I also have another question. Any ideas why none of the links from this page work correctly? http://www.mmorpg.com/index.cfm?bhjs=0

they work fine when not accessing them via the tunnel proxy.

I get the following error:
The page cannot be displayed
You have attempted to execute a CGI, ISAPI, or other executable program from a directory that does not allow programs to be executed.

Please try the following:

    * Contact the Web site administrator if you believe this directory should allow execute access.

HTTP Error 403.1 - Forbidden: Execute access is denied.
Internet Information Services (IIS)

Technical Information (for support personnel)

    * Go to Microsoft Product Support Services and perform a title search for the words HTTP and 403.
    * Open IIS Help, which is accessible in IIS Manager (inetmgr), and search for topics titled Configuring ISAPI Extensions, Configuring CGI Applications, Securing Your Site with Web Site Permissions, and About Custom Error Messages.
    * In the IIS Software Development Kit (SDK) or at the MSDN Online Library, search for topics titled Developing ISAPI Extensions, ISAPI and CGI, and Debugging ISAPI Extensions and Filters.

      mmm, that's not the response I was hoping to get. :)

the certificate message is the single issue i need fixed.  I'm using this for a small business client and warning messages on the screen are annoying to them, and the extra clicking all the time is a pain.

Can you give an ETA on a fix for this?
      what browser are you using ? try with firefox and also with opera. On sites with a lot of frames like this one this has effect when running over the tunnel. I tried the site without tunnel and sometimes i get various errors like cookie not enable, next time it works, and i did not change anything with the cookies. I assume this webpage is not fully conform to spec. You will also see issues when you go to other sites with lot of frames like www.playboy.com. I tried with firefox and http tunnel and it works, but sometimes I get various error pages also, with and without tunnel (without tunnel in my case is also via a proxy, the company proxy I am working at) So the problem is not really the tunnel, looks like the tunnel only amplifies the problem. Check with other browser and also try to use the browser with socks proxy tunnel (remove the http proxy config in browser)

//Wolfgang
      Yeah, I also use firefox; pretty much exclusively. It's not a big deal, I was just curious since i thought it had something to do with the *.cfm files the site uses. which according to google, are pages written in Codefusion.
Reply To Wolfgang No, When I corrected my IP addresses on the Virtual server port 443 and 80 stoped forwarding
My external IP works with DHCP turned on (on my router)

Also, I forgot to say the HTTPS request I got told me to accept the certificate, I don't have anything to press to accept it. It also said my browser will ask me to accept it, it did not. Here is what it said:

You will not be able to communicate with BarracudaDrive unless you accept the certificate presented to you by your browser.
      I sent you a private message.

//Wolfgang
      I will in a few days provide a portable Firefox version that includes the tunnel. The Firefox version will be configured for maximum privacy and optimized for working via the proxy. I am sure many of your problems will be eliminated with this UPA enabled Firefox version.
      ETA is 24-48 hours.
      That ETA was for BarracudaDrive Professional only
      That ETA was for BarracudaDrive Professional only

How does one go about getting the latest versions of the Professional version, if they recently purchased it?
      Allcurrent  BD professional users will have
the option of downloading the latest version at no cost.
Using Firefox w/ Freecap vs. using manual HTTP/HTTPS...     proxy connection to BarracudaDrive.

When not using the Freecap program to connect to BD, lots of webpages load incorrectly. www.msn.com (displays all messed up), www.mmorpg.com (links don't work). Also some pages that have java programs embedded (ex, java chat rooms for forums) do not tunnel the traffic through BD.. so if the ports that the java chat program uses are blocked (like at my work), it never connects.

but if i run Firefox via Freecap, all webpages work correctly, as well as java embedded chat rooms. I assume it has something to do with Freecap sending all the traffic over the SOCKS tunnel.

I was curious as to the limitations of manually using HTTP/HTTPS proxy via the web browser, and why these things happen? Is this something that is fixable in future releases?

For now it seems the easier, and most efficient thing for the user to do is to use Freecap.
      Well, socks seems to be the better protocoll for proxieng, was developed for applications, said this, it means you should get the advantage of socks in the browser when you configure only socks proxy in the browser (and not the http proxy). This means you should get similar results if you use the socks proxy config or the external socksify program, remeber in this test the socksproxy server is always the same in this case the BD. As it looks like the freecap gives better performance as only the socks proxy client in this example implemented in firefox. As in most companies a proxy is used its in most cases a http/https proxy (to avoid that guys like us proxy unwanted programs), so the socks clients in most browsers today have not implemented all features (there are differnet versions of socks and not all features are always implemented). This means, freecap (and other socksify programs) are made special purpose as socks client, so delivering mostly a better performance. I am not a specialist on this, but i guess socks is less sensitive then http/https in a tunnel. For my knowledge you will also see differences if you use different browsers. If you can use freecap or similar proxifiers to get better results do it. At the moment freecap must be installed on the client PC to hold the configuration. If you use freecap on a USB stick you have on each computer newly to configure the socks setting and program setting because freecap at the moment is not a real portable program (it stores the location of config file in registry). As we can not change the socks client in the browsers we have to live with this or use a external socksifier program.

//Wolfgang
      I though that you might be interested in a new UPA that integrates a new tunnel and Firefox. You can simply click the executable, login to your server, and surf. Please give me some feedback on this new tool.
 
http://barracudaserver.com/products/upa/UPA_FirefoxPortable.exe
      i just tested it out. it seems to work pretty good, but i found some issues with it.

it allows me to view the webpages i was having trouble using previous, when not using FreeCap. but, when running the UPA, java seems to be taking 100% processor time from one of my cpu cores (i have a dual core). My other issue is the portable firefox within the UPA doesn't not retain bookmarks after exiting and re-running it. I'm not sure if that is something that is done on purpose, since it is a all-in-one portable application. But it would be pretty cool if it were able to remember bookmarks, and possible be able to install firefox plugins suchs as NoScropt and Adblock Plus.

Other then the the %100 cpu process time, and firefox not being able to be able to be customized, it seems like a nice application :)

edit: i found a way how to customize Firefox. You can extract the contents of UPA_FirefoxPortable.exe, and run the UPA  from the extracted contents - although not sure if that is intended or not. But java is still taking lots of CPU time.. not sure if it did w/ the previous BD methods.. will have to do more testing tomorrow.
       when running the UPA, java seems to be taking 100% processor time from one of my cpu cores (i have a dual core).
That was a small glitch. I have fixed this now and uploaded a new version. This is a new client and may have glitches :-)

 My other issue is the portable firefox within the UPA doesn't not retain bookmarks after exiting and re-running it. I'm not sure if that is something that is done on purpose, since it is a all-in-one portable application.
Saving the bookmarks are possible, but not using a UPA. The purpose with a UPA is to leave no traces on the computer being used. You probably do not want to use Firefox as a UPA. You can alternatively package your own UPA with your own bookmarks. BTW, many use the online service http://del.icio.us/ to store their bookmarks.

i found a way how to customize Firefox. You can extract the contents of UPA_FirefoxPortable.exe
Wolfgang is working on a tutorial for making UPA’s. I used his draft for making the firefox UPA. I will start a new BB topic, where I explain how to use the new BdProxy.
      I hope my posts aren't being misunderstood as complaints.
You have to be careful as this is a public forum. Do not write anything negative unless you mean it.


If i find any others, i'll be sure to post them here so you can fix them :)
That is great, though the UPA BUG you referred to is not a BUG. You are basically missing some components and the UPA doco. I am sure that Wolfgang will soon post a UPA howto.
      The 100% cpu time bug seens to be fixed :)

but i think i may have found a new bug. When running the UPA it creates temp folders with all the contects of the UPA_FirefoxPortable.exe. When exiting the all UPA windows, it leaves behind the folders and it's contents.

http://img400.imageshack.us/img400/3092/tempge5.png

at least it is doing this to me on Windows Vista, running it off my desktop. If it does this normally, it could fill up your USB drive ;)
      slow slow, the idea of the upa (ultra portable application) is that in comaprison to a "regular" portable application it is mad of only one exe file. This means you take a portable application what you run at normal from your USB stick, maybe consisting of multiple files (configurations etc) or it could be multiple applications like the tunnel, firefox and a batch file etc. Now the UPA is just that you make a single exe file from all of this, that you can run it from a webserver directly , you do not need to run it from USB stick. To do this you pack all your applications in a special RAR-SFX archive to do this. But now comes the but: the RAR-SFX archive is only able to monitor one executable and delete itself when the executable is closed. But when you have more exec like in this upa it can not delete itself for this reason. When you use this upa, you need also a "cleanup" upa, what will delete all this RARSFX directories after use. Give me some time, assume over the weekend, then I will have this ready for you including upa cleanup and instructions. Until then delete all filesstarting with RARSFX manualy.

//Wolfgang

//Wolfgang
      I have no problems with this application, i think it's pretty cool. I'm just offering some help to you guys so you can fix bugs, ect. I hope my posts aren't being misunderstood as complaints.

If i find any others, i'll be sure to post them here so you can fix them :)
Use our preconfigured Firefox browser     We have a preconfigured Firefox browser that includes the tunnel, which I suggest you use instead of doing your own configuration. We have also done a number of other very important privacy and optimization configurations in Fireox.

Firefox and the new BdProxy
http://barracudaserver.com/products/upa/UPA_FirefoxPortable.exe
Please note that it takes a few seconds for the archive to extract and start the tunnel.

The tunnel supports 3 proxies:
HTTPS
SOCKS
HTTP

You should avoid using the HTTP proxy.
The browser should be configured to use SOCKS5 and HTTPS.
You should avoid using IE as IE does not support SOCKS5.
      We have implemented a workaround to the Java problem and uploaded a new version of BarracudaDrive.

We have also implemented a number of standalone tunnel clients. We will give more information about these clients later.

Windows Clients
Command line HTTPS tunnel:
http://barracudaserver.com/products/BarracudaDrive/HttpsTunnel.exe
GUI version of command line tunnel:
http://barracudaserver.com/products/BarracudaDrive/HttpsTunnelW.exe
A tunnel version specifically designed to be used as a proxy:
http://barracudaserver.com/products/BarracudaDrive/BdProxy.exe

Non Windows Clients
http://barracudaserver.com/products/BarracudaDrive/HttpsTunnel.jar
http://barracudaserver.com/products/BarracudaDrive/HttpsTunnelW.jar
http://barracudaserver.com/products/BarracudaDrive/BdProxy.jar
Are virtual paths possible in BD?   Hello there,

I'm wondering if BD allows for 'virtual' paths?

For example: https://server/dav/some_virtual_path
maps to: d:\\operations\\another folder\\another folder\\...

I know that the drivedir option in the bd.conf can be used to remap the base directory to the top level, but I don't really want to do that.

I want to be able to assign certain users paths to a folder, without exposing the underlying directory structure of the server.

Thanks!
      For my knowledge, no real virtual path's are possible at the moment to configure in BD itself.

So you must use the OS to achieve this.

Do NOT make shortcuts to directories, with this you hand over the access of the drive to the system (OS) and the drive contstrains of BD do not work anymore. See this http://sharkssl.com/44100/viewtopic.php?t=73 .

There are 2 things you can do:

a) when the directories are external of the BD server, means on other server or a NAS. Then you can make for example a drive-mapping to drive m: to one directory on other drive on NAS and with n: for other directory and so on and set the constrain to this drive letter. (I use as NAS with BD, the NASlite-2 USB from http://www.serverelements.com/ )

b) you can use DOS subst command (for dir on same server as BD or also external on NAS), works in W2K and also in XP, do not know if it works in Vista. Insert in autoexec.bat the subst command. For example

subst t: d:\\shared_files

and make a role and drive constrain called drive_t and allow only this drive or multiple similar to this for the user.

//Wolfgang
      forgot one thing, if you are concerned with complicated URL's for the user.

you can make also shortcuts to different URL's for drives or directories when your directory string gets very complicated for the user. For example, when the directory for one user with name william is https://www.yourdomain.com/drive/2345678/shared/william/ you can make a DNS web redirect with your dynamic DNS provider. I use No-ip.com for this (assume you can do same thing with other providers) With NO-IP.com, you set up your domain, like  yourdomain.com as your DNS A record, and www.yourdomain.com you can make a web redirect now to https://yourdomain.com/index,html or similar, now the same you can apply now to your user with the complicated path, set http://william.yourdoamin.com and redirect it to https://www.yourdomain.com/drive/2345678/shared/william/

As you can see its not only a redirect to have shortcut to adress, but also it translates automatically from http to https. If you do this translation from http to https, you can NOT mask the real complicated URL. If you do this http to http, you can even mask the complicated URL and the user will not see it.

//Wolfgang
HowTo display traffic graphic of your BD on your webpage    If you want to have a web page on your BD displaying graphically the traffic on your BD, you can install bitmeter2 on your BD server.

Click this link to see a demo how the web page will look:

http://codebox.no-ip.net/controller?page=bitmeter2demo

Instructions and dowload of bitmeter2 at:

http://codebox.no-ip.net/controller?page=bitmeter2

When you configure bitmeter, you must also configure the webserver in bitmeter to a different port then your BD to avoid any conflict. For example your bitmeter2 "buildt in" webserver is set to port 30000, then on your web page on BD your would link to bitmeter display for example:

http://yourdomain.com:30000

in this case the port 30000 will need to be forwrded from your router to your BD server in addition to the port 80 (or whatever port you use) and port 443 for https.

How to forward ports on your router see:

http://www.portforward.com/english/routers/port_forwarding/routerindex.htm

How to set static "internal" IP on your BD server see:

http://www.portforward.com/networking/staticip.htm

//Wolfgang
I am Learning!!   My sincerest appologies!! Wilfred, you have helped me a ton and I am getting closer. Here is what I mean:

So, I now have a (VPS) virtual private server through 1and1.com. I also have 3 domain names through Godaddy.com (sitename1.com,sitename2.com,sitename3.us) Anyway, my VPS is a windows 2003 server. It only has 10G of space but 500G of transfer. I have been uploading my entire data pool (about 230G) to Amazon S3 through the use of Jungle Disk (www.jungledisk.com) on my home PC. Anyway, jungle disk works awesome on my PCs but on my VPS it doesn't work so well because Windows Server 2003 binds port 80 for it IIS 6 services. So, Jungle disk can't map a drive because it also tries to bind port 80. There is a work around (you can make it listen on port 80 only), but I said screw it. I found this program call NetDrive (http://www.freewarereview.info/2007-01/netdrive_-_browse_ftp_file_structures_like_virtual_explorer-style_drives.html) which even jungle disk recommends. It really works great, is FREE, and easily maps the drive letter even with the restrictions that the VPS from 1and1 had installed. So, I used 1and1.com because they provide a windows 2003 platform (not linux) and it comes free with the plesk (www.plesk.com) and virtuozzo control panels. Virtuozzo does stuff TO your server and plesk is an easier interface than trying to use windows server 2003 through its administrator option to set up. Problem is that I think it binds up a lot of ports also. SOOOO, I have not enabled plesk. I am still new to all of this but am making good progress. My goal is to webhost my 3 websites on one IP  (that the VPS comes with) and put a secure file server on my sitename1.com site using https (ssl) so I can access my files on jungle disk securely from any machine (ie work computer) through my VPS. But, I still have not figured all of this out. I have looked at https://barracudaserver.com/products but I installed it as a test on my server and nearly blew it up. Plus, it also interfered with plesk. There has to be a way I can write a web site and put a secure file server using a self signed SSL certificate into it that is protected and can have multiple users. Oh well, I am gonna keep at it. The IP and port thing has me flustered. I understand basicly how IIS 6 services can allow you to split 3 different websites with only one IP so I should be able to use barracuda server but no luck so far because I do not know how to "split" them and not have them interfer.

Update!!!
I love Wikipedia. So, I have furthered my quest. The problems I was having is related to webservers. This is what I mean: Windows Server 2003 is basicly windows xp with a bunch of programs that allows you to manage ports and IPs. IIS 6 is a web server contained in Windows Server 2003. Well, come to find out, Barracuda Drive is a webserver too! So, I was trying to run two web servers off the same IP which is very difficult and using ssl it is impossible! Furthermore, you can not use virtual hosting (more than one website to one IP) with SSL certificates because virtual hosting relies on the header (name of the website) being sent along with the request for the IP. Well, SSL encripts all headers and everything else before it is even sent so the receiving computer doing virtual hosting has NO IDEA which html file folder to present because it never received a header and so it crashes! Duh! I am so ignorant! You can read all about it here: http://en.wikipedia.org/wiki/Virtual_hosting#Name_based
 
This puts me at a decission point. I obviously am going to need 2 IPs. This is not a problem. One is free with my VPS and 1and1.com will give you another for 1$ a month as long as you can justify it and saying anything about SSL will justify it. My decission point is this: Should I use IIS 6 from Windows Server 2003 and try to host my two websites without SSL using virtual hosting on one IP and then Barracuda Drive to host my SSL site on the other IP(seems obvious) or should I try and use IIS 6 (two seperate instances) to host my 2 non-ssl sites and my one ssl site? I am not sure which will be easier but I am gonna investigate. I'll keep you informed of the progress.

I really like Barracuda Drive. The guys that designed it have done a good job. It is my ignorance of the way to set things up that is causing me problems. Any help in this direction would be most appreciated!!
      Jungle Disk requires many connections:

Client -> BarracudaDrive -> NetDrive -> Jungle Disk -> Amazon

The following product eliminates using WebDAV locally between NetDrive and Jungle Disk

http://www.s3drive.net/

Client -> BarracudaDrive -> S3Drive -> Amazon
      Do you have more than one external ip address or does IIS bind every internal ip address to port 80? I am using IIS and one external IP. The service will not start. Do I need more than one external IP?
      Wolgang HELP!!
      Wolfgang HELP!!
      OK, So I am getting there. I set port=5000 and ssl=5500 in the bd.conf file. This allows me to run Jungle Disk and Barracuda drive together. To get to jungle disk, I goto http://localhost:2667/ and to get to barracuda drive, I goto http://localhost:5000/ I have not activated PLESK yet to see if this causes problems. I hope not! Anyway, I am having difficulty with mapping drives on my server, (it won't let me) but I think that is a server setup problem. I will call 1and1 and see if I can get this fixed. It might be part of the "security lockdown" the server came with when purchased.
      sorry guys, I am traveling this week. Have only sporadic internet access. Will be back next week. Until then I am only limited available.

I guess you are on the right track with the port setup in the config file.
The drive mapping issue must be on your server.

//Wolfgang
       I got a warning when installing that the ports it uses were in use
The port numbers 80 and 443 are dedicated to web-servers and BarracudaDrive tries to use these numbers. Unfortunately, a number of non web server applications such as Skype also try to use these port numbers. Also, malware typically uses this port. We recommend that you reconfigure the other applications  to not use the dedicated web server port numbers.

BarracudaDrive runs as a service and starts before any other application(s) when you power up your computer. BarracudaDrive will therefore typically get the port numbers before other applications such as Skype manages to grab the port(s). Try rebooting your computer after an installation if the server fails to start immediately after an installation.


I am having difficulty with mapping drives on my server, (it won't let me) but I think that is a server setup problem.
BarracudaDrive normally runs as a Windows NT service and starts long before any network connections are established. In Windows, a network share is per user and is therefore not accessible to NT services. You can overcome this limitation in Windows by running BarracudaDrive in console mode. When BarracudaDrive runs in console mode, the server is running using the same user ID as the currently active user and the server has access to all shares available to the active user.

Maybe you should suggest that Amazon integrate their online storage into BarracudaDrive instead of using the basic jungledisk WebDAV server.
Windows Server 2003 and IIS Installation Notes  Just an FYI, after installing on IIS, the service would not start.  It turns out, IIS binds port 80 to EVERY IP ADDRESS available on the system by default.

After researching this, I discovered an administration tool called httpcfg, available through Microsoft in a package called Windows 2003 Support Tools.

I created a batch file that basically told IIS what IPs to use.

REM --- BEGIN BATCH FILE ---

@ECHO OFF

ECHO This batch file sets the ip addresses that IIS binds to - by default it binds to EVERYTHING!!!
ECHO Use this script to limit the ip addresses that IIS is listening on.

pause

REM This is the default installation directory for Windows 2003 Support Tools
CD "C:\\Program Files\\Support Tools"

REM Change the xxx.xxx.xxx.xxx to your IP address
REM One line for each IP, add as many as you like
httpcfg set iplisten -i xxx.xxx.xxx.xxx
httpcfg set iplisten -i xxx.xxx.xxx.xxx

REM Get a confirmation of what IPs IIS is configured for
httpcfg query iplisten

pause

REM Stop the http services
net stop http /y

REM Start the www service - this will start all services IIS needs
net start w3svc

REM --- END BATCH FILE

After running this, I was able to start the service configured to the IP address I originally wanted it to be on.

So far, the service has worked without a hitch!

Thanks for making a great product.
Barracuda Drive and Jungle Disk?    Hi,
I am a fairly experienced user who is setting up a Virtual Private Server. The VPS comes with only 4G of Hard Drive Space but 500G of transfer so I installed Jungle Disk to the VPS to store my personal files as a direct route to the Amazon S3 storage. Jungle disk also allows you to map a windows drive letter. I want to use Barracuda Drive to allow me to access those files on the windows mapped drive securely wherever I happen to use a computer. I would install and use Jungle Disk directly on the foriegn machines, but I never have admin rights on the machines I use and don't want to risk it from a security standpoint. The professional edition of Barracuda Drive looks awesome and will fit in nicely with what I am planning. What do you think? The VPS also comes with one free SSL certificate which I could use instead of the self signed certificate. If this works, it opens a world of possibilities for me.

Thanks!!

PS Jungle disk uses WebDav...that is why I have concern, but it is on a different port. I also will be installing Barracuda Drive to a Windows Server 2003 VPS, but it has only one IP. Thanks!!
I am extremely disappointed   I I have Jungle Disk up and running on my VPS and tried to install Barracuda Drive which will not start. I got a warning when installing that the ports it uses were in use and I could modify the configuartion file which I attempted. If you can provide help, I would appreciate it. I understand that something? is attempting to bind port 80. It seems to all center around this. Do I need more than one IP? I am using a Windows Server 2003 on a Virtuozzo Virtual server hosted by 1and1. I know that I had difficulty getting the jungle disk mapped.
AH HA!      UPDATE!! I too want to use Barracuda Server on a machine running IIS 6. I have now figured out that yes, I do need more than one IP to run multiple web servers (esp with ssl. ) I now have three IPs on my machine. Your batch file is great for limiting two of my IPs to IIS 6. The thing I don't understand is how to limit Barracuda to one particular IP? It has to be easy, I just need to figure it out. Any help or direction would be great!!

My other question is: Do I need to put the batch file in the startup menu to limit IPs everytime on startup?

Thanks!!
      From the BD readme file:

  - The HTTP and HTTPS ports can now be bound to different interfaces.
    See the BD command line parameters -p, -s, -h and -g.
    These values can also be set in bd.conf by using the following
    values (e.g.):
       host="www.mysite.com"
       sslhost="www.mysite.com"
       port=80
       sslport=80


where host and sslhost is the IP address of your interface you like to bind the server to.
      The idea to use http://www.1and1.com hosting service for a VPS and increase the storage capacity with Amazon S3 to have a really cheap webserver with high capacity download and storage is genius.

I guess you are aware that each download of data will produce double the megabyte on the bandwith, because when you download data from a drive it will come as a upload/download from Amazone to your VPS. But as you have a 500Gb capacity bandwith it should not be a problem, except that it will slow down the process.

But I am not sure if you will be able to implement this completely. There are 3 issues:

a) to run a webdav client parallel to BD on the hosted VPS. I guess this should work, I tried this with BD and webdrive, in your case it should be BD and http://www.s3drive.net/  what Wilfred recommendet.
For testing, You should install BD on your home PC and also parallel http://www.s3drive.net/ to see if this works (switch off Skype etc when you test this)

b) the easy and right solution would be to switch off IIS on the VPS and run the multiple websites (how many you want, no limit on BD, this would not be as virtual hosting, it would be parallel websites http and/or https with different domains and will work with a DNS trick, I do this at home on my BD and works fine. has only a view drawbacks in comparison to virtual hosting)

c) Having said this, I do not believe you can switch OFF IIS or change the ports on IIS on the VPS, because I assume you share the server with multiple other users at the hosting center. And the same
IIS is also used for the other users on the same box (But maybe I am wrong and each partition for each user has his own IIS).This may be also the reason that you can not map drives. Even if you are able to
switch off the IIS, I guess there will be some network management software with SNMP to check if IIS is running and the ports 80 and 443 are responding, if not the red lights will come up at the 1nand1 hosting center.
 
I checked on the 1and1 website, it says you get minimum 10G of HD (you say you have only 4Gig, but maybe you have a special offer) How much do you pay?
 
Before we can find some solution, I have a couple of questions.
 
1) How is this remote access to the VPS you have, is this a windows remote desktop connection ? Can you run any software? can you reboot..I doubt it.
 
2) Via this remote connection can you start/stop and disable services? Can you try not to stop IIS but to change the ports on IIS (maybe in a range higher then 40000 that you do not create any conflicts)
 
3) If 2) is possible, then switch BD back to port 80 and 443 (that the SNMP alarms dont start at the hosting center)

4) Make the test from a) at home, if it works at home, then install in same way at hosting center.
 
5) When 4) works at hosting center, you must find out if you can map drives on the VPS. I guess this is a major issue, because i do not bleieve when there are multiple users partitioned on one Windos server that each user is allowed to map drives. Maybe you have to ask 1and1 support if this is possible (I would not tell them that you want to want to install a webdav client there, maybe ask if you can create some drives with the DOS/windows subst command :-)
 
6) Are you planning to use php or other stuff on your web pages, if yes, we have to keep IIS alive and map via BD (BD can only run LUA)
 
Let me know the answers to my questions, then I can explain you how to make this DNS trick with the multiple web pages on BD (works also on IIS) without virtual hosting.

If this works, it could also be used to setup 3 way tunnels for some other grazy stuff....:-) Anyway, at first it has to work.

//Wolfgang
      Wolfgang!! You are the man!! Thanks for the reply. I am glad you embrace my idea. I see this as a huge market for your product and Jungle Disk or s3drive.net.

Incidently, I looked at s3Drive.net but I have concerns about its development. It is very buggy. Jungle Disk seems better supported and backed so I want to stick with them for the moment.

I will try to fill you in so far:

1. I ditched 1and1.com because their VPS is too restrictive. I switched to GoDaddy.com because they offer 10G, 3 IPs, one free SSL, and I can map drives and restart the VPS as often as I need.

2. I will have to run a parallel WebDAV client. I have searched the internet and it seems like this should not be a problem as long as they run on seperate ports. Jungle Disk uses 2667.

3. I would like to keep IIS running because I do a lot of other things with it, but because I switched to GoDaddy.com for VPS hosting, I have 3 IPs! I was going to devote two of them to IIS and one of them to Barracuda Drive so that they would not interfer. I can use the batch program that another user provided on this forum. This should allow me to use the plesk control panel for the two IPs for virtual hosting and devote my home page to Barracuda drive and access to my files.

4. Each partition has its own operating system and each has its own IIS. You can stop and start whatever service you would like. Restrictions are placed by the hosting company only for security. This is why you can map drives on godaddy but not 1and1.

5. About a VPS: Remote access to my server is by Remote Desktop and/or plesk. I use remote desktop mostly.

6. I figure I can assign BD to one IP and leave it on port 80 and 443 and put IIS on the other two IPs and on port 80 and 443. There should be no interferance.

7. Lastly. I do not need netdrive or webdrive to map jungle disk. It does it automaticly. So it would look like Client->BD->Jungle Disk->Amazon

Question:

I assume Barracuda drive can only use mapped drives, right? This is fine, I was wondering if you all plan to add support for networked drives in the future?

Anyway, Wolfgang, what do you think? I am about ready to role up my sleves and give it a go.
      Wolfgang!!

I have Barracuda Drive up and running on its own IP.
Jungle Disk is running fine in parallel.
My IIS is running with no problems.

BUT - Barracuda Drive does not see my jungle disk. I think this is strictly because it is a Mapped Network Drive.

Can you PLEASE, PLEASE add networked drive support.

I was going to install the netdrive or webdrive program but since it mimics a hardware installation in order to gain shell support, the virtual server prevents it. I guess there is a limit to what godaddy will let you do. Ha!

I am SO close. Please add network drive support. I would not be able to use barracuda drive at home because everything is on local NAS at home also.

I bet a lot of users who will use this have NAS and would jump at the chance to use it if it had networked drive support.

Man, we are so close!! Do you realize this could change the way people store things forever? No more Dedicated Servers. No more expensive NAS to maintain. Heck, it is cheaper than buying a 500G hard drive and waiting for it to blow up...eh, make that two for when the first one blows up.

Thanks!!
Allen Holder.
      At first thanks, that you have trust in me!

But I have to slightly disapoint you, I do not work for Realtime Logic, I am just a user and when I started to use BD, posted my solution I implemented at home on the forum and later, some of them have been implemented from Wilfred and his team at Realtime Logic into the prof version of BD.

So for this reason, It's easy for me to say, hey, I like your idea, and I really do.

Now to drive mapping. BD is fully able to map any drive on your PC, also networked drives from a NAS. This is exactly the setup I have at home. I use BD on a XP box and have a network with a Linux NAS from Server Elements http://www.serverelements.com/ runs Linux and NAS from USB stick. I have a lot of disks on the NAS and works fine, all published via web and and webdav to internet. Different user acounts, each with his own web page, some tunnels and other stuff.

Now in your case the mapping of network drives seems not to work. Well I have to say (because I was to busy from  my real job, I did not have time to update my installation) my BD installation is still a free version released before the professional BD was available (well not easy to say what version, configuration managment is difficult on BD, sorry Wilfred).

For this reason I suggest you install your BD at home and try to map your network drives from your NAS, if this works as I expect, we need to troubleshoot what is the problem on the VPS. If not, then we have to talk with Wilfred if something happend in the latest releases of BD.

//Wolfgang
      Are you running BD in console mode?

How did you map Jungle Disk as a network drive, can you show me the command?
WinXP WebDAV Client Fixes     This is a copy from the old BarracudaDrive user group: Original document

Updated:
Microsoft now offers this update for web folders:
http://support.microsoft.com/kb/907306/en-us




As noted in the BarracudaDrive documentation, the WinXP WebDAV client is, well... screwed. It does suggest commercial alternatives, but they all cost quite a bit and don't necessarily do the same job as the native XP WebDAV client.

However, all is not lost. I have managed to take a completely non-functioning XP WebDAV client and get it working perfectly!


Step A - Repair WebFolders:
----------------------------------------

1. Go Start/Run and type 'webfldrs.msi'.

2. Now click on "Select reinstall mode".

Note: If you get a 'WebFldrs XP Welcome Dialog' wizard at this point with the only options being 'Cancel' and 'Next', then skip to 'Step B'.

3. Setup the following options:
- Uncheck "Repair all detected reinstall problems".
- Check "Force all files to be reinstalled, regardless of checksum or version".
- Check "Verify that required user registry entries are present".
- Check "Verify that required machine registry entries are present".
- Check "Validate shortcuts".

5. Press OK and REINSTALL

6. Reboot.

If this doesn't fix it, (& it's possibly a good idea to do this next step anyway) then perform the following:


Step B - Upgrade WebFolders to the latest version:
-----------------------------------------------------------------------

Download the latest WebFolders version via this link:
http://download.microsoft.com/download/b/7/2/b72c48b9-a1f8-49fc-9f75-71af93ec90b0/Webfldrs-KB892211-ENU.exe

or (since that link might not work) from this page:
http://www.microsoft.com/downloads/details.aspx?familyid=17C36612-632E-4C04-9382-987622ED1D64&displaylang=en

Install the update and it will hopefully work (did for me anyway). If not, well, you could try the following (exceedingly confusing) ms troubleshooting page:
http://support.microsoft.com/default.aspx?kbid=287402


I have (so far), only been able to map to BarracudaDrive via 'Add Network Place' in 'My Network Places', as opposed to mapping a network drive. If anyone has some tips on how to do this I would very much like to hear them!


If THAT doesn't work, then, well, short of a clean install, I'm out of ideas!! Sorry!

Sam.


References:
http://www.open-xchange.org/oxwiki/Using_20WebDAV_20for_20documents_20as_20Windows_20network_20share
      Hey,

As an Update, you can use the config tool or edit the addresses yourself in the Registry at key:

Workaround for IIS6 (only if you are comfortable with the registry):
-Start regedit
-Browse to HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\HTTP\\Parameters
-Add a new "Multi-string value"
-In the value data, enter the external machine IP address:port you want IIS to bind to (e.g. if your IP is 204.130.34.5 you would enter 204.130.34.5:80 in the list)
You can enter as many as you like. The ones not entered will not be bound. You do not have to enter a port if you want IIS to manage all the ports on that particular IP.
If you want to go back to IIS managing all the IPs, simply delete the "multi-string value"
-Restart the HTTP service
Note: Don't use this workaround on a machine with DHCP, as you would need to change the registry entry each time the machine IP changes.

I thought this is easier that downloading and using the support tools, but your tip pointed me in the right direction!!

Thanks!!

PS You do not need to run the batch file each time on startup because it makes the changes I just described. Thus, only run the batch file again if you want to change something or just edit the registry key manually like I described.
      Wilfred!!! Wolfgang!!!

You guys are genius!!

IT WORKS!!!

CONSOLE MODE!!! Yes!!!

You have to run barracuda in console mode which is FINE because that is the only way jungle disk runs right now. (Jungle disk does not start as a service...it is user specific.)

Basicly, I just leave myself logged into the server but exit remote desktop so that it password protects the server.

AWESOME!!!

This means UNLIMITED INTERNET STORAGE via S3 and Barracuda. This is beyond awesome!!!

I would like to do a large write up and post in the "HOWTOS" section if that is ok Wilfred?

All of my colleagues have been waiting for me to produce an answer and will be anxious to read about it. I will post on the Jungle Disk Forum too and the Godaddy Forum. There are A TON of people who are waiting to hear how I did this.

Thanks again!!!

You guys ROCK!!!
      This is good news Allen.

Maybe we can look into other possible methods of integrating products like Jungle Disk in a future BarracudaDrive release.
How To Start Console Mode when I log into Windows?    Wilfred or Wolfgang,

One more quick question:
Is there a way in the conf file or in windows to make Barracuda Automaticly start in console mode as soon as I log into windows?
Is there a batch file I can place in the startup folder?

Thanks!!
      All you have to do is to create a shortcut in start -> All Programs -> Startup. All shortcuts in this folder are automatically started by Windows when you login.

The shortcut should be: bd -console
Make sure the path is set to the bd installation directory.
Re: How To Start Console Mode when I log into Windows?      Create a shortcut in Windows - change the shortcut as follows:
Target:
C:\\bd\\bd.exe -console

Start in:
C:\\bd


Then add the shortcut to the Startup group .

db
Pro Support?      Is the support for the professional version handled differently.  I'm concerned about response time as this will be an important part of our business.
      Great to hear that it works! waiting to see the HowTo.

Can you also include to what you subscribed exactly to see exactly what cost involved?

//Wolfgang
      We provide email support for the pro version. We also provide phone support in the US and Australia. If possible, use the bulletin board as it may also help other users.

Ref:
http://barracudaserver.com/products/BarracudaDrive/purchase.lsp
      Excellent news, thanks a lot for the quick response - it sure made me feel that the response time will be great!
      Will do.

Per month costs:
$36 for Windows 2003 Virtual server at GoDaddy
$20 for 200G storage on S3

Startup costs:
$50 for Barracuda Drive Pro
$28 to transfer all my data to S3 (200G)
$0 for Jungle Disk

Per Month costs :$56
First Month costs: $134
Knowing my data is safe, accessable, and encripted: priceless
      You guys rock.

Thanks.
      These guys are awesome and respond immediately.
File-locking and local access...    I'm having a problem with getting file-locking to work.  Here's the setup...

File is open locally by a program on my computer (the BD server).  I connect via WebDAV/Microsoft Windows Web Folder to the drive and I'm also allowed to open and supposedly to save the file.  However, my changes made from the remote login are not actually saved.

How can I fix this so that BD file-locking takes into account local access?

Thanks,

Avi
      I assume your local program does not access the local file via a webdav interface.
WebDav is basically a primitive Content Managment System. see http://en.wikipedia.org/wiki/WebDAV, so all users must use it, also the local user. This means also the local user has to access the files via webdav and not directly on the file system. Windows filesystme does not read/write the .DAV files to know the status of the file. As the system was never made to access locally, you can not use a drive mapping client like webdrive locally, because you would create a port conflict. You need to use the windows webdav (access BD via webinterface and then click the button to open the windows webdav window) client or a java webdav client without drive letter mapping.

//Wolfgang
Folder no longer available    Accessing the BarracudaDrive server, I am able to view all the files on the appropriate drives.  At first, all of them worked fine.  Now, however, file folders that have an apostrophe in the folder name appear not to work.  I get an error message: "/G/Jill%fas%20Documents is no longer available."

Any suggestions on what to do?

Thanks!
      This could be a problem with your browser.

I did a similar test by creating directory: a’b'c

The URL looks like the following in:
Firefox: a%E2%80%99b'c/
IE: a’b'c/

Both browsers work for me.
Prevent Http Access     Hey guys,
I would like to prevent access via the http because I think this is unsecure. Basicaly, I donút want anyone using digest. Is this possible? I thought that maybe I would just point the start page to https but someone might still find the http page on accident. Any suggestions?
      It is possible to override parts or even the entire user interface in BarracudaDrive pro.

If I understand you right, what you would like to do is to force the user to use a secure connection, i.e. make sure the user uses HTTPS.

Do the following:
Create sub-directory rtl/login in your www directory, i.e. your html directory.
Use an editor such as notepad and create a file with the name: .NotSecure.lsp
Paste the text below into notepad and save the file.

<?lsp response:sendredirect(bd.getSecureUrl(request, response)) ?>

Please note that the file name starts with a "." that is: .NotSecure.lsp and not NotSecure.lsp

The above construction requires that you have enabled lsp when you created your www application.

You can do the following to enable lsp:
Start the Administration Panel
Go to Application Manager
Click www
Stop the application
Remove the application
Click the new tab
Type in www in both input fields
Set application type to LSP and submit
Click www
Change priority from 0 to 1
      Wilfred,
You are awesome! Thanks!
WEBDAV and VISTA  Wilfred,
Does Barracuda work with Vista? For some reason when you click on the web folders view in Vista, you just get a blank page. Is this a deficit of Vista?
Clean Up Interface      Wilfred,
I think Barracuda is awesome and I hope to sell it to the guys for wide use. I have a few suggestions or maybe I can do this with the scripting language?

In the Interface:
Change the "Settings" button to "Menu" button because it is confusing.
Option to remove the "About" button and the "Group Chat" button.
Change the "Start Page" button to "Home" button because it is confusing.

In Web Files View:
Change "MKDIR" to "New Directory"
Change "Settings" to "Menu"
Add a "Logout" Button

I have a feeling that the web file view is a little rough because you suspect everyone to use the web folders (webdav) view. I also suspect you were planning on dropping the web file view completely in the next version as Vista improved and all the older operating systems dropped off the planet. However, with the Vista webdav problems (microsoft released Vista without webdav working), a lot of people will still be using the web files view. I might even buff up the web files view and add a right click ability to copy, delete, ect...
 
Just my two cents if you were looking for improvements. This is really an amazing interface. If I can impliment any of the changes about with the Lua scripting language...let me know. I do not know programming language and use dreamweaver or Frontpage to make websites. However, if someone would be willing to make the changes to the Barracuda Interface, I would pay them. I realize making the changes in the web file view would be more complex.

Thanks for an AWESOME product.
      Good News and Bad News

Bad news first:
I have discovered the problem with webdav in Vista. Basicly, webdav in Vista is very broken. See this post:

http://www.ureader.com/message/33325723.aspx

That is about the best, most well researched answer I have seen. I will say that there are A LOT of angry people about this including every school campus across the country.

Now the good news:
I have absolutely no reason to upgrage to Vista until the problem is fixed. This will save me A LOT of money.

Thanks!
      I have successfully used Microsoft's WebDAV mini redirector in Vista. Web Folders and WebDAV mini redirector are not the same product. Try the tutorial I posted about how to connect using the WebDAV mini redirector.

http://barracudaserver.com/products/BarracudaDrive/tutorials/mini_redirector.html
      I agree, there is room for improvement on the user I/F.

At the moment  I try to improve the user I/F with adding of eyeOS to BD, this looks very cool and would be really a nice add on. The problem is, at the moment eyeOS is still buggy. When a application window is taller then the viewer window, the application fails to start and the other problem is when used via BD tunnel you get errors and not all displays.

The idea is to make the user interface very easy, for this reason I try to make a webredirect directly to download the upa firefox tunnel (without going to a webpage at all). Then the downloaded firefox with tunnel will open. In this firefox 3 homepages areset, 3 pages, eyeOS login, BD setup page and Google. This means you see this pages already via tunnel.

So when you click your URL, it installs tunnel with firefox and firefox opens eyeOS and in EyeOS you can run a widget to open for example http version of VNC viewer and the eyeOS apps or also a widget to open the UPA apps from BD. A widget to open the file interface from BD. (the file interface from eyeOS is not good enoug for our purpose). Its easy to create a widget for a webpage to reach any exising functions in BD.

Well the idea is good, the problem, eyeOS does not work proper via tunnel to good at the moment (slow, errors), some of the widgets also do not display proper via tunnel. As there are error messages in browser when you opne also eyeOS without tunnel, the problem seems to be in eyeOS.

Neverteless, check it out, I am sure eyeOS will improve and then it would be a great companion for BD, because their user interface is really a add on.

see http://www.eyeos.org/   before you install, you can get a demo account at http://www.eyeos.info/eyeOS/

If I get it working in a acceptable way, I will post it in HowTos, but at the moment it looks like a longer way to go.

As eyeOS is based on php, you must run it parallel on its own microserver (included in a single exe in the windows version, so only one click install, on different port number)

//Wolfgang
      Thanks Wilfred!

More on the webfolders problem in vista:

http://www.vista64.net/forums/vista-general/21946-webdav-web-folder-client-msdaipp-dll-supported-vista.html

Also, go to www.vista64.net and search for "webfolders"

Holy smokes! People are MAD. Haha. Microsoft failed again! I might switch to a MAC.
Local host  You really want to first connect to your router not localhost at your router gateway address 192.168.1.1.  Also if you have port forwarding you need to forward the ports mentioned to get out to the net.  Check Dlink port forwarding and also make sure your Windows firewall is allowing you access.
Free version configeration problem on reboot    Hi:

I set up Barracuda Drive free version but when I reboot have to set it all up again.  Is this one of the restrictions in the free version?  Using XPpro and sp2...
The server works fine but this is a pain in the butt.

Also when you register do you have to reinstall and set up all again?

Thanks

Ron
      No. We have no such limitation in the free version. BarracudaDrive saves all user information in the installation directory in files that ends with .dat. You may have "read only" attributes set on these files and/or your installation directory. You can look in the BarracudaDrive "trace files" for additional information.
browse thru tunnel using home wifi  Hi.

This seems to be a great software.  Im having problems configuring https tunnel.  I connect to the internet via public wifi in our apartment.  I want to use https tunnel since connection thru our local wifi is not secure, considering its available to everyone in our apartment building and theres no wep/wpa encryption.  How do I configure my browser to use the tunnel when I browse?  I read the post on how to use a browser via tunnel but the settings are different since the instructions are for a pc from a company to a home pc or vice versa.  I just want to browse via tunnel at home thru our local wifi.  Any ideas on how to go about this setup?

Thanks in advance for any help.
      We do not provide BarracudaDrive (BD) as a service i.e. we do not provide tunnel services such as many of the online tunnel service companies. You must download and install BD on a computer that you regard as having a secure internet connection. This can be a server in your home that is connected directly to your home router using cables. You can alternatively have a friend with a broadband connection host a BD server for you or you can run BD on a virtual server provided by companies such Go Daddy, gate.com, etc..

Using the tunnel client. I suggest the following:

Download our preconfigured Firefox portable browser. This browser, which is configured for maximum protection, is packaged as a UPA. The UPA includes Firefox and the tunnel which makes it very easy to use. Simply start the executable, login to BarracudaDrive, and start surfing. You can keep the browser on a USB stick or download it from your BarracudaDrive server when you need it.

We have a number of tools we have not had time to document. This is one of them.
      ok.Thanks for the suggestion.
      We do not provide BarracudaDrive (BD) as a service i.e. we do not provide tunnel services such as many of the online tunnel service companies. You must download and install BD on a computer that you regard as having a secure internet connection. This can be a server in your home that is connected directly to your home router using cables. You can alternatively have a friend with a broadband connection host a BD server for you or you can run BD on a virtual server provided by companies such Go Daddy, gate.com, etc..

Using the tunnel client. I suggest the following:

Download our preconfigured Firefox portable browser. This browser, which is configured for maximum protection, is packaged as a UPA. The UPA includes Firefox and the tunnel which makes it very easy to use. Simply start the executable, login to BarracudaDrive, and start surfing. You can keep the browser on a USB stick or download it from your BarracudaDrive server when you need it.

We have a number of tools we have not had time to document. This is one of them.

I think i pointed this out once before. but this UPA leaves behind x amount of firefox install folders on your PC. x being the number of times you run the UPA. Each folder takes up 22MB of data or more... so if you use this application alot and don�t go looking for the temp folders and deleted them.. you�ll be wasting lots of disk space.

it would be pretty cool if it didn�t do this :D

take a look ;)
http://img373.imageshack.us/img373/7181/upafirefoxxx5.th.jpg

edit: I was able to successfully create a self extracting, self running, and self deleting version of this using 7zip, and using some tools from here: http://7zsfx.solta.ru/en/download.html

I had to do away with the LaunchFF.bat file, cause the sfx is setup to delete the files when the file it executes is closed.. so if it called that batch file, it would delete stuff soon as the batch file closed. so i just set it up to run �BdProxy.exe -ssl 65530 -socks 65531 -iconify -exec FirefoxPortable.exe�, so it only deletes all the files when the bdproxy is closed.

another thing i just noticed, is that it will delete the temp sfx folder in ..\\temp which contains BDproxy.exe, and firefox, but in the directory of ..\\temp (not in the sfx temp folder), bdproxy.exe creates temp#.jar files for each time it is executed. which are 37kb each.

I just figured i�d let you guys know incase you ever intend to make a UPA that doesn�t leave behind files.

edit #2:
I just noticed what executing these temp#.jar files seems to do the same thing as executing BdProxy.exe. the jar files are 37kb vs. 593kb. What does the .exe do that just using the .jar version can�t do? (just curious :) )
Please help, folder mapping...      Hello!

I have installed BS at home and it worked beautifully straight out of the box for my two machines.

I recommended it to a friend and we have spent two days trying to get it to work with no joy.

She has four PCs at home running XP and wants to run Barracuda on one to organise the others. We have got the http side working but cannot map a network drive from it. It keeps saying the folder we entered does not appear to be valid and nothing we can do changes this.

Would anyone be kind enough to shed some light on this for us as we are starting to lose hair over it now.

we are trying to map http://ipaddress/dav/c/bdusers/account with no joy...

I promise a lolipop to anyone that can help!

Thank you,

Eloise.
      Ok, Have followed the windows XP and webfiles troubleshooter and got the drive to map as a web drive but when I open documents in the folder they come up blank with an error message of

The file name, directory name, or volume label syntax is incorrect

The debugging tool reports this:

onConnect: Connection ID=1261147114, type=IframePushCon JDisk: Cannot open drvcnstr.dat: Not found.JDisk: Cannot open user.dat: Not found.JDisk: Cannot open tuncnstr.dat: Not found.10.0.0.9 sendError=-1 10.0.0.9 sendError=-1

Any help appreciated here guys.

Eloise
      So, I re installed webfldrs.msi and did the windows update thingy and I now have a web folder connection.

I can open Word and Excel files now but when I click text or images files it doesnút open them. Even when right clicked they donút offer an Open option.

Can someone help me with this bit please?
      The two MS WebDAV implementations have many bugs.
You can check your versions with the following:
http://greenbytes.de/tech/webdav/webfolder-client-list.html
http://greenbytes.de/tech/webdav/webdav-redirector-list.html

Have you tried DriveOnWeb or WebDrive?

Word and excel files open and work perfectly but I have to put in a user name and password every time I open them. Can we fix that too?

This is one of the many bugs in the MS implementation and I have not found any workarounds for this problem. I can only suggest using a better client such as DriveOnWeb.

Quoting the WebDrive team:
The MS implementation is not a competitor.
Feel free to interpret the above any way you like.
Tracking and log files  Well I registered and it now works.  I have an issue with  the tracker.  Need to know what files are uploaded and downloaded.  I see the trace shows who logs on but no record of files uploaded and downloaded as in my FTP server.
Can I get some direction on this issue.  Otherwise the server does all I want it to do.  I am very busy this summer and have little time to mess with configuring and so like this one.

So how do I see a record of uploads and downloads of file names per user?

Thanks

Ron
      The trace is more a debugging tool, but it is possible to enable a trace log for all files accessed. Start the SimpleDebugger tool and enable "request". You will have to do this every time you start the server.

We do not have any direct tool for tracing what files a user is uploading or downloading, but it is possible to write a LSP (Lua) script that logs this information. You will have to have an understanding of Lua and LSP to be able to do this.
FYI: Microsoft Web Folders Update   Microsoft now offers this update for web folders:
http://support.microsoft.com/kb/907306/en-us

After installing it, I could access my webdav server from Vista (Windows
Explorer, via "Map Network Drive"), which was not possible so far.
GetMyLan Bug?     I think i�ve found a bug with GetMyLan. As soon as an application fails to work through it, all other previously working applications (ex, web browser) start to fail to work. the only way to fix it is to close down GetMyLan, all apps, then rerun GetMyLan, and then you apps again (ex, web browser).

below is a screenshot of GetMyLan with Firefox working successfully until I started up FlashGet, which seems to not want to work nicely with GetMyLan. Afterwards any attempts to use Firefox timeout and the whole process needs to be started over again (closing GetMyLan, the apps... rerunning them).

It�s not specific to FlashGet too. When I used Lotus notes, it could not connect to my companies servers (cause of the outside IP, not being part of the company intranet, security, ect), and soon after the logs show failures to connect. Firefox stops working too. So soon as it hits a hiccup, it seems to go out to lunch.

also you�ll notice you don�t even see attempts to connect to the webpage that was timing out in the logs in the GUI. Basically everything gets lagged, and if i close down the application that caused it all (FlashGet), it will keep showing attempts with FlashGet for minutes afterwards.. then it will show the other failed attempts (like Firefox).

I just figured I�d report my findings, to help you guys improve your products ;)


http://img123.imageshack.us/img123/5163/getmylanbugli8.th.png
Support for Linksys NSLU2     It would be great to see Barracuda Drive ported to the Linksys NSLU2 either running Unslung or SlugOS.  BarracudaDriva would be a perfect fit for this device.

Any chance of releasing source code so native packages can be built for the NSLU2?

Thanks.
      We can confirm that we can reproduce similar results in the lab.
Thank you for reporting this.
We will keep you posted when we have released a new version.
      BarracudaDrive is a commercial application, and the source code is not publicly available.

I suggest that you directly contact Linksys (Cisco) if you would like to have BarracudaDrive installed in the Linksys routers. Linksys can purchase BarracudaDrive and the Barracuda Embedded Web Server SDK from Real Time Logic.
      Thank you for the response.

The NSLU2 product is not a router product, but rather a device that enables having Network attached storage.

With after market open source projects the NSLU2 can be utilized to provide many server services (web server, DAAP server, UPnP server, etc).

The NSLU2 runs a 2.4 kernel, but the Barracudadrive Linux binary does appear to work with this device.

Although there are other WebDAV projects that are compatible with the NSLU2, I think BarracudaDrive would be a perfect fit for this particular device.

As Barracudadrive is lightweight and provides secure web access to files it would be a great addition to the NSLU2 Unslung community.

Thank You.
      We have identified and corrected a problem in the tunnel client and in the tunnel server integrated into the BarracudaDrive server that caused invalid requests to block all client tunnel users for up to 40 seconds. We have now corrected this problem and released a new version of the client and server.

Please download the new GetMyLAN client 1.1 and the new BarracudaDrive server 3.7.2 if you have experienced these problems.

You do not need to uninstall the GetMyLAN client or the BarracudaDrive server prior to installing the new version.
Automatic Port Forwarding for BarracudaDrive    Setting port forwarding in the router for the HTTP and HTTPS ports can be a challenge. Fortunately, most routers support a standard called Universal Plug and Play (UPnP).

We have made a tool, named BaUPnP, that automatically does the port forwarding for you.

http://barracudaserver.com/products/tools/upnp/
FYI: Windows XP WebDAV updates      Problems with the auto generated Windows XP WebDAV batch file in 3.7.2

A new feature was added to make it easier to map a Windows XP drive letter to the BarracudaDrive server in 3.7.2. A DOS BATCH file (command file) can be automatically created by the server on the hard drive page. This page is downloaded to the client, where it is executed and a drive letter is automatically mapped to the server.

The problem is that the URL created by the batch file starts with https:// --i.e. a secure URL. The Windows WebDAV mini redirector client cannot handle a secure connection and an obscure Windows error message is shown when the DOS batch file is run.

We will fix this problem in the next version. You can, in the meantime, use the WebDAV Mini Redirector tutorial:

http://barracudaserver.com/products/BarracudaDrive/tutorials/mapping_windows_drive.lsp

More Windows XP redirector problems

We have noticed the following problem in Windows XP home edition when using the XP WebDAV Mini Redirector client to connect to a WebDAV server. The XP home edition is usually unable to connect to the server unless one provides a username and password when mapping the drive. We have not seen this problem in XP professional.

Another problem with XP home edition and XP professional is that one typically needs to reboot XP if an incorrect password is specified when mapping the drive letter by using the password /user:username options to the net use command.

In Windows Vista, only the WebDAV redirector is present; the original "Web folders" client has been removed. The "Web folders" client is only present if the Microsoft Update for Web Folders is installed.

Robust Windows WebDAV mini redirector alternatives

If within your budget, we recommend using one of the professional WebDAV clients with BarracudaDrive, such as WebDrive or DriveOnWeb.

There are also many other good WebDAV clients, though most of them work similarly to FTP and cannot map a Windows drive letter. My preference is using Total Commander with the Total Commander WebDAV plugin.

Total Commander:
http://www.ghisler.com/

The WebDAV plugin can be downloaded from:
http://ghisler.fileburst.com/fsplugins/webdav.zip
Webdav folder permission problems   Iúm having problems getting access to my webdav folders. I use the command net use * (link here). Donút worry, I know how to input the address and such. I have gotten access with a user that I have setup whom has admin roles. But whenever I create a new user with limited permission (all but admin roles) I get a system 5 error...access denied.

When I switch that user to admin, I can get access. I have setup the drive contraints correctly... example:
username: example
roles: userexample
contraints: /M/*
roles whom constraints apply to: userexample

this will allow user example to get access to drive M..right?
but whenever I connect, it asks me for my password and I input it and then I get an access denied error. I perfectly can access any drive with a user whos got admin permissions. Its just those users whose got limited access : /

So anyone have any suggestions?
      try https://yourdomain.com/dav/M/  (with or without trailing slash) depends on client. You can only login on the place the user has permission, in your case its M

//Wolfgang
      well the thing is ...no matter which user it is, if he/she doesnt have full admin, the user cant access any folders at all
      You can let the user test the permissions using a browser before using WebDAV.

So assume you have the following WebDAV URL:
http://mydomain.net/dav/c/M/

The Browser URL will be:
http://mydomain.net/drive/c/M/

Notice the "c" in the above URL -- i.e. the default BarracudaDrive settings add your Windows drives as a virtual root folder. This mean that your constraint may have to be changed to: /c/M/*

For novice users:
We recommend using the installation program for creating users and constraints.

See the following online demo:
http://barracudaserver.com/SetupDemo/protected/setusers.lsp

Ref:
http://barracudaserver.com/44100/viewtopic.php?t=142
http://barracudaserver.com/products/BarracudaDrive/tutorials/mapping_windows_drive.lsp
      Iúve tried the /c/m
and theres no such directory

the thing is that I have 2 users

One is an admin and one has a single drive constraint of /M/*

whenever I do
net use * (my domain name)/dav/M and login with my admin account, it works fine

whenever I do the same command and try to login with the 2nd user, it says access denied
      Read my note above regarding novice users.
      yes, I have tried it with the java program (admin panel)
and the html based creator.

It still gives me an access denied error with the 2nd user who doesnt have admin.... no matter whats the constraint...if its /c/* the admin can gain access but the 2nd limited user who has that constaint cant....
      You are not giving a good explanation regarding your problem, for example, can the user access his resource using the Web File Manager?
      Ok heres a new step by step process that I jsut did

I went to the link that lets u add users form the html interface

Created the user: test
pw: 1234
with constraints of /M/

then I tried to do the following but had access denied when I logged on with the user test:
net use * http://mydomain.net/dav/M/
http://mydomain/drive/M/
http://mydomain/dav/M/


THEN when I tried to logon with an admin account, it worked :/

So the directories and webdav work but its just the permissions for limited users are malfunctioning....
      Iúve been trying, without success, to use BaUPnP with my SmartAX MT882 router, supplied by my ISP TalkTalk.

I have DEFINATELY enabled UPnP in the browser interface, but when I run BaUPnP it says that it canút find a UPnP enabled router.  It then finds my router and opens the web browser for me to enable UPnP in there - so it can see it, but it doesnút recognise that Iúve done all the neccessaries.

Is there any way I can fix this?

Many thanks.

PS.I have tried and tried to forward ports manually (as per the instructions on portforward.com) but have failed and failed, so this seems to be my  best option if I can get it to work.
Port forward      Hello,

I`ve installed the barracudadrive server and forwarded the ports mentioned in the manual. But when i try to access the public ip from any computer in my network i reach my login page to my dsl modem. Whats wrong?
      You have most likely Remote Management enabled in your router.

In my D-Link router I have the following options under tools:

Remote Management
Let administrator perform administration task from remote host.

  \tEnabled Disabled
IP Address \t
Port

BTW, it is not recommended to enable Remote Management in the router for security reasons. Most routers use a very basic web-server that can easily be hacked.
      BaUPnP has been tested with the major brands such as D-Link, Linksys, etc.
Many ISP's maximize their profit by using cheap off-brand routers. If it is your SmartAX router that fails or BaUPnP that fails, it is difficult to know. The BaUPnP tool follows the UPnP specification for configuring routers.

What I have noticed is that BaUPnP may fail on wireless networks as the response from the router may not be fast enough. The PC running BarracudaDrive should be connected directly to the router using a CAT-5 cable. This is also much more secure.

I suggest that you purchase a D-Link router. All D-Link routers seem to have UPnP enabled by default, and we have not noticed any problems with using BaUPnP to configure D-Link routers. You can purchase a D-Link router for $25.

I personally use a non-wireless D-Link router for my main network as I do not trust using a wireless network. I have a wireless router that I only turn on when using my Laptop. The router is turned on by flipping a light switch. One can easily hack into even the most secure wireless router.

This is my (trusted) network:

ISP (WAN side) --- | Main D-Link router | -- LAN side -- | Wireless router | ---- Laptop

BTW, do you trust the security in an off-brand router?
A router works as a firewall. I have no firewall installed on my PC running BarracudaDrive as all incoming requests are prevented by my router. A PC connected to the Internet via a good router simply does not need a firewall (as long as you are not using wireless). The only allowed incoming requests are the two ports: 80 and 443 forwarded to my BarracudaDrive server.


I have tried and tried to forward ports manually (as per the instructions on portforward.com) but have failed and failed, so this seems to be my  best option if I can get it to work.

Did you follow the port forward configuration for BarracudaDrive on portforward.com?
This is the link:
http://portforward.com/english/routers/port_forwarding/Huawei/SmartAX-MT882/BarracudaDrive.htm

I would like to know if the instructions are unclear or if the port forwarding simply did not work.

It could be that your ISP is blocking port 80 and 443 if you are unable to get this working. I suggest that you call your ISP and ask them.
Change Root?      In older versions I was able to start up the server with -r to change the root location.  Now that the server runs as a service I was wondering how I can change the root to just one drive instead of listing all the drives?

Thanks!
      You can set the drive directory to whatever you like. By default it is
the "/" (the root of all drives).

So to set to one drive you can edit bd.conf (in the directory where you installed BD). Make sure the bd.conf file has a line like:

drivedir=]

OR

drivedir=]

OR

drivedir=]

db
Firfox UPA and Remote server  I recently downloaded FireFox UPA with your built in BarracudaDrive. It starts ad asks for a remote server. Nowhere on you site or anywhere that you can download Firfox UPA does it tell you how to fill in tis blank request. I have downloaded this program five times. I have been to you site and registered for Barracuda Drive and still can not find the answer. This is the last ditch effort. Can someone help.
      Great, thank you very much!

Did I miss this is the help/documentation anywhere?  I wasnút able to find it.
      the purpose of the Firefox UPA is to tunnel your browser traffic through your own BarracudaDrive that you have installed elsewhere. So you need to have BarracudeDrive setup.

when it asks for the remote server you put in the address to your barracuda drive. Then your gonna have to enter username and password info that youúd have to setup on your barracudadriver server as well.

hope that helps :D
Vista Version     Any info on when a Vista compatible version will be available?

I been using vista since it was in beta stages, so it would be nice to have fully compatible version. You can use barracuddadrive on it, using Win XP SP2 compatibility mode to install it. Works fine... just wish the systray icon worked correctly.
Problems with HTTPS Tunnel and Java Webstart    Hi there,

I just downloaded BarracudaDrive and have got the HTTPS tunnel up and running using the standalone client. However, for my application  I need to use the web-launched version : when I try to initiate this I receive the following error (after accepting the security certificate).


**Exception
JNLPException
\tat com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
\tat com.sun.javaws.cache.DownloadProtocol.getLaunchFile(Unknown Source)
\tat com.sun.javaws.LaunchDownload.getUpdatedLaunchDesc(Unknown Source)
\tat com.sun.javaws.Launcher.downloadResources(Unknown Source)
\tat com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
\tat com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
\tat com.sun.javaws.Launcher.run(Unknown Source)
\tat java.lang.Thread.run(Unknown Source)
.
.
.

**General**

An error occurred while launching/running the application.

Title: HTTPS tunnel
Vendor: Real Time Logic LLC.
Category: Download Error

Unable to load resource: https://prosceniainternal.dyndns.org/rtl/tunnel/?http=8080&socks=1080&lp=&rh=&rp=&&z9ZAqJtI=0406ec1647398bec

I see a similar problem listed in the forum but no resolution suggested. Can anyone help?

Browser : IE6 SP2
Java : 1.5.0_02
Windows XP

Regards

Andrew Coulton
      If you analyze the error message from the Java stack backtrace, you will see that the error is from within the core Java web-start loading mechanism, before the tunnel starts.

Though Java has been around for a long time, there have been many problems with Java's loading and socket API's.

I have had no problems using the following version:

java version "1.5.0_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_03-b07)
Java HotSpot(TM) Client VM (build 1.5.0_03-b07, mixed mode)

You must upgrade the Java version on the PC from where you load the client. You must ask your IT department to upgrade your Java version if you are at work and have no access rights to perform software upgrades.
thanks!!    hi wilfred,

thanks for the info. will wait for more about using as a service and having access to drives as this is how iúd like to do things.

cheers

cb
     
This means you should have read the "Installation Instructions" before downloading.


Now I have read them. I have generated SSL certificate and key as explained. I have also created a bd.conf file to point to these two files.
The certificate, which is presented to the browser is still the old one.
My suspect is that the bd.conf file, which I copied in the same directory where BarracudaDrive is started, is not read at all.
I am using Linux with an unpriviledged user.

Alex
      The server runs without problems on Vista, but not the BD control program bdctl.exe, which is visible in the PC's tray (right bottom corner on your desktop).

The control program is not needed as one can also start and stop the server either via the Microsoft Management Console or via the command prompt.

The Installation was designed to prevent users from installing on Vista, but as you discovered, one can bypass this restriction by running the installation in compatibility mode. The server is however running as a standard Vista service after installation.

You can remove bdctl.exe from the tray by starting msconfig

Select Start, Run, type msconfig, click the Startup tab, and deselect bdctl.exe.

http://img444.imageshack.us/img444/4522/traysv0.png
      yep, i know about installing it via win xp sp2 compatibility mode. i been doing that since vista detection was added to the installer.

the reason i asked is the main page has said a vista version is coming soon for a while now. It would be nice to stop and start the service from the systray.
      You can start and stop the service from the command line


c:\\bd>bd -stop
BarracudaDrive ( bd ) service stopped.
c:\\bd>bd -start
bd started.


You can for example make two batch files for starting and stopping the server.


Type bd with no parameters to see all the options.

Copyright (C) 2006 Real Time Logic. All Rights Reserved.

  bd -option [parameters ...]

"option" may be one of the following
 install                - installs the service
 installauto            - installs the service for autostart
 console                - runs the service in console mode
 remove                 - removes the service
 start                  - starts the service
 stop                   - stops the service
 restart                - stops and starts the service
 autostart              - changes the service to automatic start
 manual                 - changes the service to manual start
 state                  - displays the service status
 help                   - displays this message
 ?                      - displays this message

Parameters are valid for -install, -installauto and -console.
-n "service name"       - specifies an alternate service name
-p port                 - HTTP port (default 80)
-s port                 - HTTPS port (default 443)
-h bind host            - host name or address to bind
-g bind host ssl        - ssl host name or address to bind
-r dir                  - drive directory
BarracudaDrive 3.8      <h3>Important security fixes in BarracudaDrive</h3><p>We have released a new version of the BarracudaDrive Web Server with a number of fixes to multiple security vulnerabilities.</p><p>We strongly suggest that you download and install the new version as soon as possible.</p><p>An attacker can gain access to resources on your computer by using carefully constructed URLs that exploits how UTF-8 to UTF-16 encoding is done in Windows.</p><h3>New License Manager</h3><p>The license manager in BarracudaDrive 3.7.x was purchased as a component from another company. This product had a number of flaws. We have now replaced this component with a new license manager.</p><h3>For users that have purchased a BarracudaDrive license:</h3><p>The new license manager is not compatible with the old license manager and your registered license will not work with the new server. If you have purchased a BarracudaDrive license, follow the license upgrade instructions at:<br><a href="http://barracudaserver.com/products/BarracudaDrive/ManualLicenseInstallation.lsp">http://barracudaserver.com/products/BarracudaDrive/ManualLicenseInstallation.lsp</a><br><b>Send your original purchase receipt together with the License request</b>.</p><p>You can in the meantime sign up for an evaluation version while you are waiting for your license.</p><p>Note: You cannot press the recover license button after you have installed the new server. Click "Purchase License" and select Evaluation License. You can alternatively delete bdlicense.dat before installing the new server.</p>
      Hi Wilfred,

I am currently using BD ver. 3.3 and have been since it was released. I have been testing/using BD from the days when the forum was on MSN Groups.

Is ver. 3.3 vulnerable to the same security risks as ver. 3.7?
      Yes, all Windows versions
      I see, so my options as I see it are...

*Upgrade to ver 3.8 (forced upgrade due to security issues)
*Continue using ver 3.3 (free - and live with potential security breech)
*Quit using BD (unfortunate but likely due to financial priorities :cry: )
*Look for alternative (does anyone know of free alternative)

Do you see any other solution short of being forced to pay for upgade?
Web Folders?      Oh no!  What happened to the web folders button?  Besides that missing, I like the new interface.
      The following is a quote from history.txt in your BD release:

-- Removed the button for starting Windows Web Folders from the Web File Manager. Microsoft is dropping support for Web Folders in favor of the new WebDAV Mini Redirector.

The button only worked when using IE6, thus it gave a faulty impression of the Web File Manager and confused users using IE7.

I suggest reading the following tutorial:
http://barracudadrive.net/blog/2007/12/Edit-Remote-Documents-Using-Microsoft-Word
You can copy a directory URL using the Web File Manager and do the following: My Network Places -> Add a network place -> Choose another network location -> paste into Wizard.

I usually keep the Web Folder links as shortcuts on my desktop, which makes it very convenient and easy to open "remote folders".

I have almost exclusively switched to using Total Commander and the Total Commander WebDAV plugin.  Total Commander increases my productivity compared to using standard Web Folders. See the following link for how to install Total Commander and the DAV plugin:
http://barracudaserver.com/products/BarracudaDrive/resources.lsp

You can easily convert a Total Commander installation into an UPA i.e. a self extracting ZIP file you can load and start from your server. You can remove many of the files in the Total Commander installation directory such as the non English language files, the uninstall files, etc.
evaluation license for v3.8 on windows 2k server  error     When installing v3.8 on a windows 2k server, Iúm unable to get a eval license. Receive the following error:

URL  https://barracudaserver.com/bdlic/

You are not authorized to view this page

http error 403
      We will investigate this problem.
Users with a W2K server can in the meantime send an email to our BarracudaDrive support email address and we will manually help you install the license.
      Thank you. We are unable to locate a support e-mail address. Can you please provide us a contact so we can get a trial license for the product.
      Thank you, we have located the support e-mail address.

BarracudaDriveSupport :o realtimelogic dot com
Changing SSL keys Hi,

I could not find documentation on how to change the SSL keys of BarracudaDrive. The certificate that is presented to the browser does not seem generated. Is it the case?


Alex
Re: Changing SSL keys  
I could not find documentation on how to change the SSL keys of BarracudaDrive.

If you visit the download page:
http://barracudaserver.com/products/BarracudaDrive/download.lsp

1. Installation Instructions
2. Download Now

This means you should have read the "Installation Instructions" before downloading.


The certificate that is presented to the browser does not seem generated. Is it the case?


The server is using an integrated "self signed certificate" unless a certificate is presented to BarracudaDrive via the bd.conf configuration file.
http://en.wikipedia.org/wiki/Self-signed_certificate
Netwok Drives??   hi, would like to use barracudadrive to allow access to our fileserver, but do not want to run  the barracudadrive software on the actual machines. is barracudadrive able to provide access to network shares on a second server in our dmz?

i have tried bd and appears it canút but just want to confirm that this isnút a license limited function for instance..

if it not is there any plan to allow this?

also why??

cheers

cb  :D
Re: Netwok Drives??     From:
http://barracudaserver.com/3945/viewtopic.php?t=124
BarracudaDrive normally runs as a Windows NT service and starts long before any network connections are established. In Windows, a network share is per user and is therefore not accessible to NT services. You can overcome this limitation in Windows by running BarracudaDrive in console mode. When BarracudaDrive runs in console mode, the server is running using the same user ID as the currently active user and the server has access to all shares available to the active user.
It is also possible to have BarracudaDrive, when run as a service, map network drives. I will follow up with more information on this later.
      You did not tell me that you use the Linux version i.e. the free version.
I am sorry, but you cannot change the certificate in the free version.
      We have created a tutorial that shows you how to use network shares with BarracudaDrive:

http://barracudadrive.net/blog/2008/01/Accessing-network-shares-via-your-BarracudaDrive-Windows-Service
     
You did not tell me that you use the Linux version i.e. the free version.
I am sorry, but you cannot change the certificate in the free version.


Is a commercial linux version available? How should I proceed to buy it with my credit card?

Thanks

Alex
      We have no official BarracudaDrive Pro Linux distribution at this time.
We do not see Linux as being a significant market for this product.
FYI: Automatic SSL Certificate Wizard     Would you like to remove the SSL browser warning that pops up in your browser when accessing your BarracudaDrive server in secure mode?

You can do this by purchasing an SSL certificate for your domain name.

Generating a Private Key and a Certificate Signing Request (CSR) are confusing and difficult to many people, causing many newcomers to give up. For those who know what they are doing, it is time consuming.

We have designed an SSL Wizard that simplifies generating a Private Key and a CSR. The Wizard  automatically installs a signed certificate and configures your BarracudaDrive server to use the new certificate.

The application is a standard LSP application that can be installed in the server. The application includes all tools necessary for generating a Private Key and a CSR.

Download the SSL Wizard and save in the BarracudaDrive application folder:
http://barracudaserver.com/products/FreeLspApps/sslcert.zip

Do not unpack the ZIP file. Follow the LSP application installation instructions:
http://barracudaserver.com/products/FreeLspApps/#install

The SSL certificate industry is a messy business. Some vendors charge prices for certificates that are out of this world. We have found a few vendors, though, that provide certificates as low as $12 a year.

Many cheaper vendors sell chained certificates that piggyback on a trusted root CA certificate. A chained certificate means that instead of being signed directly by a trusted root CA certificate, your server certificate is signed by an otherwise untrusted intermediate CA certificate, and the intermediate certificate is signed by the trusted certificate.  The intermediate certificate contains some special instructions which tell the browser that it can be used as a CA for signing server certificates.

Using a chained certificate means that to connect to your site, browsers have to do two certificate verifications instead of one -- this is less efficient. We suggest that you avoid using chained certificates.

We welcome any suggestions as to how the instructions in our wizard can be improved and if we should give a list of "good certificate authorities".


The SSL certificate industry is a messy business

Not everyone is running an online banking business or selling merchandise online. Sometimes, an SSL certificate is used only to remove the warning in a browser.

For example, a reasonable certificate is needed if you run a home server or if you have a small business and simply want to give your friends/customers secure access to your server without having to tell everyone using your site that your self signed certificate is the cause of the nasty browser warning.

Why are certificates from VeriSign so freakin' expensive?

Why do many of the "cheap" SSL providers not tell you they sell a chained certificate?
Banned - network places URL not valid     Sirs

I am not impressed I am only half way through setting up and I am banned
Network places told me that the URL I copied and pasted was not valid and so were my user name and password
What is going on?

Dr John Studley
      Maybe you should take the time to read the documentation.
http://barracudaserver.com/rtl/WhyBanned.lsp
You get to the same URI on your own BarracudaDrive server if you click the "why am I banned link" on the banned page.

Any HTTP product in Windows, including Web Folders, IE, etc. may keep on trying the incorrect password in the background. Send your complaints to Microsoft.
Forum closed: Use new forum This is the old BarracudaDrive forum, which is closed.

Please use the new forum:
http://barracudaserver.com/forum/

You can also subscribe to the new forum using a RSS reader:
http://barracudaserver.com/forum/rss/