mirror of
https://github.com/yuriskinfo/cheat-sheets.git
synced 2025-12-21 13:23:11 +01:00
ongoing additions, changes, and fixes
This commit is contained in:
@@ -82,6 +82,13 @@ v1.0, 2020-09-01
|
|||||||
|*pfctl -nf /etc/pf.conf*
|
|*pfctl -nf /etc/pf.conf*
|
||||||
|Parse security rules soterd in a file without installing them (dry run).
|
|Parse security rules soterd in a file without installing them (dry run).
|
||||||
|
|
||||||
|
|*pass in quick on egress from 62.13.77.141 to any*
|
||||||
|
| 'Quick' rule (means allows this traffic on all interfaces, otherwise we would need 2nd rule allowing this traffic in _outgoing_ direction on egress interface) to allow incoming ANY port/protocol with the source being `62.13.77.141` and destination being ANY IP address behind the PF firewall. NOTE: here, `egress` is not a direction, but a group name to which the interface in question (`em0`) belongs to. In OpenBSD you set it in a file `/etc/hostname.em0: group egress`.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|===
|
|===
|
||||||
|
|
||||||
|
|||||||
@@ -5,8 +5,8 @@
|
|||||||
/Author (Yuri Slobodyanyuk)
|
/Author (Yuri Slobodyanyuk)
|
||||||
/Creator (Asciidoctor PDF 1.5.3, based on Prawn 2.2.2)
|
/Creator (Asciidoctor PDF 1.5.3, based on Prawn 2.2.2)
|
||||||
/Producer (Yuri Slobodyanyuk)
|
/Producer (Yuri Slobodyanyuk)
|
||||||
/ModDate (D:20201028132819+00'00')
|
/ModDate (D:20201030160057+00'00')
|
||||||
/CreationDate (D:20201028132831+00'00')
|
/CreationDate (D:20201030160109+00'00')
|
||||||
>>
|
>>
|
||||||
endobj
|
endobj
|
||||||
2 0 obj
|
2 0 obj
|
||||||
@@ -1512,7 +1512,7 @@ endobj
|
|||||||
endobj
|
endobj
|
||||||
8 0 obj
|
8 0 obj
|
||||||
<< /Type /Font
|
<< /Type /Font
|
||||||
/BaseFont /2b67cc+NotoSerif-Bold
|
/BaseFont /2e606f+NotoSerif-Bold
|
||||||
/Subtype /TrueType
|
/Subtype /TrueType
|
||||||
/FontDescriptor 29 0 R
|
/FontDescriptor 29 0 R
|
||||||
/FirstChar 32
|
/FirstChar 32
|
||||||
@@ -1549,7 +1549,7 @@ endobj
|
|||||||
endobj
|
endobj
|
||||||
14 0 obj
|
14 0 obj
|
||||||
<< /Type /Font
|
<< /Type /Font
|
||||||
/BaseFont /b7e5a9+NotoSerif
|
/BaseFont /99ba80+NotoSerif
|
||||||
/Subtype /TrueType
|
/Subtype /TrueType
|
||||||
/FontDescriptor 37 0 R
|
/FontDescriptor 37 0 R
|
||||||
/FirstChar 32
|
/FirstChar 32
|
||||||
@@ -1560,7 +1560,7 @@ endobj
|
|||||||
endobj
|
endobj
|
||||||
15 0 obj
|
15 0 obj
|
||||||
<< /Type /Font
|
<< /Type /Font
|
||||||
/BaseFont /6cb94b+mplus1mn-regular
|
/BaseFont /29fc85+mplus1mn-regular
|
||||||
/Subtype /TrueType
|
/Subtype /TrueType
|
||||||
/FontDescriptor 41 0 R
|
/FontDescriptor 41 0 R
|
||||||
/FirstChar 32
|
/FirstChar 32
|
||||||
@@ -1573,7 +1573,7 @@ endobj
|
|||||||
[7 0 R /XYZ 0 324.519 null]
|
[7 0 R /XYZ 0 324.519 null]
|
||||||
endobj
|
endobj
|
||||||
17 0 obj
|
17 0 obj
|
||||||
<< /Length 6927
|
<< /Length 10210
|
||||||
>>
|
>>
|
||||||
stream
|
stream
|
||||||
q
|
q
|
||||||
@@ -1796,6 +1796,14 @@ f
|
|||||||
297.64 540.43 249.4 37.56 re
|
297.64 540.43 249.4 37.56 re
|
||||||
f
|
f
|
||||||
0.0 0.0 0.0 scn
|
0.0 0.0 0.0 scn
|
||||||
|
1.0 1.0 1.0 scn
|
||||||
|
48.24 360.85 249.4 179.58 re
|
||||||
|
f
|
||||||
|
0.0 0.0 0.0 scn
|
||||||
|
1.0 1.0 1.0 scn
|
||||||
|
297.64 360.85 249.4 179.58 re
|
||||||
|
f
|
||||||
|
0.0 0.0 0.0 scn
|
||||||
0.5 w
|
0.5 w
|
||||||
0.8667 0.8667 0.8667 SCN
|
0.8667 0.8667 0.8667 SCN
|
||||||
48.24 659.11 m
|
48.24 659.11 m
|
||||||
@@ -2100,6 +2108,236 @@ BT
|
|||||||
<696e7374616c6c696e67207468656d20286472792072756e292e> Tj
|
<696e7374616c6c696e67207468656d20286472792072756e292e> Tj
|
||||||
ET
|
ET
|
||||||
|
|
||||||
|
0.0 0.0 0.0 scn
|
||||||
|
0.5 w
|
||||||
|
0.8667 0.8667 0.8667 SCN
|
||||||
|
48.24 540.43 m
|
||||||
|
297.64 540.43 l
|
||||||
|
S
|
||||||
|
[] 0 d
|
||||||
|
0.5 w
|
||||||
|
0.8667 0.8667 0.8667 SCN
|
||||||
|
48.24 360.85 m
|
||||||
|
297.64 360.85 l
|
||||||
|
S
|
||||||
|
[] 0 d
|
||||||
|
0.5 w
|
||||||
|
0.8667 0.8667 0.8667 SCN
|
||||||
|
48.24 540.68 m
|
||||||
|
48.24 360.6 l
|
||||||
|
S
|
||||||
|
[] 0 d
|
||||||
|
0.5 w
|
||||||
|
0.8667 0.8667 0.8667 SCN
|
||||||
|
297.64 540.68 m
|
||||||
|
297.64 360.6 l
|
||||||
|
S
|
||||||
|
[] 0 d
|
||||||
|
1 w
|
||||||
|
0.0 0.0 0.0 SCN
|
||||||
|
0.2 0.2 0.2 scn
|
||||||
|
|
||||||
|
BT
|
||||||
|
51.24 525.466 Td
|
||||||
|
/F2.0 10.5 Tf
|
||||||
|
<7061737320696e20717569636b206f6e206567726573732066726f6d2036322e31332e37372e31343120746f> Tj
|
||||||
|
ET
|
||||||
|
|
||||||
|
|
||||||
|
BT
|
||||||
|
51.24 509.686 Td
|
||||||
|
/F2.0 10.5 Tf
|
||||||
|
[<616e> 20.0195 <79>] TJ
|
||||||
|
ET
|
||||||
|
|
||||||
|
0.0 0.0 0.0 scn
|
||||||
|
0.5 w
|
||||||
|
0.8667 0.8667 0.8667 SCN
|
||||||
|
297.64 540.43 m
|
||||||
|
547.04 540.43 l
|
||||||
|
S
|
||||||
|
[] 0 d
|
||||||
|
0.5 w
|
||||||
|
0.8667 0.8667 0.8667 SCN
|
||||||
|
297.64 360.85 m
|
||||||
|
547.04 360.85 l
|
||||||
|
S
|
||||||
|
[] 0 d
|
||||||
|
0.5 w
|
||||||
|
0.8667 0.8667 0.8667 SCN
|
||||||
|
297.64 540.68 m
|
||||||
|
297.64 360.6 l
|
||||||
|
S
|
||||||
|
[] 0 d
|
||||||
|
0.5 w
|
||||||
|
0.8667 0.8667 0.8667 SCN
|
||||||
|
547.04 540.68 m
|
||||||
|
547.04 360.6 l
|
||||||
|
S
|
||||||
|
[] 0 d
|
||||||
|
1 w
|
||||||
|
0.0 0.0 0.0 SCN
|
||||||
|
0.2 0.2 0.2 scn
|
||||||
|
|
||||||
|
BT
|
||||||
|
300.64 525.466 Td
|
||||||
|
/F1.0 10.5 Tf
|
||||||
|
[<27517569636b272072756c6520286d65616e7320616c6c6f77732074686973207472> 20.0195 <6166666963206f6e20616c6c>] TJ
|
||||||
|
ET
|
||||||
|
|
||||||
|
|
||||||
|
BT
|
||||||
|
300.64 509.686 Td
|
||||||
|
/F1.0 10.5 Tf
|
||||||
|
<696e74657266616365732c206f746865727769736520776520776f756c64206e65656420326e642072756c65> Tj
|
||||||
|
ET
|
||||||
|
|
||||||
|
|
||||||
|
BT
|
||||||
|
300.64 493.906 Td
|
||||||
|
/F1.0 10.5 Tf
|
||||||
|
[<616c6c6f77696e672074686973207472> 20.0195 <616666696320696e20>] TJ
|
||||||
|
ET
|
||||||
|
|
||||||
|
|
||||||
|
BT
|
||||||
|
413.9558 493.906 Td
|
||||||
|
/F3.0 10.5 Tf
|
||||||
|
<6f7574676f696e67> Tj
|
||||||
|
ET
|
||||||
|
|
||||||
|
|
||||||
|
BT
|
||||||
|
457.3208 493.906 Td
|
||||||
|
/F1.0 10.5 Tf
|
||||||
|
<20646972656374696f6e206f6e> Tj
|
||||||
|
ET
|
||||||
|
|
||||||
|
|
||||||
|
BT
|
||||||
|
300.64 478.126 Td
|
||||||
|
/F1.0 10.5 Tf
|
||||||
|
<65677265737320696e746572666163652920746f20616c6c6f7720696e636f6d696e6720414e59> Tj
|
||||||
|
ET
|
||||||
|
|
||||||
|
|
||||||
|
BT
|
||||||
|
300.64 462.346 Td
|
||||||
|
/F1.0 10.5 Tf
|
||||||
|
<706f72742f70726f746f636f6c20776974682074686520736f75726365206265696e6720> Tj
|
||||||
|
ET
|
||||||
|
|
||||||
|
0.6941 0.1294 0.2745 scn
|
||||||
|
0.6941 0.1294 0.2745 SCN
|
||||||
|
|
||||||
|
BT
|
||||||
|
479.791 462.346 Td
|
||||||
|
/F4.0 10.5 Tf
|
||||||
|
<36322e31332e37372e313431> Tj
|
||||||
|
ET
|
||||||
|
|
||||||
|
0.0 0.0 0.0 SCN
|
||||||
|
0.2 0.2 0.2 scn
|
||||||
|
|
||||||
|
BT
|
||||||
|
300.64 446.566 Td
|
||||||
|
/F1.0 10.5 Tf
|
||||||
|
<616e642064657374696e6174696f6e206265696e6720414e59204950206164647265737320626568696e64> Tj
|
||||||
|
ET
|
||||||
|
|
||||||
|
|
||||||
|
BT
|
||||||
|
300.64 430.786 Td
|
||||||
|
/F1.0 10.5 Tf
|
||||||
|
[<746865205046206669726577616c6c2e204e4f> 20.0195 <54453a20686572652c20>] TJ
|
||||||
|
ET
|
||||||
|
|
||||||
|
0.6941 0.1294 0.2745 scn
|
||||||
|
0.6941 0.1294 0.2745 SCN
|
||||||
|
|
||||||
|
BT
|
||||||
|
441.6233 430.786 Td
|
||||||
|
/F4.0 10.5 Tf
|
||||||
|
<656772657373> Tj
|
||||||
|
ET
|
||||||
|
|
||||||
|
0.0 0.0 0.0 SCN
|
||||||
|
0.2 0.2 0.2 scn
|
||||||
|
|
||||||
|
BT
|
||||||
|
473.1233 430.786 Td
|
||||||
|
/F1.0 10.5 Tf
|
||||||
|
<206973206e6f742061> Tj
|
||||||
|
ET
|
||||||
|
|
||||||
|
|
||||||
|
BT
|
||||||
|
300.64 415.006 Td
|
||||||
|
/F1.0 10.5 Tf
|
||||||
|
<646972656374696f6e2c2062757420612067726f7570206e616d6520746f20776869636820746865> Tj
|
||||||
|
ET
|
||||||
|
|
||||||
|
|
||||||
|
BT
|
||||||
|
300.64 399.226 Td
|
||||||
|
/F1.0 10.5 Tf
|
||||||
|
<696e7465726661636520696e207175657374696f6e2028> Tj
|
||||||
|
ET
|
||||||
|
|
||||||
|
0.6941 0.1294 0.2745 scn
|
||||||
|
0.6941 0.1294 0.2745 SCN
|
||||||
|
|
||||||
|
BT
|
||||||
|
410.8165 399.226 Td
|
||||||
|
/F4.0 10.5 Tf
|
||||||
|
<656d30> Tj
|
||||||
|
ET
|
||||||
|
|
||||||
|
0.0 0.0 0.0 SCN
|
||||||
|
0.2 0.2 0.2 scn
|
||||||
|
|
||||||
|
BT
|
||||||
|
426.5665 399.226 Td
|
||||||
|
/F1.0 10.5 Tf
|
||||||
|
<292062656c6f6e677320746f2e20496e> Tj
|
||||||
|
ET
|
||||||
|
|
||||||
|
|
||||||
|
BT
|
||||||
|
300.64 383.446 Td
|
||||||
|
/F1.0 10.5 Tf
|
||||||
|
<4f70656e42534420796f752073657420697420696e20612066696c6520> Tj
|
||||||
|
ET
|
||||||
|
|
||||||
|
0.6941 0.1294 0.2745 scn
|
||||||
|
0.6941 0.1294 0.2745 SCN
|
||||||
|
|
||||||
|
BT
|
||||||
|
438.337 383.446 Td
|
||||||
|
/F4.0 10.5 Tf
|
||||||
|
<2f6574632f686f73746e616d652e656d303a> Tj
|
||||||
|
ET
|
||||||
|
|
||||||
|
0.0 0.0 0.0 SCN
|
||||||
|
0.2 0.2 0.2 scn
|
||||||
|
0.6941 0.1294 0.2745 scn
|
||||||
|
0.6941 0.1294 0.2745 SCN
|
||||||
|
|
||||||
|
BT
|
||||||
|
300.64 367.666 Td
|
||||||
|
/F4.0 10.5 Tf
|
||||||
|
<67726f757020656772657373> Tj
|
||||||
|
ET
|
||||||
|
|
||||||
|
0.0 0.0 0.0 SCN
|
||||||
|
0.2 0.2 0.2 scn
|
||||||
|
|
||||||
|
BT
|
||||||
|
363.64 367.666 Td
|
||||||
|
/F1.0 10.5 Tf
|
||||||
|
<2e> Tj
|
||||||
|
ET
|
||||||
|
|
||||||
0.0 0.0 0.0 scn
|
0.0 0.0 0.0 scn
|
||||||
q
|
q
|
||||||
0.0 0.0 0.0 scn
|
0.0 0.0 0.0 scn
|
||||||
@@ -2138,6 +2376,7 @@ endobj
|
|||||||
/Font << /F2.0 8 0 R
|
/Font << /F2.0 8 0 R
|
||||||
/F1.0 14 0 R
|
/F1.0 14 0 R
|
||||||
/F4.0 15 0 R
|
/F4.0 15 0 R
|
||||||
|
/F3.0 13 0 R
|
||||||
>>
|
>>
|
||||||
/XObject << /Stamp2 27 0 R
|
/XObject << /Stamp2 27 0 R
|
||||||
>>
|
>>
|
||||||
@@ -2251,49 +2490,50 @@ Q
|
|||||||
endstream
|
endstream
|
||||||
endobj
|
endobj
|
||||||
28 0 obj
|
28 0 obj
|
||||||
<< /Length1 12608
|
<< /Length1 13808
|
||||||
/Length 8046
|
/Length 8974
|
||||||
/Filter [/FlateDecode]
|
/Filter [/FlateDecode]
|
||||||
>>
|
>>
|
||||||
stream
|
stream
|
||||||
x<EFBFBD><EFBFBD>{x[յ<EFBFBD><EFBFBD><EFBFBD>I<><49><EFBFBD><1F>l˶<6C>t,Ɏ,ɶl<C9B6>o<EFBFBD>!ٖ<><D996>mGvB"Œ<1F>d9<64> <09>$pB!4<><34><EFBFBD>\
|
x<EFBFBD><EFBFBD>{x[ŵ<EFBFBD><EFBFBD><EFBFBD>[<5B>-<2D><><EFBFBD>$[<5B><>-mK<6D>#<23>a˶<61><CBB6>lK~<7E>o;<3B><>8R,<2C><>X<EFBFBD><58>G <20><>H | ||||||