Refactored syntax highlighting shortcodes into markdown
This commit is contained in:
parent
9e6bb1a3e5
commit
ea435049b3
71 changed files with 297 additions and 297 deletions
|
@ -10,10 +10,10 @@ tags:
|
|||
|
||||
Firewalling on linux is messy, here is an example of how to clean conntrack states that match a specific query on a linux firewall :
|
||||
|
||||
{{< highlight sh >}}
|
||||
```sh
|
||||
conntrack -L conntrack -p tcp –orig-dport 65372 | \
|
||||
while read _ _ _ _ src dst sport dport _; do
|
||||
conntrack -D conntrack –proto tcp –orig-src ${src#*=} –orig-dst ${dst#*=} \
|
||||
–sport ${sport#*=} –dport ${dport#*=}
|
||||
done
|
||||
{{< /highlight >}}
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue