Record authenticated host firewall and effective SSH audit
myfileagent-python-ci/pipeline/head This commit looks good
myfileagent-python-ci/pipeline/head This commit looks good
This commit is contained in:
@@ -266,7 +266,7 @@ Earlier team evidence recorded a DigitalOcean Cloud Firewall permitting
|
||||
22/80/443, UFW inactive and IPv6 disabled. Those historical observations are
|
||||
not relabeled as a new post-upgrade firewall audit. A current authenticated
|
||||
DigitalOcean inspection now confirms the cloud firewall and attachment;
|
||||
privileged host firewall rules remain a separate pending check. The earlier Gitea foundation chapter records an
|
||||
the privileged host audit was subsequently completed on November 20. The earlier Gitea foundation chapter records an
|
||||
instructor-cleared exception allowing key-only SSH from changing source
|
||||
addresses. The team explicitly carries that policy forward; no SSH source-IP
|
||||
restriction was requested or applied in this assignment. Verify the actual
|
||||
@@ -274,9 +274,23 @@ key-only controls and retain that exception rather than claiming IP filtering.
|
||||
The final
|
||||
observation found no support AAAA answer and no global IPv6 interface address;
|
||||
listeners on \texttt{[::]} alone do not establish public IPv6 access.
|
||||
A current read-only UFW status attempt was blocked because sudo requires a
|
||||
password; the failure is retained in \path{chapter7-final-audit.json} and is
|
||||
not presented as proof that UFW is enabled or disabled.
|
||||
The original unprivileged UFW attempt failed because sudo required a password;
|
||||
that historical failure remains in \path{chapter7-final-audit.json}.
|
||||
The team then authenticated the read-only audit through SSH. Its raw output is
|
||||
\path{support/evidence/host-security-audit.txt}, captured November 20 at
|
||||
20:33:14 EST (November 21, 01:33:14 UTC). UFW is inactive. IPv4 INPUT and
|
||||
OUTPUT policies are ACCEPT, FORWARD is DROP, with Docker-managed bridge
|
||||
and forwarding chains. IPv6 base policies are ACCEPT. Therefore the host
|
||||
firewall is not an independent inbound port allowlist; the attached cloud
|
||||
firewall supplies that restriction. Docker ACCEPT entries for private
|
||||
container ports do not alone prove public exposure; published bindings and
|
||||
external checks are recorded separately below.
|
||||
Effective \texttt{sshd -T} output reports
|
||||
\texttt{pubkeyauthentication yes}, \texttt{passwordauthentication no},
|
||||
\texttt{kbdinteractiveauthentication no}, and
|
||||
\texttt{permitemptypasswords no}. Root login is
|
||||
\texttt{without-password} (keys permitted), not disabled. No rules or SSH
|
||||
settings were changed during this audit.
|
||||
The renewed external checks are in
|
||||
\path{support/evidence/firewall-exposure-recheck.json}: HTTPS returned 200,
|
||||
all five internal TCP ports timed out from the external workstation, none of
|
||||
@@ -593,7 +607,7 @@ state; the internal TA note is excluded from the conversation.}
|
||||
Deployment / continuity & Revision, images, manifest, architecture, final HTTPS observations & All six HTTPS checks returned 200\\
|
||||
Capacity and versions & Initial observations, user-confirmed Basic 1 vCPU/2 GB/50 GB at \$12/month, explicit limits & Full pre-install command baseline cannot be reconstructed\\
|
||||
Persistence / backups & Named volume manifest, backup success, retained ticket/conversation & Database restore not tested\\
|
||||
HTTPS / exposure & Certificate, redirect, blocked ports, private networks, current cloud rules/attachment, no global IPv6/AAAA & Privileged host-rule audit pending\\
|
||||
HTTPS / exposure & Certificate, redirect, blocked ports, private networks, cloud rules/attachment, privileged host audit and effective SSH & UFW inactive; cloud firewall restricts inbound ports\\
|
||||
Accounts / TA & Agent-only TA/group access, API CRUD 71006, browser workflow 71007 & Browser create, assign, internal/public reply and close verified\\
|
||||
Three ticket examples & Open 71002, assigned 71003, closed 71004; internal note/public reply & Browser visibility/isolation screenshots included\\
|
||||
Engineering link & Issue 22 and ticket 71004 bidirectional link, resolution note, screenshot & Issue remains open\\
|
||||
@@ -606,12 +620,19 @@ Every pending item is a required evidence follow-up, not an optional extra or
|
||||
an assertion of completion. Before submission: review the saved TA
|
||||
browser evidence for ticket 71007 (create, assign, internal/public
|
||||
reply and close are now exercised through the portal);
|
||||
finish privileged host-rule and effective key-only SSH evidence; current cloud
|
||||
rules and attachment screenshots are now included;
|
||||
the privileged host-rule and effective key-only SSH evidence is now included,
|
||||
alongside cloud rules and attachment screenshots;
|
||||
review the password handoff and updated Hosts chapter together with the team
|
||||
as requested (plan/price now supplied); record the grading window; publish reviewed source; provide TA
|
||||
as requested (plan/price now supplied); record the grading window; provide TA
|
||||
credentials privately; and run the user-authorized Jenkins PDF build followed
|
||||
by visual and reference verification. Do not submit this unbuilt source draft
|
||||
as a verified final PDF. After grading, retain evidence and the manual, revoke
|
||||
temporary TA access, and obtain team approval before stopping paid resources
|
||||
or changing costs. Existing services and their storage remain team-owned.
|
||||
|
||||
The assignment branch was published to Gitea and independently verified with
|
||||
\texttt{git ls-remote} at commit
|
||||
\texttt{54a2dd85fb11b74518bc0f6fe4d282ac6f07cb65}. This publication did not
|
||||
merge main or compile a manual PDF. The subsequent host-audit evidence is
|
||||
saved as a follow-up source commit; publication of that commit must also be
|
||||
verified before final submission.
|
||||
|
||||
@@ -0,0 +1,161 @@
|
||||
Sat Nov 21 01:33:14 UTC 2026
|
||||
Status: inactive
|
||||
-P INPUT ACCEPT
|
||||
-P FORWARD DROP
|
||||
-P OUTPUT ACCEPT
|
||||
-N DOCKER
|
||||
-N DOCKER-BRIDGE
|
||||
-N DOCKER-CT
|
||||
-N DOCKER-FORWARD
|
||||
-N DOCKER-INTERNAL
|
||||
-N DOCKER-USER
|
||||
-A FORWARD -j DOCKER-USER
|
||||
-A FORWARD -j DOCKER-FORWARD
|
||||
-A DOCKER -d 172.20.0.4/32 ! -i br-86ed1c3d2d9e -o br-86ed1c3d2d9e -p tcp -m tcp --dport 8080 -j ACCEPT
|
||||
-A DOCKER -d 172.20.0.3/32 ! -i br-86ed1c3d2d9e -o br-86ed1c3d2d9e -p tcp -m tcp --dport 3000 -j ACCEPT
|
||||
-A DOCKER -d 172.19.0.2/32 ! -i br-b6a036ce8755 -o br-b6a036ce8755 -p tcp -m tcp --dport 443 -j ACCEPT
|
||||
-A DOCKER -d 172.19.0.2/32 ! -i br-b6a036ce8755 -o br-b6a036ce8755 -p tcp -m tcp --dport 80 -j ACCEPT
|
||||
-A DOCKER ! -i br-fafffed2f151 -o br-fafffed2f151 -j DROP
|
||||
-A DOCKER ! -i br-86ed1c3d2d9e -o br-86ed1c3d2d9e -j DROP
|
||||
-A DOCKER ! -i br-92f4e2c7b300 -o br-92f4e2c7b300 -j DROP
|
||||
-A DOCKER ! -i br-b6a036ce8755 -o br-b6a036ce8755 -j DROP
|
||||
-A DOCKER ! -i br-beb046825b96 -o br-beb046825b96 -j DROP
|
||||
-A DOCKER ! -i br-dbaf723249ad -o br-dbaf723249ad -j DROP
|
||||
-A DOCKER ! -i br-f00e1e54e815 -o br-f00e1e54e815 -j DROP
|
||||
-A DOCKER ! -i docker0 -o docker0 -j DROP
|
||||
-A DOCKER-BRIDGE -o br-fafffed2f151 -j DOCKER
|
||||
-A DOCKER-BRIDGE -o br-86ed1c3d2d9e -j DOCKER
|
||||
-A DOCKER-BRIDGE -o br-92f4e2c7b300 -j DOCKER
|
||||
-A DOCKER-BRIDGE -o br-b6a036ce8755 -j DOCKER
|
||||
-A DOCKER-BRIDGE -o br-beb046825b96 -j DOCKER
|
||||
-A DOCKER-BRIDGE -o br-dbaf723249ad -j DOCKER
|
||||
-A DOCKER-BRIDGE -o br-f00e1e54e815 -j DOCKER
|
||||
-A DOCKER-BRIDGE -o docker0 -j DOCKER
|
||||
-A DOCKER-CT -o br-fafffed2f151 -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
|
||||
-A DOCKER-CT -o br-86ed1c3d2d9e -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
|
||||
-A DOCKER-CT -o br-92f4e2c7b300 -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
|
||||
-A DOCKER-CT -o br-b6a036ce8755 -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
|
||||
-A DOCKER-CT -o br-beb046825b96 -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
|
||||
-A DOCKER-CT -o br-dbaf723249ad -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
|
||||
-A DOCKER-CT -o br-f00e1e54e815 -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
|
||||
-A DOCKER-CT -o docker0 -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
|
||||
-A DOCKER-FORWARD -j DOCKER-CT
|
||||
-A DOCKER-FORWARD -j DOCKER-INTERNAL
|
||||
-A DOCKER-FORWARD -j DOCKER-BRIDGE
|
||||
-A DOCKER-FORWARD -i br-fafffed2f151 -j ACCEPT
|
||||
-A DOCKER-FORWARD -i br-86ed1c3d2d9e -j ACCEPT
|
||||
-A DOCKER-FORWARD -i br-92f4e2c7b300 -j ACCEPT
|
||||
-A DOCKER-FORWARD -i br-b6a036ce8755 -j ACCEPT
|
||||
-A DOCKER-FORWARD -i br-beb046825b96 -j ACCEPT
|
||||
-A DOCKER-FORWARD -i br-dbaf723249ad -j ACCEPT
|
||||
-A DOCKER-FORWARD -i br-f00e1e54e815 -j ACCEPT
|
||||
-A DOCKER-FORWARD -i docker0 -j ACCEPT
|
||||
-P INPUT ACCEPT
|
||||
-P FORWARD ACCEPT
|
||||
-P OUTPUT ACCEPT
|
||||
-N DOCKER
|
||||
-N DOCKER-BRIDGE
|
||||
-N DOCKER-CT
|
||||
-N DOCKER-FORWARD
|
||||
-N DOCKER-INTERNAL
|
||||
-N DOCKER-USER
|
||||
-A FORWARD -j DOCKER-USER
|
||||
-A FORWARD -j DOCKER-FORWARD
|
||||
-A DOCKER-FORWARD -j DOCKER-CT
|
||||
-A DOCKER-FORWARD -j DOCKER-INTERNAL
|
||||
-A DOCKER-FORWARD -j DOCKER-BRIDGE
|
||||
port 22
|
||||
addressfamily any
|
||||
listenaddress [::]:22
|
||||
listenaddress 0.0.0.0:22
|
||||
usepam yes
|
||||
logingracetime 120
|
||||
x11displayoffset 10
|
||||
maxauthtries 6
|
||||
maxsessions 10
|
||||
clientaliveinterval 0
|
||||
clientalivecountmax 3
|
||||
requiredrsasize 1024
|
||||
streamlocalbindmask 0177
|
||||
unusedconnectiontimeout none
|
||||
permitrootlogin without-password
|
||||
ignorerhosts yes
|
||||
ignoreuserknownhosts no
|
||||
hostbasedauthentication no
|
||||
hostbasedusesnamefrompacketonly no
|
||||
pubkeyauthentication yes
|
||||
kerberosauthentication no
|
||||
kerberosorlocalpasswd yes
|
||||
kerberosticketcleanup yes
|
||||
gssapiauthentication no
|
||||
gssapicleanupcredentials yes
|
||||
gssapikeyexchange no
|
||||
gssapistrictacceptorcheck yes
|
||||
gssapistorecredentialsonrekey no
|
||||
gssapikexalgorithms gss-group14-sha256-,gss-group16-sha512-,gss-nistp256-sha256-,gss-curve25519-sha256-,gss-group14-sha1-,gss-gex-sha1-
|
||||
passwordauthentication no
|
||||
kbdinteractiveauthentication no
|
||||
printmotd no
|
||||
printlastlog yes
|
||||
x11forwarding yes
|
||||
x11uselocalhost yes
|
||||
permittty yes
|
||||
permituserrc yes
|
||||
strictmodes yes
|
||||
tcpkeepalive yes
|
||||
permitemptypasswords no
|
||||
compression yes
|
||||
gatewayports no
|
||||
usedns no
|
||||
allowtcpforwarding yes
|
||||
allowagentforwarding yes
|
||||
disableforwarding no
|
||||
allowstreamlocalforwarding yes
|
||||
streamlocalbindunlink no
|
||||
fingerprinthash SHA256
|
||||
exposeauthinfo no
|
||||
debianbanner yes
|
||||
pidfile /run/sshd.pid
|
||||
modulifile /etc/ssh/moduli
|
||||
xauthlocation /usr/bin/xauth
|
||||
ciphers chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com
|
||||
macs umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
|
||||
banner none
|
||||
forcecommand none
|
||||
chrootdirectory none
|
||||
trustedusercakeys none
|
||||
revokedkeys none
|
||||
securitykeyprovider internal
|
||||
authorizedprincipalsfile none
|
||||
versionaddendum none
|
||||
authorizedkeyscommand none
|
||||
authorizedkeyscommanduser none
|
||||
authorizedprincipalscommand none
|
||||
authorizedprincipalscommanduser none
|
||||
hostkeyagent none
|
||||
kexalgorithms sntrup761x25519-sha512@openssh.com,curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256
|
||||
casignaturealgorithms ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256
|
||||
hostbasedacceptedalgorithms ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256
|
||||
hostkeyalgorithms ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256
|
||||
pubkeyacceptedalgorithms ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256
|
||||
loglevel INFO
|
||||
syslogfacility AUTH
|
||||
authorizedkeysfile .ssh/authorized_keys .ssh/authorized_keys2
|
||||
hostkey /etc/ssh/ssh_host_rsa_key
|
||||
hostkey /etc/ssh/ssh_host_ecdsa_key
|
||||
hostkey /etc/ssh/ssh_host_ed25519_key
|
||||
acceptenv LANG
|
||||
acceptenv LC_*
|
||||
authenticationmethods any
|
||||
channeltimeout none
|
||||
subsystem sftp /usr/lib/openssh/sftp-server
|
||||
maxstartups 10:30:100
|
||||
persourcemaxstartups none
|
||||
persourcenetblocksize 32:128
|
||||
permittunnel no
|
||||
ipqos lowdelay throughput
|
||||
rekeylimit 0 0
|
||||
permitopen any
|
||||
permitlisten any
|
||||
permituserenvironment no
|
||||
pubkeyauthoptions none
|
||||
Reference in New Issue
Block a user