echo "service iptables restart"| at now + 2 min
iptables --flush
### Drop invalid packets ###
iptables -t mangle -A PREROUTING -m conntrack --ctstate INVALID -j DROP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| First, update and upgrade all packages: | |
| sudo apt-get update | |
| sudo apt-get upgrade | |
| sudo -i # Change to root | |
| cd /usr/local/src | |
| Main docs: | |
| https://wiki.asterisk.org/wiki/display/AST/Installing+Asterisk+From+Source |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| """Find Debian HTTPS archives. | |
| Script based on https://gist.github.com/eighthave/7285154 | |
| I made it asynchronous and parallel, so overall I measured it to be 6 times faster or more. | |
| Requires Python 3.7+ | |
| Additional resources not exactly related to this script but could be helpful for |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Import needed libraries | |
| import hashlib | |
| # secp256k1 parameters | |
| p = 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFC2F | |
| a = 0 | |
| b = 7 | |
| n = 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 | |
| Gx = 55066263022277343669578718895168534326250603453777594175500187360389116729240 | |
| Gy = 32670510020758816978083085130507043184471273380659243275938904335757337482424 |
OlderNewer