4259 links
  • Arnaud's links
  • Home
  • RSS Feed
  • Tag cloud
  • Login
newest first
  • Top 10 des choses à ne pas oublier le Jour-J | Made in Mud
    April 2, 2014 - permalink - http://madeinmud.com/2014/02/26/top-10-des-choses-a-ne-pas-oublier-le-jour-j/
    course mudday
  • /proc/sys/net/ipv4/conf/

    La doc des propriétés : https://github.com/torvalds/linux/blob/master/Documentation/networking/ip-sysctl.txt

    Ensuite on peut les définir dans le dossier spécifique à l'interface, exemple : /proc/sys/net/ipv4/conf/eth0/
    Ou dans le dossier all : /proc/sys/net/ipv4/conf/all

    Exemple :

    La valeur pour ehto concernant la propriété arp_filter ne dépend pas seulement de /proc/sys/net/ipv4/conf/eth0/arp_filter mais aussi de /proc/sys/net/ipv4/conf/all/arp_filter
    D'après la doc, arp_filter est un boolean (0 ou 1)

    D'après ces liens :
    http://marc.info/?l=linux-kernel&m=123606366021995&w=2
    https://github.com/torvalds/linux/blob/master/include/linux/inetdevice.h (ligne 123 : #define IN_DEV_ARPFILTER(in_dev) IN_DEV_ORCONF((in_dev), ARPFILTER))

    On utilise un OR pour déterminer la valeur finale : il suffit qu'un des deux arp_filter soit à 1.

    Si la propriété n'est pas un boolean mais un integer qui peut prendre 0,1,2,etc... la valeur choisie entre le "all" et le "eth0" sera la valeur MAX d'après ce que j'ai compris.

    On retrouve ce fonctionnement dans d'autres dossiers :
    /proc/sys/net # find . -type d -name eth0
    ./ipv4/neigh/eth0
    ./ipv4/conf/eth0
    ./ipv6/neigh/eth0
    ./ipv6/conf/eth0

    Pour consulter :
    sysctl -a | grep arp_filter
    Pour modifier :
    à la volée :
    echo "1" > /proc/sys/net/ipv4/conf/...
    ou sysctl -w net.ipv4.conf.eth1.arp_filter=1
    persistant au reboot :
    /etc/sysctl.conf
    /etc/init.d/procps restart

    à notre un truc vicieux :
    /etc/init.d/procps restart n'a pas le meme effet qu'un reboot complet
    si on set une propriété à la volée à 1 comme net.ipv4.conf.eth1.arp_filter par exemple
    elle va rester à 1 apres un /etc/init.d/procps restart
    par contre elle se remet bien à 0 apres un reboot

    April 2, 2014 - permalink - https://links.infomee.fr/shaare/ztr7EA
    ipv4 linux sys sysctl
  • Manipulez les paquets réseau avec Scapy

    Pour forger des packet en python... mieux que hping3 ;)

    April 2, 2014 - permalink - http://fr.openclassrooms.com/informatique/cours/manipulez-les-paquets-reseau-avec-scapy
    forge hping network scapy
  • suckless.org dwm - dynamic window manager
    April 2, 2014 - permalink - http://dwm.suckless.org/
    linux window_manager
  • about - awesome window manager
    April 2, 2014 - permalink - http://awesome.naquadah.org/
    linux window_manager
  • https://github.com/torvalds/linux/blob/master/Documentation/networking/ip-sysctl.txt

    Documentation sysctl

    April 2, 2014 - permalink - https://github.com/torvalds/linux/blob/master/Documentation/networking/ip-sysctl.txt
    documentation kernel linux sysctl
  • Activer et configurer le server-status Apache (mod_status) - Blog de Florian Bogey
    March 31, 2014 - permalink - http://www.blog.florian-bogey.fr/activer-et-configurer-le-server-status-apache-mod_status.html
    apache status
  • AuthorizedKeysCommand : quand OpenSSH devient CloudSSH. Nan j'déconne. / GLMF-161 / GNU/Linux Magazine / Connect - Edition Diamond

    alternatives à authorized_keys

    via Skunnyk

    March 31, 2014 - permalink - http://connect.ed-diamond.com/GNU-Linux-Magazine/GLMF-161/AuthorizedKeysCommand-quand-OpenSSH-devient-CloudSSH.-Nan-j-deconne
    ssh sys
  • Fucking Shell Scripts | The easiest, most common sense server configuration management tool

    via arnaudb : ahah ouai j'etais aussi tombé sur ce truc, je me le garde sous la main, mais bon, ça vaut pas un chef/puppet forcément..

    March 30, 2014 - permalink - http://fuckingshellscripts.org/
    configuration_management
  • Forging Great Modules: Standards, Tools and Patterns - PuppetConf 2013

    à regarder à partir de 24 minutes

    March 28, 2014 - permalink - https://www.youtube.com/watch?feature=player_detailpage&list=FLJvYRkbaG8uNnLsDB7c2o2Q&v=LPMGR6auqig#t=1494
    module puppet
  • Echoes: How-To: Use apt-file to See What Files a Package Installs

    Pratique :
    Installation : apt-get install apt-file && apt-file update

    Chercher un fichier dans les packages en utilisant une regex :
    apt-file search -x '/dig$'

    Lister les fichiers d'un package sans l'installer (équivalent dpkg -L) :
    apt-file show dnsutils

    March 28, 2014 - permalink - http://vivapinkfloyd.blogspot.fr/2008/07/how-to-use-apt-file-to-see-what-files.html
    apt debian dpkg
  • dalen/puppetdbquery · Puppet Forge
    March 28, 2014 - permalink - https://forge.puppetlabs.com/dalen/puppetdbquery
    module puppet puppetdb
  • Modules by Gareth Rushgrove · Puppet Forge

    Des modules qui ont l'air bien

    March 28, 2014 - permalink - https://forge.puppetlabs.com/garethr
    module puppet
  • xclip - Documentation Ubuntu Francophone

    Bien pratique pour intéragir avec le pressepapier en cmdline, exemple :

    function nowplz {
    xclip -i <<< $(date "+%Y-%m-%d %H:%M")
    }

    va copier dans le presse papier la date et l'heure actuelle

    March 27, 2014 - permalink - http://doc.ubuntu-fr.org/xclip
    bash clipboard presse_papier
  • Include VS Resources like declaration

    However, unlike include, resource-like declarations let you specify class parameters.

    March 27, 2014 - permalink - http://docs.puppetlabs.com/learning/modules1.html#more-about-declaring-classes
    puppet
  • github.com/nedap/puppetboard

    Un frontend pour puppetdn (en python)

    March 27, 2014 - permalink - https://github.com/nedap/puppetboard
    puppet puppetdb
  • Using Multiple Puppet Masters — Documentation — Puppet Labs

    Utiliser plusieurs puppet master : performance et haute dispo

    March 26, 2014 - permalink - http://docs.puppetlabs.com/guides/scaling_multiple_masters.html
    ha puppet
  • Feature #16529: Making puppetdb-terminus available as a gem - PuppetDB - Puppet Labs

    Comment construire la gem puppetdb-terminus à partir des sources github :

    git clone https://github.com/puppetlabs/puppetdb
    git checkout 1.6.2
    cd puppetdb
    cp contrib/gem/puppetdb-terminus.gemspec puppet/
    cd puppet
    modifier le spec pour mettre version=1.6.2
    gem build puppetdb-terminus.gemspec

    Installer la gem : gem install puppetdb-terminus-1.6.2.gem

    March 26, 2014 - permalink - https://projects.puppetlabs.com/issues/16529
    puppet puppetdb
  • core - Serveur Apache HTTP

    Petit probleme avec pluxml : il forge les url des article avec le nom de l'article... alors quand c'est trop long, apache n'aime pas :

    ALERT - configured request variable name length limit exceeded - dropped variable

    La directive pour configurer ça : LimitRequestLine

    March 26, 2014 - permalink - http://httpd.apache.org/docs/2.2/mod/core.html#limitrequestline
    apache
  • Troubleshooting — Documentation — Puppet Labs

    Comment régénérer certificat puppet master

    March 26, 2014 - permalink - http://docs.puppetlabs.com/guides/troubleshooting.html#agents-are-failing-with-a-hostname-was-not-match-with-the-server-certificate-error-whats-wrong
    puppet
  • https://github.com/lebinh/ngxtop

    Pour monitorer en temps réel un nginx

    March 24, 2014 - permalink - https://github.com/lebinh/ngxtop
    nginx
  • Explain Git with D3

    Quelques commandes git expliquées visuellement et dynamiquement

    March 24, 2014 - permalink - http://www.wei-wang.com/ExplainGitWithD3/
    git
  • DBA 101: Sometimes forgotten functionality in the MySQL client

    Deux trois fonctions utiles/méconnues côté client

    via Skunnyk

    March 24, 2014 - permalink - http://www.mysqlperformanceblog.com/2014/02/27/dba-101-sometimes-forgotten-functionality-mysql-client/
    mysql
  • lvm - Documentation Ubuntu Francophone

    Fusionner un snapshot

    Le but ici est de fusionner un snapshot modifié vers le LV d'origine. Pour ainsi dire, "faire que les modifications apportées sur le snapshot se retrouvent sur le LV d'origine".

    lvconvert --merge /path/to/dev/snap

    March 23, 2014 - permalink - http://doc.ubuntu-fr.org/lvm#snapshot
    lvm
  • Utilisation de Xen - Wikichris

    dd over ssh
    lvcreate vg00 -L 4G -n srv-test-disk #on choisi la même taille (4Go)
    mkfs.ext4 /dev/vg00/srv-test-disk
    ssh root@srv-xen.domain.com "dd if=/dev/vg00/srv-test-disk" | dd of=/dev/vg00/srv-test-disk

    ou avec gzip pour aller BEAUCOUP plus vite

    ssh root@srv-xen.domain.com "dd if=/dev/vg00/srv-test-disk | gzip" | gzip -dc | dd of=/dev/vg00/srv-test-disk

    March 23, 2014 - permalink - http://wiki.gonzofamily.com/a/Utilisation_de_Xen#Snapshots
    dd lvm xen
  • The Big Picture (current) - Symfony
    March 22, 2014 - permalink - http://symfony.com/doc/current/quick_tour/the_big_picture.html
    php symfony
  • Puppet et nexus3000

    Puppet qui sattaque au monde du reseau avec le nuxus3000 :o
    Clin d'oeil à ubiqube

    March 22, 2014 - permalink - http://youtu.be/QExKz-iIpYc
    networking puppet
  • Doc Elasticsearch

    via Skunnyk

    March 21, 2014 - permalink - http://www.elasticsearch.org/guide/
    doc elasticsearch
  • Cryptography Hacks - Hash Encryption using DuckDuckGo Search Engine - The Hacker News

    ddg <3

    via skunnyk

    March 21, 2014 - permalink - http://thehackernews.com/2014/01/cryptography-hacks-hash-encryption.html
    ddg hash
  • Grafana Scripted dashboards

    If you have lots of metric names that change (new servers etc) in a defined pattern it is irritating to constantly have to create new dashboards.

    With scripted dashboards you can dynamically create your dashboards using javascript. In the folder grafana install folder app/dashboards/ there is a file named scripted.js. This file contains an example of a scripted dashboard. You can access it by using the url:

    http://grafana_url/#/dashboard/script/scripted.js?rows=3&name=myName
    

    If you open scripted.js you can see how it reads url paramters from ARGS variable and then adds rows and panels.

    March 21, 2014 - permalink - https://github.com/torkelo/grafana/wiki/Scripted-dashboards
    grafana graphite
  • Running commands in parallell using bash | Michael Boman

    bien utile

    cat liste | parallel --gnu -j 10 ssh root@{} 'ls'

    March 20, 2014 - permalink - http://blog.michaelboman.org/2012/04/running-commands-in-parallel-using-bash.html
    background bash parallel
  • What is Unobtrusive JavaScript & Why it's Important? - Treehouse

    Si un jour je fais un peu plus de JS, faudrait faire comme ça
    + http://icant.co.uk/articles/seven-rules-of-unobtrusive-javascript/
    + http://www.w3.org/wiki/The_principles_of_unobtrusive_JavaScript

    March 20, 2014 - permalink - http://blog.teamtreehouse.com/unobtrusive-javascript-important
    js
  • http://openvswitch.org/releases/NEWS-2.1.0

    Release d'ovs 2.1.0

    March 20, 2014 - permalink - http://openvswitch.org/releases/NEWS-2.1.0
    networking tweetit
  • Liste des plugins contrib munin
    March 19, 2014 - permalink - https://github.com/munin-monitoring/contrib/tree/master/plugins
    github munin plugin
  • sorting - Bash - Difference Between two lists - Stack Overflow

    Pour obtenir la diff des éléments entre deux listes :

    To get the lines only in the old file:
    comm -23 <(sort /tmp/oldList) <(sort /tmp/newList)

    To get the lines only in the new file:
    comm -13 <(sort /tmp/oldList) <(sort /tmp/newList)

    comm -23 <(sort /tmp/1) <(sort /tmp/2)
    comm -13 <(sort /tmp/1) <(sort /tmp/2)

    March 19, 2014 - permalink - http://stackoverflow.com/questions/11165182/bash-difference-between-two-lists
    bash comm diff list
  • doing - BrettTerpstra.com

    Un todo en cli dans le meme genre que http://todotxt.com/

    March 19, 2014 - permalink - http://brettterpstra.com/projects/doing/
    cli dar done software standup todo war
  • Hacker Techniques, Exploits & Incident Handling

    Des certifs qui peuvent être passées online : sécurité, réseau..

    March 19, 2014 - permalink - https://www.sans.org/course/hacker-techniques-exploits-incident-handling
    elearning network
  • The “Ping me!” Packet Challenge | I Smell Packets

    Un peu de réseau, ça fait longtemps : un petit challenge où il faut crafter un icmp reply correspond à l'icmp request posté ;)

    Les solutions :
    http://ismellpackets.com/2010/10/05/the-ping-me-packet-challenge-solution/
    http://ismellpackets.com/2010/10/06/another-ping-me-packet-challenge-solution/
    http://ismellpackets.com/2010/10/07/the-ping-me-packet-challenge-solution-using-hping/
    http://ismellpackets.com/2011/01/06/ping-me-packet-challenge-follow-up/

    PS : l'auteur du blog n'est plus actif mais les archives sont à explorer

    March 19, 2014 - permalink - http://ismellpackets.com/2010/09/20/the-ping-me-packet-challenge/
    craft hping network
  • puppet svn pre-commit hook | Jason Hancock

    Script de hook pre-commit pour vérifier la syntaxe des .pp en utilisant http://puppet-lint.com/

    • https://github.com/jasonhancock/puppet-svn-hooks
    March 19, 2014 - permalink - http://geek.jasonhancock.com/2012/04/18/puppet-svn-pre-commit-hook/
    puppet
  • mktemp

    Pratique pour l'écriture de script en bash lorsqu'on a besoin d'un fichier temporaire :

    Creation

    tmpfile=$(mktemp)

    Utilisation...

    Clean

    if [ -e "$tmpfile" ]
    then
    rm -f $tmpfile
    fi

    March 19, 2014 - permalink - https://links.infomee.fr/shaare/r6stZw
    bash mktemp tmp tweetit
  • Creating RRD graphs in PHP « php[architect] – Magazine, Training, Books, Conferences

    Feed du rrd en php

    March 19, 2014 - permalink - http://www.phparch.com/2011/02/creating-rrd-graphs-in-php/
    php rrd sonde
  • Operation Windigo: Linux malware campaign that infected 500,000 Computers Worldwide - The Hacker News

    Oh shit

    March 18, 2014 - permalink - http://thehackernews.com/2014/03/operation-windigo-linux-malware.html
    linux malware security virus
  • The Render URL API — Graphite 0.10.0 documentation

    Avec ça possible de faire des templates de graph

    March 18, 2014 - permalink - http://graphite.readthedocs.org/en/latest/render_api.html
    graphite
  • Intro to PuppetDB - PuppetConf '12 - YouTube

    Bonnes conf sur puppetdb

    • https://www.youtube.com/watch?v=iGVoqCb9CkA
    • https://github.com/dalen/puppet-puppetdbquery
    • https://github.com/jasonhancock/nagios-puppetdb
    • http://docs.puppetlabs.com/puppetdb/
    March 18, 2014 - permalink - https://www.youtube.com/watch?v=xw83cRofkpM
    puppet puppetdb
  • Yana, évolutions, perspectives, explications | IdleBlog

    ah il a l'air bien ce projet, pouvoir commander vocalement son reseau domotique à base de briques libres :D

    March 18, 2014 - permalink - http://blog.idleman.fr/yana-evolutions-perspectives-explications/
    domotique rasp
  • [fr] Fin de support de Windows XP et risques de sécurité | malekal's site

    à savoir concernant la fin du support d'xp

    March 18, 2014 - permalink - http://www.malekal.com/2014/03/17/fr-fin-de-support-de-windows-xp-et-risques-de-securite/
    security support xp
  • POST vs. PUT : la confusion | Blog Xebia France

    Article intéressant sur l'implementation d'api REST et que faire/ne pas faire concernant le mapping CRUD <=> http methods

    March 18, 2014 - permalink - http://blog.xebia.fr/2014/03/17/post-vs-put-la-confusion/
    api crud rest
  • xargs: How To Control and Use Command Line Arguments

    J'utilise trop peu xargs, je me débrouille toujours autrement alors que parfois ce serait plus simple en l'utilisant.

    | xargs -I VAR cp VAR /tmp/VAR.copy

    I l 1

    c'est un "i" majuscule

    xargs -I % sh -c 'command1; command2; ...' < a.txt

    March 17, 2014 - permalink - http://www.cyberciti.biz/faq/linux-unix-bsd-xargs-construct-argument-lists-utility/
    xargs
  • ▶ Versatile by AmbiantPolarity

    sons d'alim

    March 15, 2014 - permalink - https://soundcloud.com/ambiantpolarity
    musique
  • Infrastructure Management with SaltStack: Part 1 - The Setup | vByron.com
    March 15, 2014 - permalink - http://vbyron.com/blog/infrastructure-management-saltstack-part-1-getting-started/
    sys tools
▼ Load 50 more