Skip to content

Instantly share code, notes, and snippets.

View tuklusan's full-sized avatar
💭
trading heroes for ghosts.

Supratim Sanyal tuklusan

💭
trading heroes for ghosts.
View GitHub Profile
# --
# 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
@tuklusan
tuklusan / ntp.conf
Last active May 28, 2017 23:49
Solaris 11 SunOS 5.11 OpenIndiana NTP Configuration File - read more at http://supratim-sanyal.blogspot.com/2017/03/free-public-stratum-2-and-stratum-3-ntp.html
# --
# /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
@tuklusan
tuklusan / SYS$SPECIFIC:[TCPIP$NTP]TCPIP$NTP.CONF
Last active May 2, 2019 00:50
DEC Digital OpenVMS 7.3 VAX TCPIP NTP Configuration File SYS$SPECIFIC:[TCPIP$NTP]TCPIP$NTP.CONF - read more at http://supratim-sanyal.blogspot.com/2017/03/free-public-stratum-2-and-stratum-3-ntp.html
# Copyright 2000 Compaq Computer Corporation
# Example NTP Configuration File
# Rename this template to TCPIP$NTP.CONF.
# See the Compaq TCP/IP Services for OpenVMS Management manual for
# additional commands and detailed instructions on using this
# configuration file.
@tuklusan
tuklusan / pfblockerng-reload-log
Last active February 3, 2023 02:14
The Ultimate List of pfSense pfBlockerNG IP Blocklist and DNSBL Feeds: See http://supratim-sanyal.blogspot.com/2017/04/pfsense-pfblockerng-ultimate-list-of-ip.html
UPDATE PROCESS START [ 05/04/17 23:26:31 ]
===[ DNSBL Process ]================================================
[ EasyList_wo_Elements ] Reload [ 05/04/17 23:26:32 ] . completed ..
----------------------------------------------------------------------
Orig. Unique # Dups # White # Alexa Final
----------------------------------------------------------------------
7964 7577 0 0 0 7577
----------------------------------------------------------------------
@tuklusan
tuklusan / nxlog.conf
Last active May 19, 2021 16:27
Send Windows System and Event Logs to Remote Unix-Style Linux Syslog / Rsyslog Server Secure Tunnel: See http://supratim-sanyal.blogspot.com/2017/05/forward-windows-10-system-and-event.html
# ---
# Forward Windows 10 System and Event Logs Securely over stunnel to Remote Centralized Unix Syslog Rsyslog Server on Linux
# More information: http://supratim-sanyal.blogspot.com/2017/05/forward-windows-10-system-and-event.html
#
# This file resides in C:\Program Files (x86)\nxlog\conf\ on 64-bit Windows systems, and
# C:\Program Files\nxlog\conf\ on 32-bit Windows systems.
# ---
## Please set the ROOT to your nxlog installation directory
# 32-bit Windows: uncomment the following line
@tuklusan
tuklusan / httpd.conf (Solaris 11.3 Apache 2.2.31)
Created June 1, 2017 02:07
Secure Apache HTTPD Web Server Configuration for Oracle Solaris 11 / SunOS 5.11 - See http://supratim-sanyal.blogspot.com/2017/05/fun-with-oracle-solaris-113-sunos-511.html
# -----
# /etc/apache2/2.2/httpd.conf
# SANYALnet Solaris 11.3 SunOS 5.11 Apache 2.2 http server config
# Hardened per https://geekflare.com/apache-web-server-hardening-security
#
# From "Fun with Oracle Solaris 11.3 SunOS 5.11 on 64-bit Intel x86 - SNMP, NTP, FTP, Web, SMB Servers and more with NTFS support"
# http://supratim-sanyal.blogspot.com/2017/05/fun-with-oracle-solaris-113-sunos-511.html
#
# Supratim Sanyal, May 31, 2017; supratim at riseup dot net
# -----
@tuklusan
tuklusan / sshd_config (Solaris 11.3)
Created June 1, 2017 02:16
Hardened SSH Server SSHD Configuration File sshd_config for Oracle Solaris 11 / SunOS 5.11: See http://supratim-sanyal.blogspot.com/2017/05/fun-with-oracle-solaris-113-sunos-511.html
# --
# /etc/ssh/sshd_config
# SunOS solaris11-3.sanyalnet.lan 5.11 11.3 i86pc i386 i86pc
# To activate this file, restart and check the ssh daemon using
# # svcadm refresh ssh
# # svcadm restart ssh
# # svcs -xv ssh
#
# Fun with Oracle Solaris 11.3 SunOS 5.11 on 64-bit Intel x86 - SNMP, NTP, FTP, Web, SMB Servers and more with NTFS support:
# http://supratim-sanyal.blogspot.com/2017/05/fun-with-oracle-solaris-113-sunos-511.html
@tuklusan
tuklusan / ntfs-3g-solaris-11-build-install-log
Created June 9, 2017 14:01
Build and Install ntfs-3g on Oracle Solaris 11 (Solaris 11.3 SunOS 5.11) for read-write mounting Windows NTFS volumes on Solaris with fusefs: See http://supratim-sanyal.blogspot.com/2017/06/fun-with-oracle-solaris-113-sunos-511.html
root@solaris11-3:~# cd /usr/src/SFEntfs-3g-2016.2.22AR.2/SOURCES/
root@solaris11-3:/usr/src/SFEntfs-3g-2016.2.22AR.2/SOURCES# ls -l
total 2567
-r--r--r-- 1 root bin 135 Jun 9 01:49 default-copyright.txt
-r--r--r-- 1 root bin 1271714 Jun 9 01:49 ntfs-3g_ntfsprogs-2016.2.22AR.2.tgz
root@solaris11-3:/usr/src/SFEntfs-3g-2016.2.22AR.2/SOURCES# tar xvzf ntfs-3g_ntfsprogs-2016.2.22AR.2.tgz
x ntfs-3g_ntfsprogs-2016.2.22AR.2, 0 bytes, 0 tape blocks
x ntfs-3g_ntfsprogs-2016.2.22AR.2/aclocal.m4, 56250 bytes, 110 tape blocks
x ntfs-3g_ntfsprogs-2016.2.22AR.2/AUTHORS, 327 bytes, 1 tape blocks
x ntfs-3g_ntfsprogs-2016.2.22AR.2/autogen.sh, 866 bytes, 2 tape blocks
@tuklusan
tuklusan / iptables-sanyalnet-cloud-vps2
Last active August 16, 2017 21:58
iptables | The /etc/sysconfig/iptables on sanyalnet-cloud-vps2 CentOS 7 VPS: Network Exploit Protection from syn flood, nul, christmas and fragmented packets; Rate limited DDOS flood protection for ssh, telnet, smtp, dns, http, pop3, ntp, IMAP, https, smtps, starttls, imap-ssl/tls, pop-ssl/tls, dovecot, sieve, managesieve, DECnet bridge (HECnet)…
#------------------------------------------
# /etc/sysconfig/iptables
# CentOS 7
# Supratim Sanyal, supratim at riseup dot net, https://supratim-sanyal.blogspot.com
# fail2ban and ip blocklist script adds entries after boot, extending this default filter rules
#------------------------------------------
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
@tuklusan
tuklusan / DECnet-Linux_FEDACH_etc_dnetd.conf
Last active September 29, 2017 14:27
DECnet-Linux FEDACH /etc/dnetd.conf configration file: See Detailed DECnet-Linux How-to at https://supratim-sanyal.blogspot.com/2017/09/the-decnet-linux-experience-it-works.html
# /etc/dnetd.conf
#
# Define DECnet objects
#
# Fields
# name: object name (or * for any named object, number must be 0)
# number: object number (or 0 for a named object)
# options: auth[,auto accept]:
# auth: Whether to authenticate users: Y or N
# auto accept: Should we accept incoming connections