Quick Blog Links

about   root @       
 
  MacOS/iOS Applications   [x-code + objective-c]  
 
  SSHPass Automation Program   [python / app]  
 
  DHCP/ARP Relay-Bridge ~ Proxying   [c / lan]  
 
  ARP Sync + Route Replacement   [python / networking]  
 
  DNS-VPN ~ UDP-SSL   [python / networking]  
 
  OpenVPN MODs ~~ BULK ++ MTIO ++ DUAL   [c / networking]  
 
  VPN Multi-Proc/Thread TUN-TCP Full-MTU Bulk-Data EXE   [c / networking]  
 
written   Secure LAN Communication   [College Thesis]  
 
  College Project – Teaching Hacking!   [Course Paper]  
 
  ARM Assembly – A Basic Introduction…   [Blog Post]  
 
configs   Dual Minis   WiFi Networks  
 
  Mac Mini ++ Lenovo Mini   Firewalling [eb||nf]tables  
 
  Cisco and OpenWRT   NFTables FlowTable  
 
  Ubiquiti and OpenWRT   Routing ~~ Balancing  
 
  Home Stuff      
 
gear   vpn   @@   xorcipher.com              
 
 
# Note: github.com/fossjon <- I lost access due to missing 2fa, so now I'm using -> github.com/stoops
for p in `seq 1 3` ; do
  curl -sL "https://fossjon.com/feed/?paged=$p" | grep -Ei '<(title|link)>' \
    | sed -e 's@<title@~<title@g' | tr ' \t\r\n' ' ' | tr -s ' ' | tr '~' '\n' \
    | sed -e 's@^.*<title>\(.*\)</title>.*<link>\(.*\)</link>.*$@<a href="\2" style="text-decoration:none;font-family:monospace;">\1</a><br/>@' \
    | grep -i '/fossjon.com/'
done > blog.html
   
   pages  
   1   2   3   4   5   |  6   7   8   9   10   
 11   12   13   14   15   |  16   17   18   19   20 

Post Quantum Key Exchange Cryptography With The Help Of OpenSSL In C

There has been a lot of talk and rumors regarding AI and quantum computing and how there may be future attacks and breaks on the present state of cryptography (such as RSA and ECC even if you use huge key sizes). I was starting to do some research on post quantum crypto and there are some algorithms which are based on lattice matrix calculations which is math that is way beyond my knowledge. I started looking into if the openssl library included it and I found some methods that can be called to perform a similar key exchange to ECC ElGamal. The algorithm is called ML-KEM-1024 combined with SHA-512 at the end to create a shared secret symmetric key. You can generate and set the public/private key pairs for the server and client and then they can perform a key exchange together.

Example output of: key generation/exchange, secret generation/exchange, and symmetric key/secret calculation


[server]
         private 35c5b8e2188ceccb65701a833f999f6a1b0114dc38a95b8fe7e94def933b1e007798131262e20aaff816ba828175527b52c3ce1e8c2585405b9c896ae6a58b0842660f53a64cdaa3368a7da30bc11f7cc31370999a724754d55d72d550f930521ecb70c8a434e292c76a5bc5876909c4eca205fbb821dc949308b6a29ba86590
                 3f85abac4a313d5175acf76964b84c2009921e4e107e20ca37881c478d10aad6295ed374391e4a056a1a2fdaeb29d2d1c729468e8107c8de7430f2db2c945985baec24c7ea122a253bdbd617ccfc404938b9b8d04a5ce339c5d54bbdd785a424922c332562140cda1397c1fc7b6a91b9b6a8374fc9159d59ae85c25a7f0bb3f2
                 63c76dd08ed3aab046a00ff4c79c1d715e293a9f2710bc977a409ed715d2482d11768224c738ce0358ec4c4381d9c70faa95f340bd06597e16a5783938b12213494dc46e673ba21dc79866b240ce11aeca173e4233313cc0594c8c19b3a31acda67ba2a92b67e7b9bc4499460b000f296cbd3c062801163bb7136e0cc846a10e
                 30a792494832cbd0511e6547badc67bd04834fd206a8a12cf4a52312dc24179655be29922c41a76c3621ed287200b3c6eae487be11755f619214531d03cc7779e1beadc3701eb61a33e6042b40972b2b2833caa8d231257fb32ffb83c2f9360fc89cbb305aa7d3da54f0295b74659e8402a953ecb9b6345825984a7b44813a70
                 980420a4e442af31f8cc2a25882a379799e434b97070fb3408643aa6d5db26180bb5f6f6ad0ce5bdcdf79568388b6be1529605c782e10d48f0af26944ffe859ce603c9c35286e69b74a30a5bb1e58a36860beef610f49535589327f9e26cfaac72d9d281a1d44166a47095f7131693104016c5a8b24db80032137623505b7e25
                 f36a45f3b4835078b462539d75bda868722a49bd033a39adaa587dfb6f788195955503cdf8c1c51c77634b03e3b5b4b77174eb596872a55493c55ec62b5c19a63125598193a2bc77c4c1764055bba0cae7313919dc2c1c865fc3bcb85347041b9085ed8187d3c89adc7a321c465f5b5c291d815f7ee653eeb521e10b613cfc64
                 b24a9dc6f61b551221b85895b5529ed1b154cbc6c4bc358f42cc73e95072f17560bbd0182c85a7f600ccb17b52c73318f4383a74e9cbda03cfb1e06d463ba15cd83e1ef1268e7603fad174bb312a31bb7517f13caa3ac596a6a389da36b5808432c03fcc8836d7f811cad74a561194cc940d67334ab5f2cf6cc224fe4b49a948
                 65b7e015807b42cf8ca63c69125d673880c3c806654868141ff5297259846921da0eb5acabb7f8589da1972c5c2166f6905af6b9188541d0540e129320e5c307852b94015cc0e5083a472935fe37b477e49ab6c301914b832c3062b0c35037c622edfc9585074b9939c4b11864ac161dd91c5452f9cfd00b96bb87a4804a1f26
                 7331e1430c2d267e05c210166082909c246dc16e147841cbc43bff5cac00778c1b8841fb2429e971372c7a6ae00cb9a955bbda72cbee93578f792b35fc3c6a847a02f837b4d4c834c792080476a807c4255081ad280bffe04eed09966d41208a29b3305688f8941f4d971175876ebdb025a8e5a2540838c44c572b103cedfca7
                 fe6a89d6b48e4f92cb59dc5eb269b73a552d8c8273a15b82241964379b329b43756fbc4ba932088ab72b1c2142c5b9665a237b103ca6be01a65ca3cf5ef89f7524b539a0c54db540cd50bf20971f6d129a327184f3b2653ae30b9eaa5883189883870806330dda34742ea2842c1bb3bba460f8178c1b8c1985d501f55612e86a
                 2b0a7137e2f0170f01963586a676b96ace5781253088fc44c376827cd373cc5e2b32cc729cc7e09e140cca559b2c701a3b7fca230b5b7bb8298094f7ca8e5b66535b06d37686eb9306087004efa6cd62f564fc2888606ccdc81969397a18a6771fe0ca2bb2e541d1367fe43425a35b50f24c8903d47833fba2a38839f3a1166a
                 145346d99370eb9ecc8c2b25075050e3b0e86303ec40193b8ace24e66333954952d754aad53dd8a3bdb089ac7ce56cf728c740597510c3b5b1a3c915f09ee406a27b921ca89c16fc00ab805b5d19921c933cafd108033e791c6a7cc611a5241f064317c22afc970ea98778ca891c324290d88c56db35c2f78870a9a5b7b8a478
                 19261fa0ea2e41549095ecb9a4b89e4b62595b08176bf99b54782f855962eb6c1cb5accb46877f3978c86c668a03e40481f98ffffa55802a76b552924f37a4acb23fd557074b66026094787590bfd86a3926965a15e85ebb0b6483486d31c48fe8c769a0627d75a35526200c7b57cc7824bd18646406052679341007c28f2933
                 aed32a0f5f6418830c1b385110f1853528690097384c8ef84783ba3c0f6b7e12da675b584ab83b3ec7734f7de2754e1423377a3d0516b6351bb1d8f1878db5b7172576a3396fba16961cd5b283c117aa3562ef2c6bce610576e131d877c79683382db415406b2d5ba209e7d612bb241e3422849b3673084130d1d4aff13924ba
                 51bd03445ebfb7118761436d15681dd3306d3c559ad5b562912fff60726a30cb56bb3593f00845a4b53c95029deb30087083d8d5c046eb8cd399bef52b6c0b05271d181cb5ecc3a89ab43c73a3b4a8c3ca9c99c4525fe586a3015086e4f508d573adf3885155a149c119c482b6afb4b43de83a4050f8138ce2a43ef494470b88
                 c45c9c3687b446c320956c22fa971cc5da08677671fb7c96ffa21e109b6ffce67d43280e68eb71a21a3733896287c704cbb0266e16441ce140f6bb496540547e772fdb165fc5153b8ce273c3117a68160b53252f9dd204784b99e796af195127a4a02790b40358675f9a62388a416ee2b42747020ea07a3ce5ca18a294326ea7
                 7d2ebc519e901df7592d8b664b83a7b644f46dc400247ff09604e3a5de4489a993249b1cbaff0a392821c3fe6a8693656fda5669d918af1f49c659550563eace4828257f507b69582e29111f3fd68ba13b4b36c05e5c0133fd89219f5ca8f7d4588d82a28fa4583eeaa1ee52453fb068d741b033f26551ac1c54aaad0cbc1d76
                 828ac558942a76b09f15294212b979c03ad13b0e5b9ac496634415923cc076c70bf778636a496ae91e6cda26cca7affc2cb645360e0f1380eff998bb285858d4b0267104c88936dfb84a1d319500f496489333d9c8415cf13d498838747911ef4a4286b7357dc86428d60bb5b46dc5342603691566c7913e36bef7f358c7c44d
                 7664cd850916e9a523108bc733d7aa33b292349588ade783fc18566469b85c49c7b9020abe4a45ca16743767827f733bde4353d4a3a81f4182c016b58667ca7ee7a87b33819c73a143fb4d8695251150405937577818284a94a48a31bdd4dc4e2f470a2b0491ce81c943d4447f469ec84c04b5d5acd132a4e30cb39ed973cd6a
                 c1371191e205211c9739b0c86a392ac2723a92f6921d0ed0a9a3057993409849c9686c514e3c516c235510a7b16561750c82020dc5d361b4c81867c42b82f5779217c683c84208c6c6c89599bea3b65ad199c836164be2302db424c4c236b21017b9491af766b7cdfb3ddac7449d06833e66a9fe823ecfc844d5043f8e56aed6
                 b2a72747715e7379569a537b615d8e53381325c3b34022a6883d49c01c188054aba95bc4e56cbdea73c052038eb4305cfa5933a77b55e34b71e90594162c66109ab7900be3c628c9068e373b5100fd14a3031644950b045982bbecbbd1197c2dec456af88dab1510f1578113c6519535a1329079135379cd23b6768c9a991b65
                 a6f3c394507977a99cad693970748897fa537896b1796582f5e3675020485893c1415b236f85b7ef83716b1716a00aa751125c35a9b767acc8135c6cba15bb9656949863afb4ac124238b2554b5f0c1aaf1d8239e7c598faaa8ec58a804030c38b34b3ddd67aa3e38e80ba1e1f4a673fe22e7a0634282c771992760108acdd90
                 cec7453b7a28aef1a021f262ca1cb45fb2286136b94f22bcb74ab25929cc316ccc5a83720859e80da7d9426cf71ed36c95422375d98576231223120acb631025bf24ad2d7850424a4cb12cc15bdb79a093ca10db9533f74f42f0c6fbe5b6e97c1d7779901fb4cba969911721415530022c31a277aa2ef9243546e13357438d04
                 d26bea1258604723ddf453c3fcc259f66c19a20298085a37f362242b101777497e478cb9598cdfe2050df82526015dd3024e0faa4f790b41989a2398806c8c836baf508c190b7eb3b055b9399bfc6a10ee36c2fad786d0349f9c2918f6126b00a205bdfc5f06ab909ac4b86687b613d0bb8f722f11b75dd2e80e0cb28b2f583a
                 bb154dee264d31704f6e761475bcc27e8442a4c2ad3ccc63258af698b811058b21b7b26daae6fcaee2079504a0b110c65214bb8b469d1f9ba6e06470f56533cde0a023e0718d71d403fe94db9d4a57f352578298d4b61ba909aaa92b0de3fef9

          public 982c9832685f8386afd153be54fb3851f0311a9b1c658889112b84dce39a05e60c508a33d566acae79c19a22a43229ca1b269b576abcd1576b5b29b905927c35e4294584c62e46bab7d82a45a9b2efaa2dd415c06a586758b5199f17b076a50c28c5356d7b012c13717af472886a55279462c322760df382f31c9224295b54b7
                 bf6a66c420dc69da794b63e68e29d82880c8ca80fb092842c9fefc05de87acde3951b7696e0ed3aba4d4cd7e8554a1544a57fa5063dc7ad644548cd76591ea4057e4a007f082dab9ace89c7c7d49a16275068cb2064d43c7c1f7117b508603d5b842db77f17667f0d33bba1659a55482a5188fbaa7bbe8009810a0a82fe957a2
                 7a32563467033b685e835218c2a4311503a68a84c524c773b5b8cd44336a379dc579a356258d9327b7935c2205218b710a0dbf65c5a6cc2ba5f51965a72583bc4bff25b8ab533f51507a32e2a2e84688973b23ac59776d70845fb22fc5f2c52bb67c8c2212d6e7b2cad6ca0ac72197e0a74a59cb3e5896dda29ae7a3be7aa5b0
                 aee22b7d01999791384c030454183f2f4934faf13fe432729c87cea37b3e0b9aada5b74827d493d38cca189c0e415404c0a254164132007a3f95d89e3f47a0ce0b7e7cb11c6591bf33e647d95077c02a25fd0553a7f5aec598460642127b41a7d698a2a9a53c51ab7c6dec6339b606b9759551a128e86a4aa207cbaa7bb04746
                 0d79a87c246a5489cb4e2af95d052a9c4bfb2b06a0099f5c0effe13cede04e74b78433b681425483654c2757548d4a0b8206a019c9444cdf671a305a87462cafe05636eae830572840b6f37b58d18998c33ee08c1baada6ab807857765cfa7988166d1886c129403893fb86c7b2e40bfeb828b07e71279d018bbd49c95790427
                 e0103a86506f8bac86aaa88e26189c9553d3d81d8b0c38aa972a350c7b6196a996a03608d638ba976b9026be73c4be572a2c25b81d7a29acbea64e0d9b261032bad7b03c4b94bf4f823995e5ce128736ef494518b810f539270d52664a69375cc5ad3594ac8e5c068ee06b3818be0d682819f93a34b90b00416ae1731207e9b2
                 840c9c3eaace15a598561064f61c2f25b79595764422aca333179866510bbcfb6aa629383769390dd05be6352a9fe8c4d89812e91cc080c52ee2616bf6fbcb5e8c43f5895fc1e08890386cf3dc0c61a5846e509b34e43aac3b12b1ebbcdfb6cf31349e2f005fc7f465eb918d6d020c46b932c9922aee15a14fab4d1db62da66c
                 a7b62808eb8396e4263ef0917ae30a134279160827980cd679d4f7b87a2acb60557b8e92791ff9b332a25eb057a48017c8bf52a23da8c13182c3d7b5abf4e84a2b8182f3f42fc6511df06425e7f9afa3581a69762392e116fda970806542aed86aa4e0155148c2e600920f097f99231a424625188a851b26130ef00bb5d63304
                 a81999e0c977fca8a5d71ca8782355782bb72461df878ffa072d9d0ca624bc6f0e451ad1271a83d2a28953cdd7a399cbb43d1df52b439911cb6c3a9fa37fe6944aaca455f25142ed031292343a45650943ac42f3b1b6d72ab29e924283e9ca45c8ab2c16aee7162dc4dc2d7101beb32b892025a7cab08460f68686d31d89d13d
                 326a8efb7ba2f420024fda1c9b62bb8e6254e5a4913a8115751612c3166a12923ec4a567fffabc6630673bb759b663945e9c05ae8a2a7345729ea3bb15f2496c8c2a0dc60909764b3d4673cb69bec6541fb88920bf37a9fde1bf2eb233603868a860359dac5a9bc8c2d476267772b0dff75dba552a55a859e342bbf0684f1925
                 39b19a7fbd0010260b374dd86d64d8bce1c6181cb7acc0d249bd1121bfc65ca465281370946fab2aaaa46a6d6cce4bc5995e05c69f2aab737c165418b061ba88596069ea934702219a98479e9d1b630f6296fa640ebd624bed399f23468092f89d18fca429217f549049d2f584bcbb5a16554c80738818eba1a2c0111a08b6bd
                 2142c6116a52f4628990288256a2c7497647acaa7383c9e0eaa9afc7422e7258a66a49b60825c6f48c7c4aca63d3aaa3586a6ce0ca3c89741ce382de15325d82c82e22b48e8b6eb5da88ed05a777b55a86e53f1fe76e55a1b741890ac0c32477d5190c9023a83bcf2332208469845f08413f6a35a9675b1ba9681d7bb809f2aa
                 2e0657a1cdf84314a90e4c5cb7a178a2d5ba454a3bf30cf328ccc64a2c5564e7



