Google Chrome Release 70.0.3538.67 , For Linux,Windows, & MAC

心得:

雖然給了是否連動登入一個選項…

但我還是覺得應該直接取消比較好就是

明確讓使用者知道登入哪一個服務或許會是比較好的方式

版本號:
70.0.3538.67

更新項目:

  • 新增選項:可關閉 chrome 以及 google 網頁服務的連動登入
  • 可透過指紋進行驗證 (Android、MacOS)
  • 支援 Desktop Progressive Web Apps (Windows)
  • 23個安全性修復

參考資料:

https://chromereleases.googleblog.com/2018/10/stable-channel-update-for-desktop.html

https://developers.google.com/web/updates/2018/10/nic70

Google Chrome 官方下載點

廣告

CentOS 7 – 設定 Fail2Ban – 防止暴力破解工具

心得:

此工具的原理方式,是透過分析各服務項目的 Log 後

如有符合觸發條件則進行封鎖該來源,因為是透過分析 Log 的方式

因此在有自訂服務 Log 位置的時候也需要在 jail 設定檔中進行修改

避免過慮條件失效的問題產生

版本:

Fail2Ban v0.9.7

安裝:

安裝 epel 套件庫後,再進行安裝 fail2ban

# yum install epel-release
# yum install fail2ban

啟動 fail2ban

# systemctl start fail2ban

設定開機啟動 fail2ban

# systemctl enable fail2ban

設定:

fail2ban 設定檔位置

# vim /etc/fail2ban/fail2ban.conf

jail 設定檔位置

# vim /etc/fail2ban/jail.conf

[DEFAULT] 參數說明:

# IP 列表白名單
ignoreip = 127.0.0.1/8

# 指令白名單 (預設為空)
ignorecommand =

# 符合觸發條件後鎖定一段時間,使用"-1"為永久封鎖。(單位:秒)
bantime = 600

# 多久時間內,符合"maxretry"則進行封鎖。(單位:秒)
findtime = 600

# 多少失敗次數後進行封鎖
maxretry = 5

# 收件者 mail
destemail = mailaddr

以上設定值為全域使用,但也可單獨設定於各項[service]之中

方便符合各項 service 安全條件需要的不同

一開始提供的 service jail policy 相當多

可以直接拿需要的部份來直接使用

在[service]中,需要加入以下紅字部份才會正式啟用,以[sshd]為例

[sshd]

# To use more aggressive sshd filter (inclusive sshd-ddos failregex):
#filter = sshd-aggressive
enabled = true
port = ssh
logpath = %(sshd_log)s
backend = %(sshd_backend)s

查詢是否正式啟用:

# fail2ban-client status
Status
|- Number of jail: 1
`- Jail list: sshd

封鎖生效時,如下:

Status for the jail: sshd
|- Filter
|  |- Currently failed:	0
|  |- Total failed:	31
|  `- Journal matches:	_SYSTEMD_UNIT=sshd.service + _COMM=sshd
`- Actions
   |- Currently banned:	1
   |- Total banned:	3
   `- Banned IP list:	192.168.1.100

手動解除方式:

# fail2ban-client set jail unbanip ip

在 sshd 解除 192.168.1.100 的限制:

# fail2ban-client set sshd unbanip 192.168.1.100

Vivaldi Browser Release 2.0.1309.37 , For Linux,Windows, & MAC

版本號:

2.0.1309.37

官方下載:
https://vivaldi.com/download/

官方改版訊息:

Minor update for Vivaldi 2.0

重點項目:

  • 更新翻譯

Full Changelog from 2.0.1309.29 to 2.0.1309.37 :

  • [Regression] “mouseup” event not firing for right mouse button (VB-4350)
  • [Regression] Moving a tab with stacked tiles to an existing second window triggers crash (VB-43831)
  • [Regression] Crash when deleting bookmarks from the panel (VB-42284)
  • [Regression] Google sign-in cookies are being set in Vivaldi and cannot be cleared (VB-44108)
  • [Regression] [Mac] Minor visual glitches with the .dmg
  • [Mac] Interface text hard to read after upgrade to 10.14 Mojave (VB-43839)
  • Updated translations

CentOS 7 – lsync 簡介 – 自動同步目錄工具

心得:

這個同步方式與使用 shell script 配合 crontab 的作法不太相同

