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
[openvms@sanyalnet-cloud-vps2 pdp11]$ ################### | |
[openvms@sanyalnet-cloud-vps2 pdp11]$ # BASED ON THE FABULOUS INSTRUCTIONS AT http://pdp2011.sytse.net/wordpress/install-5/ | |
[openvms@sanyalnet-cloud-vps2 pdp11]$ ################### | |
[openvms@sanyalnet-cloud-vps2 pdp11]$ | |
[openvms@sanyalnet-cloud-vps2 pdp11]$ # --------------------------------- | |
[openvms@sanyalnet-cloud-vps2 pdp11]$ # HERE IS PDP11.INI initialization file for SIMH PDP11 | |
[openvms@sanyalnet-cloud-vps2 pdp11]$ # --------------------------------- | |
[openvms@sanyalnet-cloud-vps2 pdp11]$ cat pdp11.ini | |
set cpu 11/70 | |
set cpu 2m |
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 | |
# -- | |
# adblocker-dnsmasq.sh | |
# Rev 6 | |
# | |
# Complete guide to creating your own ad-blocking, malware blocking and ransomware-blocking internet gateway: | |
# http://supratim-sanyal.blogspot.com/2016/07/add-simple-ad-blocker-with-dnsmasq-to.html | |
# | |
# Assuming dnsmasq is configured so that it reads configuration files from /etc/dnsmasq.d, this |
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 |
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 | |
# | |
# -------------------------------- | |
# 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
#!/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/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
# -- | |
# 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
# -- | |
# 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 |