Blog

/Blog/

iCal Calendar – PHP Code Library

Due to a new feature development for the Joomla Extension Easy GCalendar we have created the iCal PHP Library. The Code is distributed under the MIT license and work also stand alone.   Installation The Codeninja iCal library is available via GitHub download only. Download Introduction This library offers a abstraction layer for creating iCal Calendars and .ics files. The output will be generated according RFC 5545. The following types are currently supported and could be used in combination: VCALENDAR VEVENT Basic Usage Create a Calendar object $calendar = new \Codeninja\iCal\Calendar('www.example-site.com'); Create a new Event object $myEvent = new \Codeninja\iCal\Event(); Add required and optional information to the Event object $myEvent->setDtStart(new \DateTime()); $myEvent->setDtEnd(new \DateTime()); $myEvent->setisAllDay(true); $myEvent->setSummary('Summary: Lorem Ipsum'); $myEvent->setDescription('Lorem Ipsum is simply dummy text of the printing industry.'); Add event to calendar object $calendar->addEvent($myEvent); Generate & display output $content = $calendar->render(); echo $content; And that's it, have fun!

By | 2017-07-22T16:24:02+00:00 May 6th, 2017|PHP, Programming|0 Comments

SNMP (v3) Monitoring with Debian & Ubuntu

With Version 3 of the SNMP Protocol Security comes to SNMP which makes a lot of things smarter but also a bit more complicate to configure. That is why I would like to give a small introduction How-To setup SNMP v3 within this blog article for all Debian and Ubuntu Linux Environments. Installing SNMP (daemon and agent) First at all we need to installing SNMP (daemon and agent) packages on the server: apt-get install snmp snmpd After the successful installation we could start to define SNMPv3 users, authentication and encryption parameters. The following NEW security levels could be used with SNMPv3: noAuthNoPriv – No authorisation and no encryption authNoPriv – Authorisation is required but collected data sent over the network is not encrypted. authPriv – Authorisation required and everything sent over the network is encrypted. Let’s start with the configuration: Open the file /etc/snmp/snmpd.conf with an editor of your choice.  Be [...]

By | 2016-10-29T13:48:58+00:00 September 24th, 2016|Debian, Linux|Comments Off on SNMP (v3) Monitoring with Debian & Ubuntu

Setup Hyper-V 2012 Replica with Certificate Based Authentication