shell script + crontab 比較屬於定期定時執行使用,lsync則可以使用在不定時的作業上

例如多個網站資料需要即時同步,選擇lsync比較來使用就會比較適合

但如果是 log 的第二次備份,考量資源下,則可以在固定的時間一次進行就好

這時候使用 shell script + crontab 就會比較理想

安裝:

可以直接下載原始碼自己編譯安裝,或是透過yum工具新增epel後安裝

先安裝epel套件庫,再進行安裝

# yum install epel-release
# yum install lsync

設定檔位置

# vim /etc/lsyncd.conf

啟動

# systemctl start lsyncd

開機啟動

# systemctl enable lsyncd

參數說明:

setting 參數
logfile:lsync的log存放位置
statusFile:lsync監控位置的狀態紀錄
statusInterval:將lsync監控的狀態寫入log時間設定
inotifyMode:
指定監控的方式,有"CloseWrite"、"Modify"、"CloseWrite or Modify"
maxProcesses:同步時的最大執行數量
maxDelays:異動累計一定數字後,才進行同步
nodaemon:守護模式
rsync 參數
default.rsync:
指定lsync執行模式。其他還有"default.direct"、"default.rsyncssh"
source:來源資料夾
target:目的資料夾
delay:同步間隔時間
delete:刪除舊資料,保持兩邊資料完全相同
exclude:排除特定檔案、目錄或副檔名
binary:執行檔路徑
archive:歸檔模式同步 (預設:false)
compress:壓縮模式 (預設:false)
verbose:詳細過程 (預設:false)
perms:保留檔案原始屬性 (預設:false)
bwlimit:限定頻寬

設定檔範例:

settings {
logfile = "/var/log/lsyncd/lsyncd.log",
statusFile = "/var/log/lsyncd/lsyncd-status.log",
statusInterval = 1,
inotifyMode = "CloseWrite",
maxProcesses = 4
-- nodaemon =true
}

sync {
default.rsync,
source = "/var/log/httpd",
target = "/tmp/httpd",
delay = 0,
delete,
exclude = { '.bak' , '.key' } ,
rsync = {
binary = "/usr/bin/rsync",
-- archive = true,
-- compress = true,
-- verbose = true,
perms,
bwlimit = 2000
}
}

 

Vivaldi Browser Release 2.0.1309.29 , For Linux,Windows, & MAC

心得:

兩次更新的時候有點漫長,應該是為了同步功能的加入

同步功能在現今下,確實非常重要

之前因為沒有同步,暫時不能換掉Google Chrome

希望這次能讓 Vivaldi Browser 變成主要使用的瀏覽器

不然近期 Chrome 的一些作法實在有點….

尤其 Google 取消 Inbox 的服務,雖然 Google 勇於嘗試

但停掉相關服務也絕不手軟,這也算是 SaaS 一種缺點

版本號:

2.0.1309.29

官方下載:
https://vivaldi.com/download/

官方改版訊息:

Vivaldi 2.0 – Your browser matters

重點項目:

  • 完成同步書籤與設定
  • 支援浮動式面板
  • 可設定分頁最小寬度
  • 切換分頁可使用列表清單瀏覽
  • 增加新的快捷鍵 ( Windows/Linux = “Ctrl+Shift+PgUp/PgDn”; macOS = “⌘+⇧+↑/↓”)
  • 歷史紀錄開啟於新分頁

Full Changelog from 1.15 to 2.0 :

New features

  • [New feature] Implement Syncing of Bookmarks, settings, etc. VB-27
  • [New feature] Add options to support for floating/overlay panels VB-18296
  • [New feature] Make tiled tabs resizable VB-5064
  • [New feature] List layout for Visual tab cycler VB-19167
  • [New feature] Add predefined shortcuts for moving tabs left and right: Windows/Linux = “Ctrl+Shift+PgUp/PgDn”; macOS = “⌘+⇧+↑/↓” VB-41415
  • [New feature] Tile new tabs in a tab stack VB-40851
  • [New feature] Holding Command/Control opens new tab on history buttons VB-42075
  • [New feature] Web panel suggestions with faviconsVB-42007
  • [New feature] More Speed dial suggestions by using favicons VB-42244
  • [New feature] New 2.0 Welcome Page VB-39395
  • [New feature] Updated Default Themes for 2.0: Added “Vivaldi” as our new default theme, replaced “Redmond” with “Beach” VB-23107
  • [New feature] Minimum active tab width setting VB-42587

