Notes:
Changes: 1.0.1 - (2005-03-31 23.25) - Fixed a problem where we'd get extra newlines in the middle of a response when issuing a "slashed" command. (one that would return a -[bnc/modified] ending) - Added a -[bnc] ending to the TYPE command when executed on the bnc and not on the slave - Changed alot of code regarding when a slave disconnects while the user is still in the slave dir. - Added the ability to use cubnc beind a NAT via the pasv_address setting in bnc.xml (EXPERIMENTAL, tell me how it works) - Changed a big thing were you can nw prefix your PASSWORD with "-" to skip the welcome.msg (thought it was username before, that's fixed now tho) 1.0 final - (2005-03-15 10:47) 1.0rc4 - (2005-03-05 04:32) - Fixed a problem where when a cached slave timed out and a command was send to it, it returnd whatever was in the commandResponseBuffer since the last command - Fixed the 553 disconnect error when using proxy_data = true aswell. - Fixed all (as many as I could find) false slave disconection errors - Added a "site slavestatus password" command, to check the availability of the slaves. - Fixed a slave connection cache bug where the instance count for a connection was off-by-one, so connections never got properly cleaned. 1.0rc3 - (2005-02-25 04:21) Fixed a possible connection-hang bug, but I doubt this made any difference, just some nicer code. Fixed the templates so that the ssl_mode settings now exist, they dissapeared from *-bnc.xml, sorry Removed this error, and added a reconnect feature instead! "500 the slave has been disconnected, please leave this dir and try again" Fixed a problem where when the last authentication host took over, and the username/password failed, nothing happened Fixed "site kill" cuBnc doesn't just terminate anymore if both auth-hosts are down (returns a 421 instead) Added a dirscript problem event to the FAQ Moved the FAQ to FAQ.txt 1.0rc2 - (2005-02-05 06:03) Added a active count increase when checking out a slave for the first time If a slavename specified in authentication.hosts doesn't exist, we now get an error to the log instead of crashing. Fixed a problem where if you issues a relayed site command to a slave, and used prot p (encrypted file listings), then the listings after the command wouldn't show up at all. Added some NullPointerException protection to various classes Moved encryption properties to the client connection rather than the command handler We now exit the program at any point where log output echoed is of type FATAL (unrecoverable error) Added width formatting to site who (by popular demand) 1.0rc1 - (2005-02-02 02:19) Fixed xdupe emulation (forgot to add it last time, even though it was written) READ THE FAQ ABOUT THE NEW CUSTOM COMMANDS! Changed Invite.java to RelayTest.java, so as to keep confusion from spreading and mallfunction to occur. Inverted the changelog order, by popular demand. Fixed a problem with roundrobin slave hosts Changed compile.sh, it was giving some people problems Added forceClear() to the slave cache for when a user terminates the connection. Now the cache behaves properly when termination connecitons in "/" Fixed logging in with a combination of "-" and "!" prefixed to the username. Fixed some caching and connection problems Changed it so that "site xdupe 3" doesn't get send it the login fails Changed it so that we disconnect the socket if the login fails (forgot to do this when we introduced the cache) Fixed some slave control issues Increased the default timeout value for non-timed execution on the slaves (fixing the DELE problem some people were having) RMD from / also works now. (no idea when it will be used, but hey...) 0.8.1.1 - (2005-01-28 07:25) Fixed a problem where you don't have the site_commands section in bnc.xml, for people who forget when upgrading. now it doesn't die. Fixed a problem where scripted site commands got added with their slavename instead of the command name. Fixed a problem where .toURI() didn't exist in 1.4.2, so we're changed to another way. still works tho. Made the site commands all case insensitive Fixed a problem where single site commands, like "site aldn" didn't work because of an added space at the end. 0.8.0 - (2005-01-27 08:50) Fixed the changelog for 0.8.0, it said show_greeting, but it should say show_version Added emulated response to "site xdupe n" Added FAQ entry about central irc announce Added a connection caching system for slave connections. We now relay even the error messages from the verification_host for various failed logins. Change the 220 welcome message to only contain the greeting setting and not the name. Fixed the ever troubling "mkdir from root" problem. not we support creating slave dirs deep into the structure while still in the bnc root. Made ssl optional, based on a setting in bnc.xml (renamed master.ssl to master.ssl_mode, check the updated bnc.xml templates for the possible values. Tidied up the active mode code a bit Added the ability to password-protect the "site who" command. Put the slave xml elements in a HashMap for faster access. Added redundancy in the authentication hosts. Introduced the notions of unique connection ids. Fixed a problem where people with 1-char usernames couldn't log in Added the possibility to add "scripted" site commands, that only require specification in bnc.xml, not compiled classes. However, the ability to use compiled classes still exist, if you want to do more advanced stuff. Removed some superflous debug output. Completely new way of specifying authentication hosts. check the new template -bnc.xml files for info. Added an FAQ entry about the new "scripted" site commands. Added some javadocs. 0.8.1 - Changed the IDNT command timeout to 5 seconds. Fixed the "recursive compile" problem. Added idle-timout for slave connections. Fixed a freeze-problem for slave disconnections Fixed it so that slaves actually disconnect after having relayed a custom site command. An oversight in Fixed a problem where bad things happened if you had a space in your directory name for cubnc. 0.8.0 - (2005-01-11 10:07) Added the posibility to specify if you want to display the version upon conneciton or not. show_version (not greeting, sorry) must be added to your bnc.xml if you're upgrading from an older version. Fixed pftp+stealth mode listing. Added the ability to have entry bouncers in front of cubnc. see the pre_bouncer_ip setting in bnc.xml Added info in CustomSiteCommands.README.txt about accessing slave information. Added a default "site xdupe 3" line being send after login to the slave. Implemented active mode ftp (PORT) Added some code to hopefully fix freak freezes that some people are having (this is an ongoing struggle) Added the ability to skip welcome.msg be prefixing the username with '-'. this works together with '!' to kill ghosts Improved the look of the uptime command. IMPORTANT: I moved the virtual_dirs section of bnc.xml to outside the <master> block, so if you're upgrading from 0.7.9 or earlier, you need to move this. Complete overhaul of the site command system. The custom SiteCommandHandler is not needed. (much nicer now) Added a guide to adding custom site commands to the new system. Implemented the NOOP command 0.7.9 - (2004-12-21 09:31) Added a "site version" command. Added code to make sure even outbound connections to the slaves are bound to the specified ip/hostname. Fixed the "Failed to get PBSZ reply" error with winsslwrap, due to an added linefeed in the welcome.msg. Fixed a socket timeout problem that caused tls-wrap to die horribly when disconnecting from a site. Fixed a text relay bug that caused pftp to crash if you set show_welcome_message to true on a slave. Fixed a possible bug where you had multiple linefeeds at the end of a message. Added parameter checking on site commands that need them. First sighting of a CustomSiteCommandHandler class, very nice =) Added a FAQ entry about the stronger crypto (256bit compared to 168bit) 0.7.8 - (2004-12-05 11:07) Fixed a bug when running in PROT C -mode and proxy_data was true and transfers didn't work. they do now. Added the ability to bind to a certain address on startup Changed some code for closing sockets. Apparently he jvm/os-combo didn't throw the proper exception on failing, so it just hung waiting for a response. 0.7.7 - (2004-11-21 14:58) Fixed the naming of the timer thread to allow 1.4.2 to compile the source. now it'll just look ugly. Added exception handling for when we fail to create an ssl socket. Added the possibility to use the same crypto keys on the servers aswell as the bnc, so that encrypted data transfers and dir listings are now possible WITHOUT proxying a single bit over the bnc! Added a guide showing how to use the same keypair on both server and bnc: ProxyData.README.txt I removed the default keystore, so now you HAVE to create your own. Changed the default STDOUT loglevel. If you are updating from 0.7.6 or earlier, you have to add the proxy_data variable to the master section of bnc.xml. Check the template xml files for how to do this. 0.7.6 - (2004-11-08 09:18) Verified that even if we set file.encoding programatically, you still need the flag on the command line. (on linux) Changed the loglevel on alot of the errors. info is now genuine info, and errors are errors. Changed the default welcome.msg or the wonderful cubnc.nfo asciifile instead. We seem to have gotten rid of the problem where it stops responding after a while. Whether this is due to changes in the code (not likely) or the reboot of the host (more likely) remains unknown. NEEDED: more beta testers! 0.7.5 - (2004-11-03 11:38) Actually added in 0.7.4.1: round robin hosts for the slaves. you can add multiple hosts for the slaves, and it will connect to them in a round robin fashion. note that it will NOT retry another host when one connection is refused. Fixed an assignment error that displayed peoples passwords in "site who" if you did it at just the right time. I FINALLY got the unlimited strengh policy files for crypto working, so now we're at full force baby! However, because of export restrictions, I can't include them in this distribution. Atleast not until I've spoken to my lawyer and the good people at sourceforge. If you want to download them from sun, they are at: http://java.sun.com/products/jce/index-14.html#UnlimitedDownload (Be sure to put them in the correct jre/lib/security dir (I just put them in all my lib/security dirs), or they won't be found) Fixed a problem with STOR fails with a 533 or equivalent, and the bnc just keeps waiting for new data that doesn't come. Fixed a conditional in the PassiveServerSocketFactory, when you specify a low_port and a high_port, you never got a port number to use. Changed the IdleAndGhostChecker into a TimerTask instead, to be scheduled by a Timer. Hopefully, this makes sure it doesn't die unexpectedly on us all the time. We now catch the ConcurrentModificationException, just to prevent the idlechecker from dying. this will be changed in the future when we find the real cause of the problem. Added some funky output to debug. Changed some responce code conditionals to actually work. Some updated for speed. 0.7.4.1 - (2004-10-27 05:28) Fixed the DataProxy for the list data. It now reads and outputs lines, which makes it totally unfit to proxy ANYTHING but list data. my plan for a DataProxy that did both raw data and list data will have to be scrapped, due to some unexplainable errors. Listings shouldn't loose vital data now. 0.7.4 - (2004-10-23 11:21) Upgraded code to handle socket timeouts on the control connection better. (was actually quite broken until recently) Some changes to synchronization, behaviour is very irratic (dead clients don't get killed and such) Removed an previously unseen race-condition, idlechecking should work now. Added command timeout fixes and a display in "site who" Added a port range (low_port and high_port) to bnc.xml for passive connections. Reverted back to 1.4.2 compatibility. I accidentaly snuck some 1.5.0-only features in the code, but they are removed now. (but please run 1.5.0 if you can anyway, since it's faster) Introduced a DataProxy for the listings, and later also the traffic bouncer support. (having a data bouncer kind of defeats the purpose of this software, so I don't know if I'll do it or not) 0.7.3 - (2004-10-14 13:43) synchronize()d some stuff in hope of escaping a couple of irratic ConcurrencyModificationExceptions. Made sure the getLastCommandIssued returned TLS commands awell Fixed the borked ASCII announce. (requires -Dfile.encoding=ISO-8859-1 on the command line after java 1.3.1) No need to set the file.encoding via command line anymore, setting it programatically now. Updated to a more complete javadoc. 0.7.2-vfs - Fixed some problems in STOR, RETR, MKD, RMD (we still don't support flashfxp dir-queue transfer from an unconnected state, since they do it so awefully ugly. shame on you) 0.7.0-vfs - Fixed an ident problem where someone connecting without a working ident got the ident of the last person logged in. - This shouldn't be a problem tho, since people loggingin in without ident have *@ip in their hostmasks. Changed Ident from being a static class to a normal class, to overcome some residual data problems Changed slave.connected() to not only check the loggedIn status, but also if the control socket is open or not. Implemented a virtual filesystem. See INSTALL.txt for this. (This took the better part of 4-5 days) ^- Thanks coven and "nobody" for answering my questions about their ideas, and getting their input on the config file - question that took me about 2 days to solve. Removed the entire display-cookie system "site who" now returns what the user is doing, like RETR myfile or whatever. "site shutdown" might be broken, more on this later. Added: kill you bnc ghosts by logging in with !username Added code to manage proper failures to complete ssl handshake. (should not hang on LIST -la anymore) Fixed misc bugs that were present before the vfs, that now seems to be gone (but I'll need feedback on this) Added sample configuration files. one modeled after the deep dirstructure of ftp.sunet.se, and one modeled after the relatively shallow dir structure of ftp.openbsd.org/pub 0.6.7 - Fixed the Ident timeout problem, so now it works behind the uu.se firewall of doom. - OLD: java 1.1 read timeouts via .setSoTimeout() - NEW: java 1.4 connection timeouts via socket.connect(..,..) Added code to catch MKD and modified RMD catcher code Did extensive multiuser testing. Racked up a busload of stuff for the TODO-list =) System does not need a recompile on solaris! Cleaned up some exceptions, made sure fewer stacktraces were shown Added some stability cruft. This will be rewritten later. Redid "site shutdown" Made sure that no stacktraces are printed, but that there are nice error messages instead. Fixed the reading of multiline responses to work when they aren't prefixed with a constant stream of "230-". Added support for "stat -l". Added support for running different ssl-states on control and data connection. i.e. supporting PROT C for the dirlisting. Added code telling the user he/she can't transfer real data in PROT P mode. 0.6.6 - Changed client.print() to client.respond() - This now does out.print(message + "\r\n"); instead of out.println(message); - This turned out to be CRUCIAL to getting it to work on most unicies. Changed slave routines to use a tellSlave() method that's analog to the one above. Changed cuBnc.bat and .sh to include the "classes" dir in classpath. - i.e. no more moving your bnc.xml and such into classes, keep all config in the maindir Rewrote INSTALL.txt to reflect the above change. Found out that the entire system MIGHT need a recompile to run threads on Solaris. Got it to work on Solaris (sun jvm) and gentoo linux (blackdown+sun jvm) Added AUTH SSL to suported authentication modes (same execution path as AUTH TLS tho) Added command "site users" to show users loggen into the bnc (and what slave they're on and in what dir.) Updated INSTALL.txt to reflect the fact that whatever the command "hostname" returns MUST be resolvable to the REAL ip of the computer. 0.6.5 - (2004-09-28 15:00) (first sourceforge.net release) Added command "site shutdown password" Added master.password field in bnc.xml Added class DisplayPatternParser to parse display cookies for nade names in "/" listing. - Check INSTALL.txt on the format for the cookies Changed Authenticator from interface to abstract class. Modified FTPClientConenction and BNC to handle the "site shutdown" command Added this ChangeLog Registered on sourceforge.net, we can now also be reaced via http://cubnc.sourceforge.net Modified compile.sh and cuBnc.sh to work in a Unix environment Added Solaris as verified test platform under JDK 1.4.2_05 Depleted TODO-list from .java files. Added package cubnc; notation to the classes. 0.6.1.5B - Added the classes dir to the distribution 0.6.1B - Minor Bugfixes Cleanup of bnc.xml Cleanup of static information in some classes 0.6B - Initial Public Release
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use