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
| set block-policy return | |
| set skip on lo | |
| block log | |
| pass out on egress from internal:network to any nat-to (egress) | |
| pass out on egress from (egress) to any | |
| pass in on internal from internal:network to internal | |
| pass out on internal from internal to internal:network |
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
| #!/bin/sh | |
| # | |
| # Vulnerable pkg_add wrapper | |
| # | |
| set -e | |
| case "$1" in | |
| */*|*;*|*&*) echo "URLs or paths not allowed." | |
| exit 1 | |
| ;; |
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
| I have several hosts with Vultr (kvm-based I believe), one of which is now oddly slow. | |
| Right after a reboot, things are working fine but just 12 hours later, sending five pings take 35 seconds: | |
| $ time ping -c5 localhost | |
| PING localhost (127.0.0.1): 56 data bytes | |
| 64 bytes from 127.0.0.1: icmp_seq=0 ttl=255 time=0.360 ms | |
| 64 bytes from 127.0.0.1: icmp_seq=1 ttl=255 time=0.124 ms | |
| 64 bytes from 127.0.0.1: icmp_seq=2 ttl=255 time=0.097 ms | |
| 64 bytes from 127.0.0.1: icmp_seq=3 ttl=255 time=0.091 ms |