<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8419801616207698313</id><updated>2024-11-01T11:40:19.056+01:00</updated><category term="Ubuntu"/><category term="Checkpoint"/><category term="Cyanogenmod"/><category term="vpn"/><category term="2.3.7"/><category term="7.1.0"/><category term="Android"/><category term="Debian"/><category term="Freemobile"/><category term="Gingerbread"/><category term="snmp"/><category term="Box"/><category term="Cacti"/><category term="Desire"/><category term="EAP"/><category term="EAP-SIM"/><category term="Fortigate"/><category term="Fortinet"/><category term="Free"/><category term="HTC"/><category term="IPV6"/><category term="Mib"/><category term="Natty"/><category term="OSE"/><category term="Revolutionary"/><category term="S-OFF"/><category term="SIM; Reseau"/><category term="SPLAT"/><category term="Smart Dashboard"/><category term="USB"/><category term="Unrevoked"/><category term="Virtual"/><category term="VirutalBox"/><category term="Wireshark"/><category term="applications"/><category term="bash"/><category term="blade"/><category term="boot"/><category term="cdp"/><category term="certificat"/><category term="cisco"/><category term="deconnexion"/><category term="disparues"/><category term="dumpcap"/><category term="duplex mismatch"/><category term="expiration"/><category term="expire"/><category term="extreme Networks"/><category term="grub"/><category term="ipsec"/><category term="mobile"/><category term="modifier"/><category term="mot de passe"/><category term="nicolargo"/><category term="non-root"/><category term="openVPN"/><category term="password"/><category term="preferences"/><category term="root"/><category term="shell"/><category term="sslh"/><category term="stable"/><category term="testing"/><category term="tunnel"/><category term="virtualisation"/><title type='text'>Mon Blog Notes</title><subtitle type='html'>Mes Notes au quotidien sur mes activités informatiques</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://kifeo.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8419801616207698313/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://kifeo.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/8419801616207698313/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>50</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8419801616207698313.post-1470564735222630501</id><published>2022-01-10T10:41:00.000+01:00</published><updated>2022-01-11T08:37:56.426+01:00</updated><title type='text'>Unlock Keepass database with Gnome session unlock</title><content type='html'>&lt;p&gt;In order to unlock your KeepassXC database when you unlock your session, do the following :&lt;br /&gt;
&lt;br /&gt;
prerequisites :&lt;br /&gt;
install the packet libsecret-tools&lt;br /&gt;
&lt;br /&gt;
1. put the password in the Gnome keyring&lt;br /&gt;
secret-tool store --label=&quot;KeePass&quot; database &amp;lt;database_name&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. create the script like this :&lt;br /&gt;
#!/bin/bash&lt;br /&gt;secret-tool lookup database &amp;lt;database_name&amp;gt; | /usr/bin/keepassxc --pw-stdin &amp;lt;database_location&amp;gt; --keyfile &amp;lt;database_key_location&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Add a launcher at ~/.config/autostart/Keepass.desktop:&lt;br /&gt;
[Desktop Entry]&lt;br /&gt;Name=Keepass Unlock&lt;br /&gt;GenericName=KeepassUnlock&lt;br /&gt;Comment=Unlocks the keepass DB at session unlock&lt;br /&gt;Exec=&amp;lt;absolute_path_of_script&amp;gt;&lt;br /&gt;Terminal=false&lt;br /&gt;Type=Application&lt;br /&gt;X-GNOME-Autostart-enabled=true&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;EDIT : added the use of a keyfile&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://kifeo.blogspot.com/feeds/1470564735222630501/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://kifeo.blogspot.com/2020/02/unlock-keepass-database-with-gnome.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8419801616207698313/posts/default/1470564735222630501'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8419801616207698313/posts/default/1470564735222630501'/><link rel='alternate' type='text/html' href='http://kifeo.blogspot.com/2020/02/unlock-keepass-database-with-gnome.html' title='Unlock Keepass database with Gnome session unlock'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8419801616207698313.post-434659343113024793</id><published>2021-12-11T11:09:00.002+01:00</published><updated>2021-12-14T10:48:03.267+01:00</updated><title type='text'>Strongswan routed FQDN IPSec Ikev2 with certificates auth with a Fortigate</title><content type='html'>&lt;div class=&quot;tr_bq&quot;&gt;
EDIT : I&#39;ve updated with this tutorial from Google, with the updown script on strongswan:&lt;/div&gt;&lt;div class=&quot;tr_bq&quot;&gt;https://cloud.google.com/community/tutorials/using-cloud-vpn-with-strongswan&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;tr_bq&quot;&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;tr_bq&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
The VPN is between :&lt;br /&gt;
- localsite.domain.com&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; debian buster with strongswan 5.7.2-1&lt;br /&gt;
- remotesite.domain.com&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Fortigate 6.2.3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;
Important :&lt;/h2&gt;
This will not work if the Kernel does not have the CONFIG_NET_IPVTI module enabled.&lt;br /&gt;
On OVH you have to upgrade to debian Buster that has a Kernel 4.19 (as of today)&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;
create a PKI :&lt;/h2&gt;
&lt;br /&gt;
CA.crt&lt;br /&gt;
local.crt&lt;br /&gt;
local.pem&lt;br /&gt;
remote.crt&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;
Configure IPSEC : &lt;/h2&gt;
&lt;h3&gt;
ipsec.conf&lt;/h3&gt;
&amp;nbsp;config setup&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #charondebug=&quot;ike 3, net 2, esp 2, chd 2, pts 3, cfg 0, asn 0&quot;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; uniqueids=yes&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; strictcrlpolicy=no&lt;br /&gt;
&lt;br /&gt;
conn %default&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # keyexchange=ikev2 # now ikev2 is default&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; forceencaps=yes&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ike=aes256-sha256-modp2048!&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ikelifetime=24h&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # lifetime=43200s # default is 1h&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; esp=aes256-sha256-modp2048,aes256gcm128-sha256&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; leftauth=pubkey&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rightauth=pubkey&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; closeaction=restart&lt;br /&gt;
&lt;br /&gt;
conn homesite&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #here&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; left=localsite.domain.com &amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # left|rightcert in /etc/ipsec.d/certs&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; leftcert=local.crt&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # left|rightca in /etc/ipsec.d/cacerts&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; leftca=CA.crt&lt;br /&gt;
&lt;blockquote&gt;
leftsubnet=0.0.0.0/0&lt;br /&gt;
&lt;br /&gt;
#remote&lt;br /&gt;
right=remote.domain.com&lt;br /&gt;
rightid=&quot;&amp;lt;remote site certificate DN&amp;gt;&quot; # TODO check if it can be taken from cert&lt;br /&gt;
&lt;br /&gt;
rightcert=remote.crt&lt;br /&gt;
rightca=%same&lt;br /&gt;
rightsubnet=0.0.0.0/0&lt;br /&gt;
&lt;br /&gt;
auto=route&lt;br /&gt;
mark = 42&lt;/blockquote&gt;
&lt;br /&gt;
&lt;h3&gt;
/etc/ipsec.secrets&amp;nbsp;&lt;/h3&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
# cert has to be in /etc/ipsec.d/private/ &lt;br /&gt;
: RSA local.pem &lt;/blockquote&gt;
&lt;br /&gt;
&lt;h3&gt;
trust the CA&lt;/h3&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp;cp CA.crt /etc/ipsec.d/cacerts/CA.crt&lt;/blockquote&gt;&lt;p&gt;
&lt;/p&gt;&lt;p&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p&gt;check that the certificates are recognized with &#39;ipsec listcerts&#39;.&lt;/p&gt;&lt;p&gt;The flag &#39;has private key&#39; needs to be present for the certificates with a private key provided.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p&gt;&lt;br /&gt;
&lt;/p&gt;&lt;h3&gt;
modify apparmor charon to install DNS provided by tunnel &lt;/h3&gt;
&amp;nbsp;I had an issue with apparmor that was not able to accept the dns settings, as the resolv.conf could not be modified in the charon apparmor module, so add at the bottom of the list, before the } in /etc/apparmor.d/usr.lib.ipsec.charon :&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
/etc/resolv.conf&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rwk, &lt;/blockquote&gt;
&lt;br /&gt;
&lt;h3&gt;
modify the /etc/hosts to resolve to your external IP&lt;/h3&gt;
1.2.3.4&amp;nbsp;&amp;nbsp;&amp;nbsp; cloud.domain.com&lt;br /&gt;
&lt;h2&gt;
Configure Route-based VPN :&lt;/h2&gt;
In my case the local has a static IP. Otherwise, you have to use a script.&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
/etc/network/interfaces.d/ipsec0.conf&lt;/h3&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
auto ipsec0&lt;br /&gt;
iface ipsec0 inet manual&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pre-up ip tunnel add ipsec0 local &amp;lt;ip of the localsite&amp;gt; remote 0.0.0.0 mode vti key 42&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; up ip link set ipsec0 up&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; up ip address add 10.2.0.2/24 dev ipsec0&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; up ip route add 192.168.1.0/24 dev ipsec0 via 10.2.0.1&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; up sysctl -w &quot;net.ipv4.conf.ipsec0.disable_policy=1&quot;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; down ip route del 192.168.0.0./24 dev ipsec0&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; down ip address del 10.2.0.2/24 dev ipsec0&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; post-down ip tunnel del ipsec0&lt;/blockquote&gt;
&lt;br /&gt;
&lt;h3&gt;
/etc/strongswan.d/charon.conf : &lt;/h3&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
install_routes = no&lt;br /&gt;
install_virtual_ip = no &lt;/blockquote&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;
Fortigate config&amp;nbsp;&lt;/h2&gt;
&lt;br /&gt;
&lt;h3&gt;
Key exchange :&lt;/h3&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
config vpn ipsec phase1-interface&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; edit &quot;VPNikev2&quot;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set type ddns&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set interface &quot;wan1&quot;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set ike-version 2&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set authmethod signature&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set net-device disable&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set proposal aes256-sha256&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set remotegw-ddns &quot;localsite.domain.com&quot;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set certificate &quot;remote.crt&quot;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set peer &quot;remote_side&quot;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; next&lt;br /&gt;
end&lt;/blockquote&gt;
&lt;br /&gt;
&lt;h3&gt;
ChildSA :&lt;/h3&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
config vpn ipsec phase2-interface&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; edit &quot;VPNikev2p2&quot;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set phase1name &quot;VPNikev2&quot;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set proposal aes256-sha256 aes256gcm&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set keylifeseconds 3600&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; next&lt;br /&gt;
end&lt;/blockquote&gt;
&lt;br /&gt;
&lt;h3&gt;
User config:&lt;/h3&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
config user peer&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; edit &quot;remote_side&quot;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set ca &quot;Root_CA&quot;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set subject &quot;&amp;lt;DN to match localsite cert&amp;gt;&quot;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; next&lt;br /&gt;
end&lt;/blockquote&gt;
&lt;br /&gt;
&lt;h3&gt;
static route for RPF check:&lt;/h3&gt;
&lt;br /&gt;
&lt;blockquote&gt;
config router static &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;    edit 0&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;        set dst 10.2.0.0 255.255.255.0&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;        set device &quot;VPNikev2&quot;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;    next&lt;br /&gt;
end&lt;/blockquote&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://kifeo.blogspot.com/feeds/434659343113024793/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://kifeo.blogspot.com/2020/04/strongswan-routed-fqdn-ipsec-ikev2-with.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8419801616207698313/posts/default/434659343113024793'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8419801616207698313/posts/default/434659343113024793'/><link rel='alternate' type='text/html' href='http://kifeo.blogspot.com/2020/04/strongswan-routed-fqdn-ipsec-ikev2-with.html' title='Strongswan routed FQDN IPSec Ikev2 with certificates auth with a Fortigate'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8419801616207698313.post-2200470360654493421</id><published>2021-12-06T15:45:00.000+01:00</published><updated>2021-12-06T15:45:23.160+01:00</updated><title type='text'>change the container runtime in Kubernetes after upgrade to 1.21</title><content type='html'>&lt;p&gt;&amp;nbsp;from https://v1-21.docs.kubernetes.io/docs/tasks/administer-cluster/kubeadm/configure-cgroup-driver/&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;find the cgroupDriver on the master node, then in /&lt;code&gt;var/lib/kubelet/config.yaml in workers&lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;code&gt;&amp;nbsp;&lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;code&gt;&amp;nbsp;&lt;/code&gt; &lt;/p&gt;&lt;p&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://kifeo.blogspot.com/feeds/2200470360654493421/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://kifeo.blogspot.com/2021/12/change-container-runtime-in-kubernetes.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8419801616207698313/posts/default/2200470360654493421'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8419801616207698313/posts/default/2200470360654493421'/><link rel='alternate' type='text/html' href='http://kifeo.blogspot.com/2021/12/change-container-runtime-in-kubernetes.html' title='change the container runtime in Kubernetes after upgrade to 1.21'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8419801616207698313.post-1960306525743747378</id><published>2021-05-21T15:13:00.003+02:00</published><updated>2021-05-21T15:13:38.438+02:00</updated><title type='text'>Use docker for flashing an opensource Zigbee Router</title><content type='html'>&lt;p&gt;&amp;nbsp;Following this procedure to increase my Zigbee network range (works amazing !), I&#39;ve ended up with another method of using cc-tools :&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;https://www.zigbee2mqtt.io/how_tos/how_to_create_a_cc2530_router.html&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;At the end of step2., this is given to perform https://www.zigbee2mqtt.io/how_tos/how_to_create_a_cc2530_router.html procedure, which is very similar.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Using cc-tools was a burden for me as I use a hybrid testing/stable debian, I could not get all the dependencies solved.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I&#39;ve found some docker images : https://hub.docker.com/search?q=cc-tool&amp;amp;type=image&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;So I&#39;ve used joonas&#39; one&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Here is the command :&lt;/p&gt;&lt;p&gt;- perform &#39;lsusb&#39; to get the device bus ID of the Texas Instrument flashing device.&lt;/p&gt;&lt;p&gt;- download the firmware image in /dest/ and bind mount it in /srv&lt;/p&gt;&lt;p&gt;- joonas/cc-tool:latest does not exist, so it is mandatory to use the correct image tag&lt;br /&gt;&lt;/p&gt;&lt;p&gt;docker run -it --device /dev/bus/usb/001/021 -v /dest/CC2530_CC2591_router_2020_09_29:/srv joonas/cc-tool:20210112_1334_98a05cdf cc-tool -e -w /srv/router-cc2530-cc2591-std.hex&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://kifeo.blogspot.com/feeds/1960306525743747378/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://kifeo.blogspot.com/2021/05/use-docker-for-flashing-opensource.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8419801616207698313/posts/default/1960306525743747378'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8419801616207698313/posts/default/1960306525743747378'/><link rel='alternate' type='text/html' href='http://kifeo.blogspot.com/2021/05/use-docker-for-flashing-opensource.html' title='Use docker for flashing an opensource Zigbee Router'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8419801616207698313.post-1452667984867955566</id><published>2021-04-06T11:30:00.001+02:00</published><updated>2021-04-06T11:30:20.550+02:00</updated><title type='text'>Secure Fortigate Virtual Server</title><content type='html'>&lt;p&gt;&amp;nbsp;By default, the settings for a Fortigate virtual server are not considered secure on this website : https://internet.nl/site/ or https://www.ssllabs.com/ssltest/analyze.html&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Current FortiOS version is 6.4.4 so custom ciphers should not be used, as the traffic is not processed afterwards (bug ?)&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The list :&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;TLS 1.1 phased out&lt;/p&gt;&lt;p&gt;cyphers phased out :&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;code&gt;ECDHE-ECDSA-DES-CBC3-SHA&lt;/code&gt; [1.0]&lt;/li&gt;&lt;li&gt;&lt;code&gt;ECDHE-RSA-DES-CBC3-SHA&lt;/code&gt; [1.0]&lt;/li&gt;&lt;li&gt;&lt;code&gt;DHE-RSA-DES-CBC3-SHA&lt;/code&gt; [1.0]&lt;/li&gt;&lt;li&gt;&lt;code&gt;AES256-GCM-SHA384&lt;/code&gt; [1.2]&lt;/li&gt;&lt;li&gt;&lt;code&gt;AES128-GCM-SHA256&lt;/code&gt; [1.2]&lt;/li&gt;&lt;li&gt;&lt;code&gt;AES256-SHA256&lt;/code&gt; [1.2]&lt;/li&gt;&lt;li&gt;&lt;code&gt;AES256-SHA&lt;/code&gt;  [1.0]&lt;/li&gt;&lt;li&gt;&lt;code&gt;AES128-SHA256&lt;/code&gt; [1.2]&lt;/li&gt;&lt;li&gt;&lt;code&gt;AES128-SHA&lt;/code&gt; [1.0]&lt;/li&gt;&lt;li&gt;&lt;code&gt;DES-CBC3-SHA&lt;/code&gt; [1.0]&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;DH-2048 Key exchange phased out &lt;/p&gt;&lt;p&gt;Client-initiated renegotiation&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Here are the settings to avoid it :&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;conf firewall vip&lt;/p&gt;&lt;p&gt;edit &amp;lt;vip_name&amp;gt;&lt;/p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set ssl-dh-bits 3072&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set ssl-algorithm custom&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; config ssl-cipher-suites&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; edit 1&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set cipher TLS-AES-256-GCM-SHA384&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set versions tls-1.2 tls-1.3&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; next&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; edit 2&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set cipher TLS-CHACHA20-POLY1305-SHA256&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set versions tls-1.2 tls-1.3&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; next&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; edit 3&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set cipher TLS-AES-128-GCM-SHA256&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set versions tls-1.2 tls-1.3&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; next&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; edit 4&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set cipher TLS-AES-256-GCM-SHA384&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set versions tls-1.2 tls-1.3&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; next&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; edit 5&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set cipher TLS-CHACHA20-POLY1305-SHA256&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set versions tls-1.2 tls-1.3&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; next&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; edit 6&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set cipher TLS-AES-128-GCM-SHA256&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set versions tls-1.2 tls-1.3&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; next&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set ssl-min-version tls-1.2&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set ssl-client-renegotiation deny&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;end&lt;/p&gt;&lt;p&gt;end &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://kifeo.blogspot.com/feeds/1452667984867955566/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://kifeo.blogspot.com/2021/04/secure-fortigate-virtual-server.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8419801616207698313/posts/default/1452667984867955566'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8419801616207698313/posts/default/1452667984867955566'/><link rel='alternate' type='text/html' href='http://kifeo.blogspot.com/2021/04/secure-fortigate-virtual-server.html' title='Secure Fortigate Virtual Server'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8419801616207698313.post-920021492439074622</id><published>2020-12-01T15:03:00.007+01:00</published><updated>2020-12-01T15:03:58.733+01:00</updated><title type='text'>restrict SFTP to a user and specific directory</title><content type='html'>&lt;h2 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;create a SSH Subsystem :&lt;/span&gt;&lt;/h2&gt;&lt;p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;#Subsystem&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sftp&amp;nbsp;&amp;nbsp;&amp;nbsp; /usr/lib/openssh/sftp-server&lt;br /&gt;Subsystem sftp internal-sftp&lt;br /&gt;&amp;nbsp; Match group sftpusers&lt;br /&gt;&amp;nbsp; ChrootDirectory %h&lt;br /&gt;&amp;nbsp; ForceCommand internal-sftp&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;restart ssh server&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;h2 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;create a user member of sftpusers:&lt;/span&gt;&lt;/h2&gt;&lt;p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;terminal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code class=&quot;terminal-line&quot;&gt;sudo useradd -g &lt;/code&gt;&lt;code class=&quot;terminal-line&quot;&gt;sftpusers -s /sbin/nologin -m -d /directory/to/share username&lt;/code&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;terminal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code class=&quot;terminal-line&quot;&gt;&lt;br /&gt;&lt;/code&gt;&lt;/span&gt;&lt;/pre&gt;&lt;h2 class=&quot;terminal&quot; style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code class=&quot;terminal-line&quot;&gt;Apply permissions for Chroot&lt;br /&gt;&lt;/code&gt;&lt;/span&gt;&lt;/h2&gt;&lt;pre class=&quot;terminal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code class=&quot;terminal-line&quot;&gt;As ChrootDirectory needs to belong to root and have 755 permissions :&lt;/code&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;terminal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code class=&quot;terminal-line&quot;&gt;chown root: /directory&lt;/code&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;terminal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code class=&quot;terminal-line&quot;&gt;chown root: /directory/to&lt;/code&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;terminal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code class=&quot;terminal-line&quot;&gt;chown root: /directory/to/share&lt;/code&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;terminal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code class=&quot;terminal-line&quot;&gt;and also apply 755 permissions to these&lt;/code&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;terminal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code class=&quot;terminal-line&quot;&gt;&lt;br /&gt;&lt;/code&gt;&lt;/span&gt;&lt;/pre&gt;&lt;h2 class=&quot;terminal&quot; style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code class=&quot;terminal-line&quot;&gt;apply the wanted permissions for the shared directory&lt;/code&gt;&lt;/span&gt;&lt;/h2&gt;&lt;pre class=&quot;terminal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code class=&quot;terminal-line&quot;&gt;chown -R user1:sftpusers /directory/to/share/*&lt;br /&gt;&lt;/code&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;terminal&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code class=&quot;terminal-line&quot;&gt;&lt;br /&gt;&lt;/code&gt;&lt;/span&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://kifeo.blogspot.com/feeds/920021492439074622/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://kifeo.blogspot.com/2020/12/restrict-sftp-to-user-and-specific.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8419801616207698313/posts/default/920021492439074622'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8419801616207698313/posts/default/920021492439074622'/><link rel='alternate' type='text/html' href='http://kifeo.blogspot.com/2020/12/restrict-sftp-to-user-and-specific.html' title='restrict SFTP to a user and specific directory'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8419801616207698313.post-7190122379350767897</id><published>2020-08-03T15:17:00.004+02:00</published><updated>2020-08-03T15:17:57.818+02:00</updated><title type='text'>Calico does not insert iptables rules</title><content type='html'>&lt;div&gt;
  on kubernetes pod had&amp;nbsp; a DNS issue, it could not reach the outside. The
  Fortigate firewall was not receiving the packet.
