diff --git a/VM_OPENSSL_APACHE.sh b/VM_OPENSSL_APACHE.sh index 4094be3..0d899d9 100644 --- a/VM_OPENSSL_APACHE.sh +++ b/VM_OPENSSL_APACHE.sh @@ -4,7 +4,7 @@ source VM_CONFIG.sh sudo yum install -y epel-release -sudo yum install -y openssl httpd mod_ssl mod_authnz_pam mod_authnz_pam google-authenticator +sudo yum install -y openssl httpd mod_ssl mod_authnz_pam google-authenticator sudo yum install -y mod_session if_dentro="enp0s8" diff --git a/conf/ssl.conf b/conf/ssl.conf index 060f7be..af88040 100644 --- a/conf/ssl.conf +++ b/conf/ssl.conf @@ -8,21 +8,21 @@ Listen 443 https SSLCertificateKeyFile /etc/httpd/ssl/apache.key SSLCACertificateFile /etc/httpd/ssl/ca.crt - # Mutual Authentication (Client Cert) + # mutual authentication SSLVerifyClient require SSLVerifyDepth 1 - # OCSP Validation against CA + # ocsp validation SSLOCSPEnable on SSLOCSPDefaultResponder "http://10.60.0.1:8888" SSLOCSPOverrideResponder on SSLOCSPUseRequestNonce off - # Session management for Form Auth + # session management Session On SessionCookieName session path=/;HttpOnly;Secure - # Protected Area + # proteger AuthType Form AuthName "Coimbra VPN" @@ -32,26 +32,28 @@ Listen 443 https Require valid-user - # Public Login Page + # public login page AuthType None Require all granted - # Login Handler + # login handler SetHandler form-login-handler AuthType Form AuthName "Coimbra VPN" AuthFormProvider PAM AuthPAMService httpd-totp + Require all granted AuthFormLoginSuccessLocation "/index.html" AuthFormLoginRequiredLocation "/login.html?error=1" - # Logout Handler + # logout handler SetHandler form-logout-handler AuthFormLogoutLocation "/login.html?loggedout=1" + diff --git a/relatorio/relatorio.aux b/relatorio/relatorio.aux index 124734c..19bb0df 100644 --- a/relatorio/relatorio.aux +++ b/relatorio/relatorio.aux @@ -6,19 +6,15 @@ \providecommand\HyField@AuxAddToFields[1]{} \providecommand\HyField@AuxAddToCoFields[2]{} \babel@aux{portuguese}{} -\def\@LN@column{1} \@writefile{toc}{\contentsline {section}{\numberline {1}Introdução}{2}{section.1}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {2}Criação de certificados}{2}{section.2}\protected@file@percent } -\def\@LN@column{1} +\@writefile{toc}{\contentsline {section}{\numberline {2}Preparação Inicial}{2}{section.2}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {2.1}Criação de Certificados}{2}{subsection.2.1}\protected@file@percent } \@writefile{toc}{\contentsline {section}{\numberline {3}Configuração geral}{3}{section.3}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {4}Configuração da \textit {Gateway} VPN}{3}{section.4}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {4.1}Configurar TOTP}{3}{subsection.4.1}\protected@file@percent } -\def\@LN@column{1} -\@writefile{toc}{\contentsline {subsection}{\numberline {4.2}Encaminhamento e Firewall}{4}{subsection.4.2}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {5}Configuração do Cliente (Road Warrior)}{4}{section.5}\protected@file@percent } -\def\@LN@column{1} -\@writefile{toc}{\contentsline {section}{\numberline {6}Servidor Apache e OCSP}{5}{section.6}\protected@file@percent } -\@writefile{toc}{\contentsline {subsection}{\numberline {6.1}Revocation e OCSP}{5}{subsection.6.1}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {7}Conclusão}{5}{section.7}\protected@file@percent } -\xdef \mintedoldcachechecksum{\detokenize{\minted@cachechecksum }} -\gdef \@abspage@last{5} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.1}Configurar TOTP}{3}{subsection.3.1}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {3.2}Encaminhamento e Firewall}{4}{subsection.3.2}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {4}Configuração do Cliente (Road Warrior)}{5}{section.4}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {5}Servidor Apache e OCSP}{5}{section.5}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.1}Revocation e OCSP}{5}{subsection.5.1}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {5.2}Testes}{6}{subsection.5.2}\protected@file@percent } +\@writefile{toc}{\contentsline {section}{\numberline {6}Conclusão}{6}{section.6}\protected@file@percent } +\gdef \@abspage@last{6} diff --git a/relatorio/relatorio.listing b/relatorio/relatorio.listing new file mode 100644 index 0000000..5ee19ea --- /dev/null +++ b/relatorio/relatorio.listing @@ -0,0 +1 @@ +openssl ca -revoke user.crt -config cheese.cfg -keyfile ca.key -cert ca.crt diff --git a/relatorio/relatorio.log b/relatorio/relatorio.log index 0deb152..fef489a 100644 --- a/relatorio/relatorio.log +++ b/relatorio/relatorio.log @@ -1,4 +1,4 @@ -This is pdfTeX, Version 3.141592653-2.6-1.40.29 (TeX Live 2026/Arch Linux) (preloaded format=pdflatex 2026.4.13) 24 APR 2026 18:42 +This is pdfTeX, Version 3.141592653-2.6-1.40.29 (TeX Live 2026/Arch Linux) (preloaded format=pdflatex 2026.4.13) 27 APR 2026 13:20 entering extended mode \write18 enabled. %&-line parsing enabled. @@ -100,60 +100,6 @@ Already applied: [0000-00-00] Fall back to v1 on input line 76. LaTeX Info: Redefining \oldstylenums on input line 163. LaTeX Info: Redefining \textsw on input line 173. ) -(/usr/share/texmf-dist/tex/latex/listings/listings.sty -\lst@mode=\count286 -\lst@gtempboxa=\box53 -\lst@token=\toks20 -\lst@length=\count287 -\lst@currlwidth=\dimen150 -\lst@column=\count288 -\lst@pos=\count289 -\lst@lostspace=\dimen151 -\lst@width=\dimen152 -\lst@newlines=\count290 -\lst@lineno=\count291 -\lst@maxwidth=\dimen153 - -(/usr/share/texmf-dist/tex/latex/listings/lstpatch.sty -File: lstpatch.sty 2025/11/14 1.11b (Carsten Heinz) -) -(/usr/share/texmf-dist/tex/latex/listings/lstmisc.sty -File: lstmisc.sty 2025/11/14 1.11b (Carsten Heinz) -\c@lstnumber=\count292 -\lst@skipnumbers=\count293 -\lst@framebox=\box54 -) -(/usr/share/texmf-dist/tex/latex/listings/listings.cfg -File: listings.cfg 2025/11/14 1.11b listings configuration -)) -Package: listings 2025/11/14 1.11b (Carsten Heinz) - -==> First Aid for listings.sty no longer applied! - Expected: - 2024/09/23 1.10c (Carsten Heinz) - but found: - 2025/11/14 1.11b (Carsten Heinz) - so I'm assuming it got fixed. -(/usr/share/texmf-dist/tex/latex/booktabs/booktabs.sty -Package: booktabs 2020/01/12 v1.61803398 Publication quality tables -\heavyrulewidth=\dimen154 -\lightrulewidth=\dimen155 -\cmidrulewidth=\dimen156 -\belowrulesep=\dimen157 -\belowbottomsep=\dimen158 -\aboverulesep=\dimen159 -\abovetopsep=\dimen160 -\cmidrulesep=\dimen161 -\cmidrulekern=\dimen162 -\defaultaddspace=\dimen163 -\@cmidla=\count294 -\@cmidlb=\count295 -\@aboverulesep=\dimen164 -\@belowrulesep=\dimen165 -\@thisruleclass=\count296 -\@lastruleclass=\count297 -\@thisrulewidth=\dimen166 -) (/home/raw/uni/fsi/trabalho/relatorio/style.sty (/usr/share/texmf-dist/tex/latex/geometry/geometry.sty Package: geometry 2020/01/02 v5.9 Page Geometry @@ -161,18 +107,18 @@ Package: geometry 2020/01/02 v5.9 Page Geometry (/usr/share/texmf-dist/tex/generic/iftex/ifvtex.sty Package: ifvtex 2019/10/25 v1.7 ifvtex legacy package. Use iftex instead. ) -\Gm@cnth=\count298 -\Gm@cntv=\count299 -\c@Gm@tempcnt=\count300 -\Gm@bindingoffset=\dimen167 -\Gm@wd@mp=\dimen168 -\Gm@odd@mp=\dimen169 -\Gm@even@mp=\dimen170 -\Gm@layoutwidth=\dimen171 -\Gm@layoutheight=\dimen172 -\Gm@layouthoffset=\dimen173 -\Gm@layoutvoffset=\dimen174 -\Gm@dimlist=\toks21 +\Gm@cnth=\count286 +\Gm@cntv=\count287 +\c@Gm@tempcnt=\count288 +\Gm@bindingoffset=\dimen150 +\Gm@wd@mp=\dimen151 +\Gm@odd@mp=\dimen152 +\Gm@even@mp=\dimen153 +\Gm@layoutwidth=\dimen154 +\Gm@layoutheight=\dimen155 +\Gm@layouthoffset=\dimen156 +\Gm@layoutvoffset=\dimen157 +\Gm@dimlist=\toks20 ) (/usr/share/texmf-dist/tex/latex/raleway/raleway.sty Package: raleway 2025/04/06 v1.6 Matt McInerney’s Raleway family @@ -324,23 +270,23 @@ LaTeX Font Info: Font shape `T1/EBGaramond-LF/m/n' will be (Font) scaled to size 10.95pt on input line 116. )) (/usr/share/texmf-dist/tex/generic/ulem/ulem.sty -\UL@box=\box55 -\UL@hyphenbox=\box56 +\UL@box=\box53 +\UL@hyphenbox=\box54 \UL@skip=\skip51 -\UL@hook=\toks22 -\UL@height=\dimen175 -\UL@pe=\count301 -\UL@pixel=\dimen176 -\ULC@box=\box57 +\UL@hook=\toks21 +\UL@height=\dimen158 +\UL@pe=\count289 +\UL@pixel=\dimen159 +\ULC@box=\box55 Package: ulem 2019/11/18 -\ULdepth=\dimen177 +\ULdepth=\dimen160 ) (/usr/share/texmf-dist/tex/latex/wrapfig/wrapfig.sty -\wrapoverhang=\dimen178 -\WF@size=\dimen179 -\c@WF@wrappedlines=\count302 -\WF@box=\box58 -\WF@everypar=\toks23 +\wrapoverhang=\dimen161 +\WF@size=\dimen162 +\c@WF@wrappedlines=\count290 +\WF@box=\box56 +\WF@everypar=\toks22 Package: wrapfig 2003/01/31 v 3.6 ) (/usr/share/texmf-dist/tex/latex/graphics/graphicx.sty @@ -360,57 +306,77 @@ Package graphics Info: Driver file: pdftex.def on input line 106. (/usr/share/texmf-dist/tex/latex/graphics-def/pdftex.def File: pdftex.def 2025/09/29 v1.2d Graphics/color driver for pdftex )) -\Gin@req@height=\dimen180 -\Gin@req@width=\dimen181 +\Gin@req@height=\dimen163 +\Gin@req@width=\dimen164 ) (/usr/share/texmf-dist/tex/latex/tools/tabularx.sty Package: tabularx 2023/12/11 v2.12a `tabularx' package (DPC) (/usr/share/texmf-dist/tex/latex/tools/array.sty Package: array 2025/09/25 v2.6n Tabular extension package (FMi) -\col@sep=\dimen182 -\ar@mcellbox=\box59 -\extrarowheight=\dimen183 -\NC@list=\toks24 +\col@sep=\dimen165 +\ar@mcellbox=\box57 +\extrarowheight=\dimen166 +\NC@list=\toks23 \extratabsurround=\skip52 \backup@length=\skip53 -\ar@cellbox=\box60 +\ar@cellbox=\box58 ) -\TX@col@width=\dimen184 -\TX@old@table=\dimen185 -\TX@old@col=\dimen186 -\TX@target=\dimen187 -\TX@delta=\dimen188 -\TX@cols=\count303 -\TX@ftn=\toks25 +\TX@col@width=\dimen167 +\TX@old@table=\dimen168 +\TX@old@col=\dimen169 +\TX@target=\dimen170 +\TX@delta=\dimen171 +\TX@cols=\count291 +\TX@ftn=\toks24 +) +(/usr/share/texmf-dist/tex/latex/booktabs/booktabs.sty +Package: booktabs 2020/01/12 v1.61803398 Publication quality tables +\heavyrulewidth=\dimen172 +\lightrulewidth=\dimen173 +\cmidrulewidth=\dimen174 +\belowrulesep=\dimen175 +\belowbottomsep=\dimen176 +\aboverulesep=\dimen177 +\abovetopsep=\dimen178 +\cmidrulesep=\dimen179 +\cmidrulekern=\dimen180 +\defaultaddspace=\dimen181 +\@cmidla=\count292 +\@cmidlb=\count293 +\@aboverulesep=\dimen182 +\@belowrulesep=\dimen183 +\@thisruleclass=\count294 +\@lastruleclass=\count295 +\@thisrulewidth=\dimen184 ) (/usr/share/texmf-dist/tex/latex/paracol/paracol.sty Package: paracol 2025/07/14 1.37 typeset columns in parallel -\pcol@currcol=\count304 -\pcol@nextcol=\count305 -\pcol@ncol=\count306 -\pcol@ncolleft=\count307 -\pcol@page=\count308 -\pcol@basepage=\count309 -\pcol@toppage=\count310 -\pcol@footnotebase=\count311 -\pcol@nfootnotes=\count312 -\pcol@mcid=\count313 -\pcol@prevdepth=\dimen189 -\pcol@colht=\dimen190 -\pcol@textfloatsep=\dimen191 -\pcol@lrmargin=\dimen192 -\pagerim=\dimen193 +\pcol@currcol=\count296 +\pcol@nextcol=\count297 +\pcol@ncol=\count298 +\pcol@ncolleft=\count299 +\pcol@page=\count300 +\pcol@basepage=\count301 +\pcol@toppage=\count302 +\pcol@footnotebase=\count303 +\pcol@nfootnotes=\count304 +\pcol@mcid=\count305 +\pcol@prevdepth=\dimen185 +\pcol@colht=\dimen186 +\pcol@textfloatsep=\dimen187 +\pcol@lrmargin=\dimen188 +\pagerim=\dimen189 \pcol@topskip=\skip54 \belowfootnoteskip=\skip55 -\pcol@topfnotes=\box61 -\pcol@prespan=\box62 -\pcol@rightpage=\box63 -\pcol@colorstack@saved=\box64 -\pcol@tempboxa=\box65 -\pcol@tempboxb=\box66 +\pcol@topfnotes=\box59 +\pcol@prespan=\box60 +\pcol@rightpage=\box61 +\pcol@colorstack@saved=\box62 +\pcol@tempboxa=\box63 +\pcol@tempboxb=\box64 \pcol@colorins=\insert252 -\pcol@everyvbox=\toks26 +\pcol@everyvbox=\toks25 ) (/usr/share/texmf-dist/tex/latex/xcolor/xcolor.sty Package: xcolor 2024/09/29 v3.02 LaTeX color extensions (UK) @@ -436,20 +402,20 @@ File: dvipsnam.def 2016/06/17 v3.0m Driver-dependent file (DPC,SPQR) ) (/usr/share/texmf-dist/tex/latex/enumitem/enumitem.sty Package: enumitem 2025/02/06 v3.11 Customized lists -\enitkv@toks@=\toks27 +\enitkv@toks@=\toks26 \labelindent=\skip56 -\enit@outerparindent=\dimen194 -\enit@toks=\toks28 -\enit@inbox=\box67 -\enit@count@id=\count314 -\enitdp@description=\count315 +\enit@outerparindent=\dimen190 +\enit@toks=\toks27 +\enit@inbox=\box65 +\enit@count@id=\count306 +\enitdp@description=\count307 ) (/usr/share/texmf-dist/tex/latex/amsfonts/amssymb.sty Package: amssymb 2013/01/14 v3.01 AMS font symbols (/usr/share/texmf-dist/tex/latex/amsfonts/amsfonts.sty Package: amsfonts 2013/01/14 v3.01 Basic AMSFonts support -\@emptytoks=\toks29 +\@emptytoks=\toks28 \symAMSa=\mathgroup4 \symAMSb=\mathgroup5 LaTeX Font Info: Redeclaring math symbol \hbar on input line 98. @@ -497,19 +463,19 @@ Package: gettitlestring 2019/12/15 v1.6 Cleanup title references (HO) (/usr/share/texmf-dist/tex/latex/kvoptions/kvoptions.sty Package: kvoptions 2022-06-15 v3.15 Key value format for package options (HO) )) -\c@section@level=\count316 +\c@section@level=\count308 ) (/usr/share/texmf-dist/tex/latex/etoolbox/etoolbox.sty Package: etoolbox 2025/10/02 v2.5m e-TeX tools for LaTeX (JAW) -\etb@tempcnta=\count317 +\etb@tempcnta=\count309 ) (/usr/share/texmf-dist/tex/generic/stringenc/stringenc.sty Package: stringenc 2019/11/29 v1.12 Convert strings between diff. encodings (HO ) ) -\@linkdim=\dimen195 -\Hy@linkcounter=\count318 -\Hy@pagecounter=\count319 +\@linkdim=\dimen191 +\Hy@linkcounter=\count310 +\Hy@pagecounter=\count311 (/usr/share/texmf-dist/tex/latex/hyperref/pd1enc.def File: pd1enc.def 2026-01-29 v7.01p Hyperref: PDFDocEncoding definition (HO) @@ -519,7 +485,7 @@ Now handling font encoding PD1 ... (/usr/share/texmf-dist/tex/generic/intcalc/intcalc.sty Package: intcalc 2019/12/15 v1.3 Expandable calculations with integers (HO) ) -\Hy@SavedSpaceFactor=\count320 +\Hy@SavedSpaceFactor=\count312 (/usr/share/texmf-dist/tex/latex/hyperref/puenc.def File: puenc.def 2026-01-29 v7.01p Hyperref: PDF Unicode definition (HO) @@ -534,14 +500,14 @@ Package hyperref Info: Plain pages OFF on input line 4216. Package hyperref Info: Backreferencing OFF on input line 4221. Package hyperref Info: Implicit mode ON; LaTeX internals redefined. Package hyperref Info: Bookmarks ON on input line 4468. -\c@Hy@tempcnt=\count321 +\c@Hy@tempcnt=\count313 (/usr/share/texmf-dist/tex/latex/url/url.sty \Urlmuskip=\muskip17 Package: url 2013/09/16 ver 3.4 Verb mode for urls, etc. ) LaTeX Info: Redefining \url on input line 4807. -\XeTeXLinkMargin=\dimen196 +\XeTeXLinkMargin=\dimen192 (/usr/share/texmf-dist/tex/generic/bitset/bitset.sty Package: bitset 2019/12/09 v1.3 Handle bit-vector datatype (HO) @@ -550,9 +516,9 @@ Package: bitset 2019/12/09 v1.3 Handle bit-vector datatype (HO) Package: bigintcalc 2019/12/15 v1.5 Expandable calculations on big integers (HO ) )) -\Fld@menulength=\count322 -\Field@Width=\dimen197 -\Fld@charsize=\dimen198 +\Fld@menulength=\count314 +\Field@Width=\dimen193 +\Fld@charsize=\dimen194 Package hyperref Info: Hyper figures OFF on input line 6084. Package hyperref Info: Link nesting OFF on input line 6089. Package hyperref Info: Hyper index ON on input line 6092. @@ -560,16 +526,16 @@ Package hyperref Info: backreferencing OFF on input line 6099. Package hyperref Info: Link coloring ON on input line 6102. Package hyperref Info: Link coloring with OCG OFF on input line 6109. Package hyperref Info: PDF/A mode OFF on input line 6114. -\Hy@abspage=\count323 -\c@Item=\count324 -\c@Hfootnote=\count325 +\Hy@abspage=\count315 +\c@Item=\count316 +\c@Hfootnote=\count317 ) Package hyperref Info: Driver (autodetected): hpdftex. (/usr/share/texmf-dist/tex/latex/hyperref/hpdftex.def File: hpdftex.def 2026-01-29 v7.01p Hyperref driver for pdfTeX -\Fld@listcount=\count326 -\c@bookmark@seq@number=\count327 +\Fld@listcount=\count318 +\c@bookmark@seq@number=\count319 (/usr/share/texmf-dist/tex/latex/rerunfilecheck/rerunfilecheck.sty Package: rerunfilecheck 2025-06-21 v1.11 Rerun checks for auxiliary files (HO) @@ -582,7 +548,7 @@ Package uniquecounter Info: New unique counter `rerunfilecheck' on input line 2 ) \Hy@SectionHShift=\skip57 ) -\enitdp@todolist=\count328 +\enitdp@todolist=\count320 (/usr/share/texmf-dist/tex/latex/psnfss/pifont.sty Package: pifont 2020/03/25 PSNFSS-v9.3 Pi font support (SPQR) @@ -598,122 +564,461 @@ LaTeX Font Info: Trying to load font information for U+psy on input line 64. (/usr/share/texmf-dist/tex/latex/psnfss/upsy.fd File: upsy.fd 2001/06/04 font definitions for U/psy. )) -(/usr/share/texmf-dist/tex/latex/minted/minted.sty -Package: minted 2026/03/03 v3.8.0 Yet another Pygments shim for LaTeX +(/usr/share/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty +Package: tcolorbox 2025/11/28 version 6.9.0 text color boxes -(/usr/share/texmf-dist/tex/generic/catchfile/catchfile.sty -Package: catchfile 2019/12/09 v1.8 Catch the contents of a file (HO) - -(/usr/share/texmf-dist/tex/generic/etexcmds/etexcmds.sty -Package: etexcmds 2019/12/15 v1.7 Avoid name clashes with e-TeX commands (HO) +(/usr/share/texmf-dist/tex/latex/pgf/frontendlayer/tikz.sty +(/usr/share/texmf-dist/tex/latex/pgf/basiclayer/pgf.sty +(/usr/share/texmf-dist/tex/latex/pgf/utilities/pgfrcs.sty +(/usr/share/texmf-dist/tex/generic/pgf/utilities/pgfutil-common.tex +\pgfutil@everybye=\toks29 +\pgfutil@tempdima=\dimen195 +\pgfutil@tempdimb=\dimen196 +) +(/usr/share/texmf-dist/tex/generic/pgf/utilities/pgfutil-latex.def +\pgfutil@abb=\box66 +) +(/usr/share/texmf-dist/tex/generic/pgf/utilities/pgfrcs.code.tex +(/usr/share/texmf-dist/tex/generic/pgf/pgf.revision.tex) +Package: pgfrcs 2025-08-29 v3.1.11a (3.1.11a) )) -(/usr/share/texmf-dist/tex/latex/fvextra/fvextra.sty -Package: fvextra 2026/02/25 v1.14.0 fvextra - extensions and patches for fancyv -rb +Package: pgf 2025-08-29 v3.1.11a (3.1.11a) + +(/usr/share/texmf-dist/tex/latex/pgf/basiclayer/pgfcore.sty +(/usr/share/texmf-dist/tex/latex/pgf/systemlayer/pgfsys.sty +(/usr/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsys.code.tex +Package: pgfsys 2025-08-29 v3.1.11a (3.1.11a) -(/usr/share/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty -Package: fancyvrb 2025/07/28 4.6 verbatim text (tvz,hv) -\FV@CodeLineNo=\count329 -\FV@InFile=\read3 -\FV@TabBox=\box68 -\c@FancyVerbLine=\count330 -\FV@StepNumber=\count331 -\FV@OutFile=\write3 -) -(/usr/share/texmf-dist/tex/latex/upquote/upquote.sty -Package: upquote 2012/04/19 v1.3 upright-quote and grave-accent glyphs in verba -tim -) -(/usr/share/texmf-dist/tex/latex/lineno/lineno.sty -Package: lineno 2026/02/16 line numbers on paragraphs v5.7 -\linenopenalty=\count332 -\output=\toks30 -\linenoprevgraf=\count333 -\linenumbersep=\dimen199 -\linenumberwidth=\dimen256 -\c@linenumber=\count334 -\c@pagewiselinenumber=\count335 -\c@LN@truepage=\count336 -\c@internallinenumber=\count337 -\c@internallinenumbers=\count338 -\quotelinenumbersep=\dimen257 -\bframerule=\dimen258 -\bframesep=\dimen259 -\bframebox=\box69 -) -\c@FancyVerbWriteLine=\count339 -\c@FancyVerbBufferLine=\count340 -\c@FV@TrueTabGroupLevel=\count341 -\c@FV@TrueTabCounter=\count342 -\FV@TabBox@Group=\box70 -\FV@bgcolorstructbox=\box71 -\FV@TmpLength=\skip58 -\c@FV@HighlightLinesStart=\count343 -\c@FV@HighlightLinesStop=\count344 -\FV@LoopCount=\count345 -\FV@NCharsBox=\box72 -\FV@BreakIndent=\dimen260 -\FV@BreakIndentNChars=\count346 -\FV@BreakSymbolSepLeft=\dimen261 -\FV@BreakSymbolSepLeftNChars=\count347 -\FV@BreakSymbolSepRight=\dimen262 -\FV@BreakSymbolSepRightNChars=\count348 -\FV@BreakSymbolIndentLeft=\dimen263 -\FV@BreakSymbolIndentLeftNChars=\count349 -\FV@BreakSymbolIndentRight=\dimen264 -\FV@BreakSymbolIndentRightNChars=\count350 -\c@FancyVerbLineBreakLast=\count351 -\FV@LineBox=\box73 -\FV@LineIndentBox=\box74 -\c@FV@BreakBufferDepth=\count352 -\FV@LineWidth=\dimen265 -) -(/usr/share/texmf-dist/tex/latex/latex2pydata/latex2pydata.sty -Package: latex2pydata 2026/02/25 v0.7.0 latex2pydata - write data to file in Py -thon literal format -) -(/usr/share/texmf-dist/tex/latex/pgf/utilities/pgfkeys.sty (/usr/share/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex -\pgfkeys@pathtoks=\toks31 -\pgfkeys@temptoks=\toks32 +\pgfkeys@pathtoks=\toks30 +\pgfkeys@temptoks=\toks31 (/usr/share/texmf-dist/tex/generic/pgf/utilities/pgfkeyslibraryfiltered.code.te x -\pgfkeys@tmptoks=\toks33 -))) (/usr/share/texmf-dist/tex/latex/pgfopts/pgfopts.sty -Package: pgfopts 2014/07/10 v2.1a LaTeX package options with pgfkeys -\pgfopts@list@add@a@toks=\toks34 -\pgfopts@list@add@b@toks=\toks35 -) -(/usr/share/texmf-dist/tex/latex/tools/shellesc.sty -Package: shellesc 2023/07/08 v1.0d unified shell escape interface for LaTeX -Package shellesc Info: Unrestricted shell escape enabled on input line 75. -) -(/usr/share/texmf-dist/tex/latex/float/float.sty -Package: float 2001/11/08 v1.3d Float enhancements (AL) -\c@float@type=\count353 -\float@exts=\toks36 -\float@box=\box75 -\@float@everytoks=\toks37 -\@floatcapt=\box76 -) -\c@minted@FancyVerbLineTemp=\count354 -\@float@every@listing=\toks38 -\c@listing=\count355 +\pgfkeys@tmptoks=\toks32 )) -LaTeX Font Info: Trying to load font information for T1+Raleway-OsF on input - line 34. +\pgf@x=\dimen197 +\pgf@y=\dimen198 +\pgf@xa=\dimen199 +\pgf@ya=\dimen256 +\pgf@xb=\dimen257 +\pgf@yb=\dimen258 +\pgf@xc=\dimen259 +\pgf@yc=\dimen260 +\pgf@xd=\dimen261 +\pgf@yd=\dimen262 +\w@pgf@writea=\write3 +\r@pgf@reada=\read3 +\c@pgf@counta=\count321 +\c@pgf@countb=\count322 +\c@pgf@countc=\count323 +\c@pgf@countd=\count324 +\t@pgf@toka=\toks33 +\t@pgf@tokb=\toks34 +\t@pgf@tokc=\toks35 +\pgf@sys@id@count=\count325 + (/usr/share/texmf-dist/tex/generic/pgf/systemlayer/pgf.cfg +File: pgf.cfg 2025-08-29 v3.1.11a (3.1.11a) +) +Driver file for pgf: pgfsys-pdftex.def -(/usr/share/texmf-dist/tex/latex/raleway/T1Raleway-OsF.fd +(/usr/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-pdftex.def +File: pgfsys-pdftex.def 2025-08-29 v3.1.11a (3.1.11a) + +(/usr/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-common-pdf.def +File: pgfsys-common-pdf.def 2025-08-29 v3.1.11a (3.1.11a) +))) +(/usr/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsyssoftpath.code.tex +File: pgfsyssoftpath.code.tex 2025-08-29 v3.1.11a (3.1.11a) +\pgfsyssoftpath@smallbuffer@items=\count326 +\pgfsyssoftpath@bigbuffer@items=\count327 +) +(/usr/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsysprotocol.code.tex +File: pgfsysprotocol.code.tex 2025-08-29 v3.1.11a (3.1.11a) +)) +(/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcore.code.tex +Package: pgfcore 2025-08-29 v3.1.11a (3.1.11a) + +(/usr/share/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex +(/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathutil.code.tex) +(/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathparser.code.tex +\pgfmath@dimen=\dimen263 +\pgfmath@count=\count328 +\pgfmath@box=\box67 +\pgfmath@toks=\toks36 +\pgfmath@stack@operand=\toks37 +\pgfmath@stack@operation=\toks38 +) +(/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.code.tex) +(/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.basic.code.tex) +(/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.trigonometric.code +.tex) +(/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.random.code.tex) +(/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.comparison.code.te +x) (/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.base.code.tex) +(/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.round.code.tex) +(/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.misc.code.tex) +(/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.integerarithmetics +.code.tex) (/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathcalc.code.tex) +(/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathfloat.code.tex +\c@pgfmathroundto@lastzeros=\count329 +)) +(/usr/share/texmf-dist/tex/generic/pgf/math/pgfint.code.tex) +(/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepoints.code.tex +File: pgfcorepoints.code.tex 2025-08-29 v3.1.11a (3.1.11a) +\pgf@picminx=\dimen264 +\pgf@picmaxx=\dimen265 +\pgf@picminy=\dimen266 +\pgf@picmaxy=\dimen267 +\pgf@pathminx=\dimen268 +\pgf@pathmaxx=\dimen269 +\pgf@pathminy=\dimen270 +\pgf@pathmaxy=\dimen271 +\pgf@xx=\dimen272 +\pgf@xy=\dimen273 +\pgf@yx=\dimen274 +\pgf@yy=\dimen275 +\pgf@zx=\dimen276 +\pgf@zy=\dimen277 +) +(/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathconstruct.code.tex +File: pgfcorepathconstruct.code.tex 2025-08-29 v3.1.11a (3.1.11a) +\pgf@path@lastx=\dimen278 +\pgf@path@lasty=\dimen279 +) (/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathusage.code.tex +File: pgfcorepathusage.code.tex 2025-08-29 v3.1.11a (3.1.11a) +\pgf@shorten@end@additional=\dimen280 +\pgf@shorten@start@additional=\dimen281 +) +(/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorescopes.code.tex +File: pgfcorescopes.code.tex 2025-08-29 v3.1.11a (3.1.11a) +\pgfpic=\box68 +\pgf@hbox=\box69 +\pgf@layerbox@main=\box70 +\pgf@picture@serial@count=\count330 +) +(/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcoregraphicstate.code.tex +File: pgfcoregraphicstate.code.tex 2025-08-29 v3.1.11a (3.1.11a) +\pgflinewidth=\dimen282 +) +(/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcoretransformations.code.t +ex +File: pgfcoretransformations.code.tex 2025-08-29 v3.1.11a (3.1.11a) +\pgf@pt@x=\dimen283 +\pgf@pt@y=\dimen284 +\pgf@pt@temp=\dimen285 +) (/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorequick.code.tex +File: pgfcorequick.code.tex 2025-08-29 v3.1.11a (3.1.11a) +) +(/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreobjects.code.tex +File: pgfcoreobjects.code.tex 2025-08-29 v3.1.11a (3.1.11a) +) +(/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathprocessing.code.te +x +File: pgfcorepathprocessing.code.tex 2025-08-29 v3.1.11a (3.1.11a) +) (/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorearrows.code.tex +File: pgfcorearrows.code.tex 2025-08-29 v3.1.11a (3.1.11a) +\pgfarrowsep=\dimen286 +) +(/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreshade.code.tex +File: pgfcoreshade.code.tex 2025-08-29 v3.1.11a (3.1.11a) +\pgf@max=\dimen287 +\pgf@sys@shading@range@num=\count331 +\pgf@shadingcount=\count332 +) +(/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreimage.code.tex +File: pgfcoreimage.code.tex 2025-08-29 v3.1.11a (3.1.11a) +) +(/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreexternal.code.tex +File: pgfcoreexternal.code.tex 2025-08-29 v3.1.11a (3.1.11a) +\pgfexternal@startupbox=\box71 +) +(/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorelayers.code.tex +File: pgfcorelayers.code.tex 2025-08-29 v3.1.11a (3.1.11a) +) +(/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcoretransparency.code.tex +File: pgfcoretransparency.code.tex 2025-08-29 v3.1.11a (3.1.11a) +) (/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepatterns.code.tex +File: pgfcorepatterns.code.tex 2025-08-29 v3.1.11a (3.1.11a) +) +(/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorerdf.code.tex +File: pgfcorerdf.code.tex 2025-08-29 v3.1.11a (3.1.11a) +))) +(/usr/share/texmf-dist/tex/generic/pgf/modules/pgfmoduleshapes.code.tex +File: pgfmoduleshapes.code.tex 2025-08-29 v3.1.11a (3.1.11a) +\pgfnodeparttextbox=\box72 +) +(/usr/share/texmf-dist/tex/generic/pgf/modules/pgfmoduleplot.code.tex +File: pgfmoduleplot.code.tex 2025-08-29 v3.1.11a (3.1.11a) +) +(/usr/share/texmf-dist/tex/latex/pgf/compatibility/pgfcomp-version-0-65.sty +Package: pgfcomp-version-0-65 2025-08-29 v3.1.11a (3.1.11a) +\pgf@nodesepstart=\dimen288 +\pgf@nodesepend=\dimen289 +) +(/usr/share/texmf-dist/tex/latex/pgf/compatibility/pgfcomp-version-1-18.sty +Package: pgfcomp-version-1-18 2025-08-29 v3.1.11a (3.1.11a) +)) +(/usr/share/texmf-dist/tex/latex/pgf/utilities/pgffor.sty +(/usr/share/texmf-dist/tex/latex/pgf/utilities/pgfkeys.sty +(/usr/share/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex)) +(/usr/share/texmf-dist/tex/latex/pgf/math/pgfmath.sty +(/usr/share/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex)) +(/usr/share/texmf-dist/tex/generic/pgf/utilities/pgffor.code.tex +Package: pgffor 2025-08-29 v3.1.11a (3.1.11a) +\pgffor@iter=\dimen290 +\pgffor@skip=\dimen291 +\pgffor@stack=\toks39 +\pgffor@toks=\toks40 +)) +(/usr/share/texmf-dist/tex/generic/pgf/frontendlayer/tikz/tikz.code.tex +Package: tikz 2025-08-29 v3.1.11a (3.1.11a) + +(/usr/share/texmf-dist/tex/generic/pgf/libraries/pgflibraryplothandlers.code.te +x +File: pgflibraryplothandlers.code.tex 2025-08-29 v3.1.11a (3.1.11a) +\pgf@plot@mark@count=\count333 +\pgfplotmarksize=\dimen292 +) +\tikz@lastx=\dimen293 +\tikz@lasty=\dimen294 +\tikz@lastxsaved=\dimen295 +\tikz@lastysaved=\dimen296 +\tikz@lastmovetox=\dimen297 +\tikz@lastmovetoy=\dimen298 +\tikzleveldistance=\dimen299 +\tikzsiblingdistance=\dimen300 +\tikz@figbox=\box73 +\tikz@figbox@bg=\box74 +\tikz@tempbox=\box75 +\tikz@tempbox@bg=\box76 +\tikztreelevel=\count334 +\tikznumberofchildren=\count335 +\tikznumberofcurrentchild=\count336 +\tikz@fig@count=\count337 + (/usr/share/texmf-dist/tex/generic/pgf/modules/pgfmodulematrix.code.tex +File: pgfmodulematrix.code.tex 2025-08-29 v3.1.11a (3.1.11a) +\pgfmatrixcurrentrow=\count338 +\pgfmatrixcurrentcolumn=\count339 +\pgf@matrix@numberofcolumns=\count340 +) +\tikz@expandcount=\count341 + +(/usr/share/texmf-dist/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrary +topaths.code.tex +File: tikzlibrarytopaths.code.tex 2025-08-29 v3.1.11a (3.1.11a) +))) (/usr/share/texmf-dist/tex/latex/tools/verbatim.sty +Package: verbatim 2024-01-22 v1.5x LaTeX2e package for verbatim enhancements +\every@verbatim=\toks41 +\verbatim@line=\toks42 +\verbatim@in@stream=\read4 +) +(/usr/share/texmf-dist/tex/latex/environ/environ.sty +Package: environ 2014/05/04 v0.3 A new way to define environments + +(/usr/share/texmf-dist/tex/latex/trimspaces/trimspaces.sty +Package: trimspaces 2009/09/17 v1.1 Trim spaces around a token list +) +\@envbody=\toks43 +) +\tcb@titlebox=\box77 +\tcb@upperbox=\box78 +\tcb@lowerbox=\box79 +\tcb@phantombox=\box80 +\c@tcbbreakpart=\count342 +\c@tcblayer=\count343 +\c@tcolorbox@number=\count344 +\l__tcobox_tmpa_box=\box81 +\l__tcobox_tmpa_dim=\dimen301 +\tcb@temp=\box82 +\tcb@temp=\box83 +\tcb@temp=\box84 +\tcb@temp=\box85 + +(/usr/share/texmf-dist/tex/latex/tcolorbox/tcbraster.code.tex +Library (tcolorbox): 'tcbraster.code.tex' version '6.9.0' +\c@tcbrastercolumn=\count345 +\c@tcbrasterrow=\count346 +\c@tcbrasternum=\count347 +\c@tcbraster=\count348 +) (/usr/share/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex +Library (tcolorbox): 'tcbskins.code.tex' version '6.9.0' +(/usr/share/texmf-dist/tex/latex/tikzfill/tikzfill.image.sty +Package: tikzfill.image 2023/08/08 v1.0.1 Image filling library for TikZ + +(/usr/share/texmf-dist/tex/latex/tikzfill/tikzfill-common.sty +Package: tikzfill-common 2023/08/08 v1.0.1 Auxiliary code for tikzfill +) +(/usr/share/texmf-dist/tex/latex/tikzfill/tikzlibraryfill.image.code.tex +File: tikzlibraryfill.image.code.tex 2023/08/08 v1.0.1 Image filling library +\l__tikzfill_img_box=\box86 +)) +(/usr/share/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex +Library (tcolorbox): 'tcbskinsjigsaw.code.tex' version '6.9.0' +)) (/usr/share/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex +Library (tcolorbox): 'tcbbreakable.code.tex' version '6.9.0' +(/usr/share/texmf-dist/tex/latex/pdfcol/pdfcol.sty +Package: pdfcol 2022-09-21 v1.7 Handle new color stacks for pdfTeX (HO) +) +Package pdfcol Info: New color stack `tcb@breakable' = 1 on input line 23. +\tcb@testbox=\box87 +\tcb@totalupperbox=\box88 +\tcb@totallowerbox=\box89 +) +(/usr/share/texmf-dist/tex/latex/tcolorbox/tcbhooks.code.tex +Library (tcolorbox): 'tcbhooks.code.tex' version '6.9.0' +) (/usr/share/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex +Library (tcolorbox): 'tcbtheorems.code.tex' version '6.9.0' +(/usr/share/texmf-dist/tex/latex/amsmath/amsmath.sty +Package: amsmath 2025/07/09 v2.17z AMS math features +\@mathmargin=\skip58 + +For additional information on amsmath, use the `?' option. +(/usr/share/texmf-dist/tex/latex/amsmath/amstext.sty +Package: amstext 2024/11/17 v2.01 AMS text + +(/usr/share/texmf-dist/tex/latex/amsmath/amsgen.sty +File: amsgen.sty 1999/11/30 v2.0 generic functions +\@emptytoks=\toks44 +\ex@=\dimen302 +)) +(/usr/share/texmf-dist/tex/latex/amsmath/amsbsy.sty +Package: amsbsy 1999/11/29 v1.2d Bold Symbols +\pmbraise@=\dimen303 +) +(/usr/share/texmf-dist/tex/latex/amsmath/amsopn.sty +Package: amsopn 2022/04/08 v2.04 operator names +) +\inf@bad=\count349 +LaTeX Info: Redefining \frac on input line 233. +\uproot@=\count350 +\leftroot@=\count351 +LaTeX Info: Redefining \overline on input line 398. +LaTeX Info: Redefining \colon on input line 409. +\classnum@=\count352 +\DOTSCASE@=\count353 +LaTeX Info: Redefining \ldots on input line 495. +LaTeX Info: Redefining \dots on input line 498. +LaTeX Info: Redefining \cdots on input line 619. +\Mathstrutbox@=\box90 +\strutbox@=\box91 +LaTeX Info: Redefining \big on input line 721. +LaTeX Info: Redefining \Big on input line 722. +LaTeX Info: Redefining \bigg on input line 723. +LaTeX Info: Redefining \Bigg on input line 724. +\big@size=\dimen304 +LaTeX Font Info: Redeclaring font encoding OML on input line 742. +LaTeX Font Info: Redeclaring font encoding OMS on input line 743. +\macc@depth=\count354 +LaTeX Info: Redefining \bmod on input line 904. +LaTeX Info: Redefining \pmod on input line 909. +LaTeX Info: Redefining \smash on input line 939. +LaTeX Info: Redefining \relbar on input line 969. +LaTeX Info: Redefining \Relbar on input line 970. +\c@MaxMatrixCols=\count355 +\dotsspace@=\muskip18 +\c@parentequation=\count356 +\dspbrk@lvl=\count357 +\tag@help=\toks45 +\row@=\count358 +\column@=\count359 +\maxfields@=\count360 +\andhelp@=\toks46 +\eqnshift@=\dimen305 +\alignsep@=\dimen306 +\tagshift@=\dimen307 +\tagwidth@=\dimen308 +\totwidth@=\dimen309 +\lineht@=\dimen310 +\@envbody=\toks47 +\multlinegap=\skip59 +\multlinetaggap=\skip60 +\mathdisplay@stack=\toks48 +LaTeX Info: Redefining \[ on input line 2950. +LaTeX Info: Redefining \] on input line 2951. +)) +(/usr/share/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex +Library (tcolorbox): 'tcbfitting.code.tex' version '6.9.0' +\tcbfitdim=\dimen311 +\tcb@lowerfitdim=\dimen312 +\tcb@upperfitdim=\dimen313 +\tcb@cur@hbadness=\count361 +) (/usr/share/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex +Library (tcolorbox): 'tcblistingsutf8.code.tex' version '6.9.0' +(/usr/share/texmf-dist/tex/latex/tcolorbox/tcblistings.code.tex +Library (tcolorbox): 'tcblistings.code.tex' version '6.9.0' +(/usr/share/texmf-dist/tex/latex/listings/listings.sty +\lst@mode=\count362 +\lst@gtempboxa=\box92 +\lst@token=\toks49 +\lst@length=\count363 +\lst@currlwidth=\dimen314 +\lst@column=\count364 +\lst@pos=\count365 +\lst@lostspace=\dimen315 +\lst@width=\dimen316 +\lst@newlines=\count366 +\lst@lineno=\count367 +\lst@maxwidth=\dimen317 + +(/usr/share/texmf-dist/tex/latex/listings/lstpatch.sty +File: lstpatch.sty 2025/11/14 1.11b (Carsten Heinz) +) +(/usr/share/texmf-dist/tex/latex/listings/lstmisc.sty +File: lstmisc.sty 2025/11/14 1.11b (Carsten Heinz) +\c@lstnumber=\count368 +\lst@skipnumbers=\count369 +\lst@framebox=\box93 +) +(/usr/share/texmf-dist/tex/latex/listings/listings.cfg +File: listings.cfg 2025/11/14 1.11b listings configuration +)) +Package: listings 2025/11/14 1.11b (Carsten Heinz) + +==> First Aid for listings.sty no longer applied! + Expected: + 2024/09/23 1.10c (Carsten Heinz) + but found: + 2025/11/14 1.11b (Carsten Heinz) + so I'm assuming it got fixed. +(/usr/share/texmf-dist/tex/latex/tcolorbox/tcblistingscore.code.tex +Library (tcolorbox): 'tcblistingscore.code.tex' version '6.9.0' +(/usr/share/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex +Library (tcolorbox): 'tcbprocessing.code.tex' version '6.9.0' +) +\c@tcblisting=\count370 +)) (/usr/share/texmf-dist/tex/latex/listingsutf8/listingsutf8.sty +Package: listingsutf8 2019-12-10 v1.5 Allow UTF-8 in listings input (HO) +)) +(/usr/share/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex +Library (tcolorbox): 'tcbexternal.code.tex' version '6.9.0' +) (/usr/share/texmf-dist/tex/latex/tcolorbox/tcbmagazine.code.tex +Library (tcolorbox): 'tcbmagazine.code.tex' version '6.9.0' +) (/usr/share/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex +Library (tcolorbox): 'tcbvignette.code.tex' version '6.9.0' + +(/usr/share/texmf-dist/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrary +fadings.code.tex +File: tikzlibraryfadings.code.tex 2025-08-29 v3.1.11a (3.1.11a) + +(/usr/share/texmf-dist/tex/generic/pgf/libraries/pgflibraryfadings.code.tex +File: pgflibraryfadings.code.tex 2025-08-29 v3.1.11a (3.1.11a) +))) +(/usr/share/texmf-dist/tex/latex/tcolorbox/tcbposter.code.tex +Library (tcolorbox): 'tcbposter.code.tex' version '6.9.0' +))) +LaTeX Font Info: Trying to load font information for T1+Raleway-OsF on input + line 15. + (/usr/share/texmf-dist/tex/latex/raleway/T1Raleway-OsF.fd File: T1Raleway-OsF.fd 2025/04/09 (autoinst) Font definitions for T1/Raleway-Os F. ) LaTeX Font Info: Font shape `T1/Raleway-OsF/m/n' will be -(Font) scaled to size 10.95pt on input line 34. +(Font) scaled to size 10.95pt on input line 15. (/usr/share/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def File: l3backend-pdftex.def 2025-10-09 L3 backend support: PDF output (pdfTeX) -\l__color_backend_stack_int=\count356 +\l__color_backend_stack_int=\count371 ) (/home/raw/uni/fsi/trabalho/relatorio/relatorio.aux Package babel Info: 'portuguese' activates 'portuges' shorthands. @@ -721,35 +1026,34 @@ Package babel Info: 'portuguese' activates 'portuges' shorthands. ) \openout1 = `relatorio.aux'. -LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 34. -LaTeX Font Info: ... okay on input line 34. -LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 34. -LaTeX Font Info: ... okay on input line 34. -LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 34. -LaTeX Font Info: ... okay on input line 34. -LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 34. -LaTeX Font Info: ... okay on input line 34. -LaTeX Font Info: Checking defaults for TS1/cmr/m/n on input line 34. -LaTeX Font Info: ... okay on input line 34. -LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 34. -LaTeX Font Info: ... okay on input line 34. -LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 34. -LaTeX Font Info: ... okay on input line 34. -LaTeX Font Info: Checking defaults for LY1/ptm/m/n on input line 34. -LaTeX Font Info: Trying to load font information for LY1+ptm on input line 3 -4. +LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 15. +LaTeX Font Info: ... okay on input line 15. +LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 15. +LaTeX Font Info: ... okay on input line 15. +LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 15. +LaTeX Font Info: ... okay on input line 15. +LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 15. +LaTeX Font Info: ... okay on input line 15. +LaTeX Font Info: Checking defaults for TS1/cmr/m/n on input line 15. +LaTeX Font Info: ... okay on input line 15. +LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 15. +LaTeX Font Info: ... okay on input line 15. +LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 15. +LaTeX Font Info: ... okay on input line 15. +LaTeX Font Info: Checking defaults for LY1/ptm/m/n on input line 15. +LaTeX Font Info: Trying to load font information for LY1+ptm on input line 1 +5. (/usr/share/texmf-dist/tex/latex/ly1/ly1ptm.fd File: ly1ptm.fd 2001/02/01 font definitions for LY1/ptm using Berry names. ) -LaTeX Font Info: ... okay on input line 34. -LaTeX Font Info: Checking defaults for PD1/pdf/m/n on input line 34. -LaTeX Font Info: ... okay on input line 34. -LaTeX Font Info: Checking defaults for PU/pdf/m/n on input line 34. -LaTeX Font Info: ... okay on input line 34. -\c@mv@tabular=\count357 -\c@mv@boldtabular=\count358 -\c@lstlisting=\count359 +LaTeX Font Info: ... okay on input line 15. +LaTeX Font Info: Checking defaults for PD1/pdf/m/n on input line 15. +LaTeX Font Info: ... okay on input line 15. +LaTeX Font Info: Checking defaults for PU/pdf/m/n on input line 15. +LaTeX Font Info: ... okay on input line 15. +\c@mv@tabular=\count372 +\c@mv@boldtabular=\count373 *geometry* driver: auto-detecting *geometry* detected driver: pdftex @@ -787,17 +1091,17 @@ LaTeX Font Info: ... okay on input line 34. (/usr/share/texmf-dist/tex/context/base/mkii/supp-pdf.mkii [Loading MPS to PDF converter (version 2006.09.02).] -\scratchcounter=\count360 -\scratchdimen=\dimen266 -\scratchbox=\box77 -\nofMPsegments=\count361 -\nofMParguments=\count362 -\everyMPshowfont=\toks39 -\MPscratchCnt=\count363 -\MPscratchDim=\dimen267 -\MPnumerator=\count364 -\makeMPintoPDFobject=\count365 -\everyMPtoPDFconversion=\toks40 +\scratchcounter=\count374 +\scratchdimen=\dimen318 +\scratchbox=\box94 +\nofMPsegments=\count375 +\nofMParguments=\count376 +\everyMPshowfont=\toks50 +\MPscratchCnt=\count377 +\MPscratchDim=\dimen319 +\MPnumerator=\count378 +\makeMPintoPDFobject=\count379 +\everyMPtoPDFconversion=\toks51 ) (/usr/share/texmf-dist/tex/latex/epstopdf-pkg/epstopdf-base.sty Package: epstopdf-base 2020-01-24 v2.11 Base part for package epstopdf Package epstopdf-base Info: Redefining graphics rule for `.eps' on input line 4 @@ -807,42 +1111,45 @@ Package epstopdf-base Info: Redefining graphics rule for `.eps' on input line 4 File: epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Liv e )) -Package hyperref Info: Link coloring ON on input line 34. +Package hyperref Info: Link coloring ON on input line 15. \@outlinefile=\write4 \openout4 = `relatorio.out'. +\c@lstlisting=\count380 + +(/usr/share/texmf-dist/tex/latex/base/inputenc.sty +Package: inputenc 2024/02/08 v1.3d Input encoding file +\inpenc@prehook=\toks52 +\inpenc@posthook=\toks53 +) LaTeX Font Info: Font shape `T1/Raleway-OsF/m/n' will be -(Font) scaled to size 17.28pt on input line 36. +(Font) scaled to size 17.28pt on input line 17. LaTeX Font Info: Font shape `T1/Raleway-OsF/m/n' will be -(Font) scaled to size 12.0pt on input line 36. -LaTeX Font Info: Trying to load font information for U+msa on input line 36. +(Font) scaled to size 12.0pt on input line 17. +LaTeX Font Info: Trying to load font information for U+msa on input line 17. (/usr/share/texmf-dist/tex/latex/amsfonts/umsa.fd File: umsa.fd 2013/01/14 v3.01 AMS symbols A ) -LaTeX Font Info: Trying to load font information for U+msb on input line 36. +LaTeX Font Info: Trying to load font information for U+msb on input line 17. (/usr/share/texmf-dist/tex/latex/amsfonts/umsb.fd File: umsb.fd 2013/01/14 v3.01 AMS symbols B ) LaTeX Font Info: Font shape `T1/Raleway-OsF/m/n' will be -(Font) scaled to size 14.4pt on input line 36. +(Font) scaled to size 14.4pt on input line 17. LaTeX Font Info: Font shape `T1/Raleway-OsF/bold/n' aliased to -(Font) `T1/Raleway-OsF/b/n' on input line 36. +(Font) `T1/Raleway-OsF/b/n' on input line 17. LaTeX Font Info: Font shape `T1/Raleway-OsF/b/n' will be -(Font) scaled to size 14.4pt on input line 36. +(Font) scaled to size 14.4pt on input line 17. (/home/raw/uni/fsi/trabalho/relatorio/relatorio.toc LaTeX Font Info: Font shape `T1/Raleway-OsF/bold/n' aliased to (Font) `T1/Raleway-OsF/b/n' on input line 2. LaTeX Font Info: Font shape `T1/Raleway-OsF/b/n' will be (Font) scaled to size 10.95pt on input line 2. -LaTeX Font Info: Font shape `T1/Raleway-OsF/bold/it' aliased to -(Font) `T1/Raleway-OsF/b/it' on input line 5. -LaTeX Font Info: Font shape `T1/Raleway-OsF/b/it' will be -(Font) scaled to size 10.95pt on input line 5. ) \tf@toc=\write5 \openout5 = `relatorio.toc'. @@ -852,41 +1159,63 @@ LaTeX Font Info: Font shape `T1/Raleway-OsF/b/it' will be {/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}{/usr/share/texmf-dist/fonts /enc/dvips/raleway/a_itoun2.enc}] LaTeX Font Info: Font shape `T1/Raleway-OsF/m/it' will be -(Font) scaled to size 10.95pt on input line 42. +(Font) scaled to size 10.95pt on input line 23. +LaTeX Font Info: Font shape `T1/Raleway-OsF/bold/n' aliased to +(Font) `T1/Raleway-OsF/b/n' on input line 57. +LaTeX Font Info: Font shape `T1/Raleway-OsF/b/n' will be +(Font) scaled to size 12.0pt on input line 57. +\g__tcobox_out_iow=\write6 +\openout6 = `relatorio.listing'. + +LaTeX Font Info: Font shape `T1/cmtt/bx/n' in size <10.95> not available +(Font) Font shape `T1/cmtt/m/n' tried instead on input line 91. +LaTeX Font Info: Font shape `T1/cmtt/bx/n' in size <9> not available +(Font) Font shape `T1/cmtt/m/n' tried instead on input line 91. (/usr/share/texmf-dist/tex/latex/listings/lstlang1.sty File: lstlang1.sty 2025/11/14 1.11b listings language file ) (/usr/share/texmf-dist/tex/latex/listings/lstlang1.sty File: lstlang1.sty 2025/11/14 1.11b listings language file ) +(/home/raw/uni/fsi/trabalho/relatorio/relatorio.listing LaTeX Font Info: Font shape `T1/Raleway-OsF/m/n' will be -(Font) scaled to size 9.0pt on input line 86. -LaTeX Font Info: Font shape `T1/cmtt/bx/n' in size <9> not available -(Font) Font shape `T1/cmtt/m/n' tried instead on input line 95. - [2{/usr/share/texmf-dist/fonts/enc/dvips/cm-super/cm-super-t1.enc}] -LaTeX Font Info: Font shape `T1/Raleway-OsF/bold/it' aliased to -(Font) `T1/Raleway-OsF/b/it' on input line 141. -LaTeX Font Info: Font shape `T1/Raleway-OsF/b/it' will be -(Font) scaled to size 14.4pt on input line 141. -LaTeX Font Info: Font shape `T1/Raleway-OsF/bold/n' aliased to -(Font) `T1/Raleway-OsF/b/n' on input line 143. -LaTeX Font Info: Font shape `T1/Raleway-OsF/b/n' will be -(Font) scaled to size 12.0pt on input line 143. - +(Font) scaled to size 9.0pt on input line 1. +) [2{/usr/share/texmf-dist/fonts/enc/dvips/cm-super/cm-super-t1.enc}] +\openout6 = `relatorio.listing'. + + +(/home/raw/uni/fsi/trabalho/relatorio/relatorio.listing) +\openout6 = `relatorio.listing'. + + +(/home/raw/uni/fsi/trabalho/relatorio/relatorio.listing) [3] +\openout6 = `relatorio.listing'. + + +(/home/raw/uni/fsi/trabalho/relatorio/relatorio.listing) + File: google-authenticator.jpg Graphic file (type jpg) -Package pdftex.def Info: google-authenticator.jpg used on input line 169. +Package pdftex.def Info: google-authenticator.jpg used on input line 148. (pdftex.def) Requested size: 87.59998pt x 173.64207pt. +\openout6 = `relatorio.listing'. -LaTeX Warning: `h' float specifier changed to `ht'. +(/home/raw/uni/fsi/trabalho/relatorio/relatorio.listing) +\openout6 = `relatorio.listing'. -[3] [4 ] -[5] -runsystem(latexminted cleantemp --timestamp 20260424184203 C117BC0880C49B7BB81 -87B6D1568B650)...executed. - (/home/raw/uni/fsi/trabalho/relatorio/relatorio.aux) +(/home/raw/uni/fsi/trabalho/relatorio/relatorio.listing) [4 ] +\openout6 = `relatorio.listing'. + + +(/home/raw/uni/fsi/trabalho/relatorio/relatorio.listing) +\openout6 = `relatorio.listing'. + + +(/home/raw/uni/fsi/trabalho/relatorio/relatorio.listing) [5] [6] +(/home/raw/uni/fsi/trabalho/relatorio/relatorio.aux) *********** LaTeX2e <2025-11-01> L3 programming layer <2026-01-19> @@ -899,28 +1228,26 @@ Package rerunfilecheck Warning: File `relatorio.out' has changed. Package rerunfilecheck Info: Checksums for `relatorio.out': (rerunfilecheck) Before: -(rerunfilecheck) After: 421D094394457CC27F2EA2D1C1EC716E;1586. +(rerunfilecheck) After: 41C11594F8395BDDF3DB5C5ABB4704A9;1637. ) Here is how much of TeX's memory you used: - 20227 strings out of 469495 - 373994 string characters out of 5470098 - 1301885 words of memory out of 5000000 - 48492 multiletter control sequences out of 15000+600000 - 830020 words of font info for 92 fonts, out of 8000000 for 9000 + 31766 strings out of 469495 + 625795 string characters out of 5470098 + 1425222 words of memory out of 5000000 + 59766 multiletter control sequences out of 15000+600000 + 790677 words of font info for 87 fonts, out of 8000000 for 9000 16 hyphenation exceptions out of 8191 - 90i,6n,99p,490b,2124s stack positions out of 10000i,1000n,20000p,200000b,200000s + 113i,8n,122p,500b,1792s stack positions out of 10000i,1000n,20000p,200000b,200000s -Output written on /home/raw/uni/fsi/trabalho/relatorio/relatorio.pdf (5 pages, -176238 bytes). +hare/texmf-dist/fonts/type1/impallari/raleway/Raleway-Italic.pfb> +Output written on /home/raw/uni/fsi/trabalho/relatorio/relatorio.pdf (6 pages, +153091 bytes). PDF statistics: - 189 PDF objects out of 1000 (max. 8388607) - 165 compressed objects within 2 object streams + 222 PDF objects out of 1000 (max. 8388607) + 177 compressed objects within 2 object streams 97 named destinations out of 1000 (max. 500000) - 6 words of extra memory for PDF output out of 10000 (max. 10000000) + 162 words of extra memory for PDF output out of 10000 (max. 10000000) diff --git a/relatorio/relatorio.pdf b/relatorio/relatorio.pdf index d83225e..2bc82fe 100644 Binary files a/relatorio/relatorio.pdf and b/relatorio/relatorio.pdf differ diff --git a/relatorio/relatorio.synctex.gz b/relatorio/relatorio.synctex.gz deleted file mode 100644 index 5dc77fb..0000000 Binary files a/relatorio/relatorio.synctex.gz and /dev/null differ diff --git a/relatorio/relatorio.tex b/relatorio/relatorio.tex index a76e904..d6e7e0c 100644 --- a/relatorio/relatorio.tex +++ b/relatorio/relatorio.tex @@ -1,27 +1,8 @@ \documentclass[11pt,a4paper]{article} \usepackage[portuguese]{babel} \usepackage[lining]{ebgaramond} -\usepackage{listings} -\usepackage{booktabs} - \usepackage{style} -\lstdefinestyle{mystyle}{ - basicstyle=\ttfamily\footnotesize, - breakatwhitespace=false, - breaklines=true, - captionpos=b, - keepspaces=true, - numbers=left, - numbersep=5pt, - showspaces=false, - showstringspaces=false, - showtabs=false, - tabsize=2 -} - -\lstset{style=mystyle} - \setlength{\parindent}{0em} \setlength{\parskip}{2ex} @@ -71,9 +52,11 @@ pois esta contém o \textit{certificate authority} CA. OpenSSL / Apache & VM\_OPENSSL\_APACHE.sh & Rede Interna 10.60.0.0/24 \\ \end{tabular} -\section{Criação de certificados} +\section{Preparação Inicial} -Os certificados utilizados foram auto-certificados por uma autoridade central que "pertence" +\subsection{Criação de Certificados} + +Os certificados utilizados foram auto-certificados por uma autoridade central que ``pertence'' à máquina de OpenSSL. Esta mesma faz a gestão da lista de revogação. Todas as chaves foram criadas no mesmo computador, com as variáveis que estão @@ -85,7 +68,7 @@ com as chaves, requests e certificados necessários. O código para gerar os certificados X.509: -\begin{lstlisting}[language=bash] +\begin{codeblock}[bash]{create\_all\_keys.sh} cert_ca="/C=PT/ST=Coimbra/L=Coimbra/O=UC/CN=CoimbraVPN" cert_vpn="/C=PT/ST=Coimbra/L=Coimbra/O=UC/CN=gateway" cert_user="/C=PT/ST=Coimbra/L=Coimbra/O=UC/CN=warrior" @@ -104,19 +87,14 @@ openssl ca -batch -in "user.csr" -cert "ca.crt" -keyfile "ca.key" -out "user.crt openssl genrsa -out apache.key openssl req -new -key apache.key -out apache.csr -subj "$cert_apache" -addext "subjectAltName = IP:10.60.0.1,DNS:apache" openssl ca -batch -in "apache.csr" -cert "ca.crt" -keyfile "ca.key" -out "apache.crt" -config cheese.cfg -\end{lstlisting} - -% Porque é que precisamos de uma chave secreta? -% Criar chave secreta. - -\begin{lstlisting}[language=bash] openssl --genkey secret ta.key -\end{lstlisting} +\end{codeblock} + \section{Configuração geral} Para configurar as VMs era preciso introduzir os mesmos comandos várias vezes, o que levava muitas vezes a erros de escrita, ou a correr o mesmo comando várias vezes, por isso criamos vários ficheiros .sh para conseguir facilitar o processo. A utilização de ficheiros .sh também vem com outros positivos pois facilita a testagem, e a recriação do cenário rapidamente. No entanto para os serviços que configuramos, instalar, desativar e dar flush às iptables não foi suficiente, tivemos que criar pastas e sincronizar os relógios de todas as VMs visto que elas estarem ligeiramente atrasadas nunca conseguíamos acertar na password do google-authenticator que utiliza o tempo local para calcular a sua chave. -\begin{lstlisting}[language=bash] +\begin{codeblock}[bash]{VM\_CONFIG.sh} yum install -y epel-release yum install -y openvpn iptables-services dhcp-client systemctl stop firewalld @@ -139,26 +117,26 @@ mkdir -p /etc/openvpn/client systemctl stop chronyd ntpdate pool.ntp.org systemctl start chronyd -\end{lstlisting} +\end{codeblock} \subsection{Configurar TOTP} Foi criado o ficheiro \texttt{totp} com a configuração de autenticação a ser utilizada pelo plugin de PAM para o openvpn. -\begin{lstlisting}[language=bash] +\begin{codeblock}{/etc/pam.d/totp} plugin /usr/lib64/openvpn/plugins/openvpn-plugin-auth-pam.so totp -\end{lstlisting} +\end{codeblock} Adicionalmente, devido às restrições de segurança do \textit{systemd}, foi necessário desativar o \texttt{ProtectHome} no serviço do OpenVPN para que o plugin PAM consiga ler os ficheiros de segredo do Google Authenticator localizados nas diretorias \textit{home} dos utilizadores. -\begin{lstlisting}[language=bash] +\begin{codeblock}{override.conf} [Service] ProtectHome=false -\end{lstlisting} +\end{codeblock} Primeiro, na gateway, entramos como o utilizador desejado e obtemos a chave do gerador de palavras passes temporárias. Ao inserir a chave no @@ -170,10 +148,10 @@ chave de 6 dígitos. \includegraphics[width=8em]{google-authenticator} \end{figure} -\begin{lstlisting}[language=bash] +\begin{codeblock}[bash]{} su john google-authenticator -\end{lstlisting} +\end{codeblock} \subsection{Encaminhamento e Firewall} @@ -188,7 +166,7 @@ de IP (NAT). %e utilizar as regras apenas para encaminhar corretamente. % Colocar isso na conclusão tho -\begin{lstlisting}[language=bash] +\begin{codeblock}[bash]{firewall.sh} # Ativar encaminhamento echo "net.ipv4.ip_forward = 1" >> /etc/sysctl.conf sysctl -p /etc/sysctl.conf @@ -198,7 +176,7 @@ iptables -I INPUT 1 -p udp --dport 1194 -j ACCEPT iptables -I FORWARD 1 -i tun0 -o enp0s9 -j ACCEPT iptables -I FORWARD 1 -i enp0s9 -o tun0 -j ACCEPT iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o enp0s8 -j MASQUERADE -\end{lstlisting} +\end{codeblock} \section{Configuração do Cliente (Road Warrior)} @@ -207,7 +185,7 @@ gateway na porta 1194. Para garantir a segurança, utilizamos autenticação mú e um \textit{two factor authentication} (2FA) como palavras-passe temporárias, geradas através do \textit{Google Authenticator}. -\begin{lstlisting}[language=bash] +\begin{codeblock}{client.conf} client dev tun proto udp @@ -218,7 +196,7 @@ key user.key auth-user-pass cipher AES-256-GCM auth SHA256 -\end{lstlisting} +\end{codeblock} \section{Servidor Apache e OCSP} @@ -230,13 +208,17 @@ da autoridade de certificação. \begin{enumerate} \item Estabelecer a ligação VPN e verificar a conectividade à rede interna. \item No diretório da autoridade de certificação (máquina \textit{host}), revogar o certificado do utilizador: - \begin{lstlisting}[language=bash] + \begin{codeblock}[bash]{revoke.sh} openssl ca -revoke user.crt -config cheese.cfg -keyfile ca.key -cert ca.crt - \end{lstlisting} +\end{codeblock} \item Atualizar o ficheiro \texttt{index.txt} no servidor OCSP e reiniciar o serviço para carregar o novo estado de revogação. \item Tentar estabelecer uma nova ligação VPN e verificar que a autenticação falha devido à resposta \texttt{revoked} do responder OCSP. \end{enumerate} +\subsection{Testes} + +Podemos validar que o OCSP + \section{Conclusão} diff --git a/relatorio/relatorio.toc b/relatorio/relatorio.toc index 9c31f5b..e857db1 100644 --- a/relatorio/relatorio.toc +++ b/relatorio/relatorio.toc @@ -1,11 +1,12 @@ \babel@toc {portuguese}{}\relax \contentsline {section}{\numberline {1}Introdução}{2}{section.1}% -\contentsline {section}{\numberline {2}Criação de certificados}{2}{section.2}% +\contentsline {section}{\numberline {2}Preparação Inicial}{2}{section.2}% +\contentsline {subsection}{\numberline {2.1}Criação de Certificados}{2}{subsection.2.1}% \contentsline {section}{\numberline {3}Configuração geral}{3}{section.3}% -\contentsline {section}{\numberline {4}Configuração da \textit {Gateway} VPN}{3}{section.4}% -\contentsline {subsection}{\numberline {4.1}Configurar TOTP}{3}{subsection.4.1}% -\contentsline {subsection}{\numberline {4.2}Encaminhamento e Firewall}{4}{subsection.4.2}% -\contentsline {section}{\numberline {5}Configuração do Cliente (Road Warrior)}{4}{section.5}% -\contentsline {section}{\numberline {6}Servidor Apache e OCSP}{5}{section.6}% -\contentsline {subsection}{\numberline {6.1}Revocation e OCSP}{5}{subsection.6.1}% -\contentsline {section}{\numberline {7}Conclusão}{5}{section.7}% +\contentsline {subsection}{\numberline {3.1}Configurar TOTP}{3}{subsection.3.1}% +\contentsline {subsection}{\numberline {3.2}Encaminhamento e Firewall}{4}{subsection.3.2}% +\contentsline {section}{\numberline {4}Configuração do Cliente (Road Warrior)}{5}{section.4}% +\contentsline {section}{\numberline {5}Servidor Apache e OCSP}{5}{section.5}% +\contentsline {subsection}{\numberline {5.1}Revocation e OCSP}{5}{subsection.5.1}% +\contentsline {subsection}{\numberline {5.2}Testes}{6}{subsection.5.2}% +\contentsline {section}{\numberline {6}Conclusão}{6}{section.6}% diff --git a/relatorio/style.sty b/relatorio/style.sty index ea14007..eec5719 100644 --- a/relatorio/style.sty +++ b/relatorio/style.sty @@ -17,7 +17,47 @@ \usepackage{pifont} \usepackage{amssymb} -\usepackage{minted} +\usepackage[most]{tcolorbox} +\tcbuselibrary{listings, skins, breakable} + +\lstdefinestyle{mystyle}{ + basicstyle=\ttfamily\footnotesize, + breakatwhitespace=false, + breaklines=true, + captionpos=b, + keepspaces=true, + numbers=left, + numbersep=5pt, + showspaces=false, + showstringspaces=false, + showtabs=false, + tabsize=2, + commentstyle=\color{gray}, + keywordstyle=\color{MidnightBlue}\bfseries, + stringstyle=\color{ForestGreen} +} + +\newtcblisting{codeblock}[2][]{ + enhanced, + breakable, + colback=gray!2!white, + colframe=gray!20!black, + attach boxed title to top left={yshift*=-\tcboxedtitleheight/2, xshift=4mm}, + boxed title style={ + colback=gray!20!black, + outer arc=0pt, + arc=0pt, + top=1pt, + bottom=1pt, + }, + fonttitle=\bfseries\ttfamily\footnotesize, + title={#2}, + listing only, + listing options={ + style=mystyle, + language=#1, + } +} \setlength{\parskip}{1em}% \setlength{\parindent}{0em}% diff --git a/user2.p12 b/user2.p12 deleted file mode 100644 index 2e76dfe..0000000 Binary files a/user2.p12 and /dev/null differ