Pre requirements MakeCert is a MS certificate creation tool which generates self-singed certificates for testing purpose. We will need the makecert.exe to generate our self-singed certificates. (More Information’s could be found here https://msdn.microsoft.com/library/windows/desktop/aa386968.aspx) Test Environment Our Test environment has two servers without a domain that mean we will use a basic Workgroup setup for this HowTo (if the two servers will be part of the domain a replica with SSL setup you could leave out Step 5). Our setup looks like the following: Hyper-V Host 1 [VMH01] (Primary) Hyper-V Host 2 [VMH02] (Secondary) 1. Creation of the root certificate In the first step we will create a root certificate that both servers can use. Run the following command on our primary Host VMH01 to create a self-signed root certificate. makecert -pe -n "cn=TestHyperVRootCA" -ss root -sr localmachine -sky signature -r "TestHyperVRootCA.cer" The command will install in the certificate into the [...]

By | 2016-07-23T14:50:24+00:00 July 23rd, 2016|Allgemein, Hyper-V, Virtualization|Comments Off on Setup Hyper-V 2012 Replica with Certificate Based Authentication

Finding spam sending PHP scripts on a linux server

Sometimes there are users on a server that may have installed old PHP scripts with known security gaps this can cause that this PHP scripts will spam senders. Finding these PHP scripts could be very difficult. With the release of of PHP 5.3 they have added new functionality to make it easier to handel the tracking of spammers or exploited web forms. The new functions are affected by settings in the server php.ini, you should have a more detailed look on the offical documentation (http://php.net/manual/en/mail.configuration.php). If we open the server php.ini file we should find the following 3 settings: mail.add_x_header (Add X-PHP-Originating-Script that will include UID of the script followed by the filename.) mail.log (The path to a log file that will log all mail() calls. Log entries include the full path of the script, line number, To address and headers.) mail.force_extra_parameters (Force the addition of the specified parameters to be passed as extra parameters [...]

By | 2016-10-29T13:50:15+00:00 May 24th, 2016|Allgemein, Debian, Linux|Comments Off on Finding spam sending PHP scripts on a linux server

Unidentified networks in Windows Server 2012 forced to be Private

This article describes how we can force a network connection from Microsoft Windows "Network and Sharing Center" that is classified as an “Unidentified Network” to a private network e.g. to solve issues with the firewall rules. The problem is that Windows cannot classify the type of network, often due to there being no default gateway or DNS specified on local network connections. The default solution would be to make it public cause this offers the most restrictive level of network access. In order to have a permanent solution which will work for any “Unidentified Network” to be classified as private network rather than public network, we need to modify the defaults using the local security policy of the machine. Please notice that this may results in a possible security risk. The following solution works for Windows 7, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012 and Windows Server [...]

By | 2016-10-22T11:39:41+00:00 May 24th, 2016|Allgemein, Windows Server|Comments Off on Unidentified networks in Windows Server 2012 forced to be Private

Add Server to Windows 2012 Server Manager within a Workgroup

With Windows Server 2012 you can manage multiple remote servers by using Server Manager. Servers that you may want to manage with the Server Manager can run with Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 R2 and Windows Server 2008. In this article we have a Workgroup (non-domain) environment to which we want to add multiple server via the Server Manager. First of all we look at the current TrustedHosts list to become an overview of all listed machines. Get-Item WSMan:\localhost\Client\TrustedHosts Ensure that the Windows Firewall has inbound Windows Remote Management (HTTP-In) enabled for the relevant network connection. On the Server that is running Server Manager, add the Workgroup server name to the TrustedHosts list (this is a requirement of NTLM authentication). To add  additional entries to the list of trusted hosts use the -Concatenate parameter. Set-Item WSMan:\localhost\Client\TrustedHosts -Value "SERVER1,SERVER1.local" –Force Now we can Start the Server Manager and click on [...]

By | 2016-10-22T11:39:41+00:00 May 23rd, 2016|Allgemein, Windows Server|Comments Off on Add Server to Windows 2012 Server Manager within a Workgroup

Change the Network Category in Windows Server 2012 with PowerShell

This article describes how we can change the network category from “Public network” to “Private network” with the Windows PowerShell. First let us get a list of all available network profiles on your system. Get-NetConnectionProfile Now let us change the network category to Private, (use the InterfaceIndex number from the selected network profile within the Set command). Set-NetConnectionProfile -InterfaceIndex 17 -NetworkCategory Private  

By | 2016-10-22T11:39:41+00:00 May 23rd, 2016|Allgemein, PowerShell, Windows Server|Comments Off on Change the Network Category in Windows Server 2012 with PowerShell

Easy GCalendar PRO – Is Now On Sale

I am pleased to finally announce the start of the public sale of Easy Calendar PRO today. Without the need to fill any Contact Sales Forms except you'll need to request a custom offer! Please go to Easy GCalendar and use the "Buy Now!" button to place your order via our sales partner (http://www.mycommerce.com/de/).

By | 2016-10-22T11:50:39+00:00 March 19th, 2016|Allgemein, Joomla, Joomla 3.0|Comments Off on Easy GCalendar PRO – Is Now On Sale

Easy GCalendar Lite & PRO v1.0.2 has been released

I'm glad to pronounce the new release of Easy Calendar today. Furthermore we have found a solution for the customers that are interested in to buy the PRO version of this extension. Please go to Easy GCalendar and use the "Contact Sales" button to request an individual offer! Easy GCalendar Version: 1.0.2 (Date: 04.02.2016) *BUGFIX* Fixed small issues with an term translation. *NEW* Added fr-FR language package

By | 2016-10-22T11:39:41+00:00 February 5th, 2016|Allgemein, Joomla, Joomla 3.0|Comments Off on Easy GCalendar Lite & PRO v1.0.2 has been released

Easy Image Rotator v2.0.3 has been released

Easy Image Rotator v2.0.3 has been released for Joomla 2.5 and Joomla 3.x see below the release notes Release notes v2.0.3: *imp* enhanced css and js includes *bug* fixed W3C validator issues You can get the latest version there Downloads

By | 2016-10-22T11:39:41+00:00 September 27th, 2014|Allgemein, Joomla, Joomla 2.5, Joomla 3.0|Comments Off on Easy Image Rotator v2.0.3 has been released
Load More Posts