&lt;/div&gt;
&lt;div&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
  Only one node was affected, and this node was an updated Debian Buster image
  from Stretch.
&lt;/div&gt;
&lt;div&gt;The difference is that Buster uses now nftables instead of iptables.&lt;/div&gt;
&lt;div&gt;so there is the iptables command and the iptables-legacy.&lt;/div&gt;
&lt;div&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
  I could see that the iptables -L command was not being populated with calico
  inputs, and instead these rules were added in iptables-legacy.
&lt;/div&gt;
&lt;div&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;This is due to the fact that calico still uses the old iptables.&lt;/div&gt;
&lt;div&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
  In order to make everything work, I use only the iptables-legacy :&lt;br /&gt;
&lt;/div&gt;
&lt;div&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
  &lt;pre&gt;&lt;code&gt;update-alternatives --set iptables /usr/sbin/iptables-legacy&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
 &lt;div&gt;this is a known Calico issue #2322 : https://github.com/projectcalico/calico/issues/2322&lt;br /&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://kifeo.blogspot.com/feeds/7190122379350767897/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://kifeo.blogspot.com/2020/08/calico-does-not-insert-iptables-rules.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8419801616207698313/posts/default/7190122379350767897'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8419801616207698313/posts/default/7190122379350767897'/><link rel='alternate' type='text/html' href='http://kifeo.blogspot.com/2020/08/calico-does-not-insert-iptables-rules.html' title='Calico does not insert iptables rules'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8419801616207698313.post-4605186214577629070</id><published>2020-05-13T13:39:00.002+02:00</published><updated>2020-05-13T13:39:43.070+02:00</updated><title type='text'>External email with OVH mail on proxmox</title><content type='html'>&lt;h2&gt;
