netnix.org
Networking and Unix


TemplateFx v2.35

 April 17th, 2014Apr 17th, 2014      

I am pleased to announce the release of Template v2.35 – a dynamic templating tool that enables you to write configuration templates once and deploy multiple times – never do the same thing twice.

Download links and instructions can be found on the TemplateFx page.

templatefx-screenshot

The changes in this release are summarised below:

  • Added support for template comments (using #) which aren’t seen in the output.
  • Added support for including external files into a template.
  • Changed a behaviour where snippet syntax wasn’t being highlighted unless the snippet existed.
  • Fixed a bug where the “timestamp()” js function wasn’t working – bug introduced in 2.34.
  • Fixed a bug where tabs weren’t being stripped from snippets.
  • Fixed a race condition where the previous pane wasn’t being focused when switching between tabs.
  • Cleaned up the Base64 encoding and decoding functions.
  • Changed the default un-maximised size from 800×600 pixels to 960×640 pixels.
  • Updated the JavaScript “passwd()” function to permit an optional character set.
  • Updated the JavaScript “counter()” function to permit using different increments and a different starting point.
  • Fixed a bug in the JavaScript “insubnet()” function as JavaScript doesn’t handle bitwise operations on 32-bit numbers very well.
  • Added some additional IP helper functions to output subnet information – network(), broadcast(), ipfirst() and iplast().
  • Updated the “timestamp()” function to not rely on a custom Java “jsTimestamp()” function.
  • Fixed a bug where I broke “Undo” and “Redo” when selecting them off the popup menu.
  • An updated version of the User Guide has been included with the distribution.

Feedback welcome as well as suggestions or enhancement requests or general queries!

General TemplateFx


Self-Signed CA with CRL for Java Code Signing

 April 6th, 2014Apr 6th, 2014        1

I am going to start off by saying that since Java 7 Update 51, that using self-signed certificates is pretty much a waste of time for Internet deployments. With Update 51, Oracle has beefed up the security aspects of Java, which now blocks self-signed JAR files from being run via the web – even for applications which only want to run within the restricted “Sandbox”.

There are a couple of ways around this. The first is to reduce your security settings from the recommended (and default) High option to Medium (in the Java Control Panel), which allows self-signed JAR files to be executed after presenting a scary warning message (for the time being anyway). When set to High you don’t even get a choice, it was just blocked. The second is to get your clients to import your self-signed root certificate into their trust store – this approach could work within a closed or corporate environment but won’t on the Internet. The third, and recommended approach, is to sign your JAR file with a code signing certificate which has been signed by a trusted CA, but this will set you back a few pennies.

[…]

General CA Java OpenSSL


TemplateFx v2.34

 March 9th, 2014Mar 9th, 2014      

I am pleased to announce the release of Template v2.34 – a dynamic templating tool that enables you to write configuration templates once and deploy multiple times – never do the same thing twice.

Download links and instructions can be found on the TemplateFx page.

templatefx-screenshot

The changes in this release are summarised below:

  • Various code cleanups to streamline the code and reduce the amount of anonymous inner classes.
  • Simplified the “Optional Criteria” section in the “Generate Output” dialog – no longer requires complicated JavaScript.
  • Adjusted the size of the “+” and “-” buttons for adding and removing snippets.
  • Fixed an issue where the progress bar wasn’t relative to the number of data rows.
  • Changed the highlight colour of IF blocks to highlight that the expression is JavaScript.
  • Fixed a bug which permitted invalid characters to appear within filenames of ZIP files.
  • Updated the style of the About screen to use a consistent font size across platforms.
  • Updated the TemplateFx icon colour as part of the About screen updates.

Feedback welcome as well as suggestions or enhancement requests or general queries!

General TemplateFx


TemplateFx v2.33

 February 11th, 2014Feb 11th, 2014      

I am pleased to announce the release of Template v2.33 – a dynamic templating tool that enables you to write configuration templates once and deploy multiple times – never do the same thing twice.

Download links and instructions can be found on the TemplateFx page.

templatefx-screenshot

The changes in this release are summarised below:

  • Added support for snippets which allow you to re-use template components multiple times.
  • Allowed comments to start with either a ! or # character.
  • Added a hyperlink to the about box to make the email link clickable.
  • Updated syntax highlighting colour of FOREACH blocks.
  • For templates without data, the data pane can be empty if no template fields are referenced.
  • Added support for intelligent selection of content on double click – it now selects up to whitespace.
  • Provided a workaround for a JRE 8 bug that was discovered during testing on a preview build.
  • Various cosmetic cleanups around background colours to identify editable areas.

PLEASE NOTE: As Snippets are saved within the DataTemplate, previous versions of TemplateFx are unable to load DataTemplates created with versions that support Snippets.

Feedback welcome as well as suggestions or enhancement requests or general queries!

General TemplateFx


Cisco Context-Aware Diff

 November 18th, 2013Nov 18th, 2013      

How many times have you tried to run a standard diff against two configuration files, only to be presented with a load of differences without any context at all? Configuration files tend to be hierarchical and usually use indentation to denote sections. To demonstrate what I mean, lets use a simple example where I have two interfaces on a Cisco router.

[…]

General Cisco


1 - 3 4 5 6 7