The solution: add both the +noall and +answer flags before the query.
dig +noall +answer google.de
–jeroen
Posted by jpluimers on 2016/01/25
The solution: add both the +noall and +answer flags before the query.
dig +noall +answer google.de
–jeroen
Posted in *nix, *nix-tools, Apple, Linux, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, OS X 10.10 Yosemite, OS X 10.8 Mountain Lion, Power User, SuSE Linux | Leave a Comment »
Posted by jpluimers on 2016/01/13
Many sites giving your public IP address return a web page with a bloat of html. From the command-line, you are usually only interested in the IP-address itself. Few services return exactly that.
Below are command-line examples to provide the public IP address mostly from a *nix perspective. Usually you can get similar commands to work with Windows binaries for wget and Windows binaries for curl.
In the end, I’ve opted for commands in this format, as I think akamai will last longer than the other sites (but does not include an end-of-line in the http result hence the echo on Mac/*nix):
I’ve not tried aria2 yet, but might provide commands for that in the future.
These are the Linux permutations for akamai:
curl whatismyip.akamai.com && echo curl ipv4.whatismyip.akamai.com && echo curl ipv6.whatismyip.akamai.com && echo curl ipv4.whatismyip.akamai.com && echo && curl ipv6.whatismyip.akamai.com && echoThe last two are convenient when you have both IPv4 and IPv6 configured on “the outside”.
You can replace curl with wget -q -O – (which outputs to stdout) for each command. You can even ommit the http:// (as that is the default protocol for both curl and wget).
Posted in *nix, *nix-tools, Apple, bash, bash, Batch-Files, cURL, Development, Linux, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MacMini, OS X 10.10 Yosemite, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User, Scripting, Software Development, SuSE Linux, wget | Leave a Comment »
Posted by jpluimers on 2016/01/09
Interesting:
During the last weeks I finally got my hands dirty with IPv6. A comment on my blog and an email informed me that my server (hosting this blog) is not reachable via IPv6, albeit it has an IPv6 address. That said, I tried to get that running and fell into several holes, due to firewalls, […]
Posted in *nix, *nix-tools, Apache2, iptables, Linux, Power User | Leave a Comment »
Posted by jpluimers on 2015/12/13
Hmm:
Detected 1 file conflict:
File /etc/netconfig
from install of
libtirpc3-1.0.1-1.1.x86_64 (Main Repository (OSS))
conflicts with file from install of
libtirpc1-0.2.5-1.1.x86_64 (openSUSE-20150508-0)
File conflicts happen when two packages attempt to install files with the same name but different contents. If you continue, conflicting files will be replaced losing the previous content.
Changes: go figure (:
revue:/etc # diff netconfig.201507191158 netconfig 13,14d12 < udp6 tpi_clts v inet6 udp - - udp6 tpi_clts v inet6 udp - - > tcp6 tpi_cots_ord v inet6 tcp - -
–jeroen
Posted in *nix, Linux, openSuSE, Power User, SuSE Linux | Leave a Comment »
Posted by jpluimers on 2015/11/24
Applying security hardening standards and generally securing Ubuntu has been a challenge.
Tell me about it (:
–jeroen
Posted in *nix, *nix-tools, Linux, openSuSE, Power User, SuSE Linux | Leave a Comment »
Posted by jpluimers on 2015/11/20
Message from package aaa_base: sysconfig settings for cleaning up temporary directories are no longer supported. Some of the features are provided by systemd's tmpfile mechanism instead. Please refer to 'man tmpfiles.d' for more information. Here are the old settings for reference: MAX_DAYS_IN_TMP=0 MAX_DAYS_IN_LONG_TMP=0 OWNER_TO_KEEP_IN_TMP=root
–jeroen
Posted in *nix, Linux, openSuSE, Power User, SuSE Linux | Leave a Comment »
Posted by jpluimers on 2015/11/11
Really exiting times ahead: Microsoft .Net on Linux.
It’s not fully ready yet, but to get an idea to learn more about running OpenShift Enterprise 3 and a .NET application based on a Red Hat Enterprise Linux container, here are a few links to get started:
I wish that the demo repository at https://github.com/munchee13/snoopalicious.git and the rhosepaas.com domain were accessible (:
There are other alternatives too, but OpenShift (RedHat) and Microsoft working together is really exiting news to me.
If you’re on other distros, here are some more links:
And of course there has been Mono for a while, which is a different implementation of .NET:
Hopefully this will have search results soon: dnvm opensuse tumbleweed.
–jeroen
Posted in *nix, .NET, Development, Linux, OpenShift, openSuSE, Power User, RedHat, Software Development, SuSE Linux, Tumbleweed | Leave a Comment »
Posted by jpluimers on 2015/08/24
A while ago, I got this error:
Accessing the Software Management Failed System management is locked by the application with pid 17730 (/usr/lib/YaST2/bin/y2base). Close this application before trying again. Would you like to abort or try again? [Retry] [Abort]
What happened is that a terminal session that had YaST open got disconnected (don’t you love WiFi) while checking for updates.
I tried to re-login and re-check for updates and got this error.
Looking for process 17730 indeed revealed it was YaST:
snap:~ # ps 17730 PID TTY STAT TIME COMMAND 17730 pts/0 Sl+ 0:11 /usr/lib/YaST2/bin/y2base online_update ncurses
A simple kill would get rid of that process:
sudo kill 17730
–jeroen
via: yast locked.
Posted in *nix, Linux, openSuSE, Power User, SuSE Linux | Leave a Comment »
Posted by jpluimers on 2015/07/06
The zypper dup has installed MariaDB; now I need to figure out which dependency did this, as I’m not happy with the update message:
Message from package mariadb: You just installed MySQL server for the first time. You can start it using: rcmysql start During first start empty database will be created for your automatically. PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! To do so, start the server, then issue the following commands: '/usr/bin/mysqladmin' -u root password 'new-password' '/usr/bin/mysqladmin' -u root -h misibook password 'new-password' Alternatively you can run: '/usr/bin/mysql_secure_installation' which will also give you the option of removing the test databases and anonymous user created by default. This is strongly recommended for production servers.
–jeroen
Posted in *nix, Linux, openSuSE, Power User, SuSE Linux | 2 Comments »
Posted by jpluimers on 2015/06/17
Inspired by CloudFlare Keyless SSL, I have this idea of using Diffie Hellman over WebSockets over a MittM based http proxy (which intercepts and decrypts HTTPS traffic) like mitmproxy (but them from a commercial vendor to inspect web traffic) to setup an encapsulated secure channel.
I know SSH uses Diffie Hellman to setup a secure channel over a binary TCP connection.
Binary communication over HTTP usually means WebSocket.
I don’t want WebSSH (which does use WebSockets, but is probably filtered by the MitM proxy anyway).
Maybe either of these open source tools will work:
If these don’t work, I need to do more research.
Since I use C# and .NET for much of my work, I started the WebSocket over HTTP C# query.
c# – How to use proxies with the WebSocket4Net library – Stack Overflow.
–jeroen
Posted in *nix, *nix-tools, Communications Development, Development, HTTP, Internet protocol suite, Linux, Power User, SSH, SuSE Linux, TCP, WebSockets, Windows, Windows-Http-Proxy | Leave a Comment »