Patrick Denis > Articles by: patrick
Author Archive: patrick
patrick
May 22, 2023
This post was found here : https://www.engineerkhan.com/networking/packet-capture-on-cisco-9300-switches/ Remember to ensure that you have sufficient space available on the Flash (though the filesizes shouldn’t be too big for short captures), and always keep an eye on the CPU of the Switch…
Read more
patrick
March 28, 2023
Packaging In Python, the term packaging refers to putting modules you have written in a standard format, so that other programmers can install and use them with ease. This involves use of the modules setuptools and distutils. The first step in packaging is to organize…
Read more
patrick
November 29, 2022
https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml 0 HOPOPT IPv6 Hop-by-Hop Option Y [RFC8200] 1 ICMP Internet Control Message [RFC792] 2 IGMP Internet Group Management [RFC1112] 3 GGP Gateway-to-Gateway [RFC823] 4 IPv4 IPv4 encapsulation [RFC2003] 5 ST Stream [RFC1190][RFC1819] 6 TCP Transmission Control [RFC9293] 7 CBT…
Read more
patrick
October 12, 2022
Rename files in a directory before the extensions. (Get-ChildItem -Recurse -File -Filter *.*) | Rename-Item -NewName { $_.BaseName + ‘-anytext’ + $_.Extension }
patrick
July 10, 2022
Was getting confuse a bit in the terminology between those 2 and found this nice summary : https://higherlogicdownload.s3.amazonaws.com/HPE/MigratedAssets/VLAN%20and%20Link-Aggregation%20Interoperability%20ArubaOS-switch%20and%20Cisco%20IOS.pdf
patrick
December 15, 2021
This is for a quick install of FTD and FMC , This is a quick version and will need to be polish soon 1- Boot Each devices and have access to the console port or management IP. ( on 1st…
Read more
patrick
December 15, 2021
This is to test Firewalls , Loadbalancer etc… quick and easy for labbing This was taking from : https://linuxconfig.org/running-a-simple-http-web-server-with-one-terminal-command-and-python Configure simple web server in Linux 13 January 2022 by Luke Reynolds The purpose of this tutorial is to host a simple web…
Read more
patrick
September 13, 2021
PALO-ALTO-CLI-CHEATSHEET CLI Jump Start The following table provides quick start information for configuring the features of Palo Alto Networks devices from the CLI. Where applicable for firewalls with multiple virtual systems (vsys), the table also shows the location to…
Read more
patrick
June 19, 2021
Example of a definition to a lambda code : def func1(x, y): return x + y ##lambda would be : result = lambda x, y: x + y or (lambda x, y: x + y)(value1,value2)
patrick
June 19, 2021
Example 1 of how to simplify a code : vars = [1,2,3] result = [num * 2] for var in vars: result.append(num * 2) It can be simplify by : result = [num * 2 for var in vars] Example…
Read more