Fixes

Platform

  • [Windows] Closing and re-opening developer tools causes crash on Windows 7VB-40650
  • [Windows] Update Installer for 2.0 VB-40256
  • [Windows] Win 8/10 have a feature that allows desktop apps to customise their start menu tiles, make it work in Vivaldi VB-31931
  • [Mac][Gestures] Double tap with two fingers to zoom webpage content VB-7816
  • [Mac][Media] Treat Mono AAC as Stereo to allow it to work VB-41624
  • [Mac][UI] Can’t read information about SSL certificate if address bar is placed at the bottom VB-11729
  • [Mac] Change occupied F11 shortcuts to F10 VB-38180
  • [Mac] Graphite window controls more graphite VB-38243
  • [Mac] Keychain entry has wrong name VB-9640
  • [Mac] Tab Stacking settings checkbox remains ticked VB-39173

Address bar

  • [Address] Localize file size units in address bar VB-26818

Bookmarks

  • [Bookmarks] Bookmarks can be non-reversibly converted to separators VB-40463
  • [Bookmarks] Importing bookmarks from Edge does not work VB-25227
  • [Bookmarks] Saving tabstack with a name as bookmarks doesn’t carry over the name VB-39426

Developer tools

  • [Dev Tools] Allow for local devtools overrides and other confirm infobars to be proxied to the web side VB-37858
  • [Dev Tools] Single key shortcuts triggered when editing in docked devtools VB-42118

Downloads

  • [Download] Download progress bar round corners VB-18569
  • [Download] Panel not updating in another window VB-35892
  • [Download] Panel slows down Vivaldi during startup VB-40417
  • [Download] Unable to cancel dialog from keyboard VB-16552

Extensions

  • [Extensions] Button “options” menu entry missing for options page VB-27546
  • [Extensions] Options pages don’t have favicons in tabs VB-9447
  • [Extensions] Keyboard shortcuts don’t work VB-14668
  • [Extensions] Wrong icon size used for for browser action icon VB-39808

History

  • [History] History Manager “Hide info” tooltip VB-37537

IME

  • [IME][Address Field] Esc key should close input suggestion list only VB-40830
  • [IME][Quick Commands] Esc key should close input suggestion list only VB-37561
  • [IME][Search Field] Esc key should close input suggestion list only VB-40829

Mouse & Keyboard

  • [Keyboard] Add keyboard shortcut handlers to move active tab Left/Right VB-24572
  • [Keyboard] Esc should close chrome extension VB-39686
  • [Keyboard] There are some non-reassignable shortcuts VB-39886
  • [Keyboard] Allow disabling or reassiging the keyboard shortcut (Alt) that opens the Vivaldi menu VB-12686
  • [Keyboard] It should not be possible to assign same shortcut to two commands VB-40916
  • [Keyboard] Holding (instead of pressing) F1 opens multiple (infinte) “Help-Tabs” VB-29053
  • [Mouse Gestures] Open next to original tab does not work with mouse gesture VB-12671

Notes

  • [Notes] Copy to Note strips line breaks VB-9278
  • [Notes] Empty after search and adding note VB-39913
  • [Notes] Select note in markdown mode VB-39360
  • [Notes] Separators are still visible in sorted view VB-39745

Quick Commands

  • [Quick Commands] Search does not work if there is a space at the beginning of the line VB-40199

Search

  • [Search] Add search engine dialog shouldn’t show suggest url VB-21970
  • [Search] Default search engine in new window VB-38657
  • [Search] Ensure search engine protocol VB-37970
  • [Search] Search URL with certain characters crashes settings VB-28117
  • [Search] Search field history now cleared when Session Only setting in Save Browsing History is selected VB-34960
  • [Search] Setup only replaces first “%s” VB-19865

Settings

  • [Settings] Hardware acceleration missing in Vivaldi settings VB-11517
  • [Settings] Privacy settings needs a link to privacy page VB-39542

Speed Dial

  • [Speed Dial] Crash upon remove/adding folder VB-35180
  • [Speed Dial] Fade Speed Dial navigation button text VB-14171
  • [Speed Dial] Suggestion scroll bar missing VB-40871
  • [Speed Dial] Use Foreground instead of accent foreground color on folders VB-40481

