This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -- | |
# /etc/inet/ntp.conf | |
# This is Supratim Sanyal's NTP Server configuration file for | |
# SunOS solaris11-3.sanyalnet.lan 5.11 11.3 i86pc i386 i86pc | |
# | |
# To test, use "ntpdate -q <this host>" from another host | |
# This server will not respond to peer queries ("ntpdc -q") etc. from | |
# external hosts. | |
# | |
# The stratum 1 servers used by this server are mostly educational and |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -- | |
# This is Supratim Sanyal's NTP Server configuration file | |
# To test, use "ntpdate -q <this host>" from another host | |
# This server will not respond to peer queries ("ntpdc -q") etc. from | |
# external hosts. | |
# | |
# The stratum 1 servers used by this server are mostly educational and | |
# military servers from: | |
# http://support.ntp.org/bin/view/Servers/StratumOneTimeServers?redirectedfrom=Servers.StratumOne | |
# Comment out the stratum 2 servers to make this server stratum 2 with |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# pfSense ntp configuration file | |
# | |
tinker panic 0 | |
# Orphan mode stratum | |
tos orphan 16 | |
# Upstream Servers |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -- | |
# This is Supratim Sanyal's NTP Server configuration file | |
# To test, use "ntpdate -q <this host>" from another host | |
# This server will not respond to peer queries ("ntpdc -q") etc. from | |
# external hosts. | |
# | |
# The stratum 1 servers used by this server are mostly educational and | |
# military servers from: | |
# http://support.ntp.org/bin/view/Servers/StratumOneTimeServers?redirectedfrom=Servers.StratumOne | |
# Comment out the stratum 2 servers to make this server stratum 2 with |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -- | |
# SANYALnet Labs | |
# http://tuklusan.decsystem.org/ | |
# | |
# This is Supratim Sanyal's NTP Server configuration file | |
# To test, use "ntpdate -q <this host>" from another host | |
# This server will not respond to peer queries ("ntpdc -q") etc. from | |
# external hosts. | |
# | |
# The stratum 1 servers used by this server are mostly educational and |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh -x | |
# | |
# --- | |
# zerofree.sh (pfSense) | |
# | |
# Zeroes Out Ununsed Disk Space for subsequent compacting of virtual hard disk | |
# Tested on pfSense 2.3 / FreeBSD 10.3 | |
# To execute: nice -19 ./zerofree.sh | |
# | |
# Supratim Sanyal - supratim at riseup dot net |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -x | |
# | |
# --- | |
# zerofree.sh (Sophos UTM) | |
# | |
# Zeroes Out Ununsed Disk Space for subsequent compacting of virtual hard disk | |
# Tested on Sophos UTM 9 | |
# To execute: nice -n 19 ionice -c3 ./zerofree.sh | |
# | |
# Supratim Sanyal - supratim at riseup dot net |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# -------------------------------- | |
# openvms-telnet-spam-blocklist.sh | |
# -------------------------------- | |
# | |
# READS LINUX (CENTOS) SYSTEM LOG FILE, LOOKING FOR REMOTELY LOGGED OPENVMS VAX INTRUSIONS. | |
# FOR EACH OPENVMS INTRUDER FOUND, LOGS AN EQUIVALENT PAM AUTHENTICATION FAILURE LOG LINE. | |
# FAIL2BAN PICKS UP THE PAM AUTHENTCATION FAILURES AS USUAL AND REPORTS TO BLOCKLIST.DE. | |
# ALSO WRITES AN INFORMATIONAL SUMMARY REPORT OF BRUTE-FORCE ATTACK SOURCES. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ------------ | |
zerofile.c | |
Creates a file zerofile.zero in current directoy. This file is as big as disk space allows. | |
The file zerofile.zero must be deleted after this program exits and before backing up this | |
SIMH VM to a tarball. | |
Hopefully size of tarball is smaller because we wrote zeroes to all the empty space on hard | |
disks. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -x | |
# | |
# --- | |
# zerofill.sh | |
# --- | |
# | |
# Poor man's zerofill to fill up unusued space with zeroes | |
# for better compaction of virtual hard-disk. | |
# | |
# For my simple solaris 11 openindiana installation, this zeroes out empty |