Firefox始终在新标签页打开书签

This is not a question, but simply how to resolve this issue. There are many people who appear to have this issue, yet it remains unresolved in many of the threads/posts (especially those that appear on search). Many have utilized add-ons to address this, but many of these proposed solutions aren’t compatible with the current versions of Firefox.

Solution: 1. Bring up Firefox’s Advanced settings/config page by typing the following into your url bar: about:config 2. Search ‘bookmarks’ (or ‘browser.tabs.loadBookmarksInTabs’ if you only want the exact preference name) 3. Locate ‘browser.tabs.loadBookmarksInTabs’ and double click it to change the value from false to true.

Btw, Mozilla.. your workflow makes it rather difficult to create a support account (I understand you don’t want everyone and anyone to just create accounts, but if your TSEs aren’t answering questions, it’d be nice if you allowed others within the community to help). Also, purely just a suggestion, but your nomenclature/terminology on the Support page would be nice if it also referenced ‘Mozilla Support account’ rather than ‘Mozilla account,’ emphasizing that the user does not have an associated Support account, unless created.

Cheers!

Edit: formatting did not come out as presented/expected.

Solution: 1. Bring up Firefox’s Advanced settings/config page by typing the following into your url bar: about:config

2. Search ‘bookmarks’ (or ‘browser.tabs.loadBookmarksInTabs’ if you only want the exact preference name)

3. Locate ‘browser.tabs.loadBookmarksInTabs’ and double click it to change the value from false to true.

原文链接:https://support.mozilla.org/en-US/questions/1207970

解决Citrix ADC与MS Exchange 2019因SSL Renegotiation产生的问题

……

Custom Cipher Group

NetScaler 12.0 build 59 and newer have TLS 1.2 ciphers in the DEFAULT_BACKEND cipher group. Prior builds of NetScaler 12.0 do not include these ciphers.

References:

To get an A+ at SSL Labs, create a custom secure cipher group:

  1. Enable SSL Secure Renegotiation.
    1. On the left, go to Traffic Management > SSL.
    2. On the right, in the right column, click Change advanced SSL settings.
    3. Find Deny SSL Renegotiation, and set the drop-down to NONSECURE.
    4. Scroll down and click OK.

SSL Virtual Servers – NetScaler 12.0 / Citrix ADC 12.1 – Carl Stalhood

set ssl parameter -denySSLReneg NONSECURE

……

原文链接:https://www.carlstalhood.com/ssl-virtual-servers-netscaler-12/#ciphergroup

ESXI上的iPerf

The other day I was looking to get a baseline of the built-in ethernet adapter of my recently upgraded vSphere home lab running on the Intel NUC. I decided to use iPerf for my testing which is a commonly used command-line tool to help measure network performance. I also found a couple of articles from well known VMware community members: Erik Bussink and Raphael Schitz on this topic as well which were quite helpful. Erik’s article here outlines how to run the iPerf Client/Server using a pair of Virtual Machines running on top of two ESXi hosts. Although the overhead of the VMs should be negligible, I was looking for a way to benchmark the ESXi hosts directly. Raphael’s article here looked promising as he found a way to create a custom iPerf VIB which can run directly on ESXi.

I was about to download the custom VIB and I had just remembered that the VSAN Health Check plugin in the vSphere Web Client also provides some proactive network performance tests to be run on your environment. I was curious on what tool was being leveraged for this capability and in doing a quick search on the ESXi filesystem, I found that it was actually iPerf. The iPerf binary is located in /usr/lib/vmware/vsan/bin/iperf and looks to have been bundled as part of ESXi starting with the vSphere 6.0 release from what I can tell.

UPDATE (10/02/18) – It looks like iPerf3 is now back in both ESXi 6.5 Update 2 as well as the upcoming ESXi 6.7 Update 1 release. You can find the iPerf binary under /usr/lib/vmware/vsan/bin/iperf3

One interesting thing that I found when trying to run iPerf in “server” mode is that you would always get the following error:

bind failed: Operation not permitted

The only way I found to fix this issue was to basically copy the iPerf binary to another file like iperf3.copy which it would then allow me to start iPerf in “server” mode. You can do so by running the following command on the ESXi Shell:

cp /usr/lib/vmware/vsan/bin/iperf3 /usr/lib/vmware/vsan/bin/iperf3.copy

Running iPerf in “Client” mode works as expected and the copy is only needed when running in “server” mode. To perform the test, I used both my Apple Mac Mini and the Intel NUC which had ESXi running with no VMs.

I ran the iPerf “Server” on the Intel NUC by running the following command:

/usr/lib/vmware/vsan/bin/iperf3.copy -s -B [IPERF-SERVER-IP]

Note: If you have multiple network interfaces, you can specify which interface to use with the -B option and passing the IP Address of that interface.

I ran the iPerf “Client” on the Mac Mini by running the following command and specifying the address of the iPerf “Server”:

