This file contains 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/perl | |
our %state = (); | |
for my $line (split /\n/, `netstat -lntup`) | |
{ | |
$line =~ s/\s+$//; | |
my $proto, $revq, $sendq, $local, $foreign, $state, $proc; | |
if ($line =~ m/^tcp/) |
This file contains 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 ruby | |
# Print everything that's listening on 127.0.0.1 but not ::1 or | |
# listening on 0.0.0.0 but not :: | |
v4_to_v6 = { "127.0.0.1" => "::1", "0.0.0.0" => "::"} | |
sockets = {} | |
IO.popen('sudo ss -Hnlp -A tcp,udp') do |ss| | |
while (line = ss.gets) do | |
fields = line.split |
This file contains 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
35645 1 | |
9 1J | |
6 1L | |
1 1NCAR | |
32 1NCARG | |
1 1Nhl | |
5 1PVM | |
44 1SSL | |
4 1WN | |
1 1X |
This file contains 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
101 0p | |
9907 1 | |
1 1L | |
3 1a | |
5 1m | |
218 1p | |
1 1q | |
58 1ssl | |
5 1x | |
2369 2 |
This file contains 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
101 0p | |
45522 1 | |
9 1J | |
7 1L | |
1 1NCAR | |
32 1NCARG | |
1 1Nhl | |
5 1PVM | |
44 1SSL | |
4 1WN |
This file contains 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
1818 1 | |
3 1b | |
32 1cups | |
643 1m | |
10 1oldap | |
93 1openssl | |
2 1s | |
257 1t | |
234 2 | |
4378 3 |
This file contains 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
101 0p | |
37588 1 | |
9 1J | |
7 1L | |
1 1NCAR | |
32 1NCARG | |
1 1Nhl | |
5 1PVM | |
44 1SSL | |
4 1WN |
This file contains 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
on: | |
pull_request: | |
name: Suggestions | |
jobs: | |
shell: | |
name: Shell suggestions | |
runs-on: ubuntu-20.04 | |
steps: |
This file contains 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
on: | |
pull_request: | |
name: Lint | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-20.04 | |
steps: |
This file contains 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
diff --git a/layers/meta-bantha/recipes-bantha/images/bantha-image.bb b/layers/meta-bantha/recipes-bantha/images/bantha-image.bb | |
index d43edda..e5e9229 100644 | |
--- a/layers/meta-bantha/recipes-bantha/images/bantha-image.bb | |
+++ b/layers/meta-bantha/recipes-bantha/images/bantha-image.bb | |
@@ -5,7 +5,7 @@ LICENSE = "MIT" | |
inherit core-image | |
inherit ostree_readonly_sysroot | |
-IMAGE_FSTYPES = "ostree.tar" | |
+IMAGE_FSTYPES = "ostree.tar.xz" |