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
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
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
#!/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
#!/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
diff -dpru lxc-2.0.9/src/lxc/tools/lxc_attach.c lxc-2.0.9.attach/src/lxc/tools/lxc_attach.c | |
--- lxc-2.0.9/src/lxc/tools/lxc_attach.c 2017-10-19 12:13:25.000000000 -0500 | |
+++ lxc-2.0.9.attach/src/lxc/tools/lxc_attach.c 2017-10-25 14:41:27.263268277 -0500 | |
@@ -431,8 +431,8 @@ int main(int argc, char *argv[]) | |
exit(EXIT_FAILURE); | |
} | |
- if (!c->is_defined(c)) { | |
- fprintf(stderr, "Error: container %s is not defined\n", c->name); | |
+ if (!(c->is_defined(c) || c->is_running(c))) { |
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
10.0.1.1 IN A 10.0.1.1 | |
*.10.0.1.1 IN A 10.0.1.1 | |
10.0.1.2 IN A 10.0.1.2 | |
*.10.0.1.2 IN A 10.0.1.2 | |
10.0.1.3 IN A 10.0.1.3 | |
*.10.0.1.3 IN A 10.0.1.3 | |
10.0.1.4 IN A 10.0.1.4 | |
*.10.0.1.4 IN A 10.0.1.4 | |
10.0.1.5 IN A 10.0.1.5 | |
*.10.0.1.5 IN A 10.0.1.5 |
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
Could not create file because a Git pre-receive hook failed. | |
hook1.sh: failed with exit status 32 | |
+ chroot=/data/user/git-hooks/environments/1/28a80ad7246678ceff76a283c4f8ff682455fc2386dae7bad7b4fd941e2d854e | |
+ repo=/data/user/repositories/c/nw/c2/0a/d4/12/12.git | |
+ script_path=/data/user/git-hooks/repos/9 | |
+ whoami | |
+ [ git = root ] | |
+ exec sudo -u root /usr/local/share/enterprise/ghe-firejail /data/user/git-hooks/environments/1/28a80ad7246678ceff76a283c4f8ff682455fc2386dae7bad7b4fd941e2d854e /data/user/repositories/c/nw/c2/0a/d4/12/12.git /data/user/git-hooks/repos/9 hook1.sh | |
+ chroot=/data/user/git-hooks/environments/1/28a80ad7246678ceff76a283c4f8ff682455fc2386dae7bad7b4fd941e2d854e |
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
root@localhost:/# /usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -D -p /var/run/haproxy.pid | |
root@localhost:/# ps aux | grep haproxy | |
haproxy 4674 0.0 0.1 41604 8624 ? Ss 15:39 0:00 /usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -D -p /var/run/haproxy.pid | |
root 4680 0.0 0.0 12728 2120 ? R+ 15:39 0:00 grep haproxy | |
root@localhost:/# |
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
root@localhost:/# systemctl start haproxy | |
root@localhost:/# systemctl status haproxy | |
● haproxy.service - LSB: fast and reliable load balancing reverse proxy | |
Loaded: loaded (/etc/init.d/haproxy) | |
Active: active (exited) since Tue 2016-03-15 15:35:55 UTC; 2min 1s ago | |
Process: 4645 ExecReload=/etc/init.d/haproxy reload (code=exited, status=0/SUCCESS) | |
Process: 4510 ExecStart=/etc/init.d/haproxy start (code=exited, status=0/SUCCESS) | |
Mar 15 15:35:55 localhost systemd[1]: Starting LSB: fast and reliable load balancing reverse proxy... | |
Mar 15 15:35:55 localhost haproxy[4510]: Starting haproxy: haproxy. |