configure the /etc/postfix/main.cf like the below&lt;/h2&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;br /&gt;
# See /usr/share/postfix/main.cf.dist for a commented, more complete version&lt;br /&gt;&lt;br /&gt;#CHANGEME&lt;br /&gt;myhostname=proxmox1.gatom.net&lt;br /&gt;&lt;br /&gt;smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)&lt;br /&gt;biff = no&lt;br /&gt;&lt;br /&gt;# appending .domain is the MUA&#39;s job.&lt;br /&gt;append_dot_mydomain = no&lt;br /&gt;&lt;br /&gt;# Uncomment the next line to generate &quot;delayed mail&quot; warnings&lt;br /&gt;#delay_warning_time = 4h&lt;br /&gt;&lt;br /&gt;alias_maps = hash:/etc/aliases&lt;br /&gt;alias_database = hash:/etc/aliases&lt;br /&gt;#mydestination = $myhostname, localhost.$mydomain, localhost&lt;br /&gt;#relayhost =&lt;br /&gt;mynetworks = 127.0.0.0/8&lt;br /&gt;inet_interfaces = loopback-only&lt;br /&gt;recipient_delimiter = +&lt;br /&gt;&lt;br /&gt;compatibility_level = 2&lt;br /&gt;&lt;br /&gt;# OVH SMTP/TLS&lt;br /&gt;relayhost = [ssl0.ovh.net]:465&lt;br /&gt;smtp_use_tls=yes&lt;br /&gt;smtp_sasl_auth_enable = yes&lt;br /&gt;smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd&lt;br /&gt;smtp_tls_CAfile = /etc/ssl/certs/ca-certificates.crt&lt;br /&gt;smtp_sasl_security_options = noanonymous&lt;br /&gt;&lt;br /&gt;smtp_tls_wrappermode = yes&lt;br /&gt;smtp_tls_security_level = encrypt&lt;/blockquote&gt;
&lt;br /&gt;
the two last are required for SMTPS or error message is :&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
(TCP port 465) requires setting &quot;smtp_tls_wrappermode = yes&quot;, and &quot;smtp_tls_security_level = encrypt&quot; (or stronger) &lt;/blockquote&gt;
&lt;h2&gt;
add credentials to /etc/postfix/sasl_passwd&lt;/h2&gt;
&amp;nbsp;[ssl0.ovh.net]:465&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; login:password&lt;br /&gt;
&lt;h2&gt;
&lt;/h2&gt;
&lt;h2&gt;
&lt;/h2&gt;
&lt;h2&gt;
&lt;/h2&gt;
&lt;h2&gt;
&lt;/h2&gt;
&lt;h2&gt;
&lt;/h2&gt;
&lt;h2&gt;
&lt;/h2&gt;
&lt;h2&gt;
&lt;/h2&gt;
&lt;h2&gt;
&lt;br /&gt;set permissions&lt;/h2&gt;
chmod 600 /etc/postfix/sasl_passwd&lt;br /&gt;
&lt;h2&gt;
&lt;br /&gt;&lt;/h2&gt;
&lt;h2&gt;
create the password db &lt;/h2&gt;
postmap /etc/postfix/sasl_passwd&lt;br /&gt;
&lt;br /&gt;
of the db is not correct with the given credentials, error is&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
(SASL authentication failed; server ssl0.ovh.net[193.70.18.144] said: 535 5.7.1 Authentication failed) &lt;/blockquote&gt;
&lt;h2&gt;
&lt;br /&gt;&lt;/h2&gt;
&lt;h2&gt;
install the package for sasl&lt;/h2&gt;
apt-get install libsasl2-modules&lt;br /&gt;
&lt;br /&gt;
otherwise error is&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
(SASL authentication failed; cannot authenticate to server ssl0.ovh.net[193.70.18.144]: no mechanism available)&lt;/blockquote&gt;
&lt;h2&gt;
&lt;br /&gt;&lt;/h2&gt;
&lt;h2&gt;
restart postfix&lt;/h2&gt;
systemctl restart postfix&lt;br /&gt;
&lt;h2&gt;
&lt;br /&gt;&lt;/h2&gt;
&lt;h2&gt;
test&lt;/h2&gt;
echo &quot;test ok&quot; | mail -s &quot;Test&quot; dest-email@domain.com&lt;br /&gt;
&lt;h2&gt;
&lt;br /&gt;&amp;nbsp;&lt;/h2&gt;
</content><link rel='replies' type='application/atom+xml' href='http://kifeo.blogspot.com/feeds/4605186214577629070/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://kifeo.blogspot.com/2020/05/external-email-with-ovh-mail-on-proxmox.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8419801616207698313/posts/default/4605186214577629070'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8419801616207698313/posts/default/4605186214577629070'/><link rel='alternate' type='text/html' href='http://kifeo.blogspot.com/2020/05/external-email-with-ovh-mail-on-proxmox.html' title='External email with OVH mail on proxmox'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8419801616207698313.post-2696569271254466756</id><published>2020-04-30T11:41:00.003+02:00</published><updated>2020-04-30T11:41:53.324+02:00</updated><title type='text'>change Ceph permissions</title><content type='html'>ceph auth list&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
...&lt;br /&gt;
client.cloud&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; key: AQB6hPddq....HcQpUMPSNunT2w==&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; caps: [mds] allow rw path=/nas/path/1, allow rw path=/nas/path/2&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; caps: [mon] allow r&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; caps: [osd] allow rw pool=cephfs_data&lt;br /&gt;...&lt;/blockquote&gt;
&lt;br /&gt;
change with :&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;br /&gt;
ceph auth caps client.cloud \&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mon &#39;allow r&#39; \&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; osd &#39;allow rw pool=cephfs_data&#39; \&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mds &#39;allow rw path=/nas/path/1, allow rw path=/nas/path/3&#39;&lt;/blockquote&gt;
&lt;br /&gt;
&lt;br /&gt;
then check with ceph auth list&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
...&lt;br /&gt;
client.cloud&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; key: AQB6hPddq....HcQpUMPSNunT2w==&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; caps: [mds] allow rw path=/nas/path/1, allow rw path=/nas/path/3&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; caps: [mon] allow r&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; caps: [osd] allow rw pool=cephfs_data&lt;br /&gt;...&lt;/blockquote&gt;
</content><link rel='replies' type='application/atom+xml' href='http://kifeo.blogspot.com/feeds/2696569271254466756/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://kifeo.blogspot.com/2020/04/change-ceph-permissions.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8419801616207698313/posts/default/2696569271254466756'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8419801616207698313/posts/default/2696569271254466756'/><link rel='alternate' type='text/html' href='http://kifeo.blogspot.com/2020/04/change-ceph-permissions.html' title='change Ceph permissions'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8419801616207698313.post-6687795086911518551</id><published>2020-04-28T17:27:00.006+02:00</published><updated>2020-08-03T15:57:54.820+02:00</updated><title type='text'>LoadBalance Service for Bare metal / VM Kubernetes : Metallb</title><content type='html'>&lt;div&gt;I use Metallb for the LoadBalance service of my kubernetes cluster.&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;helm install metallb --namespace=metallb stable/metallb&lt;/div&gt;
&lt;br /&gt;&lt;div&gt;
apply the configmap that is the default for the chart.&lt;/div&gt;&lt;div&gt;remember that for the Helm chart the configmap name has to be metallb-config, which is different from the metallb documentation.&lt;/div&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;
apiVersion: v1&lt;br /&gt;
kind: ConfigMap&lt;br /&gt;
metadata:&lt;br /&gt;
&amp;nbsp; namespace: metallb&lt;br /&gt;
&amp;nbsp; name: metallb-config&lt;br /&gt;
data:&lt;br /&gt;
&amp;nbsp; config: |&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; address-pools:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; - name: default&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; protocol: layer2&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; addresses:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - 10.0.14.100-10.0.14.200&lt;/blockquote&gt;
&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I prefer the BGP implementation :&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;apiVersion: v1&lt;br /&gt;kind: ConfigMap&lt;br /&gt;metadata:&lt;br /&gt;&amp;nbsp; namespace: metallb&lt;br /&gt;&amp;nbsp; name: metallb-config&lt;br /&gt;data:&lt;br /&gt;&amp;nbsp; config: |&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; peers:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - peer-address: 10.0.14.1&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; peer-asn: 64501&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; my-asn: 64500&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; address-pools:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - name: default&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; protocol: bgp&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; addresses:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - 10.0.12.128/25&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I peer the BGP peers with the Fortigate firewall which is 10.0.14.1 :&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;div&gt;config router bgp&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set as 64501&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set router-id 0.0.0.1&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; config neighbor&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; edit &quot;10.0.14.11&quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set remote-as 64500&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; next&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; edit &quot;10.0.14.12&quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set remote-as 64500&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; next&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ... (and the remaining nodes)&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; next&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; end&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; config redistribute &quot;connected&quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; end&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; config redistribute &quot;rip&quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; end&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; config redistribute &quot;ospf&quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; end&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; config redistribute &quot;static&quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; end&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; config redistribute &quot;isis&quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; end&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; config redistribute6 &quot;connected&quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; end&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; config redistribute6 &quot;rip&quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; end&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; config redistribute6 &quot;ospf&quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; end&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; config redistribute6 &quot;static&quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; end&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; config redistribute6 &quot;isis&quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; end&lt;br /&gt;end&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;do not forget to open the firewall rules then.&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;reference for the Helm chart :&lt;/div&gt;&lt;div&gt;
https://hub.helm.sh/charts/stable/metallb &lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kifeo.blogspot.com/feeds/6687795086911518551/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://kifeo.blogspot.com/2020/04/metallb-for-bare-metal-kubernetes.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8419801616207698313/posts/default/6687795086911518551'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8419801616207698313/posts/default/6687795086911518551'/><link rel='alternate' type='text/html' href='http://kifeo.blogspot.com/2020/04/metallb-for-bare-metal-kubernetes.html' title='LoadBalance Service for Bare metal / VM Kubernetes : Metallb'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8419801616207698313.post-4043276612239885396</id><published>2020-04-20T17:29:00.000+02:00</published><updated>2020-07-01T14:37:44.644+02:00</updated><title type='text'>Ceph for Kubernetes</title><content type='html'>follow :&lt;br /&gt;
https://github.com/kubernetes-incubator/external-storage/&lt;br /&gt;
&lt;br /&gt;
Straight forward with some modifications, as the claim has to have a different name, and pay attention that for CephFS and RDB, the admin secret name is different, but can be set the same.&lt;br /&gt;
&lt;br /&gt;
I also used the same cephfs namespace for both.&lt;br /&gt;
&lt;br /&gt;
EDIT : I made a PR that uses now the same kubernetes user for both storageclass&lt;br /&gt;
here : &lt;a href=&quot;https://github.com/kubernetes-incubator/external-storage/pull/1306&quot; target=&quot;_blank&quot;&gt;https://github.com/kubernetes-incubator/external-storage/pull/1306 &lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://kifeo.blogspot.com/feeds/4043276612239885396/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://kifeo.blogspot.com/2020/04/ceph-for-kubernetes.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8419801616207698313/posts/default/4043276612239885396'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8419801616207698313/posts/default/4043276612239885396'/><link rel='alternate' type='text/html' href='http://kifeo.blogspot.com/2020/04/ceph-for-kubernetes.html' title='Ceph for Kubernetes'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8419801616207698313.post-2573888892569974428</id><published>2020-04-14T09:16:00.000+02:00</published><updated>2020-04-14T09:16:20.606+02:00</updated><title type='text'>ZFS storage driver for docker</title><content type='html'>&lt;code&gt;This is used to have a docker setup directly on Proxmox 6 with ZFS&amp;nbsp; &lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;stop the docker service&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;service docker stop&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;delete all the docker stuff&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;&lt;code&gt;rm -rf /var/lib/docker&lt;/code&gt;&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;&lt;code&gt;create a zfs pool dedicated for docker&lt;/code&gt;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;code&gt;&amp;nbsp;&amp;nbsp;&lt;/code&gt; &lt;/code&gt;&lt;br /&gt;
&lt;code&gt;zfs create -o mountpoint=/var/lib/docker rpool/docker&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;&lt;/code&gt;
&lt;code&gt;&lt;br /&gt;&lt;/code&gt;
&lt;code&gt;create the systemd entry for the docker service&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;&lt;/code&gt;
&lt;code&gt;mkdir /etc/systemd/system/docker.service.d&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;&lt;/code&gt;&lt;br /&gt;&lt;code&gt;&lt;/code&gt;
&lt;code&gt;setup the driver for docker&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;&lt;code&gt;nano /etc/systemd/system/docker.service.d/storage-driver.conf&lt;/code&gt;&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;&lt;code&gt;&lt;br /&gt;&lt;/code&gt;&lt;/code&gt;
&lt;code&gt;&lt;code&gt;&lt;code&gt;[Service]&lt;br /&gt;
ExecStart=&lt;br /&gt;
ExecStart=/usr/bin/dockerd --storage-driver=zfs -H fd://&lt;/code&gt; &lt;/code&gt;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;code&gt;&lt;br /&gt;&lt;/code&gt;&lt;/code&gt;
&lt;code&gt;&lt;code&gt;&lt;br /&gt;&lt;/code&gt;&lt;/code&gt;
&lt;code&gt;&lt;code&gt;then restart daemons and docker&lt;/code&gt;&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;&lt;code&gt;&lt;code&gt;&lt;code&gt;systemctl daemon-reload&lt;/code&gt;&lt;/code&gt;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;code&gt;&lt;code&gt;&lt;code&gt;service docker start&lt;/code&gt; &lt;/code&gt;&lt;/code&gt;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;code&gt;&lt;code&gt;&lt;br /&gt;&lt;/code&gt;&lt;/code&gt;&lt;/code&gt;
&lt;code&gt;&lt;code&gt;&lt;code&gt;&lt;br /&gt;&lt;/code&gt;&lt;/code&gt;&lt;/code&gt;
&lt;code&gt;&lt;code&gt;&lt;code&gt;&lt;br /&gt;&lt;/code&gt;&lt;/code&gt;&lt;/code&gt;</content><link rel='replies' type='application/atom+xml' href='http://kifeo.blogspot.com/feeds/2573888892569974428/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://kifeo.blogspot.com/2020/04/zfs-storage-driver-for-docker.html#comment-form' title='1 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8419801616207698313/posts/default/2573888892569974428'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8419801616207698313/posts/default/2573888892569974428'/><link rel='alternate' type='text/html' href='http://kifeo.blogspot.com/2020/04/zfs-storage-driver-for-docker.html' title='ZFS storage driver for docker'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8419801616207698313.post-7653955978916998000</id><published>2020-04-13T14:14:00.004+02:00</published><updated>2020-04-13T14:14:33.206+02:00</updated><title type='text'>Samba over CephFS</title><content type='html'>&lt;span style=&quot;font-family: inherit;&quot;&gt;I wanted to use NFS to share data on the network, but Windows 10 still isn&#39;t able to use NFS ... what a joke. &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;So first mount CephFS (see previous article)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Then configure the Samba server&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;1. install samba server&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;small&gt;&lt;/small&gt;&lt;br /&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;small&gt;apt-get install samba&lt;/small&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;small&gt;&amp;nbsp;&lt;/small&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;small&gt;2. edit the configuration file&lt;/small&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;small&gt; &lt;/small&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;small&gt;set the workgroup&lt;/small&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;small&gt;&amp;nbsp;&lt;/small&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;small&gt;add a samba share, for example&lt;/small&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;small&gt;[photos]
        comment = photos
        read only = no
        path = /mnt/cephfs/nas/photos
        guest ok = no