[client]
         private 51c7bbaf23180ad2ce77b86aaf7bc702b13ec8c3ae6f0576c269599dfc5cf6a1156c032b2a6994a641538f4cbb5e3599c9d3bd9d4baecd5b437c1617e40744a9c3ae3ff991db089e27ca541252890d2cc1cc63070b8b43bf0761d536a20389446d91c8d3499b8b25964e6465bf567d0570a29516c93d290b5455bdf4d1364f96
                 25b8a234bf9a73be04ca890b0fa1912d7ec21f8d911810333c63f497cb848b58eb9720c963ad579b81a14f00d926cd58685bab10e9d3640ba94761f2a0deaace03aba246672516830e4412007ab13820a0a7e7c71e75d055387040286299e5e740bfcc34852bbbaa8329f31384c77ca9ab53192ff122344c11730a30296ac19a
                 8521b90b1497019ab4fca65cf1bf2a81a4a02ac0762a9a90043b46354b48b6a9cbc85181f1be7f131db6418b46c83f3a1683c5c2827fa96ed917b5b3c20a7d179fce9b5baab16e3f2985a6d25cf4658a9d388111b3338de6690a04c611356dfcc82408a97046db2639dacfd38694a1531c2374b802f9055e8a7e7fa124695bb4
                 c5687429ba9b966c3841f94e899b247d86adc246b676b8a9efa59d5cf37acd32c26c587b8ba7180db48d04e1501719207213659454647b23610a865021a4b3c4076ecdda5cb90783dba9aa8a2ca96c41181a5c7c85313dc5a133f4951e60d981fa16be21c34ff3a6adf4050feb723a99a24f60d21a8404836b474d5c2647bc01
                 5dede46ca5e03a18d07362a45534142de8409bbd08a48834999079335efc6f70898306a0af2eeb09859920765a6c6e91782a3c855cfb1adf191050a13e7b595aff25098ed0314ecb2cd548191643976f99818b529107913e8df2aa02e53ab3c08b98796d94e9cac3657a6ffc141cb0242324af35504e765a951dab908ef46798
                 262f46fc6c6b6b3df346c890e02cced4ba3262af708806eb46a79f15303d17c014c6a77b20c2c44741e705b8b58264dfeb1840517f6718030c3c0fcf5c7a23014a40886488d5a40fc13ff47045c98c453af30fbf9813111b7538d74558fb428d14b3d24c5cc6f97bd9cc6a98e2644de3b8be0232556b0425bc5e38f5ab0e138c
                 e8b55a7b3c39d66992173b87ee1cc9383709f4f73d1e6088b8ab6380c1a6d3a782cd14b6bd42364cd142ee37013b03514a04aad8479d5c7461205986a47a8255110ed9851516132ed59a806003ae84b58c921709b74597b75c2cff1511b8a8404c2831f3301909cb54d570ab7b285664d92069c3c7b7140e4241ab5a735db1b9
                 284fa904d0b878841a803f6b00095ca13a7b4583094b7facc18a8c4c1af19a43832273e5425b85a1c46250b7449450cb8139525f3bf00c21bcb0491652cd89b3348ab38bac8572432a3b24c1155618238ccd500956b5107d28d21eb6741f2336ad34312214c312249c68755892b3dc1eee842da6345339c79b87f343a354abb5
                 92b588dc12e0a10e0c0a8547c64dda8866a266b4838235a90c9c3dd0144ee262dab97e8ae271be6bc8cad363c0b043ec452a72a46f8cd19df239a13860c1b02313691187f08a27da5abc4f762f319ca5cdc134cf8444a16674222954dc023797e5498c95b8c5e75a675a4f35685ba44059d4064a57a83e9e84b976e631e05665
                 7ef253403512707785926a1252c86301d2accac7cdb208005648a355486682482b0d3b01fae5acf3f9a15b1c6379a74f8c226f49d58276ca63d7c203d6d76c4271cdb14024e9788f5dca722e77926d22c3f9148d80307acc7c7adcacced2625d537a3a49065907b633a33c940e2573a555478a212dfa9cbf02273edd3bae8262
                 86c48c3858289d09294ecb428d71bb18ed23c738f347ddc4468bd4cf17c72235d063b762c892805ef94150ea5548da429c5d457be617bdd5462e44c371fe16b2c0c3a92b918cc26349edb156a9c517bd717174bb5e4fb74d737763705c10500b71232b3a21076c9a375732a586bc651f17cc0b9915762e411f3f082b0d838095
                 246cc89c08f2207b7da5a8e5f7409c4477e42813c6047202634d514a1131ea7b5c17ca46a68d8de445657b869df00e6485b8d8b4bb1672a89b79c6cfe24a2d9b28eec41096849659911e4b5a0741475a09765f97738ff5057fe8979f3f774f98b42492e288666a8efb1245e5a1531da8b08648b858a31eb498a81de75d1bd160
                 982c9832685f8386afd153be54fb3851f0311a9b1c658889112b84dce39a05e60c508a33d566acae79c19a22a43229ca1b269b576abcd1576b5b29b905927c35e4294584c62e46bab7d82a45a9b2efaa2dd415c06a586758b5199f17b076a50c28c5356d7b012c13717af472886a55279462c322760df382f31c9224295b54b7
                 bf6a66c420dc69da794b63e68e29d82880c8ca80fb092842c9fefc05de87acde3951b7696e0ed3aba4d4cd7e8554a1544a57fa5063dc7ad644548cd76591ea4057e4a007f082dab9ace89c7c7d49a16275068cb2064d43c7c1f7117b508603d5b842db77f17667f0d33bba1659a55482a5188fbaa7bbe8009810a0a82fe957a2
                 7a32563467033b685e835218c2a4311503a68a84c524c773b5b8cd44336a379dc579a356258d9327b7935c2205218b710a0dbf65c5a6cc2ba5f51965a72583bc4bff25b8ab533f51507a32e2a2e84688973b23ac59776d70845fb22fc5f2c52bb67c8c2212d6e7b2cad6ca0ac72197e0a74a59cb3e5896dda29ae7a3be7aa5b0
                 aee22b7d01999791384c030454183f2f4934faf13fe432729c87cea37b3e0b9aada5b74827d493d38cca189c0e415404c0a254164132007a3f95d89e3f47a0ce0b7e7cb11c6591bf33e647d95077c02a25fd0553a7f5aec598460642127b41a7d698a2a9a53c51ab7c6dec6339b606b9759551a128e86a4aa207cbaa7bb04746
                 0d79a87c246a5489cb4e2af95d052a9c4bfb2b06a0099f5c0effe13cede04e74b78433b681425483654c2757548d4a0b8206a019c9444cdf671a305a87462cafe05636eae830572840b6f37b58d18998c33ee08c1baada6ab807857765cfa7988166d1886c129403893fb86c7b2e40bfeb828b07e71279d018bbd49c95790427
                 e0103a86506f8bac86aaa88e26189c9553d3d81d8b0c38aa972a350c7b6196a996a03608d638ba976b9026be73c4be572a2c25b81d7a29acbea64e0d9b261032bad7b03c4b94bf4f823995e5ce128736ef494518b810f539270d52664a69375cc5ad3594ac8e5c068ee06b3818be0d682819f93a34b90b00416ae1731207e9b2
                 840c9c3eaace15a598561064f61c2f25b79595764422aca333179866510bbcfb6aa629383769390dd05be6352a9fe8c4d89812e91cc080c52ee2616bf6fbcb5e8c43f5895fc1e08890386cf3dc0c61a5846e509b34e43aac3b12b1ebbcdfb6cf31349e2f005fc7f465eb918d6d020c46b932c9922aee15a14fab4d1db62da66c
                 a7b62808eb8396e4263ef0917ae30a134279160827980cd679d4f7b87a2acb60557b8e92791ff9b332a25eb057a48017c8bf52a23da8c13182c3d7b5abf4e84a2b8182f3f42fc6511df06425e7f9afa3581a69762392e116fda970806542aed86aa4e0155148c2e600920f097f99231a424625188a851b26130ef00bb5d63304
                 a81999e0c977fca8a5d71ca8782355782bb72461df878ffa072d9d0ca624bc6f0e451ad1271a83d2a28953cdd7a399cbb43d1df52b439911cb6c3a9fa37fe6944aaca455f25142ed031292343a45650943ac42f3b1b6d72ab29e924283e9ca45c8ab2c16aee7162dc4dc2d7101beb32b892025a7cab08460f68686d31d89d13d
                 326a8efb7ba2f420024fda1c9b62bb8e6254e5a4913a8115751612c3166a12923ec4a567fffabc6630673bb759b663945e9c05ae8a2a7345729ea3bb15f2496c8c2a0dc60909764b3d4673cb69bec6541fb88920bf37a9fde1bf2eb233603868a860359dac5a9bc8c2d476267772b0dff75dba552a55a859e342bbf0684f1925
                 39b19a7fbd0010260b374dd86d64d8bce1c6181cb7acc0d249bd1121bfc65ca465281370946fab2aaaa46a6d6cce4bc5995e05c69f2aab737c165418b061ba88596069ea934702219a98479e9d1b630f6296fa640ebd624bed399f23468092f89d18fca429217f549049d2f584bcbb5a16554c80738818eba1a2c0111a08b6bd
                 2142c6116a52f4628990288256a2c7497647acaa7383c9e0eaa9afc7422e7258a66a49b60825c6f48c7c4aca63d3aaa3586a6ce0ca3c89741ce382de15325d82c82e22b48e8b6eb5da88ed05a777b55a86e53f1fe76e55a1b741890ac0c32477d5190c9023a83bcf2332208469845f08413f6a35a9675b1ba9681d7bb809f2aa
                 2e0657a1cdf84314a90e4c5cb7a178a2d5ba454a3bf30cf328ccc64a2c5564e7ebef0640d9e5f23d9f39c27b766e747a37fa550ac135c3dba006eb270b0c9d6d9d9821eed3d43749a1d0cdda4253c73dc4b557df227a0da2657aae5fb74d5e33

          public 19261fa0ea2e41549095ecb9a4b89e4b62595b08176bf99b54782f855962eb6c1cb5accb46877f3978c86c668a03e40481f98ffffa55802a76b552924f37a4acb23fd557074b66026094787590bfd86a3926965a15e85ebb0b6483486d31c48fe8c769a0627d75a35526200c7b57cc7824bd18646406052679341007c28f2933
                 aed32a0f5f6418830c1b385110f1853528690097384c8ef84783ba3c0f6b7e12da675b584ab83b3ec7734f7de2754e1423377a3d0516b6351bb1d8f1878db5b7172576a3396fba16961cd5b283c117aa3562ef2c6bce610576e131d877c79683382db415406b2d5ba209e7d612bb241e3422849b3673084130d1d4aff13924ba
                 51bd03445ebfb7118761436d15681dd3306d3c559ad5b562912fff60726a30cb56bb3593f00845a4b53c95029deb30087083d8d5c046eb8cd399bef52b6c0b05271d181cb5ecc3a89ab43c73a3b4a8c3ca9c99c4525fe586a3015086e4f508d573adf3885155a149c119c482b6afb4b43de83a4050f8138ce2a43ef494470b88
                 c45c9c3687b446c320956c22fa971cc5da08677671fb7c96ffa21e109b6ffce67d43280e68eb71a21a3733896287c704cbb0266e16441ce140f6bb496540547e772fdb165fc5153b8ce273c3117a68160b53252f9dd204784b99e796af195127a4a02790b40358675f9a62388a416ee2b42747020ea07a3ce5ca18a294326ea7
                 7d2ebc519e901df7592d8b664b83a7b644f46dc400247ff09604e3a5de4489a993249b1cbaff0a392821c3fe6a8693656fda5669d918af1f49c659550563eace4828257f507b69582e29111f3fd68ba13b4b36c05e5c0133fd89219f5ca8f7d4588d82a28fa4583eeaa1ee52453fb068d741b033f26551ac1c54aaad0cbc1d76
                 828ac558942a76b09f15294212b979c03ad13b0e5b9ac496634415923cc076c70bf778636a496ae91e6cda26cca7affc2cb645360e0f1380eff998bb285858d4b0267104c88936dfb84a1d319500f496489333d9c8415cf13d498838747911ef4a4286b7357dc86428d60bb5b46dc5342603691566c7913e36bef7f358c7c44d
                 7664cd850916e9a523108bc733d7aa33b292349588ade783fc18566469b85c49c7b9020abe4a45ca16743767827f733bde4353d4a3a81f4182c016b58667ca7ee7a87b33819c73a143fb4d8695251150405937577818284a94a48a31bdd4dc4e2f470a2b0491ce81c943d4447f469ec84c04b5d5acd132a4e30cb39ed973cd6a
                 c1371191e205211c9739b0c86a392ac2723a92f6921d0ed0a9a3057993409849c9686c514e3c516c235510a7b16561750c82020dc5d361b4c81867c42b82f5779217c683c84208c6c6c89599bea3b65ad199c836164be2302db424c4c236b21017b9491af766b7cdfb3ddac7449d06833e66a9fe823ecfc844d5043f8e56aed6
                 b2a72747715e7379569a537b615d8e53381325c3b34022a6883d49c01c188054aba95bc4e56cbdea73c052038eb4305cfa5933a77b55e34b71e90594162c66109ab7900be3c628c9068e373b5100fd14a3031644950b045982bbecbbd1197c2dec456af88dab1510f1578113c6519535a1329079135379cd23b6768c9a991b65
                 a6f3c394507977a99cad693970748897fa537896b1796582f5e3675020485893c1415b236f85b7ef83716b1716a00aa751125c35a9b767acc8135c6cba15bb9656949863afb4ac124238b2554b5f0c1aaf1d8239e7c598faaa8ec58a804030c38b34b3ddd67aa3e38e80ba1e1f4a673fe22e7a0634282c771992760108acdd90
                 cec7453b7a28aef1a021f262ca1cb45fb2286136b94f22bcb74ab25929cc316ccc5a83720859e80da7d9426cf71ed36c95422375d98576231223120acb631025bf24ad2d7850424a4cb12cc15bdb79a093ca10db9533f74f42f0c6fbe5b6e97c1d7779901fb4cba969911721415530022c31a277aa2ef9243546e13357438d04
                 d26bea1258604723ddf453c3fcc259f66c19a20298085a37f362242b101777497e478cb9598cdfe2050df82526015dd3024e0faa4f790b41989a2398806c8c836baf508c190b7eb3b055b9399bfc6a10ee36c2fad786d0349f9c2918f6126b00a205bdfc5f06ab909ac4b86687b613d0bb8f722f11b75dd2e80e0cb28b2f583a
                 bb154dee264d31704f6e761475bcc27e8442a4c2ad3ccc63258af698b811058b