/usr/lib/vmware/vsan/bin/iperf3 -n 800M -c [IPERF-SERVER]

I also disabled the ESXi firewall before running the test, which you can do by running the following command:

esxcli network firewall set --enabled false

Here is a screenshot of my iPerf test running between my Mac Mini and Intel NUC. Hopefully this will come in handy for anyone needing to run some basic network performance tests between two ESXi hosts without having to setup additional VMs.

原文链接:https://williamlam.com/2016/03/quick-tip-iperf-now-available-on-esxi.html

samba usershare功能不工作

Question:

I try to share drives on my network with samba. I’ve used Nemo to create two test shares, one is a USB drive, the other a directory in my home directory.

I can see the shares with net usershare:

$ net usershare info -l
[temp]
path=/home/mike/temp
comment=
usershare_acl=Everyone:R,Unix User\mike:F,
guest_ok=y

[UsbShared]
path=/media/mike/UsbShared
comment=
usershare_acl=Everyone:F,
guest_ok=y

I can see my Linux SMB server e.g. from my Windows 10 host (with the help of the WSDD daemon from here). But the shares above are not there. I only see my printer. I’ve also checked with smbclient on my Linux host. The shares are not listed:

$ smbclient -L 127.0.0.1
Enter WORKGROUP\mike's password: 

        Sharename       Type      Comment
        ---------       ----      -------
        print$          Disk      Printer Drivers
        IPC$            IPC       IPC Service (Nilar server (Samba, Ubuntu))
        DCPJ562DW       Printer   DCPJ562DW
        Brother_DCP_J562DW Printer   Brother DCP-J562DW
SMB1 disabled -- no workgroup available

Restarting smbd doesn’t help. I think my smb.conf is still default. The usershare config there is:

# Maximum number of usershare. 0 means that usershare is disabled.
#   usershare max shares = 100

# Allow users who've been granted usershare privileges to create
# public shares, not just authenticated ones
   usershare allow guests = yes

Also the required samba packages are there I think:

# dpkg -l | grep samb
ii  python3-samba                              2:4.11.6+dfsg-0ubuntu1.6            amd64        Python 3 bindings for Samba
ii  samba                                      2:4.11.6+dfsg-0ubuntu1.6            amd64        SMB/CIFS file, print, and login server for Unix
ii  samba-common                               2:4.11.6+dfsg-0ubuntu1.6            all          common files used by both the Samba server and client
ii  samba-common-bin                           2:4.11.6+dfsg-0ubuntu1.6            amd64        Samba common files used by both the server and the client
ii  samba-dsdb-modules:amd64                   2:4.11.6+dfsg-0ubuntu1.6            amd64        Samba Directory Services Database
ii  samba-libs:amd64                           2:4.11.6+dfsg-0ubuntu1.6            amd64        Samba core libraries
ii  samba-vfs-modules:amd64                    2:4.11.6+dfsg-0ubuntu1.6            amd64        Samba Virtual FileSystem plugins

Answer:

I managed to break usershares. See if this situation applies:

THe permissions on /var/lib/samba/usershares has a specific setting. If you were to set the usershares folder to 0777:

sudo chmod 0777 /var/lib/samba/usershares

It will disable usershares. You will no longer see usershares from smbclient or anywhere else.

If you did that set usershares back to where it was in the beginning:

sudo chmod 1770 /var/lib/samba/usershares 

原文链接:https://forums.linuxmint.com/viewtopic.php?t=346059

zfs share报错smb add share failed

Question:

I have a rather simple NAS setup that was converted recently to ZFS.
For windows sharing I still have the samba installed but I see that I can also have zfs directly publish SMB or CIFS devices. I consulted the oracle docs in http://docs.oracle.com/cd/E19253-01/819 … index.html and the arch wiki.

When on

$ sudo zfs list
NAME           USED  AVAIL  REFER  MOUNTPOINT
zdata         1.48T  1.19T  41.9K  /mnt/zdata
zdata/backup   177G   323G   177G  /srv/backup
zdata/media   1.25T   216G  1.25T  /srv/media
zdata/sw      50.5G  49.5G  50.5G  /srv/software

I try

$ sudo zfs set sharesmb=on zdata/media

I get following error

cannot share 'zdata/media': smb add share failed

I looked in dmesg but couln’t find anything specific to this, nor in journalctl

What could be the cause of this

Answer:

I don’t mean to necro bump this thread, but it turns up as first result on the big G, and beeing marked as solved it deserves an actual solution.

Configure /etc/samba/smb.conf

[global]
...
   usershare path = /var/lib/samba/usershares
   usershare max shares = 100
   usershare allow guests = yes
   usershare owner only = no

Create that usershare directory and set proper permissions on it. As root:

mkdir /var/lib/samba/usershares
chmod +t /var/lib/samba/usershares

Create users using smbpasswd, restart smbd. Works.

原文地址:https://bbs.archlinux.org/viewtopic.php?id=185884