&amp;nbsp;&lt;/small&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;small&gt;
&lt;/small&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;small&gt;2. configure users&lt;/small&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;small&gt;
&lt;/small&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;small&gt;I use the same setup users as the user on the windows machine&lt;/small&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;small&gt;
&lt;/small&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;small&gt;add the user :&lt;/small&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;small&gt;adduser toto&lt;/small&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;small&gt;&amp;nbsp;&lt;/small&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;small&gt;setup its password: &lt;/small&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;small&gt;passwd toto&lt;/small&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;small&gt;
&lt;/small&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;small&gt;then add this user to Samba :&lt;/small&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;small&gt;
&lt;/small&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;small&gt;smbpasswd -a toto&lt;/small&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;small&gt;
&lt;/small&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;small&gt;then restart the daemon to take into account the config :&lt;/small&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;small&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;systemctl restart smbd &lt;/span&gt;&lt;/small&gt;&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://kifeo.blogspot.com/feeds/7653955978916998000/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://kifeo.blogspot.com/2020/04/samba-over-cephfs.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8419801616207698313/posts/default/7653955978916998000'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8419801616207698313/posts/default/7653955978916998000'/><link rel='alternate' type='text/html' href='http://kifeo.blogspot.com/2020/04/samba-over-cephfs.html' title='Samba over CephFS'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8419801616207698313.post-6400432476911686703</id><published>2020-03-31T10:11:00.001+02:00</published><updated>2020-03-31T10:49:03.883+02:00</updated><title type='text'>proxmox HTTPS certificates for load balancing</title><content type='html'>generate a PKI and trust the Root CA in your browser (using XCA ?)&lt;br /&gt;
I used the CN as proxmox.domain.net, and then SAN to every proxmox$i.domain.net to use the same certificate for every node and the Virtual Server IP of the Load balancer (here the Fortigate) &lt;br /&gt;
&lt;br /&gt;
export the certificate chain without the CA(.crt) and the key (.pem)&lt;br /&gt;
&lt;br /&gt;
then copy on every node :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
for i in {1..n}; \&lt;br /&gt;
do \&lt;br /&gt;
scp proxmox.domain.net.crt proxmox5:/etc/pve/nodes/proxmox$i/pve-ssl.pem; \&lt;br /&gt;
scp proxmox.domain.net.pem proxmox5:/etc/pve/nodes/proxmox$i/pve-ssl.key; \&lt;br /&gt;
ssh proxmox$i systemctl restart pveproxy;\ &lt;br /&gt;
done&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then I use the Fortigate to load balance :&lt;br /&gt;
https://docs.fortinet.com/document/fortigate/6.2.3/cookbook/713497/virtual-server</content><link rel='replies' type='application/atom+xml' href='http://kifeo.blogspot.com/feeds/6400432476911686703/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://kifeo.blogspot.com/2020/03/proxmox-https-certificates-for-load.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8419801616207698313/posts/default/6400432476911686703'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8419801616207698313/posts/default/6400432476911686703'/><link rel='alternate' type='text/html' href='http://kifeo.blogspot.com/2020/03/proxmox-https-certificates-for-load.html' title='proxmox HTTPS certificates for load balancing'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8419801616207698313.post-3441654990862906960</id><published>2020-03-24T18:20:00.001+01:00</published><updated>2020-04-13T14:15:16.227+02:00</updated><title type='text'>Kubernetes</title><content type='html'>Dashboard :&lt;br /&gt;
&lt;br /&gt;
the URL is&lt;br /&gt;
http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/&lt;br /&gt;
&lt;br /&gt;
in order to login with the config file in .kube/ folder, add the token of a service account with privileges (here cluster admin) :&lt;br /&gt;
&lt;br /&gt;
get the token for user &amp;lt;toto&amp;gt;&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;TOKEN=$(kubectl -n kube-system describe secret toto| awk &#39;$1==&quot;token:&quot;{print $2}&#39;)&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;add it to the config file :&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;&lt;code&gt;kubectl config set-credentials kubernetes-admin --token=&quot;${TOKEN}&quot;&lt;/code&gt; &lt;/code&gt;&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://kifeo.blogspot.com/feeds/3441654990862906960/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://kifeo.blogspot.com/2020/03/kubernetes.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8419801616207698313/posts/default/3441654990862906960'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8419801616207698313/posts/default/3441654990862906960'/><link rel='alternate' type='text/html' href='http://kifeo.blogspot.com/2020/03/kubernetes.html' title='Kubernetes'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8419801616207698313.post-4467065464994035636</id><published>2020-03-17T14:32:00.001+01:00</published><updated>2020-03-17T14:32:47.354+01:00</updated><title type='text'>Waiting for Quorum on Proxmox</title><content type='html'>When an addition of a node to the cluster fails, there is the message &#39;waiting for quorum...&#39; and on the GUI it is &#39;Invalid PVE Ticket&#39; and you cannot login anymore.&lt;br /&gt;
&lt;br /&gt;
Here is my script to retry a failed cluster :&lt;br /&gt;
&lt;br /&gt;
systemctl stop pve-cluster.service&lt;br /&gt;systemctl stop corosync&lt;br /&gt;pmxcfs -l&lt;br /&gt;rm /etc/pve/corosync.conf&lt;br /&gt;rm -Rf /etc/corosync/*&lt;br /&gt;killall pmxcfs&lt;br /&gt;systemctl start pve-cluster.service&lt;br /&gt;&lt;br /&gt;rm -Rf /etc/pve/nodes/proxmox5&lt;br /&gt;&lt;br /&gt;echo &quot;#### NOW on a cluster member, remove previous reference in these files:&lt;br /&gt;&lt;br /&gt;root@proxmox1:~# rm -Rf /etc/pve/nodes/proxmox5&lt;br /&gt;root@proxmox1:~# nano /etc/pve/corosync.conf &lt;br /&gt;root@proxmox1:~# rm -Rf /var/lib/corosync/*&lt;br /&gt;&quot;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://kifeo.blogspot.com/feeds/4467065464994035636/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://kifeo.blogspot.com/2020/03/waiting-for-quorum-on-proxmox.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8419801616207698313/posts/default/4467065464994035636'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8419801616207698313/posts/default/4467065464994035636'/><link rel='alternate' type='text/html' href='http://kifeo.blogspot.com/2020/03/waiting-for-quorum-on-proxmox.html' title='Waiting for Quorum on Proxmox'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8419801616207698313.post-736756723440478077</id><published>2020-02-12T15:40:00.000+01:00</published><updated>2020-02-12T15:40:37.978+01:00</updated><title type='text'>remote CEC server for Home assistant</title><content type='html'>I wanted to connect my Home assistant to the TV, so the pycec module on home assistant can connect to a Raspberry Pi that is connected to the TV and can be connected to Home assistant via TCP/IP.&lt;br /&gt;
&lt;br /&gt;
I used this repository :&lt;br /&gt;
https://github.com/konikvranik/pycec/&lt;br /&gt;
&lt;br /&gt;
First, enable the pycec module on home assistant.&lt;br /&gt;
In the configuration.yaml file, add :&lt;br /&gt;
&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: &#39;Droid Sans Mono&#39;, &#39;monospace&#39;, monospace, &#39;Droid Sans Fallback&#39;; font-size: 14px; font-weight: normal; line-height: 19px; white-space: pre;&quot;&gt;
&lt;div&gt;
&lt;span style=&quot;color: #569cd6;&quot;&gt;hdmi_cec&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;: &lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;!include&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;config/hdmi_cec.yaml&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
and in the config/hdmi_cec.yaml file :&lt;br /&gt;
&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: &#39;Droid Sans Mono&#39;, &#39;monospace&#39;, monospace, &#39;Droid Sans Fallback&#39;; font-size: 14px; font-weight: normal; line-height: 19px; white-space: pre;&quot;&gt;
&lt;div&gt;
&lt;span style=&quot;color: #569cd6;&quot;&gt;host&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;: &lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;!secret&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;rpi3b_ip &lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;br /&gt;
Then on the Raspberry pi :&lt;br /&gt;
cd &lt;br /&gt;
git clone&amp;nbsp; https://github.com/konikvranik/pycec/&lt;br /&gt;
&lt;br /&gt;
First, compile the libcec :&lt;br /&gt;
https://github.com/Pulse-Eight/libcec&lt;br /&gt;
&lt;br /&gt;
For compiling it, I followed the Linux procedure :&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;apt-get update
apt-get install cmake libudev-dev libxrandr-dev python-dev swig
git clone https://github.com/Pulse-Eight/libcec.git
mkdir libcec/build
cd libcec/build
cmake ..
make -j4
sudo make install
sudo ldconfig&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
Then symlink the service in the pycec repository :&lt;br /&gt;
ln -s /path/of/pycec.service /etc/systemd/system/pycec.service&lt;br /&gt;
systemctl start pycec &lt;br /&gt;
&lt;br /&gt;
then enable the service so it starts at boot :&lt;br /&gt;
systemctl enable pycec&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://kifeo.blogspot.com/feeds/736756723440478077/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://kifeo.blogspot.com/2020/02/remote-cec-server-for-home-assistant.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8419801616207698313/posts/default/736756723440478077'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8419801616207698313/posts/default/736756723440478077'/><link rel='alternate' type='text/html' href='http://kifeo.blogspot.com/2020/02/remote-cec-server-for-home-assistant.html' title='remote CEC server for Home assistant'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8419801616207698313.post-2432682988963909427</id><published>2020-01-09T15:37:00.000+01:00</published><updated>2020-01-09T15:37:00.212+01:00</updated><title type='text'>restore ceph admin rights</title><content type='html'>I did overwrite the client.admin entry by importing a wrong keyfile. So I could not manage the cluster again.&lt;br /&gt;
&lt;br /&gt;
The only solution was to deactivate cephx authentication on the cluster by changing the configuration file to :&lt;br /&gt;
&lt;pre&gt;auth cluster required = none
auth service required = none
auth client required = none
auth supported = none&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;and then restart the ceph daemons on each node. As I&#39;m using proxmox, I had to use the systemctl:&lt;/pre&gt;
&lt;pre&gt;&lt;code&gt;systemctl restart ceph.target&lt;/code&gt; &lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;source :&lt;/pre&gt;
&lt;pre&gt;https://docs.ceph.com/docs/emperor/rados/operations/authentication/&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;then import the admin profile with full rights&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;
&lt;/pre&gt;
&lt;pre&gt;Then put the authentication back and restart the daemons.&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://kifeo.blogspot.com/feeds/2432682988963909427/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://kifeo.blogspot.com/2020/01/restore-ceph-admin-rights.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8419801616207698313/posts/default/2432682988963909427'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8419801616207698313/posts/default/2432682988963909427'/><link rel='alternate' type='text/html' href='http://kifeo.blogspot.com/2020/01/restore-ceph-admin-rights.html' title='restore ceph admin rights'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8419801616207698313.post-1724061709561880417</id><published>2019-11-06T11:41:00.002+01:00</published><updated>2020-07-01T14:55:54.637+02:00</updated><title type='text'>connect Debian to Proxmox CEPH cluster and mount Cephfs</title><content type='html'>&lt;h4&gt;
on client create the destination directory&lt;/h4&gt;
mkdir -p /etc/pve/priv/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h4&gt;
copy the keyring on the debian client: (uses admin keyring !!)&lt;/h4&gt;
scp &amp;lt;proxmox_ip&amp;gt;:/etc/pve/priv/ceph.client.admin.keyring /etc/pve/priv/.&lt;br /&gt;
&lt;br /&gt;
&lt;h4&gt;
copy the configuration file :&lt;/h4&gt;
scp &amp;lt;proxmox_ip&amp;gt;:/etc/pve/ceph.conf /etc/ceph/.&lt;br /&gt;
&lt;br /&gt;
&lt;h4&gt;
test&lt;/h4&gt;
ceph status&lt;br /&gt;
&lt;br /&gt;
#####&lt;br /&gt;
&lt;h4&gt;
mount Cephfs on debian &lt;/h4&gt;
1. on ceph:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
generate a keyfile for client foo on proxmox:&lt;br /&gt;
&lt;pre&gt;ceph auth get-or-create client.foo \&lt;/pre&gt;
&lt;pre&gt;    mds &#39;allow rw path=/ceph/mount/point&#39; \&lt;/pre&gt;
&lt;pre&gt;    mon &#39;allow r&#39; \&lt;/pre&gt;
&lt;pre&gt;    osd &#39;allow rw pool=cephfs_data&#39; \&lt;/pre&gt;
&lt;pre&gt;    -o /etc/pve/priv/ceph.client.foo.keyring&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;
check the client with :&lt;br /&gt;
ceph auth list&lt;br /&gt;
&lt;br /&gt;
generate a minimal config :&lt;br /&gt;
ceph config generate-minimal-conf&lt;br /&gt;
&lt;br /&gt;
and copy the output in /etc/ceph/ceph.conf on the client &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;&lt;/pre&gt;
&lt;pre&gt;2. on client:&lt;/pre&gt;
&lt;pre&gt;aptitude install libcephfs2 ceph-common ceph-fuse&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;&lt;/pre&gt;
&lt;pre&gt;copy the keyring file from the client&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;mkdir -p /local/mount/point&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;&lt;/pre&gt;
&lt;pre&gt;add an entry in /etc/fstab like :&lt;/pre&gt;
&lt;pre&gt;id=foo,conf=/etc/ceph/ceph.conf,client_mountpoint=/ceph/mount/point /local/mount/point fuse.ceph _netdev,defaults 0 0&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;_netdev here is important, otherwhise it does not boot&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;3. then mount it&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;sudo mount -a &lt;/pre&gt;
&lt;pre&gt;&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt; &amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://kifeo.blogspot.com/feeds/1724061709561880417/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://kifeo.blogspot.com/2019/11/connect-debian-to-proxmox-ceph-cluster.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8419801616207698313/posts/default/1724061709561880417'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8419801616207698313/posts/default/1724061709561880417'/><link rel='alternate' type='text/html' href='http://kifeo.blogspot.com/2019/11/connect-debian-to-proxmox-ceph-cluster.html' title='connect Debian to Proxmox CEPH cluster and mount Cephfs'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8419801616207698313.post-3828584793254205565</id><published>2019-11-06T11:30:00.000+01:00</published><updated>2019-11-06T11:32:04.547+01:00</updated><title type='text'>migrating from XCP-ng (xen) to Proxmox (LVM)</title><content type='html'>create the VM, be the closest to the XCP-ng VM on Proxmox&lt;br /&gt;
detach the disk&lt;br /&gt;
&lt;h4&gt;
export the VM with Xencenter in ova/ovf format (GUI)&lt;/h4&gt;
&lt;h4&gt;
extract the ova :&amp;nbsp;&lt;/h4&gt;
tar -xvf &amp;lt;ova_file.ova&amp;gt;&lt;br /&gt;
this result in a vhd + ovf file&lt;br /&gt;
&lt;br /&gt;
&lt;h4&gt;
convert the filedisk format:&lt;/h4&gt;
qemu-img convert -f vpc &amp;lt;disk_file.vhd&amp;gt; -O qcow2 &amp;lt;disk_filename.qcow2&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;h4&gt;
import the disk to the vm :&amp;nbsp;&amp;nbsp;&lt;/h4&gt;
qm importdisk &amp;lt;vm_id&amp;gt; &amp;lt;disk_filename.qcow2&amp;gt; &amp;lt;storage&amp;gt; -format qcow2&lt;br /&gt;
&lt;br /&gt;
&lt;h4&gt;
attach the disk to the vm, then boot &lt;/h4&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://kifeo.blogspot.com/feeds/3828584793254205565/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://kifeo.blogspot.com/2019/11/migrating-from-xcp-ng-xen-to-proxmox-lvm.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8419801616207698313/posts/default/3828584793254205565'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8419801616207698313/posts/default/3828584793254205565'/><link rel='alternate' type='text/html' href='http://kifeo.blogspot.com/2019/11/migrating-from-xcp-ng-xen-to-proxmox-lvm.html' title='migrating from XCP-ng (xen) to Proxmox (LVM)'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8419801616207698313.post-2815100459887386795</id><published>2019-10-11T11:15:00.000+02:00</published><updated>2020-05-10T14:14:08.034+02:00</updated><title type='text'>CEPH</title><content type='html'>&lt;h2&gt;
mount a LVM logical volume as OSD:&lt;/h2&gt;
&lt;br /&gt;
vgresize / vgcreate ...&lt;br /&gt;
lvcreate -l 100%FREE -n ceph pve&lt;br /&gt;
ceph-volume lvm prepare --bluestore --data pve/ceph&lt;br /&gt;
ceph-volume lvm activate --all&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;
clean the disk for OSD usage :&lt;/h2&gt;
&lt;pre&gt;&lt;tt&gt;ceph-volume lvm zap /dev/sd&lt;span style=&quot;color: #990000;&quot;&gt;[&lt;/span&gt;X&lt;span style=&quot;color: #990000;&quot;&gt;]&lt;/span&gt; --destroy&lt;/tt&gt;&lt;/pre&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;h2&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;edit the crushmap&lt;/span&gt;&lt;/h2&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;ceph osd tree&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;highlight&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;ceph osd crush reweight &lt;span class=&quot;o&quot;&gt;{&lt;/span&gt;name&lt;span class=&quot;o&quot;&gt;}&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;{&lt;/span&gt;weight&lt;span class=&quot;o&quot;&gt;}&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;highlight&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;ceph osd crush &lt;span class=&quot;nb&quot;&gt;set&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;{&lt;/span&gt;id-or-name&lt;span class=&quot;o&quot;&gt;}&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;{&lt;/span&gt;weight&lt;span class=&quot;o&quot;&gt;}&lt;/span&gt; &lt;span class=&quot;nv&quot;&gt;root&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;={&lt;/span&gt;pool-name&lt;span class=&quot;o&quot;&gt;}&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;[{&lt;/span&gt;bucket-type&lt;span class=&quot;o&quot;&gt;}={&lt;/span&gt;bucket-name&lt;span class=&quot;o&quot;&gt;}&lt;/span&gt; ...]&lt;/code&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;highlight&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;highlight&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;or by hand :&lt;/code&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;highlight&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;&lt;code&gt;ceph osd getcrushmap -o map.bin&lt;span class=&quot;o&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/code&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;highlight&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;&lt;code&gt;&lt;span class=&quot;o&quot;&gt;&lt;code class=&quot;highlighter-rouge&quot;&gt;crushtool -d map.bin -o map.txt&lt;/code&gt; &lt;/span&gt;&lt;/code&gt;&lt;/code&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;highlight&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;&lt;code&gt;&lt;span class=&quot;o&quot;&gt;edit map.txt&lt;/span&gt;&lt;/code&gt;&lt;/code&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;highlight&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code class=&quot;highlighter-rouge&quot;&gt;crushtool -c map.txt -o map.bin&lt;/code&gt;&lt;br /&gt;&lt;code&gt;&lt;code&gt;&lt;span class=&quot;o&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/code&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;&lt;span class=&quot;o&quot;&gt;&lt;code&gt;ceph osd setcrushmap -i &lt;span class=&quot;o&quot;&gt;map.bin&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;check the difference with the previous map :&lt;/span&gt;&lt;br /&gt;
&lt;pre class=&quot;wp-block-preformatted&quot;&gt;crushtool -i crushmap --compare crushmap.new&lt;/pre&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;&lt;span class=&quot;o&quot;&gt;&lt;code&gt;&lt;span class=&quot;o&quot;&gt;create a &#39;bestred&#39; rule:&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;&lt;span class=&quot;o&quot;&gt;&lt;code&gt;&lt;span class=&quot;o&quot;&gt;ceph osd crush rule create-replicated bestred default osd&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;&lt;span class=&quot;o&quot;&gt;&lt;code&gt;&lt;/code&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
assign the rule to the pool / change the rule of the pool&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;ceph osd pool set redpool crush_rule bestred&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
create a rbd :&lt;br /&gt;
&lt;pre&gt;&lt;span class=&quot;n&quot;&gt;rbd&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;create&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;--&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;size&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;megabytes&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;pool&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;image&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;wp-block-preformatted&quot;&gt;&lt;/pre&gt;
&lt;pre class=&quot;wp-block-preformatted&quot;&gt;see where the object is mapped :&lt;/pre&gt;
&lt;pre class=&quot;wp-block-preformatted&quot;&gt;ceph osd map &amp;lt;pool_name&amp;gt; &amp;lt;rbd_name&amp;gt; &lt;/pre&gt;
&lt;br /&gt;
increase the number of replicas&lt;br /&gt;
ceph osd pool set bestred size 8&lt;br /&gt;
ceph osd pool set bestred min_size 4&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;&lt;span class=&quot;p&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class=&quot;p&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;h2&gt;
change attributes&lt;/h2&gt;
&lt;br /&gt;
&lt;pre&gt;&lt;span class=&quot;n&quot;&gt;ceph&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;osd&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;pool&lt;/span&gt; &lt;span class=&quot;nb&quot;&gt;set&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;pool&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;field&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;value&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;/pre&gt;
Valid fields are:&lt;br /&gt;
&lt;blockquote&gt;
&lt;div&gt;
&lt;ul class=&quot;simple&quot;&gt;
&lt;li&gt;&lt;code class=&quot;docutils literal notranslate&quot;&gt;&lt;span class=&quot;pre&quot;&gt;size&lt;/span&gt;&lt;/code&gt;: Sets the number of copies of data in the pool.&lt;/li&gt;
&lt;li&gt;&lt;code class=&quot;docutils literal notranslate&quot;&gt;&lt;span class=&quot;pre&quot;&gt;pg_num&lt;/span&gt;&lt;/code&gt;: The placement group number.&lt;/li&gt;
&lt;li&gt;&lt;code class=&quot;docutils literal notranslate&quot;&gt;&lt;span class=&quot;pre&quot;&gt;pgp_num&lt;/span&gt;&lt;/code&gt;: Effective number when calculating pg placement.&lt;/li&gt;
&lt;li&gt;&lt;code class=&quot;docutils literal notranslate&quot;&gt;&lt;span class=&quot;pre&quot;&gt;crush_rule&lt;/span&gt;&lt;/code&gt;: rule number for mapping placement.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;h2&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;&lt;span class=&quot;o&quot;&gt;&lt;code&gt;&lt;span class=&quot;o&quot;&gt;autoscaling&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/h2&gt;
since Nautilus, enable the module first :&lt;br /&gt;
&lt;pre&gt;ceph mgr module enable pg_autoscaler&lt;/pre&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;&lt;span class=&quot;o&quot;&gt;&lt;code&gt;&lt;span class=&quot;o&quot;&gt;ceph osd pool autoscale-status&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;&lt;span class=&quot;o&quot;&gt;&lt;code&gt;&lt;span class=&quot;o&quot;&gt;change : ceph osd pool set pool2 pg_autoscale_mode {warn,off}&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;&lt;span class=&quot;o&quot;&gt;&lt;code&gt;&lt;span class=&quot;o&quot;&gt;reduce osd cache memory usage&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;&lt;span class=&quot;o&quot;&gt;&lt;code&gt;&lt;span class=&quot;o&quot;&gt;(for osd.7 in this example) &lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;&lt;span class=&quot;o&quot;&gt;&lt;code&gt;&lt;br /&gt;&lt;/code&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;&lt;span class=&quot;o&quot;&gt;&lt;code&gt;change the memory usage (previously 4G) :&lt;/code&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;&lt;span class=&quot;o&quot;&gt;&lt;code&gt;ceph daemon osd.7 config set osd_memory_target 1610612736&lt;/code&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;&lt;span class=&quot;o&quot;&gt;&lt;code&gt;or&lt;/code&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;&lt;span class=&quot;o&quot;&gt;&lt;code&gt;ceph config set osd.7 osd_memory_target 1610612736&amp;nbsp;&lt;/code&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;&lt;span class=&quot;o&quot;&gt;&lt;code&gt;to be permanent&amp;nbsp;&lt;/code&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;&lt;span class=&quot;o&quot;&gt;&lt;code&gt;or as global (all osd in this case):&lt;/code&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;&lt;span class=&quot;o&quot;&gt;&lt;code&gt;ceph config set global osd_memory_target &amp;lt;value&amp;gt;&lt;/code&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;&lt;span class=&quot;o&quot;&gt;&lt;code&gt;&lt;br /&gt;&lt;/code&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;&lt;span class=&quot;o&quot;&gt;&lt;code&gt;we can also add it in the config ceph.conf :&lt;/code&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;&lt;span class=&quot;o&quot;&gt;&lt;code&gt;[global]&lt;/code&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;&lt;span class=&quot;o&quot;&gt;&lt;code&gt;... some config&lt;/code&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;&lt;span class=&quot;o&quot;&gt;&lt;code&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; osd_memory_target = 939524096&lt;/code&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;&lt;span class=&quot;o&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;&lt;span class=&quot;o&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;&lt;span class=&quot;o&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;&lt;span class=&quot;o&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code&gt;&lt;span class=&quot;o&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;o&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://kifeo.blogspot.com/feeds/2815100459887386795/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://kifeo.blogspot.com/2019/10/ceph.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8419801616207698313/posts/default/2815100459887386795'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8419801616207698313/posts/default/2815100459887386795'/><link rel='alternate' type='text/html' href='http://kifeo.blogspot.com/2019/10/ceph.html' title='CEPH'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8419801616207698313.post-5288595829944744562</id><published>2019-09-25T11:44:00.000+02:00</published><updated>2019-09-25T11:44:18.779+02:00</updated><title type='text'>enable XCP-ng nested virtualisation</title><content type='html'>Enable XCP-ng nested virtualisation:&lt;br /&gt;
&lt;br /&gt;
used here to test proxmox under XCP-ng as host &lt;br /&gt;
&lt;br /&gt;
# xe vm-param-set uuid=&amp;lt;uuid&amp;gt; platform:exp-nested-hvm=true&lt;br /&gt;# xe vm-param-set uuid=&amp;lt;uuid&amp;gt; platform:nic_type=&quot;e1000&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
found here :&lt;br /&gt;
https://github.com/xcp-ng/xcp/wiki/Testing-XCP-ng-in-Virtual-Machine-(Nested-Virtualization)&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://kifeo.blogspot.com/feeds/5288595829944744562/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://kifeo.blogspot.com/2019/09/enable-xcp-ng-nested-virtualisation.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8419801616207698313/posts/default/5288595829944744562'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8419801616207698313/posts/default/5288595829944744562'/><link rel='alternate' type='text/html' href='http://kifeo.blogspot.com/2019/09/enable-xcp-ng-nested-virtualisation.html' title='enable XCP-ng nested virtualisation'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8419801616207698313.post-6430726845710397887</id><published>2019-09-20T11:36:00.001+02:00</published><updated>2019-10-11T11:15:52.755+02:00</updated><title type='text'> Mysql / Adminer / Apache in FreeBSD jail</title><content type='html'>&lt;h2&gt;
Mysql / Adminer / Apache in FreeBSD jail&lt;/h2&gt;
&lt;h2&gt;
&amp;nbsp;&lt;/h2&gt;
Prerequisites :&lt;br /&gt;
create the jail, and add a ZFS mount to store the databases in another dataset&lt;br /&gt;
mount the dataset to /mnt/db-data &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
install mysql&lt;/h3&gt;
# install + start at boot with custom config file&lt;br /&gt;
pkg install mariadb104-server&lt;br /&gt;
sysrc mysql_enable=&quot;YES&quot;&lt;br /&gt;
sysrc mysql_pidfile=/var/db/mysql/mysql.pid&lt;br /&gt;
sysrc mysql_optfile=/usr/local/etc/mysql/my.cnf&lt;br /&gt;
&lt;br /&gt;
# set proper owner for the zfs mounted dataset&lt;br /&gt;
chown -R mysql:mysql /mnt/db-data &lt;br /&gt;
&lt;br /&gt;
-&amp;gt; restart the jail&lt;br /&gt;
&lt;br /&gt;
# setup the database&lt;br /&gt;
mysql_secure_installation --socket=/mnt/db-data/mysql.sock&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
logs location : /var/db/mysql/*.log&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
install adminer&lt;/h3&gt;
pkg install adminer&lt;br /&gt;
the adminer php file is at&lt;br /&gt;
/usr/local/www/adminer/adminer/index.php&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
install apache&lt;/h3&gt;
# in order to serve adminer&lt;br /&gt;
pkg install apache24&lt;br /&gt;
sysrc apache24_enable=&quot;yes&quot;&lt;br /&gt;
service apache24 start&lt;br /&gt;
add to /usr/local/etc/apache24/Includes/adminer.conf the config :&lt;br /&gt;
&amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ServerName 127.0.0.1&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ServerAlias adminer&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DocumentRoot &quot;/usr/local/www/adminer/adminer/&quot;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ErrorLog &quot;/var/log/adminer-error.log&quot;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CustomLog &quot;/var/log/adminer-access_log&quot; combined&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h4&gt;
setup php&amp;nbsp;&lt;/h4&gt;
# give a php configuration file &lt;br /&gt;
cp /usr/local/etc/php.ini-production /usr/local/etc/php.ini&lt;br /&gt;
&lt;br /&gt;
# needed to work with adminer&lt;br /&gt;
change line mysqli.default_socket=&lt;br /&gt;
mysqli.default_socket = /mnt/db-data/mysql.sock&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# make apache interpret the php&lt;br /&gt;
add this to /usr/local/etc/apache24/Includes/php.conf&lt;br /&gt;
&amp;lt;IfModule dir_module&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; DirectoryIndex index.php index.html&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;FilesMatch &quot;\.php$&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SetHandler application/x-httpd-php&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/FilesMatch&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;FilesMatch &quot;\.phps$&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SetHandler application/x-httpd-php-source&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/FilesMatch&amp;gt;&lt;br /&gt;
&amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
service apache24 reload&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://kifeo.blogspot.com/feeds/6430726845710397887/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://kifeo.blogspot.com/2019/09/mysql-adminer-in-freebsd-jail.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8419801616207698313/posts/default/6430726845710397887'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8419801616207698313/posts/default/6430726845710397887'/><link rel='alternate' type='text/html' href='http://kifeo.blogspot.com/2019/09/mysql-adminer-in-freebsd-jail.html' title=' Mysql / Adminer / Apache in FreeBSD jail'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8419801616207698313.post-3098999513605237113</id><published>2019-01-25T09:17:00.003+01:00</published><updated>2019-09-18T14:33:51.125+02:00</updated><title type='text'>Check SSH key locally</title><content type='html'>ssh-keygen -lf &amp;lt;pubkey_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
ex : ssh-keygen -lf /etc/ssh/ssh_host_ecdsa_key.pub&lt;br /&gt;
&lt;br /&gt;
Also use :&lt;br /&gt;
ssh-keyscan 127.0.0.1 | ssh-keygen -lf -&lt;br /&gt;
&lt;br /&gt;
on remote :&lt;br /&gt;
ssh-keyscan &amp;lt;remote&amp;gt; | ssh-keygen -lf -&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If needed to get it in md5 hashing algorythm :&lt;br /&gt;
for file in ~/.ssh/*.pub; do ssh-keygen -lf $file -E md5 -g; done </content><link rel='replies' type='application/atom+xml' href='http://kifeo.blogspot.com/feeds/3098999513605237113/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://kifeo.blogspot.com/2019/01/check-ssh-key-locally.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8419801616207698313/posts/default/3098999513605237113'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8419801616207698313/posts/default/3098999513605237113'/><link rel='alternate' type='text/html' href='http://kifeo.blogspot.com/2019/01/check-ssh-key-locally.html' title='Check SSH key locally'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8419801616207698313.post-6844089400290465760</id><published>2018-06-07T12:25:00.001+02:00</published><updated>2018-06-07T12:25:35.369+02:00</updated><title type='text'>Configure custom ntp server on Openelec</title><content type='html'>Change the Timeservers setting in /storage/.cache/connman/settings to the desired value</content><link rel='replies' type='application/atom+xml' href='http://kifeo.blogspot.com/feeds/6844089400290465760/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://kifeo.blogspot.com/2018/06/configure-custom-ntp-server-on-openelec.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8419801616207698313/posts/default/6844089400290465760'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8419801616207698313/posts/default/6844089400290465760'/><link rel='alternate' type='text/html' href='http://kifeo.blogspot.com/2018/06/configure-custom-ntp-server-on-openelec.html' title='Configure custom ntp server on Openelec'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>