Category Archives: Linux

debootstrap 可以把所有檔案都裝到 /usr 下了

從「You can now try merged /usr in Debian」這邊看到,早期因為硬碟空間比較小的關係,會切成 /bin、/usr、/lib 之類的目錄: The original impetus for requiring these directories was due to space limitations in the first Unix implementations, developers favoring the change point out. 這個理由很明顯已經消失了,所以 Debian 就規劃要整併起來...

Posted in Computer, Linux, Murmuring, OS, Software | Tagged , , , , , , | Leave a comment

Linux 下多點觸控的設定

看到「Multitouch gestures with libinput dirver on X11, Linux」這個專案,可以在 Linux/X11 下偵測到多點觸控,然後設定對應的按鍵,從他的設定檔就可以看到這套軟體的功能了: swipe: 3: left: shortcut: 'alt+Right' right: shortcut: 'alt+Left' up: shortcut: 'ctrl+t' down: shortcut: 'ctrl+w' 4: left: shortcut: 'super+Right' right: shortcut: 'super+Left' up: shortcut: 'super+a' down: shortcut: 'super+s' pinch: in: shortcut: … Continue reading

Posted in Computer, Hardware, Linux, Murmuring, OS, Software | Tagged , , , , , , , , , | Leave a comment

Docker 的權限控制

Red Hat Enterprise Linux Blog 上整理了一篇關於 Docker 目前支援的權限控制:「Secure Your Containers with this One Weird Trick」,目前有 38 個權限可以控制: Originally the kernel allocated a 32-bit bitmask to define these capabilities. A few years ago it was expanded to 64. There are currently … Continue reading

Posted in Computer, Linux, Murmuring, OS, Security, Software | Tagged , , , , , , | Leave a comment

Lenovo 開始出 Microsoft-only 機了,其他的 OS 都會被鎖住不能用

有人在 Reddit 上抱怨買了一台 Lenovo 的機器卻不能裝 Linux,因為會抓不到硬碟:「Warning: Microsoft Signature PC program now requires that you can't run Linux. Lenovo's recent Ultrabooks among affected systems.」,官方回覆是: This system has a Signature Edition of Windows 10 Home installed. It is locked per our agreement … Continue reading

Posted in Computer, Hardware, Linux, Murmuring, OS, Security, Software, Windows | Tagged , , , , , , , , | 1 Comment

Adobe 居然決定加碼投入資源更新 Linux 上 NPAPI 版的 Flash (也就是舊版 API)

在「Beta News – Flash Player NPAPI for Linux」這邊看到 Adobe 要投入資源處理 Linux 上 NPAPI 版的 Flash Player... 先前 Linux 下是 NPAPI 與 PPAPI 兩個版本都有 Flash Player,但是 NPAPI 維持在 11.2,只做安全性更新: Linux users have access to both NPAPI and PPAPI versions of Flash … Continue reading

Posted in Browser, Computer, GoogleChrome, Linux, Murmuring, Network, OS, Security, Software, WWW | Tagged , , , , , , , , , , | Leave a comment

用 Docker 跑 Skype 講電話

Update:中文的部份是有問題的。之前以為是跑 Docker 版本時,實際上跑到很久前裝的 skype... 移除後發現 voice 沒問題,但沒有中文字型... 因為 Skype 裡面不知道跑了什麼東西,所以想要用 Docker 包起來放在 container 裡面跑,但之前測起來不穩定,而且中文字型的問題一直沒解決,所以就先一直丟著。 而剛剛測了一下 sameersbn/docker-skype 這邊的版本,發現之前遇到沒辦法看中文的問題也解決了。 安裝的方法非常簡單,先拉下來,然後執行他: $ docker pull sameersbn/skype:latest $ docker run -it --rm --volume /usr/local/bin:/target sameersbn/skype:latest install 這樣就會產生 /usr/local/bin/skype,直接跑他就好了,登入後再拿自家電話撥號,測了一下沒什麼問題。另外中文輸入法也是吃 host 的,所以也很順,弄得頗不錯的...

Posted in Computer, Linux, Murmuring, Network, OS, P2P, Security, Software, Telephone | Tagged , , , , , | 3 Comments

PGP 短 ID 的安全問題

PGP 短 ID 的安全問題出來了,不見棺材不掉淚啊:「Fake Linus Torvalds' Key Found in the Wild, No More Short-IDs.」。 重點在這段,已經有人發出攻擊了: Search Result of 0x00411886: https://pgp.mit.edu/pks/lookup?search=0x00411886&op=index Fake Linus Torvalds: 0F6A 1465 32D8 69AE E438 F74B 6211 AA3B [0041 1886] Real Linus Torvalds: ABAF 11C6 5A29 70B1 … Continue reading

Posted in Computer, Linux, Murmuring, Network, OS, Programming, Security, Social, Software | Tagged , , , , , , , , , , , , , , , , | Leave a comment

Debian 提供 Tor Hidden Service 更新 Apt

Debian 與 Tor Project 都宣佈了這個消息,兩邊的稿子都一樣:「Debian and Tor Services available as Onion Services」、「Debian and Tor Services available as Onion Services」。 站台列表在 https://onion.debian.org/ 這邊可以看到,當你有安裝 apt-transport-tor 時,可以透過 Tor 更新: deb tor+http://vwakviie2ienjx6t.onion/debian jessie main deb tor+http://vwakviie2ienjx6t.onion/debian jessie-updates main deb tor+http://sgvtcaew4bxjd7ln.onion/debian-security jessie/updates main Tor Hidden … Continue reading

Posted in Cloud, Computer, Linux, Murmuring, Network, OS, P2P, Security | Tagged , , , , , , , , | Leave a comment

GitHub 對抗 TCP SYN Flood 的方式:synsanity

GitHub 提出了自己對抗 TCP SYN Floord 的方式:「SYN Flood Mitigation with synsanity」。 synsanity 是一個 netfilter (iptables) 用的 target,利用現有的理論阻擋 TCP SYN Flood 這種 DDoS: synsanity is a netfilter (iptables) target for high performance lockless SYN cookies for SYN flood mitigation, as used in … Continue reading

Posted in Computer, Linux, Murmuring, Network, OS, Security, Software | Tagged , , , , , , , , , , , | 1 Comment

BitKeeper 的 Open Source 行為

在 LWN 上看到這個消息:「BitKeeper's open source release」,BitKeeper 網站上也已經看到 open source 的消息了。 從 2005 年跟 Linux 分家後,走了十年走到這條路... 在「This is to answer this question and all the "too late" comments.」這邊看到是這樣做出來的決定,看起來沒救了: Git/Github has all the market share. Trying to compete with that just proved … Continue reading

Posted in Computer, Linux, Murmuring, Network, OS, Programming, Software | Tagged , , , | Leave a comment