[server-to-client]
         Encrypt 72063a83973d5dba58ee8106be7b63cc478260ae571ff4a9cab4f1b26afa5cffdc6c0a964d619787b975d60a468a4ae7ec1827476db293d61e98efd039b8add256caa833b20769fcd8b5ea0649a18e669605179e1c70d8d6190efd45224ba335cd94e9f5c95d28dbb3e9cfa803cb95a4e30c85d6b32ef9d973d1f70b6966a5a3
                 c5661c2e8a3b47ae8f5c5320ee1a9e32a48c452b73766ad0e8c863edd8abbfc17bc30bfd34c9c63867e75b1acde6649d4f401f49eceae6b17b75c87425e4c7c32fa40dc606560a15292727a3269a48411b559c2506fffec9f909ae15fa93daf5a53abc30dc73d7ae69e1d2d460bdbd8170a5956cf8f347b0461a31024091f6f4
                 2a1c87125c771a4130449d70f5d246c9a94ddf7b4d442ab4652d79f0127dfe47e4eb79b16c8d158633651f96f3b1cd24c04ab0e6b156c547ac821e0da5166bac03339b3455c516219c0d48d4991d85a4f681e3de0ae2e5b314996e7cba8bff782da6fdbccb883f3962e9e616e750898844e106c7328fceb48cba73da7aaadebb
                 8508ccfacc20238a76b05a1070547c376e287ad4b34ed95921a0196682957590a57d3eec180a737e83617072e233419311d62a8a8bf1c28dbcd753ea3dc7f81ba792082d95b960bfd06f61a49efe7e32193a13a9fb9ea83c16eb68d154611ad327d3a4624806d5af6af00937ae0abac2077b5a623c414fda118ef6e3c2f48b9e
                 edce11a63015d6d9da8562a585af120c3fe3889f72709a5181d87c18f70b1cfba2d865d5e81b6bbad06b82954cc5974d42292c4c4176abb5a906840f5197822211046643daf6ca7365caa676a82c2e82d777d0d499fb6ca8148b2a239d244399c796fd25735b79d24e5c6a737e4c0bf110c1b9b8715f0cde9088ec472e9c2e92
                 919e38a1d186e4c5fec27568aedea0b6979839b471fffb32af45e80c9bbac7da70e97285a1059cdfca9ebb8c7fe393ee6c7cf2c7ec323d223dadfd4b57fbf8bbae2465e49daebc35d044c017d2ee10a65e8c9fb0bca282208e965c7d225a436e726d6b2c1c8bd6461cabddd1afbcdbcecfbe8dddcc77858a8c74914b4395901b
                 3801f33e7bb747289b8af52c2030b3c22963cd213632c4431da9307275f932e0bc0aa045b4737ac594f656ef9e155b8121590cf987e6320559fe9d29dcd1080cee8ae326e6d78a08045122ddfd687947044d00abac4644be1fd369a1139545e0e79559fc4939f12a910885b582106d04742e0053b4eadb26ee0acd68ff39890b
                 f388ccad2e8efb3ef6a80f0fd1705685cc3f791680341eb180e6028d39e8381463bfdb9ceda1db6cc95f515a965e17b57ebbe5382bd181f31b26b654640b55040ce9506019366fcc5ee07e9073d51efadebf71eb114e94e2baee7e465036e755ffc0e6a582037371b00a321f3beeefa1817111424f2695703ec3675de47a701a
                 9e3b3072c57db29077259d6073858aeed53a3f081f96ab1181c8cb746e2ea73e7bb7f18d6c364d9885ff22a89d22dd555d8e6beeb597ea4159016f509ba4f8c5d26be4a8fd6e34e8b9c6048b79249f85e3956cf6e4dfb45814fc03213c3491d732fd34eaad8d2e64387b5ecdecee7d72992820bf9446207b0e8cf3d998cd5af4
                 caecd36164b52e11de40625758d34f11980e46a90bf2946cd2ff823348d0394dc90e0dc8b50e622cfa1368f0d242c15cfcfe80db9c8c95479623e9f6374c053095bd84d0f93e71dd7b85c5e8e5b254b1d2701ffd5979020869b8b43aa089cb50049a50a61cede59ea743336cd0a979a238e4ed8751a313b374eea1b00991a0fe
                 4b9e486c45009a7e54b6c4fc664ec2eabefff11f45d5a04662414c8653de93baff487f81f66734ce7571030e1983a94eaadb79e7161cfdd0c79f98002ecccf7d5547bd29a8ddbaf567100e74452804507b2ccedae77808fc1ffba7806eb44871763ddfab4738d0e1a260453038855bf79ed535533740eabe05468ddd294b980d
                 1a0f38988664a039cc9c11de33e965fa32ad40aa31a349ebd13d9518b0d4927b03ea670254059b0fcdad4f420292f48b54ee865146b460b42696b4b6fa9f6339536dd724e356fb3d98900cf914baab148bb6ae640eba88c981bacb6f15a0458aad6b9e9ab3c6e38821130ed51f6ac7dc2345b35d9ee68a20d804cf13639cb23a
                 fae8abe9839502c039cede9962eddc28291d5ce3bef4ba8bfd748216e128b0d7

          Secret 2a5383962b085a92d1a94042be8e72aa4d5bb207ee2a71dda3117fe63bdcc86e


         Decrypt 72063a83973d5dba58ee8106be7b63cc478260ae571ff4a9cab4f1b26afa5cffdc6c0a964d619787b975d60a468a4ae7ec1827476db293d61e98efd039b8add256caa833b20769fcd8b5ea0649a18e669605179e1c70d8d6190efd45224ba335cd94e9f5c95d28dbb3e9cfa803cb95a4e30c85d6b32ef9d973d1f70b6966a5a3
                 c5661c2e8a3b47ae8f5c5320ee1a9e32a48c452b73766ad0e8c863edd8abbfc17bc30bfd34c9c63867e75b1acde6649d4f401f49eceae6b17b75c87425e4c7c32fa40dc606560a15292727a3269a48411b559c2506fffec9f909ae15fa93daf5a53abc30dc73d7ae69e1d2d460bdbd8170a5956cf8f347b0461a31024091f6f4
                 2a1c87125c771a4130449d70f5d246c9a94ddf7b4d442ab4652d79f0127dfe47e4eb79b16c8d158633651f96f3b1cd24c04ab0e6b156c547ac821e0da5166bac03339b3455c516219c0d48d4991d85a4f681e3de0ae2e5b314996e7cba8bff782da6fdbccb883f3962e9e616e750898844e106c7328fceb48cba73da7aaadebb
                 8508ccfacc20238a76b05a1070547c376e287ad4b34ed95921a0196682957590a57d3eec180a737e83617072e233419311d62a8a8bf1c28dbcd753ea3dc7f81ba792082d95b960bfd06f61a49efe7e32193a13a9fb9ea83c16eb68d154611ad327d3a4624806d5af6af00937ae0abac2077b5a623c414fda118ef6e3c2f48b9e
                 edce11a63015d6d9da8562a585af120c3fe3889f72709a5181d87c18f70b1cfba2d865d5e81b6bbad06b82954cc5974d42292c4c4176abb5a906840f5197822211046643daf6ca7365caa676a82c2e82d777d0d499fb6ca8148b2a239d244399c796fd25735b79d24e5c6a737e4c0bf110c1b9b8715f0cde9088ec472e9c2e92
                 919e38a1d186e4c5fec27568aedea0b6979839b471fffb32af45e80c9bbac7da70e97285a1059cdfca9ebb8c7fe393ee6c7cf2c7ec323d223dadfd4b57fbf8bbae2465e49daebc35d044c017d2ee10a65e8c9fb0bca282208e965c7d225a436e726d6b2c1c8bd6461cabddd1afbcdbcecfbe8dddcc77858a8c74914b4395901b
                 3801f33e7bb747289b8af52c2030b3c22963cd213632c4431da9307275f932e0bc0aa045b4737ac594f656ef9e155b8121590cf987e6320559fe9d29dcd1080cee8ae326e6d78a08045122ddfd687947044d00abac4644be1fd369a1139545e0e79559fc4939f12a910885b582106d04742e0053b4eadb26ee0acd68ff39890b
                 f388ccad2e8efb3ef6a80f0fd1705685cc3f791680341eb180e6028d39e8381463bfdb9ceda1db6cc95f515a965e17b57ebbe5382bd181f31b26b654640b55040ce9506019366fcc5ee07e9073d51efadebf71eb114e94e2baee7e465036e755ffc0e6a582037371b00a321f3beeefa1817111424f2695703ec3675de47a701a
                 9e3b3072c57db29077259d6073858aeed53a3f081f96ab1181c8cb746e2ea73e7bb7f18d6c364d9885ff22a89d22dd555d8e6beeb597ea4159016f509ba4f8c5d26be4a8fd6e34e8b9c6048b79249f85e3956cf6e4dfb45814fc03213c3491d732fd34eaad8d2e64387b5ecdecee7d72992820bf9446207b0e8cf3d998cd5af4
                 caecd36164b52e11de40625758d34f11980e46a90bf2946cd2ff823348d0394dc90e0dc8b50e622cfa1368f0d242c15cfcfe80db9c8c95479623e9f6374c053095bd84d0f93e71dd7b85c5e8e5b254b1d2701ffd5979020869b8b43aa089cb50049a50a61cede59ea743336cd0a979a238e4ed8751a313b374eea1b00991a0fe
                 4b9e486c45009a7e54b6c4fc664ec2eabefff11f45d5a04662414c8653de93baff487f81f66734ce7571030e1983a94eaadb79e7161cfdd0c79f98002ecccf7d5547bd29a8ddbaf567100e74452804507b2ccedae77808fc1ffba7806eb44871763ddfab4738d0e1a260453038855bf79ed535533740eabe05468ddd294b980d
                 1a0f38988664a039cc9c11de33e965fa32ad40aa31a349ebd13d9518b0d4927b03ea670254059b0fcdad4f420292f48b54ee865146b460b42696b4b6fa9f6339536dd724e356fb3d98900cf914baab148bb6ae640eba88c981bacb6f15a0458aad6b9e9ab3c6e38821130ed51f6ac7dc2345b35d9ee68a20d804cf13639cb23a
                 fae8abe9839502c039cede9962eddc28291d5ce3bef4ba8bfd748216e128b0d7

          Secret 2a5383962b085a92d1a94042be8e72aa4d5bb207ee2a71dda3117fe63bdcc86e



