Posted by jpluimers on 2016/07/08
Multihoming without BGP with home routers and Linux. Need to apply this on OpenSuSE one day: HOWTO: Multirouting with Linux : Luke Cyca Dot Calm.
Basically it does Multirouting of Sessions using NAT, routing tables, rules, removal of the default routing and adding a round robin routing, fixing DNS, adding more rules and creating a failover script.
In case it ever goes offline: the WayBack Machine link.
Some more background research links:
Posted in *nix, Linux, openSuSE, Power User, SuSE Linux | Leave a Comment »
Posted by jpluimers on 2016/06/22
Woof is a small simple stupid webserver that can easily be invoked on a single file. Your partner can access the file with tools he trusts (e.g. wget). No need to enter passwords on keyboards where you don’t know about keyboard sniffers, no need to start a huge lot of infrastructure, just do a
$ woof filenameand
tell the recipient the URL
woof spits out. When he got that file,
woof will quit and everything is done.And when someone wants to send you a file,
woof has a switch to offer itself, so he can get woof and offer a file to you. …
Woof needs Python on a unix’ish operating system. Some people have used it successfully on Windows within the
Source: Woof – simply exchange files
Works from homebrew on OS X.
via: Web Offer One File – Thomas Mueller (dummzeuch) – Google+
Source: Web Offer One File
Posted in *nix, *nix-tools, Apple, BSD, Home brew, Linux, Mac, OS X, Power User | Leave a Comment »
Posted by jpluimers on 2016/06/16
Since quite a few commands that you regularly see mentioned on the web have been removed from OpenSuSE net-tools, I’ve created a few bash aliases in /etc/bash.bashrc.local below.
Note the original commands are not good have been deprecated for years on various distros and therefore removed:
# stuff removed from net-tools
# see https://features.opensuse.org/317197 and https://build.opensuse.org/package/view_file/network:utilities/net-tools/net-tools.changes
## Because of changes on Thu Apr 10 12:33:41 UTC 2014
alias "arp=echo 'use \"ip neigh\" or \"ip -r neight\"' && ip neigh"
alias "ifconfig=echo 'use \"ip a\"' && ip a"
alias "netstat= echo 'use \"ss\" or \"ss -r\"' && ss"
alias "route=echo 'use \"ip r\"' && ip r"
## Because of changes on Sun Mar 29 00:41:21 UTC 2015
alias "ipmaddr=echo 'use \"ip maddr\"' && ip maddr"
alias "iptunnel=echo 'use \"ip tunnel\"' && ip tunnel"
Some bits of the net-tools change-log:
Sun Mar 29 00:41:21 UTC 2015 - email@example.com
- ipmaddr and iptunnel are obsolete too, move them to subpackage.
(Superseded by `ip maddr` and `ip tunnel`)
- remove redundant %clean section
Thu Apr 10 12:33:41 UTC 2014 - firstname.lastname@example.org
- Move arp, ifconfig, netstat and route to a -deprecated subpackage
- Drop the rarp tool, which has been broken since kernel 2.3
via File net-tools.changes of Package net-tools – openSUSE Build Service.
Posted in *nix, *nix-tools, bash, bash, Development, Linux, openSuSE, Power User, Scripting, Software Development, SuSE Linux | Leave a Comment »
Posted by jpluimers on 2016/06/14
Quoting John Hart‘s brilliant answer:
--resolve leverages all of the normal logic that applies, but simply pretends the DNS lookup returned the data in your command-line option. It works just like
--resolve takes a port number, so for HTTPS you would use
curl --resolve 'yada.com:443:127.0.0.1' https://yada.com/something
curl --resolve 'yada.com:80:127.0.0.1' http://yada.com/something
It requires curl 7.21.3 or higher (from the end of 2010). Which by now everybody should have.
more via: Set cURL to use local virtual hosts – Stack Overflow.
Posted in *nix, bash, cURL, Development, Power User, Scripting, Software Development | Leave a Comment »
Posted by jpluimers on 2016/06/13
After zypper dup (dist-upgrade) or zypper up (update) a zypper ps will list processes using deleted files (i.e. processes that likely need to be restarted).
Some processes that can be restarted without reboot:
Some processes that require a reboot:
Posted in *nix, ESXi5, ESXi5.1, ESXi5.5, ESXi6, Linux, openSuSE, Power User, SuSE Linux, Virtualization, VMware, VMware ESXi | Leave a Comment »