Tabs

  • [Tab cycler] Cycling in recently used order breaks without the tab cycler enabled VB-42002
  • [Tabs] Add tab to stack gives “random” order VB-5585
  • [Tabs] Bring favicon background back to accented tabs VB-20328
  • [Tabs] Hovering tab close button causes flicker VB-42769
  • [Tabs] Inactive tiled start page does not render VB-42322
  • [Tabs] Menu icon cut off in native view VB-39656
  • [Tabs] Multiple settings tabs VB-9762
  • [Tabs] Prevent tabs from receiving accent color, with window image on VB-42833
  • [Tabs] Right mouse button + wheel tab cycler stuck after mouse move VB-41399
  • [Tabs] Tab order in stacks is broken VB-39604
  • [Tabs] Unread indicator overflows to other side of tab VB-43042
  • [Pinned Tabs] Pinned tab loses pin status when opened as new window VB-39512

Themes

  • [Themes] Checkboxes in Settings Look Like Radio Buttons if Corner Rounding is High VB-40243
  • [Themes] Remove rounding of Vivaldi menu button hit area VB-24422
  • [Themes] Select colors button improvements VB-42349
  • [Themes] The background of the Menu bar does not match with the Tab bar background VB-37886
  • [Themes] Close button on infobar hardly visible with dark theme VB-40907
  • [Themes] Icons remain black in dark theme VB-42215
  • [Themes] Text on infobar hardly readable with dark theme VB-40395
  • [Themes] Inverted favicons in dark themes VB-39657
  • [Themes] Pinned tab audio icon grey instead of black in dark themesVB-40587

User interface

  • [UI] Add “ – Vivaldi” to the window title VB-5401
  • [UI] Capture button icon not vertically centered VB-40407
  • [UI] Enabling UI after exiting video fullscreen VB-40590
  • [UI] Menu can’t be accessed when “Alt Key for Main Menu” is disabled VB-40899
  • [UI] New tab input field locked with about:blank VB-35016
  • [UI] Bottom part of menu bar in native window is invisible when tab bar is not on top VB-39656
  • [UI] Change strings “ALT” → “Alt” VB-40589
  • [UI] Clarify that deleting storage might also delete extension data VB-41620
  • [UI] Infobar reappears on tab switching VB-41060
  • [UI] Page Action “Filter Invert” fails VB-10695
  • [UI] Scroll bars resilient to corner rounding and more at home on Windows VB-41576
  • [UI] Status info overlay stays open until you click the page VB-11943
  • [UI] Text height is different between address field and search field VB-39967
  • [UI] Wrong font for Traditional Chinese in the bookmarks bar and settings page VB-42064
  • [UI] Add en-GB locale VB-34706

Web Panel

  • [Web Panel] Update the mobile user agent VB-40752

Other fixes

  • Links from Google Hangouts open in Hangouts pseudo-tab, not in main window tab VB-37469
  • Reload image context menu item does not work VB-43408
  • Save Capture to File from Menu Always saves as PNG VB-34841
  • Simulate browser restart is broken VB-34851
  • UA spoof meet.google.com VB-39784
  • Update CSS filters to not invert videos VB-38170
  • When the UI process crashes, restart the application VB-40388
  • Wrong window focus after opening URL from other application VB-21856
  • Upgraded to Chromium 69.0.3497.102

Firefox Release 62.0.2 , For Linux,Windows, & MAC

版本號:
62.0.2

官方下載:
https://www.mozilla.org/zh-TW/firefox/all/

異動項目:

修正

  • 未訪問過的書籤可由網址欄新增
  • 修正 WebGL 渲染問題
  • 更新語言壓縮檔,避免影響瀏覽器正常運作
  • 修復遺失安裝語言壓縮檔時的開始頁問題
  • 個人設定檔更新導致重新啟動瀏覽器 (Windows)
  • 重新啟動,恢復原有位置與大小 (Windows)
  • 與更新的 Firefox (尚未發佈) 設定檔相容性
  • 使用語言包時,無法刪除或恢復搜尋引擎
  • 修正一些網站的渲染問題
  • 使用已棄用的 TLS 協定,維持一些網站的正常性
  • 修復 MacOS 的多螢幕共享問題

安全性更新

資料來源:

https://www.mozilla.org/en-US/firefox/62.0.2/releasenotes/