[client-to-server]
         Encrypt 7c6a5262c1b6a4adac93a0d35a2281116318357e7a9e7bce9e1fd8f0daaf851e9c2202b6a70ee7db7b1873a68632f9e63e5a3937b449572dbbe3a42811d0040db755ab326d046a99ea924c1fceda4866d4074af27874ef68fbbb6c255f7813c593f25b061e2c60d5d3c2ac2a845e3076a278c05ae566a6bf5cc6d50adb7f62b2
                 bd09a2922bb5254594bee369892df9a89cd6c127962afbd92eb733995cd722f4887b0e98dee796f71b35bf7da98329ed0bccd8bc68f18ce3e2cf5818e3c6991270905818bb2cb2aa05706b7fd949679548d5bec37b2c0e65589b3793b0fb86c7cacda12d4d61f7df81268d7f5fdb142b9fe0d79e25856cf4d36ec17a3880568b
                 3974520f2b121d946ca1b62b4687b3fa27e9f37a6bd9cefc752b064a11081e6f142698a05245647fa9a7bd8902b04aac817e238a853e3e2e641b59d02148f50d2dab6e70a8a01e88ad77823bf3c67df77c195aa8648c087ff4995b8d18fc063d7acb88beaa61d4170d6e5bccd7e77bb927e608db49ecabe5507aa95c73a1d033
                 fb4c9223806a7518b42df5271cdf76037b77c89dae8a12f8cab1f6e1d3491a69862620684feec1686edf43f890632e5e154ac36fb158ccfa6a9520fb4740ea30a7a25151bd78493a7e16f0087b34bfb842567b7800de3036db2fbfd68b747ae5bba062cf5469d7fe33c69019495e37e5190315ce9d0711fdaaa9830bca2347e5
                 affcb82c4a5faf94004825426d2570877aeba2c0a62b8008b8c303bc664a3aeb07493c557a87adfaf42c74e339b555566fca9a31eeb2c0860cbb427bae8836c848014ef592b07e324b102f6441613384d18879efff5d8a145b6347b0f747ae09e15f8eb5d76c9936969482e461f9b3cd085f1ccdfaf7647a7a23e8fe7fcea2f7
                 c71318a3df6ef8f6e8fb7fc15a186c684adfbf7d8f31fada50ff19859b9a1e3e647988d4e8f262368724a61d50f187ddd24bf73534bfd9e639059e85dc390aadca52d1c8e415d79bbc186d37d2d8205716b5b9310ef0fee40556035bfbb525e266566ecbb22c707697ff7f9bca4c4813ae3a4b9886058c9179dc27a4b19c8fce
                 43b4200b8190068ba1f4c40b64ef40dff7fa5b5f7150be1d4aa96449d54a4a41c1f577e002b1e0dc4ca1101b9bdc64822fa0cefe76f8c8f1d52c415fb25a8a2ed041cc8648f338e379e4fd1351c8d62ee77eac43de07ec0fe976baff98257e0368cd7d54683fe5c42260d95fc835d60e4d2cfb3f9c6fc53f056573f3efa8c6fa
                 d657fe2b9b2be634f08033e242061d61abc482208a802ec248ba577dd3eb222a8b03e0699ab3bb26a738473c31e977c87583e7a968eb946cc5cb7cc7b82834815daac3f860b17c4a9c5a9806c8ffda916f13e3d07d988c1a2b1a425297e042664291d8c20d1df9ff94701436de765d85519a392add7abcee989053584a1d48cc
                 c815802d7ddcb9b312a245de6ed43ccdd3a9b71b0340feea9d8667c249ab9010ee3626355e36c6048be90edb904ac52523b432a11490c6eec91e9375d8ba9080ab978ecefef798df450296b2f400c89eaaf9ec4bda925093c360866946ecb13ac203fd70faa2481c48dd92c71a9ec35a5226d90629f8eee51dc98941dedfc7f3
                 e35864fcbcca96e3cec89066d80d112b45a9aa67cacfb89eee46dee5c9b5d6a1392ab170f62cea0d8401faa941e336fa69811ac84481a7f1863b1ecaf431b1663e099a7cc1ae6f6ec6c71ead4d7794e80a16ab152f1268325f1bfa0a7ad22451985fb259cfa281b6d6d500261f4bd7010b0a51d394877535eabf054ec5eb572e
                 a3804901488d9ccfa9d2c71727f1c2146ac2960bf202738a536f60b1503ad41642172bc423db94a9dcc6cb27b27d547d2073eecc9dd97f2214fdfad10df933a185b913f32abdb6cdb7c73e65ea09a8df72a50b56ede7bb09c14803ea308e223b7abf3c8043301f1c6708e6f589264e1769c0a0b7b70f973eb66da6b461ac20eb
                 e0356bd1918c9a093ad912c7a76a53e9ec2b3345e7af131faac3935aa0bc04fe85dd97bd4744cd179e7a2a54dbc08141444afaa60dfd3405c963aca39e9026baa3b26e64a6716bfbed1acbad0e0e8202afc27e62a250358bd7c1eb4c5e6fa21791dd679f78ef8c4c1c8923de3631b62b723ebd95a105b28f22045a0238020345
                 e76ffb76b3f3394c2a8bbec563afcff26072e98a8cd8103df573c20ba945107e

          Secret 7565163535d4ac717f3bb4c5d6aaaf742bd6f37569511e82a4f94d31c41444cc


         Decrypt 7c6a5262c1b6a4adac93a0d35a2281116318357e7a9e7bce9e1fd8f0daaf851e9c2202b6a70ee7db7b1873a68632f9e63e5a3937b449572dbbe3a42811d0040db755ab326d046a99ea924c1fceda4866d4074af27874ef68fbbb6c255f7813c593f25b061e2c60d5d3c2ac2a845e3076a278c05ae566a6bf5cc6d50adb7f62b2
                 bd09a2922bb5254594bee369892df9a89cd6c127962afbd92eb733995cd722f4887b0e98dee796f71b35bf7da98329ed0bccd8bc68f18ce3e2cf5818e3c6991270905818bb2cb2aa05706b7fd949679548d5bec37b2c0e65589b3793b0fb86c7cacda12d4d61f7df81268d7f5fdb142b9fe0d79e25856cf4d36ec17a3880568b
                 3974520f2b121d946ca1b62b4687b3fa27e9f37a6bd9cefc752b064a11081e6f142698a05245647fa9a7bd8902b04aac817e238a853e3e2e641b59d02148f50d2dab6e70a8a01e88ad77823bf3c67df77c195aa8648c087ff4995b8d18fc063d7acb88beaa61d4170d6e5bccd7e77bb927e608db49ecabe5507aa95c73a1d033
                 fb4c9223806a7518b42df5271cdf76037b77c89dae8a12f8cab1f6e1d3491a69862620684feec1686edf43f890632e5e154ac36fb158ccfa6a9520fb4740ea30a7a25151bd78493a7e16f0087b34bfb842567b7800de3036db2fbfd68b747ae5bba062cf5469d7fe33c69019495e37e5190315ce9d0711fdaaa9830bca2347e5
                 affcb82c4a5faf94004825426d2570877aeba2c0a62b8008b8c303bc664a3aeb07493c557a87adfaf42c74e339b555566fca9a31eeb2c0860cbb427bae8836c848014ef592b07e324b102f6441613384d18879efff5d8a145b6347b0f747ae09e15f8eb5d76c9936969482e461f9b3cd085f1ccdfaf7647a7a23e8fe7fcea2f7
                 c71318a3df6ef8f6e8fb7fc15a186c684adfbf7d8f31fada50ff19859b9a1e3e647988d4e8f262368724a61d50f187ddd24bf73534bfd9e639059e85dc390aadca52d1c8e415d79bbc186d37d2d8205716b5b9310ef0fee40556035bfbb525e266566ecbb22c707697ff7f9bca4c4813ae3a4b9886058c9179dc27a4b19c8fce
                 43b4200b8190068ba1f4c40b64ef40dff7fa5b5f7150be1d4aa96449d54a4a41c1f577e002b1e0dc4ca1101b9bdc64822fa0cefe76f8c8f1d52c415fb25a8a2ed041cc8648f338e379e4fd1351c8d62ee77eac43de07ec0fe976baff98257e0368cd7d54683fe5c42260d95fc835d60e4d2cfb3f9c6fc53f056573f3efa8c6fa
                 d657fe2b9b2be634f08033e242061d61abc482208a802ec248ba577dd3eb222a8b03e0699ab3bb26a738473c31e977c87583e7a968eb946cc5cb7cc7b82834815daac3f860b17c4a9c5a9806c8ffda916f13e3d07d988c1a2b1a425297e042664291d8c20d1df9ff94701436de765d85519a392add7abcee989053584a1d48cc
                 c815802d7ddcb9b312a245de6ed43ccdd3a9b71b0340feea9d8667c249ab9010ee3626355e36c6048be90edb904ac52523b432a11490c6eec91e9375d8ba9080ab978ecefef798df450296b2f400c89eaaf9ec4bda925093c360866946ecb13ac203fd70faa2481c48dd92c71a9ec35a5226d90629f8eee51dc98941dedfc7f3
                 e35864fcbcca96e3cec89066d80d112b45a9aa67cacfb89eee46dee5c9b5d6a1392ab170f62cea0d8401faa941e336fa69811ac84481a7f1863b1ecaf431b1663e099a7cc1ae6f6ec6c71ead4d7794e80a16ab152f1268325f1bfa0a7ad22451985fb259cfa281b6d6d500261f4bd7010b0a51d394877535eabf054ec5eb572e
                 a3804901488d9ccfa9d2c71727f1c2146ac2960bf202738a536f60b1503ad41642172bc423db94a9dcc6cb27b27d547d2073eecc9dd97f2214fdfad10df933a185b913f32abdb6cdb7c73e65ea09a8df72a50b56ede7bb09c14803ea308e223b7abf3c8043301f1c6708e6f589264e1769c0a0b7b70f973eb66da6b461ac20eb
                 e0356bd1918c9a093ad912c7a76a53e9ec2b3345e7af131faac3935aa0bc04fe85dd97bd4744cd179e7a2a54dbc08141444afaa60dfd3405c963aca39e9026baa3b26e64a6716bfbed1acbad0e0e8202afc27e62a250358bd7c1eb4c5e6fa21791dd679f78ef8c4c1c8923de3631b62b723ebd95a105b28f22045a0238020345
                 e76ffb76b3f3394c2a8bbec563afcff26072e98a8cd8103df573c20ba945107e

          Secret 7565163535d4ac717f3bb4c5d6aaaf742bd6f37569511e82a4f94d31c41444cc



