Here are a list of useful OpenSSL commands which might be useful to use in a Bash script:
Determine who issued the certificate:
$ echo | openssl s_client -connect server.com:443 2>/dev/null | openssl x509 -noout -issuer
issuer= /C=US/O=Company Inc/CN=www.server.com Read more…
This script is a simple, interactive way to backup and date-stamp your juniper Netscreen ISG/SSG (ScreenOS) firewall configurations. The script copies the configurations from the firewall using scp. Configurations older than one day ( -mtime +1) are archived off to a bz2 compressed file. Archives older than 60 days ( -mtime +60 ) are removed from the disk.
The usage is: nsb.sh [ip address / hostname of Netscreen]. (VIEW SCRIPT)
Read more…
An aide-memoir:
ScreenOS-> undebug all
ScreenOS-> clear db Read more…
System Shut Down
shutdown -h now (Displays the file hello.txt)
shutdown -h +15 (Displays the file hello.txt)
shutdown -r now (Shut Down > Restart now)
shutdown -r +15 (Shut Down > Restart in 15 minutes)
IP Configuration (Edit the ifcfg-eth0 file):
cat /etc/sysconfig/network-scripts/ifcfg-eth0 View the configuration file for eth0
vi /etc/sysconfig/network-scripts/ifcfg-eth0 Edit and Save the configuration file for eth0 Read more…
A video from The Linux Foundation, commemorating 20 Years of the Linux Operating System: Read more…
This is a link to a brief description of what happens in a Linux system, from the time that you turn on the power, to the time that you log in and get a bash prompt. Understanding this will be helpful when you need to solve problems or configure your system.
http://www.tldp.org/HOWTO/From-PowerUp-To-Bash-Prompt-HOWTO.html
Greg O’Keefe, gcokeefe@postoffice.utas.edu.au
The Open Source Xen hypervisor runs directly on the hardware and becomes the interface for all hardware requests such as CPU, I/O, and disk for the guest operating systems. By separating the guests from the hardware, the Xen hypervisor is able to run multiple operating systems securely and independently. Read more…
ngrep is a “network grep” utility that can be used to match regular expressions within network packet payloads. This is a very handy utility as many network analysers (“packet sniffers”) can examine the packet header, but either do not display or cannot filter based on packet payload. Read more…
A simple point-and-click utility enabling you to automagically download and install a choice of Linux distributions. Install Linux on USB partitions as small as 128Mb.
Read more…