I hereby claim:
- I am 42wim on github.
- I am 42wim (https://keybase.io/42wim) on keybase.
- I have a public key ASDrJmRM4VRpXu8rnz7_DMjroTKGs37QtbFILTRT2NNJsAo
To claim this, I am signing this object:
| %global with_debug 1 | |
| %if 0%{?fedora} || 0%{?rhel} == 6 | |
| %global with_bundled 1 | |
| %global with_check 1 | |
| %else | |
| %global with_bundled 0 | |
| %global with_check 0 | |
| %endif |
| [irc] | |
| [irc.freenode] | |
| server="irc.freenode.net:6667" | |
| nick="nomatter-_" | |
| RemoteNickFormat="[{PROTOCOL}/{BRIDGE}/{LABEL}] <{NICK}> " | |
| [api.local] | |
| BindAddress="127.0.0.1:4242" | |
| name="api" |
I hereby claim:
To claim this, I am signing this object:
| mkdir /home/user/go | |
| cd /home/user/go | |
| export GOPATH=/home/user/go | |
| go get | |
| go build | |
| sudo ./pingtest 8.8.8.8 8.8.4.4 192.168.1.1 100.64.0.1 31.13.90.2 | |
| 1 | 2 | 3 | 4 | 5 | | |
| : | : | : | | : | | |
| : | : | : | | : | |
| ln -s /proc/1/ns/net /var/run/netns/default | |
| ip netns exec default ifconfig -a |
| package main | |
| import ( | |
| "net/http" | |
| "time" | |
| ) | |
| func main() { | |
| http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { | |
| for { |
HP BL460c
Elasticsearch output with json input
Logstash Config
| Name: suricata | |
| Version: 2.0 | |
| Release: 1%{?dist} | |
| Summary: Suricata is a high performance Network IDS, IPS and Network Security Monitoring engine | |
| Group: System Environment/Daemons | |
| License: GPLv2 | |
| URL: http://suricata-ids.org | |
| Source0: http://www.openinfosecfoundation.org/download/%{name}-%{version}.tar.gz | |
| BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) |
| function postresolve ( remoteip, domain, qtype, records, origrcode ) | |
| print ("postresolve called for: ", remoteip, getlocaladdress(), domain, qtype, origrcode) | |
| setvariable() | |
| if not matchnetmask(remoteip, {"10.100.0.0/15", "10.0.0.1/32"}) then return -1, ret end -- passthrough for "normal" ips | |
| for key,val in ipairs(records) | |
| do | |
| if val.qtype == pdns.AAAA | |
| then | |
| return 0, {} -- drop the answer if we get an AAAA | |
| end |