[server]
             Key 3d7c205b0d5c5554373da674f4a7fb709b0e3928e4aecc91bda6daf3891421c03f91f7572916f7c64af805dae4e9543ba497d343e6962e71c63654b02fa6cd20



[client]
             Key 3d7c205b0d5c5554373da674f4a7fb709b0e3928e4aecc91bda6daf3891421c03f91f7572916f7c64af805dae4e9543ba497d343e6962e71c63654b02fa6cd20



~

Source Code: https://github.com/stoops/pqkx/

~

Generating colorful iPhone wallpaper backgrounds continued [circles]

<script>
	//scroll to bottom
	//shot 935 x 1475 (1870 x 2950)
	//sips --rotate -35 a.png --out b.png ; cp -fv b.png c.png
	//crop:768x1666 + blur:5 + noise:5 + vintage:5
	//cp -fv d.png e.png ; sips -z 2556 1179 e.png
	//save:1024x1920 + grain:55
	function zz(n) { return Math.min(Math.max(0, n), 255); }
	function rr(n, m) { return (Math.floor(Math.random() * ((m - n) + 1)) + n); }
	function bb(dd, ee, ff, gg, vv, ww, oo) {
		var hh = "";
		var xx = 35, yy = 35;
		if ((dd == 235) && (ee == 115) && (ff == 115)) { xx += 55; }
		if ((dd == 195) && (ee == 75) && (ff == 75)) { xx -= 15; }
		if ((dd == 215) && (ee == 95) && (ff == 15)) { xx += 5; }
		if ((dd == 235) && (ee == 155) && (ff == 55)) { xx += 15; }
		if ((dd > 235) && (ee > 175) && (ff > 105)) { xx += 35; }
		if ((dd == 35) && (ee == 195) && (ff == 235)) { xx += 35; }
		if ((dd == 15) && (ee == 155) && (ff == 215)) { xx += 35; }
		if ((dd == 15) && (ee == 75) && (ff == 135)) { xx -= 35; yy += 15; }
		if ((dd == 16) && (ee == 76) && (ff == 136)) { xx += 15; }
		if ((dd == 55) && (ee == 35) && (ff == 115)) { xx -= 15; }
		if ((dd == 95) && (ee == 35) && (ff == 115)) { xx -= 15; }
		//console.log("DEBUG:"+dd+","+ee+","+ff+":"+xx);
		hh += ("border:"+vv+"px solid rgba("+zz(dd-xx)+", "+zz(ee-xx)+", "+zz(ff-xx)+", "+(oo*0.51)+"); background:rgba("+zz(dd+yy)+", "+zz(ee+yy)+", "+zz(ff+yy)+", "+(oo*0.71)+");");
		return hh;
	}
	function aa() {
		var ll = [];
		var l = [
			[ 75,  55,  35, 0.15, 1.0, 0.0, "brown" ],
			[ 75,  55,  35, 0.75, 1.0, 0.0, "brown" ],
			[235, 115, 115, 0.55, 1.1, 0.0, "rose"  ],
			[195,  75,  75, 0.55, 1.0, 0.0, "berry" ],
			[215,  95,  15, 0.75, 1.1, 0.0, "peach" ],
			[235, 155,  55, 0.75, 1.0, 0.2, "gold"  ],
			[255, 195, 135, 0.95, 1.0, 0.0, "light" ],
			[ 35, 195, 235, 0.75, 1.0, 0.0, "mint"  ],
			[ 15, 155, 215, 0.75, 2.0, 0.0, "blue"  ],
			[ 15,  75, 135, 0.75, 1.0, 0.0, "dark"  ],
			[ 55,  35, 115, 0.55, 1.0, 0.0, "deep"  ],
			[ 95,  35, 115, 0.95, 1.0, 0.0, "purple"],
			[ 75,  55,  35, 0.05, 1.0, 0.0, "brown" ],
		];
		var p = [];
		var o = [0.99, 0.95, 0.91];
		var hh = 15;
		var vv = 3.99;
		var ww = 3.99;
		var v = ((15 - vv) - vv);
		var h = ((15 - ww) - ww);
		var n = 7;
		var t = 0;
		var u = "";
		var z = document.getElementById("a");
		for (var i = 0; i < l.length; ++i) {
			var k = (i + 1);
			var r = l[i][3];
			var s = parseInt(l[i][4]);
			var x = (((parseInt(l[i][4] * 10) % 10) + 1) - 1);
			var y = parseInt(l[i][5]);
			var w = (((parseInt(l[i][5] * 10) % 10) + 1) - 1);
			var m = (parseInt(n * r) + (x + y));
			u += (l[i][5]+" "+i+" "+n+" "+r+" "+s+" "+m+"\n");
			if (p.length > 0) {
				l[i][0] = p[0][0]; l[i][1] = p[0][1]; l[i][2] = p[0][2];
				p = [];
			}
			for (var j = 0; j < s; ++j) {
				var d = l[i][0], e = l[i][1], f = l[i][2], g = o[1];
				var uu = (l[i][6] == "dark") ? 2 : (l[i][6] != "brown") ? 1 : 0;
				var tt = "<div style='white-space:nowrap; height:"+hh+"px; background:rgba("+zz(d)+", "+zz(e)+", "+zz(f)+", "+g+");'>";
				for (var ii = 0; (ii < uu) && (j == (s - 1)); ++ii) {
					var dd = d, ee = e, ff = f, gg = g, oo = (o[0]*(0.33+((l.length-i)/100)));
					ll.push("<span style='display:inline-block; position:fixed; top:%ypx; left:%xpx; height:%hpx; width:%wpx; "+bb(dd+ii, ee+ii, ff+ii, gg, vv, ww, oo)+" border-radius:999px;'></span>");
				}
				tt += "</div>";
				z.innerHTML += tt;
				if (i < (l.length - 1)) { t += hh; }
			}
			for (var j = 0; (j < 3) && (k < l.length); ++j) {
				var d = (((l[k][j] - l[i][j]) - 1) / (m + 1));
				l[i][j] = (l[i][j] - (d * w));
			}
			for (var j = 0; (j < m) && (k < l.length); ++j) {
				var a = (((l[k][0] - l[i][0]) - 1) / (m + 1 + w));
				var b = (((l[k][1] - l[i][1]) - 1) / (m + 1 + w));
				var c = (((l[k][2] - l[i][2]) - 1) / (m + 1 + w));
				var d = (l[i][0] + (a * (j + 1))), e = (l[i][1] + (b * (j + 1))), f = (l[i][2] + (c * (j + 1))), g = o[2];
				if (j >= (m - y)) { p.push([d, e, f, g]); continue; }
				if (j >= (m - w)) { p.unshift([d + a, e + b, f + c, g]); }
				var uu = 0;
				var tt = "<div style='white-space:nowrap; height:"+hh+"px; background:rgba("+zz(d)+", "+zz(e)+", "+zz(f)+", "+g+");'>";
				for (var ii = 0; ii < uu; ++ii) {
					var dd = d, ee = e, ff = f, gg = g, oo = (o[0]*(0.33+((l.length-i)/100)));
					ll.push("<span style='display:inline-block; position:fixed; top:%ypx; left:%xpx; height:%hpx; width:%wpx; "+bb(dd, ee, ff, gg, vv, ww, oo)+" border-radius:999px;'></span>");
				}
				tt += "</div>";
				z.innerHTML += tt;
				if (i < (l.length - 1)) { t += hh; }
			}
		}
		var lasx = 5, lasy = -15, mins = parseInt(35 / (1.99 + 0.33)), maxs = parseInt(75 / (1.99 + 0.33));
		for (var ii = 0; ii < ll.length; ++ii) {
			for (var jj = 0; jj < 3; ++jj) {
				if (ll[ii] == "") { continue; }
				var maxx = Math.max(1500, window.innerWidth);
				var maxy = Math.max(500, window.innerHeight);
				while (lasx < (maxx - maxs)) {
					var size = rr(mins, maxs);
					var sizw = size;
					var sizh = size;
					var posx = rr(lasx, lasx + (maxs / 1.99));
					var posy = rr(lasy, lasy + (maxs / 1.99));
					document.body.innerHTML += ll[ii].replace(/%x/ig, ""+posx).replace(/%y/ig, ""+posy).replace(/%w/ig, ""+sizw).replace(/%h/ig, ""+sizh);
					lasx += (sizw + (vv * 1.33));
				}
				lasx = 5; lasy += ((maxs / 1.35) + (vv * 1.33));
			}
		}
		alert(n+"\n"+t+"\n"+u);
	}
