Skip to content

Instantly share code, notes, and snippets.

View kaworu's full-sized avatar

Alexandre Perrin kaworu

View GitHub Profile
diff --git a/daemon/cmd/datapath.go b/daemon/cmd/datapath.go
index 6134dca312..543dcb8cca 100644
--- a/daemon/cmd/datapath.go
+++ b/daemon/cmd/datapath.go
@@ -18,6 +18,7 @@ import (
"github.com/cilium/cilium/pkg/datapath"
datapathIpcache "github.com/cilium/cilium/pkg/datapath/ipcache"
"github.com/cilium/cilium/pkg/datapath/linux/ipsec"
+ "github.com/cilium/cilium/pkg/datapath/linux/linux_defaults"
"github.com/cilium/cilium/pkg/datapath/linux/probes"
// Copyright 2020 Authors of Cilium
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
diff --git a/.gitignore b/.gitignore
index eb37b56..73d6801 100644
--- a/.gitignore
+++ b/.gitignore
@@ -20,7 +20,6 @@ Makefile.in
/autoscan-*.log
/aclocal.m4
/compile
-/config.h.in
/config.guess
; Global settings for redshift
[redshift]
; Set the day and night screen temperatures
temp-day=5700
temp-night=3500
; Disable the smooth fade between temperatures when Redshift starts and stops.
; 0 will cause an immediate change between screen temperatures.
; 1 will gradually apply the new screen temperature over a couple of seconds.
fade=1
#!/bin/sh
set -e
ACTION="$1"
DOMAIN="$2"
ZONE="`dirname "$0"`/master/${DOMAIN}.db"
ZSKDIR="`dirname "$0"`/keys/ZSK"
KSKDIR="`dirname "$0"`/keys/KSK"
KEYGENALGORITHM=RSASHA256 # see `/usr/local/bin/ldns-keygen -a list'
/**
* Returns an array containing all the given Key's subkeys sorted in prefered
* order for encryption.
*
* The prefered order is as follow:
* - First all the one-time keys sorted by their expiration time (closest to
* expiration first).
* - Then all the non one-time keys sorted by their creation time (more
* recently created first).
*
@kaworu
kaworu / check-caa.sh
Created March 3, 2020 20:52
Check all installed certificate against Let's Encrypt CAA problem - see https://letsencrypt.org/caaproblem/
#!/bin/sh
set -e
SERIALURI=https://d4twhgtvn0ff5.cloudfront.net/caa-rechecking-incident-affected-serials.txt.gz
SERIALTMPFILE=/tmp/caa-rechecking-incident-affected-serials.txt
download_serials() {
curl "$SERIALURI" | gunzip | awk '{print $2}' > "$SERIALTMPFILE"
}
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.