baumi's blog

baumi's personal blog … Linux, OS X, Windows, Random things, …

Know-How / Wissenswertes

IPv6 leaks, DNS leaks, OpenVPN, IPSEC, L2TP

Test for DNS and IPv6 leaks: https://dnsleaktest.com/ https://wtfismyip.com/ (shows your VPN IPv4 address *and* leaked IPv6, if applicable) Prevent DNS leaks: https://www.pcsuggest.com/check-and-fix-dns-leak-linux/ add “redirect-gateway def1” to your openvpnclient.conf file … Prevent IPv6 leaks (i.e. temporarily disable IPv6): sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1 sudo sysctl -w net.ipv6.conf.wlp2s0.disable_ipv6=1 sudo sysctl -w net.ipv6.conf.lo.disable_ipv6=1 sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1 China VPN: […]

LinPhone VOIP client softphone: Importing SIP contacts from Google Contacts via commandline using PHP on GNU/Linux

The following command will add contact “Demo” to your linphone contact database using sqlite3: sqlite3 ~/.var/app/com.belledonnecommunications.linphone/data/linphone/friends.db “INSERT INTO friends (friend_list_id, sip_uri, subscribe_policy, send_subscribe, ref_key, vCard, vCard_etag, vCard_url, presence_received) VALUES (1, ‘sip:+436641234567@fairytel.at’, 1, 0, NULL, ‘BEGIN:VCARD’ || char(10) || ‘VERSION:4.0’ || char(10) || ‘IMPP:sip:+4366412346567@fairytel.at’ || char(10) || ‘FN:Demo’ || char(10) || ‘IMPP:sip:+4366412346567@213.185.165.102’ || char(10) || ‘END:VCARD’, […]

Syncthing: force local network sync

A couple of years ago i set up an owncloud server for myself. While it’s nice for small amount of files, owncloud had some disturbing limitations. I tried syncing more than a million files, and it miserably failed. The search feature would take forever, etc … Also, you always need a server to be running. […]

Currency exchange rates

https://www.ecb.europa.eu/stats/policy_and_exchange_rates/euro_reference_exchange_rates/html/index.en.html Euro foreign exchange reference rates + historical data XML today: http://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml XML 90 days: https://www.ecb.europa.eu/stats/eurofxref/eurofxref-hist-90d.xml?7ef8b5118e49d5f61068417d070c68db XML since 1999: http://www.ecb.europa.eu/stats/eurofxref/eurofxref-hist.xml

Free historic stock data

1. Register free API key for https://www.alphavantage.co/ 2. API documentation: https://www.alphavantage.co/documentation/ 3. Download data: curl “https://www.alphavantage.co/query?function=TIME_SERIES_INTRADAY&symbol=TSLA&interval=5min&apikey=YOURAPIKEYHERE&datatype=csv” –output tsla.csv

LENOVO Thinkpad X1 Carbon 2018 (Gen6, G6) 20KHCTO1WW

AC Geekbench Result: (BIOS setting: max power, max power) https://browser.geekbench.com/v4/cpu/8741282 Single Core Score: 5132 Multi-Core Score: 16230 Battery Geekbench Result (BIOS setting: battery optimized, thermal optimized) https://browser.geekbench.com/v4/cpu/8741341 Single Core Score: 2508 Multi-Core Score: 9378

WPA3: What we know …

Press Release: https://www.wi-fi.org/news-events/newsroom/wi-fi-alliance-introduces-security-enhancements Press Release analysis: http://www.mathyvanhoef.com/2018/03/wpa3-technical-details.html RFC8110: Opportunistic wireless encryption https://tools.ietf.org/html/rfc8110 802.11ax Task Group Timelines: http://grouper.ieee.org/groups/802/11/Reports/tgax_update.htm http://www.ieee802.org/11/Reports/802.11_Timelines.htm#tgax WPA3 Hardware news: http://www.guru3d.com/news-story/qualcomm-introduces-atheros-wcn3998-with-802-11axwpa3-and-bluetooth-5-1.html http://gagadget.com/en/33070-qualcomms-mobile-chip-wcn3998-is-the-first-to-support-the-standard-wi-fi-80211ax/ https://meraki.cisco.com/blog/2018/03/wi-fi-standards-on-the-move-again/ — What WPA is based on: http://community.arubanetworks.com/t5/Technology-Blog/WPA3-The-Next-Generation-in-Secure-Mobility/ba-p/410832 gives a list (i have added links where available): –Harkins, D. and W. Kumari, “Opportunistic Wireless Encryption”, RFC 8110, March 2017 –IEEE 802.11-2016 –Harkins, […]

Previous Posts