</script>
<body onload="aa();" style="margin-bottom:0px;">
	<div id="a"></div>
</body>

[Colors]

[Grain]

[Source]

~

Generating colorful iPhone wallpaper backgrounds continued [lines]

<script>
	//scroll to bottom
	//shot 935 x 1475 (1870 x 2950)
	//sips --rotate -35 a.png --out b.png ; cp -fv b.png c.png
	//crop:768x1666 + blur:5 + noise:5 + vintage:5
	//cp -fv d.png e.png ; sips -z 2556 1179 e.png
	//save:1024x1920 + grain:55
	function zz(n) { return Math.min(Math.max(0, n), 255); }
	function rr(n, m) { return (Math.floor(Math.random() * ((m - n) + 1)) + n); }
	function bb(dd, ee, ff, gg, vv, ww, oo) {
		var hh = "";
		var xx = 35, yy = 35;
		if ((dd == 235) && (ee == 115) && (ff == 115)) { xx += 15; }
		if ((dd == 195) && (ee == 75) && (ff == 75)) { xx += 35; }
		if ((dd == 215) && (ee == 95) && (ff == 15)) { xx += 35; }
		if ((dd == 235) && (ee == 155) && (ff == 55)) { xx += 15; }
		if ((dd > 235) && (ee > 175) && (ff > 105)) { xx += 15; }
		if ((dd == 35) && (ee == 195) && (ff == 235)) { xx += 15; }
		if ((dd == 15) && (ee == 155) && (ff == 215)) { xx += 35; yy -= 15; }
		if ((dd == 15) && (ee == 75) && (ff == 135)) { xx += 55; ff += 15; ee += 15; }
		if ((dd == 55) && (ee == 35) && (ff == 115)) { xx += 35; }
		if ((dd == 95) && (ee == 35) && (ff == 115)) { xx += 15; }
		if ((dd == 96) && (ee == 36) && (ff == 116)) { xx += 15; yy += 15; }
		//console.log("DEBUG:"+dd+","+ee+","+ff+":"+xx);
		hh += ("border:"+vv+"px dashed rgba("+zz(dd+xx)+", "+zz(ee+xx)+", "+zz(ff+xx)+", "+(oo*1.95)+"); background:rgba("+zz(dd+yy)+", "+zz(ee+yy)+", "+zz(ff+yy)+", "+(oo*0.55)+");");
		return hh;
	}
	function aa() {
		var ll = [];
		var l = [
			[ 75,  55,  35, 0.15, 1.0, 0.0, "brown" ],
			[ 75,  55,  35, 0.75, 1.0, 0.0, "brown" ],
			[235, 115, 115, 0.55, 1.1, 0.0, "rose"  ],
			[195,  75,  75, 0.55, 1.0, 0.0, "berry" ],
			[215,  95,  15, 0.75, 1.1, 0.0, "peach" ],
			[235, 155,  55, 0.75, 1.0, 0.2, "gold"  ],
			[255, 195, 135, 0.95, 1.0, 0.0, "light" ],
			[ 35, 195, 235, 0.75, 1.0, 0.0, "mint"  ],
			[ 15, 155, 215, 0.75, 2.0, 0.0, "blue"  ],
			[ 15,  75, 135, 0.75, 1.0, 0.0, "dark"  ],
			[ 55,  35, 115, 0.55, 1.0, 0.0, "deep"  ],
			[ 95,  35, 115, 0.95, 1.0, 0.0, "purple"],
			[ 75,  55,  35, 0.05, 1.0, 0.0, "brown" ],
		];
		var p = [];
		var o = [0.99, 0.95, 0.91];
		var hh = 15;
		var vv = 1.99;
		var ww = 1.99;
		var v = ((15 - vv) - vv);
		var h = ((15 - ww) - ww);
		var n = 7;
		var t = 0;
		var u = "";
		var z = document.getElementById("a");
		for (var i = 0; i < l.length; ++i) {
			var k = (i + 1);
			var r = l[i][3];
			var s = parseInt(l[i][4]);
			var x = (((parseInt(l[i][4] * 10) % 10) + 1) - 1);
			var y = parseInt(l[i][5]);
			var w = (((parseInt(l[i][5] * 10) % 10) + 1) - 1);
			var m = (parseInt(n * r) + (x + y));
			u += (l[i][5]+" "+i+" "+n+" "+r+" "+s+" "+m+"\n");
			if (p.length > 0) {
				l[i][0] = p[0][0]; l[i][1] = p[0][1]; l[i][2] = p[0][2];
				p = [];
			}
			for (var j = 0; j < s; ++j) {
				var d = l[i][0], e = l[i][1], f = l[i][2], g = o[1];
				var uu = (l[i][6] == "purple") ? 2 : (l[i][6] != "brown") ? 1 : 0;
				var tt = "<div style='white-space:nowrap; height:"+hh+"px; background:rgba("+zz(d)+", "+zz(e)+", "+zz(f)+", "+g+");'>";
				for (var ii = 0; (ii < uu) && (j == (s - 1)); ++ii) {
					var dd = d, ee = e, ff = f, gg = g, oo = (o[0]*(0.33+((l.length-i)/100)));
					ll.push("<span style='display:inline-block; position:fixed; top:%ypx; left:%xpx; height:%hpx; width:%wpx; "+bb(dd+ii, ee+ii, ff+ii, gg, vv, ww, oo)+" border-radius:0px;'></span>");
				}
				tt += "</div>";
				z.innerHTML += tt;
				if (i < (l.length - 1)) { t += hh; }
			}
			for (var j = 0; (j < 3) && (k < l.length); ++j) {
				var d = (((l[k][j] - l[i][j]) - 1) / (m + 1));
				l[i][j] = (l[i][j] - (d * w));
			}
			for (var j = 0; (j < m) && (k < l.length); ++j) {
				var a = (((l[k][0] - l[i][0]) - 1) / (m + 1 + w));
				var b = (((l[k][1] - l[i][1]) - 1) / (m + 1 + w));
				var c = (((l[k][2] - l[i][2]) - 1) / (m + 1 + w));
				var d = (l[i][0] + (a * (j + 1))), e = (l[i][1] + (b * (j + 1))), f = (l[i][2] + (c * (j + 1))), g = o[2];
				if (j >= (m - y)) { p.push([d, e, f, g]); continue; }
				if (j >= (m - w)) { p.unshift([d + a, e + b, f + c, g]); }
				var uu = 0;
				var tt = "<div style='white-space:nowrap; height:"+hh+"px; background:rgba("+zz(d)+", "+zz(e)+", "+zz(f)+", "+g+");'>";
				for (var ii = 0; ii < uu; ++ii) {
					var dd = d, ee = e, ff = f, gg = g, oo = (o[0]*(0.33+((l.length-i)/100)));
					ll.push("<span style='display:inline-block; position:fixed; top:%ypx; left:%xpx; height:%hpx; width:%wpx; "+bb(dd, ee, ff, gg, vv, ww, oo)+" border-radius:0px;'></span>");
				}
				tt += "</div>";
				z.innerHTML += tt;
				if (i < (l.length - 1)) { t += hh; }
			}
		}
		var lasx = 5, lasy = -11, mins = parseInt(35 / (1.99 + 0.33)), maxs = parseInt(75 / (1.99 + 0.33));
		for (var ii = 0; ii < ll.length; ++ii) {
			for (var jj = 0; jj < 5; ++jj) {
				if (ll[ii] == "") { continue; }
				var maxx = Math.max(1500, window.innerWidth);
				var maxy = Math.max(500, window.innerHeight);
				while (lasx < (maxx - maxs)) {
					var sizw = maxs;
					var sizh = mins;
					var posx = lasx;
					var posy = lasy;
					document.body.innerHTML += ll[ii].replace(/%x/ig, ""+posx).replace(/%y/ig, ""+posy).replace(/%w/ig, ""+sizw).replace(/%h/ig, ""+sizh);
					lasx += (sizw + (vv * 1.33));
				}
				lasx = 5; lasy += (mins + (vv * 1.33));
			}
		}
		alert(n+"\n"+t+"\n"+u);
	}
</script>
<body onload="aa();" style="margin-bottom:0px;">
	<div id="a"></div>
</body>

[Colors]

[Grain]

[Source]

~

Dual Mini – Network Setup – 2.5G + VPN

With the release of MacOS 27, Apple announced that they dropped support for Intel Macs and so I decided to repurpose my 2019 Intel Mac Mini that I had spec’d out with 10G Ethernet and 16G RAM. I was able to unlock the boot loader and load up Linux on it to turn it into a 10G SFP+ connected router.

Hardware-Defined Networking: I was previous running a Lenovo Mini PC with a 4 port 2.5G card where I could connect the WAN, LAN, VPN In, VPN Out to the router directly. The previous setup was technically more efficient as the bulk of the traffic was flowing in and out of the router.

Software-Defined Networking: In the new setup, the bulk of the traffic is also now flowing in and out of the switch as well as the router which is technically less efficient. The M4 Pro Mac Mini is still running the VPN In / Out solution that I had previously worked on and posted about before (including the proxy backup solution as well).

Now I have the Intel Mac Mini connected with a 10G SFP+ trunk port which has the 4 separate VLANs on the switch to connect and separate those 4 different networks working along side the ARM Mac Mini!

The 4 main functions and routing paths of the VLAN network are:

  • Client -> WiFi
  • WiFi -> VPN
  • VPN -> WAN
  • WAN -> Server

The USW PRO MAX switch is now fully connected with the following ports from the right:

  • Port 1: Router [VLAN Trunk] (10G)
  • Port 2: WAN [VLAN Access] (2.5G)
  • Port 3: WiFi Clients [VLAN Access] (2.5G)
  • Port 4: WiFi Bridge [VLAN Access] (2.5G)
  • Port 5: VPN In [VLAN Trunk] (2.5G)
  • Port 6: VPN Out [VLAN Access] (2.5G)

~

SimpleShell – MacOS Terminal Emulator App

[SimpleShell]

~

$ curl -sL 'https://github.com/stoops/SimpleShell/commits/main/' | tr '=:,<>[]{}"\' '\n' | grep -Ei '/commit/' | head -n 1 | awk -F'/' '{ print $NF }'

$ spctl -a -v bin/SimpleShell.app
bin/SimpleShell.app: accepted
source=Notarized Developer ID

I was searching for a good quality but simple free open terminal for MacOS and I couldn’t really find what I was looking for interface wise (I used to use iTerm for a long time but it started getting more and more bloated and laggy on me – using up a lot of system power on battery and I don’t want all that AI stuff baked in).

I started a project earlier this year but got stuck on it because I was trying to implement a basic ANSI parser which was a mistake on my part. I didn’t realize how incredibly complicated that finite state machine would be, esp with bash and ansi apps sending complicated instructions into the machine! I then asked Google AI for help and it pointed me to a GitHub page that hosted a libvterm (from vim) that was compatible with Objective-C.

I’ve been working on this app non-stop for the last 9 days now and I only have the basics covered, I didn’t realize how much code it took just to make a basic text processing input/output app but I think this is one of my more complicated code bases (possibly TurnTable is the other app of mine that might be more complicated but that one is in Swift).

I still have a lot more work on my todo list for and I will continue development on it now that I got ANSI parsing to work, the rest is just mainly ViewController and functionality features. I targeted it for the bash shell so I don’t know if it works with other shells but this is just my first release post about it.

Layout List

  • Date (Month / Day)
  • Terminal (Rows / Cols)
  • Network (LAN / WAN)
  • System (CPU / RAM / NET)
  • WiFi (Freq / Rate)
  • Highest Process (PID / MEM)
  • Shell PS1 Prompt Info (User / Directory)
  • Dynamic Prompt Prefix Information Insertion (Any scriptable line items)

Feature List

  • Simple Clean Minimal Functional Design
  • Window / View / Layout — Colors / Opacity / Blur
  • Selector / Highlighter Separator Character List (Automation)
  • Auto Copy On Selection (Automation)
  • Single-Line Paste Manual Enter (Safety)
  • Multi-Line Paste Prevention Protection (Safety)
  • Huge-Line Paste Limitation Protection (Safety)
  • Multi-Window / Multi-Tab
  • Left Aligned Tab Titles With Monospace Font (Readability)
  • Scriptable Standard Window And Tab Title Text
  • Scriptable Dynamic Shell Prompt Prefix (Found No Where Else!)
  • Always Visible Command Line Prompt (Found No Where Else!)
  • Live System Information Stats Bar
  • Separated Open / Close Tab Buttons To Reduce Accidental Closures
  • Multi-Tab Window Detection To Reduce Accidental Closures
  • Dual Output Modes (line/ansi) With Separated Input Prompt (comd)
  • Smooth Scroll Locking
  • Clear Console Command
  • Easy Use Shortcut Keys (cmd/opt + left/right)
  • Regular Expression Search
  • Basic Output Text Colors
  • Basic Process Job Detection
  • Transparent Rounded Cursor Block!
  • Dock Icon!!

Todo List

  • Add settings for font text type / size
  • Add settings for ansi color codes

Limitation List

  • Tabs Can’t Be Transferred To Other Windows
  • Only Reopens One Window / Tab On Launch
  • No Previous History Or Information Is Restored

Warning List

  • User Beware: This is still a brand new framework and there may be bugs (or at the very least incompatibilities)!

~

Source Code: https://github.com/stoops/SimpleShell

~

I Think This Is My Favorite Firewall Command Of All Time!

Layer 2 – Ethernet Frames – Leet ARP Spoofing

ebtables -t nat -I PREROUTING -i wifi+ -p ARP --arp-opcode Reply --arp-ip-src 192.168.1.1 -s ! 00:12:34:56:78:00 -j DROP
ebtables -t nat -A PREROUTING -i wifi+ -p ARP --arp-opcode Reply --arp-ip-dst 192.168.1.1 -s ! 00:12:34:56:78:00 -j DROP

~

Layer 3 – Second Favorites – Lazy DHCP Snooping

ebtables -t nat -I PREROUTING -i eth0.1 -p IPv4 --ip-proto udp --ip-sport 67 -j ACCEPT
ebtables -t nat -A PREROUTING -i wifi+ -p IPv4 --ip-proto udp --ip-sport 67 -j DROP

~

[kmod-nft-bridge]

table bridge ethernet {
chain PREROUTING {
type filter hook prerouting priority filter; policy accept;
iifname "wifi*" arp operation reply arp saddr ether != 00:11:22:33:44:00 arp saddr ip 192.168.1.1 counter drop
iifname "wifi*" ip protocol udp udp sport 67 counter drop
}
}

~

OpenWRT Config

wireless.default_radio0.isolate='1'
wireless.default_radio0.bridge_isolate='1'

~

Untested Commands

bridge link set dev wlan0 hairpin off isolated on
ebtables -A FORWARD -i wlan0 -o wlan0 -j DROP

~

Note: Most of these commands won’t work on UAP-U7-PRO APs I believe due to hardware based frame/packet routing/forwarding – I have since enabled arp-proxy and dhcp-snooping in the UI network controller application, however, I don’t see them working either, possibly because I am running a third-party gateway device. I have finally enabled client-isolation, which as tested, solves the ARP and DHCP attacks completely and forces client-to-client communication through the router instead for even further filtering!

~

My first usage of AI for specific tech help and my thoughts so far…

I have first since used a couple web based AI systems for different specific tech things and they are pretty useful if you do the extra work to verify and modify what they are telling you. I’ve found that Google Gemini AI is really good a general tech questions and configuration items (with looking it over and understanding it and modifying it of course for your specific needs) and Claude Sonnet AI is really amazing at verifying that your code is correct and other more in-depth programming related tasks (for example, memory allocation and pointer handling and file descriptor tracking). I was also trying to test and see if the AI system would learn from me or others over time and add that previous historical context for each conversation into future interactions.

I’ve been using these systems lightly whenever I get stuck and they are able to find the exact code snippets I was looking for to complete the rest of my projects – prompt engineering!

Tips:

  • You need to try and give as much extra debugging info that you can for it to properly figure things out or update its answer
  • It’s better to ask it small specific questions and break the problem apart into pieces and then tailor a customized solution
  • There are interesting differences between asking it high-level design questions versus low-level coding questions
  • It’s also interesting to ask it open-minded / open-ended questions versus asking for specific solution implementations
  • It may get lost easily depending on code length, complexity, and the given language it is programmed in
  • Try to connect and link the history and context in between multiple sequential questions
  • Sometimes it will loop through repeated answers if it gets stuck on one specific solution
  • Sometimes the quality of a given answer decreases or even may change completely the longer that you interact with it
  • Sometimes you will get varying, differing, or conflicting answers if you re-ask it the same question over and over again
  • Sometimes it gets stuck on one specific solution that won’t work in the end but if you try to ask it how to approach the problem from a different angle it can provide steps for you to get extra info for it to either re-fine or re-suggest its solution

Note: It’s a shame that AI resources are being used on social or political issues rather than solving technology and scientific issues to help progress humanity. I’m still amazed that I was able to feed a 1000 lines of C code to Claude as a test and it was able to determine the components purposes and the network proxy applications of it all…

Google AI seems a little more friendly and personable whereas Claude is more on task and professional ha 🙂

~

AES-256 ARM Hardware Instruction Usage In C!

I wanted to eventually experiment with using the AES hardware instruction but for the ARM architecture because there are ways to turn block ciphers into stream ciphers for future usage. There appears to be a C header include file that exists on both Mac and Ubuntu (arm_neon.h) and you can compile this small C program file with standard gcc options (no special arguments needed). The hardware instruction method names appear very cryptic, however, they do seem to work when I tested the hex output against other sites!

K: [00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
R: [00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 62 63 63 63 62 63 63 63 62 63 63 63 62 63 63 63 aa fb fb fb aa fb fb fb aa fb fb fb aa fb fb fb 6f 6c 6c cf 0d 0f 0f ac 6f 6c 6c cf 0d 0f 0f ac 7d 8d 8d 6a d7 76 76 91 7d 8d 8d 6a d7 76 76 91 53 54 ed c1 5e 5b e2 6d 31 37 8e a2 3c 38 81 0e 96 8a 81 c1 41 fc f7 50 3c 71 7a 3a eb 07 0c ab 9e aa 8f 28 c0 f1 6d 45 f1 c6 e3 e7 cd fe 62 e9 2b 31 2b df 6a cd dc 8f 56 bc a6 b5 bd bb aa 1e 64 06 fd 52 a4 f7 90 17 55 31 73 f0 98 cf 11 19 6d bb a9 0b 07 76 75 84 51 ca d3 31 ec 71 79 2f e7 b0 e8 9c 43 47 78 8b 16 76 0b 7b 8e b9 1a 62 74 ed 0b a1 73 9b 7e 25 22 51 ad 14 ce 20 d4 3b 10 f8 0a 17 53 bf 72 9c 45 c9 79 e7 cb 70 63 85 ]
I: [00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
O: [dc 95 c0 78 a2 40 89 89 ad 48 a2 14 92 84 20 87 ]
I: [dc 95 c0 78 a2 40 89 89 ad 48 a2 14 92 84 20 87 ]
O: [00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]

~

Source Code: github.com/stoops/aes/blob/main/aes.c

~

Finally got multi-queue batch-io linux kernel tun interface in C!

Thanks to Google’s AI code snippets, I was able to finally implement multiple threads all reading from a singular tun interface as well as each thread performing larger batch reads/writes in one singular syscall (up to 65536 bytes per call)! Here are the parameters (IFF_MULTI_QUEUE | IFF_VNET_HDR) and calls you need to set to get it:

[xorcipher.com]

~

Source Code: github.com/stoops/vpn/blob/main/gtun.c

Elliptic Curve Memory Refresher

EC ElGamal
point=f(x, y)
G - point (public)
k - integer (private)
Q=kG - point (public)
r - integer [random integer] (private)
s - integer [secret integer] (private)
M=sG - point [secret point] (private)
C=rG - point [reference point] (public)
E=rQ+M - point [encrypted point] (public)
(C, E) - message [(rG, rkG+M)] (public)
D=k*C - point [decryption point] (private)
M=E−D - point [((rkG+M)-krG)] (private)
note: must generate a unique r/M value/coordinate each time for a given key
note: encryption only works in one direction from public key to private key

~

EC DH
- each side generates a secret integer (r) and multiplies with point G (rG)
- each side sends their point multiplication result (rG) to the other
- each side multiplies their secret integer (r) with the exchanged point r(xG)
- each side can encrypt their results before sending with EC ElGamal

~

You can see point S has the same X, Y coordinates in the client as in the server and only points C and E were published!

~

Source Code: github.com/stoops/vpn/blob/main/lib/key.c

Key Generator: github.com/stoops/eckx/blob/main/ecdh.c

~

The Monkey-in-the-Middle Solution Revisited – VPN Style Proxy – LAN==2.5gbps && WAN==1.5gbps

So a little while back I upgraded all my lan components to 2.5gbps and I recently upgraded my wan to 1.5gbps and I wanted to tune up both the VPN solution I had previously made as well as the long since passed Proxy solution. The proxy solution, which is essentially a “Monkey-in-the-Middle” proxy on behalf of all network clients (no TUN interface read/writes are required) but the down side is managing thousands of client based UDP/TCP socket connections and firewall states and file descriptors and memory allocs. On a side note though, as a long time select caller, I finally learnt how to use poll as a better replacement.

With the VPN solution, I like and prefer the clean routing setup, however, I was only able to achieve ~900mbps whereas with the Proxy solution, it’s all pure sockets only where I am able to get ~1300mbps!

I wanted to retest what the performance would be of the MITM Proxy network solution over WiFi 6GHz@2400mbps and I was able to hit pretty fast VPN-style speeds over the network! I will have to retest to see how the VPN solution performs, however, I am trying to explore how multiple bulk IP packets can be read/written to/from the TUN interface in one singular syscall or being able to process larger size packet data before they get broken up by the interface MTU in the Linux Kernel… IFF_VNET_HDR / IFF_MULTI_QUEUE

Over 1.21 Jiggawatts! I mean Gigabits!!

~

~

Warning: Long Screenshot

Connection Management

🙂

MTUN: github.com/stoops/vpn

MITM: github.com/stoops/mitm

~

Trying Out Some Hacky Tampermonkey Javascript Modifications For A Better kick.com Live Stream Video Experience!

The kick.com live stream video experience on the web is not the best overall, it seems to constantly lose track of a previously buffered section of the live stream and then sends you to the live portion but mine also gets stuck on reconnecting again and remains frozen until a manual refresh! I tried to write a series of hacky javascript modifications to help solve the following issues:

  • Always show the bottom video controls bar on the live stream video
  • Always set the volume level to 100% instead of the continually defaulted 50%
  • Accepts a basic timestamp parameter to seek to in a live stream video
  • Keeps track of your latest buffered video seek position
  • Auto reseeks to the last known tracked timestamp if the buffered video jumps forward to live stream and auto reloads the page with the timestamp parameter if the stream connection becomes frozen
// ==UserScript==
// @name         klol
// @namespace    http://tampermonkey.net/
// @version      2026-08-19
// @description  try to take over the world!
// @author       You
// @match        https://kick.com/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=kick.com
// @grant        GM_addStyle
// @noframes
// ==/UserScript==

(function() {
    'use strict';

    GM_addStyle('#channel-chatroom { display: none !important; }');
    GM_addStyle('#sidebar-wrapper[data-nosnippet="true"] { display: none !important; }');
    GM_addStyle('div[class*="sidebar-collapsed-width"][class*="xl:hidden"] { display: none !important; }');
    function hide() {
        const elements = document.querySelectorAll('[class*="group-data-[chat"]');
        const filtered = Array.from(elements).filter(el => !el.classList.contains('data-[is-resizing=true]:transition-none'));
        filtered.forEach(el => {
            el.style.setProperty('display', 'none', 'important');
        });
        const bloc = document.querySelector('a[href="/category/just-chatting"]')?.closest('div.flex');
        if (bloc) { bloc.style.display = 'none'; }
    }
    if (!location.href.match(/^.*\/videos.*$/)) { setInterval(hide, 1.75 * 1000); }

    var join = "?s=";
    var murl = location.href;
    var wait = 5;
    var redo = 0;

    function mmov(time) {
        const targets = document.querySelectorAll('video');
        targets.forEach(target => {
            ['mousedown', 'mouseup', 'click'].forEach(eventType => {
                target.dispatchEvent(new MouseEvent(eventType, {
                    bubbles: true,
                    cancelable: true
                }));
            });
        });
        setTimeout(() => {
            const target = document.querySelector('span[data-orientation="horizontal"]');
            const event = new PointerEvent('pointerdown', {
                bubbles: true,
                cancelable: true,
                composed: true,
                pointerId: 1,
                pointerType: 'mouse',
                isPrimary: true,
                clientX: 151,
                clientY: 521,
                button: 0,
                buttons: 1,
                pressure: 0.5
            });
            target.dispatchEvent(event);
            setTimeout(() => {
                document.querySelector("video").currentTime = time;
                const target = document.querySelector('span[data-orientation="horizontal"]');
                target.dispatchEvent(new PointerEvent('pointerup', {
                    bubbles: true,
                    cancelable: true,
                    composed: true,
                    pointerId: 1,
                    pointerType: 'mouse',
                    isPrimary: true,
                    clientX: 151,
                    clientY: 521,
                    button: 0,
                    buttons: 0
                }));
            }, 357);
        }, 135);
    }

    function msec(inpt) {
        var info = inpt.split(":");
        if (info.length == 3) {
            return ((parseInt(info[0]) * 3600) + (parseInt(info[1]) * 60) + parseInt(info[2]));
        }
        return 0;
    }

    function mbuf(objc, urls, time) {
        if (urls == "") {
            /*var left = new KeyboardEvent("keydown", { bubbles:true, cancelable:true, keyCode:37, which:37, key:"ArrowLeft", code:"ArrowLeft" });
            objc.dispatchEvent(left);
            objc.currentTime = time;*/
            mmov(time);
        } else {
            location.href = (urls + join + time);
        }
    }

    function rsec(time) {
        const hour = Math.floor(time / 3600);
        const mins = Math.floor((time % 3600) / 60);
        const secs = Math.floor(time % 60);
        const hhxx = String(hour).padStart(2, "0");
        const mmxx = String(mins).padStart(2, "0");
        const ssxx = String(secs).padStart(2, "0");
        return (hhxx + ":" + mmxx + ":" + ssxx);
    }

    function cvid(objc) {
        return (objc && (objc.src == "") && (!location.href.match(/^.*\/videos\/.*$/)));
    }

    var r = -1;
    var d = -2;
    var z = -3;
    function mtxt() {
        var q = document.querySelector("video");
        var s = location.href.replace(/\?.*$/mig, "");
        if (cvid(q)) {
            var t = parseInt(q.currentTime);
            var u = (q.duration == Infinity) ? 0 : parseInt(q.duration);
            var c = document.getElementById("channel-content");
            if (c) {
                var o = document.querySelector('[data-testid="follow-button"]');
                if (o) {
                    o.parentNode.innerHTML = ("<span style='font-family:Monaco;'><span id='stop' style='display:none;'></span><span id='last' style='display:none;'>0</span> &nbsp; <a href='" + s + "'><b>&lt;---&gt;</b></a> &nbsp; <a href='javascript:void(0);' onclick='location.href = \"" + s + "?s=\" + document.getElementById(\"secs\").innerText.replace(/[^0-9]/ig, \"\");'><span id='secs'>[X]</span></a> &nbsp; <a href='javascript:void(0);' onclick='var o = document.getElementById(\"stop\"); var v = document.querySelector(\"video\"); if (o.innerText == \"\") { o.innerText = \"stop\"; v.pause(); } else { v.play(); o.innerText = \"\"; }'><span id='time'>" + rsec(t) + "</span></a> &nbsp; </span>");
                }
                var w = document.getElementById("time");
                if (w) {
                    if (murl.includes(join)) {
                        //var q = document.querySelector("video");
                        var p = (parseFloat(murl.replace(/^.*=/mig, "")) - 5.0);
                        console.log(" TIME " + q.readyState + " p:" + p);
                        z = p;
                        mbuf(q, "", p);
                        murl = "";
                    }
                    var stop = document.getElementById("stop");
                    if ((q.readyState != 4) && (stop.innerText == "")) {
                        console.log(" LOAD " + q.readyState + " r:" + r);
                        if (wait > 0) {
                            wait -= 1;
                        } else {
                            if (r > 15) {
                                location.href = (s + join + r);
                            } else {
                                location.href = s;
                            }
                            stop.innerText = "x";
                        }
                    }
                    if ((r > 0) && (z > 0)) {
                        r = z;
                        z = -3;
                    }
                    var last = document.getElementById("last");
                    var h = parseInt(last.innerText);
                    var y = document.getElementById("secs");
                    var e = parseInt(r + ((u - r) * 0.75));
                    if (u != 0) {
                        if ((r > 0) && ((t < 15) || (e < t))) {
                            console.log(" KICK " + q.readyState + " w:" + w.innerText + " t:" + t + " u:" + u + " h:" + h + " e:" + e + " r:" + r);
                            mbuf(q, s, r);
                            redo = 5;
                        } else {
                            y.style.color = "#31e531";
                            y.innerText = (" [" + t + "] ");
                            r = t; d = -9;
                            last.innerText = t;
                            document.getElementById("time").innerHTML = ("-" + rsec(u - t));
                        }
                    } else {
                        y.style.color = "#e95555";
                        y.innerText = (" [" + t + "] ");
                        r = -9; d = t;
                        last.innerText = "0";
                        document.getElementById("time").innerHTML = ("+" + rsec(t));
                    }
                }
            }
        }
    }

    function maud() {
        var vido = document.getElementById("vido");
        var volu = document.querySelector("video");
        if (cvid(volu)) {
            if (!vido) {
                var main = document.querySelector("main").parentNode;
                document.body.innerHTML = "<div id='vido'></div>";
                document.body.appendChild(main);
                //const newd = document.createElement("div");
                //newd.id = "vido";
                //document.body.appendChild(newd);
                setInterval(mtxt, 1.91 * 1000);
            } else {
                volu.volume = 1;
            }
        }
    }
    setInterval(maud, 1.91 * 1000);
})();

Lessons Learned From Implementing Multi-Threaded VPNs!

When reading packets or network data from a tunnel interface, the order in which they are read does matter as they can impact connectionless protocols and also cause stateful protocols to spend time re-ordering data! There were three techniques that I tried implementing to solve this issue:

  • Map a packet address to a thread index during the entire time of every connection state
  • Index and order every packet read by number and wait to write them out in the same sequence
  • Lock and time and order each threaded process just like many pistons firing inside of an engine block

One other observation I noticed is speed tests may seem lower which I believe is because of all the extra inner header data being prepended to the buffers in addition to the outer IPv4 + TCP headers:

  • MITM: Encryption header/trailer
  • MTUN: Encryption header/trailer + Inner IPv4 header + Inner protocol header
  • GTUN: Encryption header/trailer + Inner IPv4 header + Inner protocol header + Batch read header

Added note: Making a VPN-style MITM Proxy service which handles thousands of network states and file descriptors is all about connection management and thread management!

Final note: Building these solutions on top of TCP allows for larger payloads, ordered delivery, auto keepalives, and connection management – full size MTU!

~

MTUN: github.com/stoops/vpn

MITM: github.com/stoops/mitm

~