小编Chr*_*son的帖子

Will mailing lists "break" if SPF is too restrictive?

I have recently configured my own mail server (Linux-based postfix + dovecot scenario). This is just for personal use - I have no bulk mail going out, no automatically generated mail outbound from the host, nothing like that. I've gone through the trouble to configure all the additional fun-to-debug email DNS records:

@                 IN  TXT  v=spf1 +mx -all
_domainkey        IN  TXT  o=-; r=dkim@example.com
mail._domainkey   IN  TXT  v=DKIM1; h=sha256; k=rsa; s=email; p=deadbeef
_adsp._domainkey  IN  TXT  dkim=all
_dmarc            IN  TXT  adkim=s; aspf=s; …
Run Code Online (Sandbox Code Playgroud)

security email smtp spf dkim

8
推荐指数
2
解决办法
1827
查看次数

怎样称呼不会改变的 ZFS vdev?

由于 PPA ,我有一个支持 ZFS 的 Ubuntu (13.04) 桌面zfs-native/stable

一切都运行得很好。我创建了一个inground使用以下命令调用的 RAID-Z1 池:

zpool create inground raidz1 sdb sdc sdd sde sdf
Run Code Online (Sandbox Code Playgroud)

后来,在无法访问我创建的挂载点后,zpool status当我看到池中的1unavailable和 2 个corruptvdev时,我跑起来差点从椅子上掉下来。深呼吸几次后,我注意到当我最近重新启动系统时,我的塔的前端口之一中有一个美元拇指驱动器。这导致所有/dev/sd*映射都发生了变化,一切都有意义了。我移除了 USB 驱动器,重新启动,一切都很好。

我的问题是,我将来如何防止这种情况发生?在将物理驱动器作为 vdev 添加到 zpool 时,是否可以使用不同的规范标识符来引用它们?

ubuntu zfs

7
推荐指数
2
解决办法
1795
查看次数

如何调试偶发的出站连接超时?

我在通过 SSH 连接到远程主机时遇到问题。我已将问题范围缩小到本地主机,因为其他客户端每次都会进行名义(快速且稳定)的连接。

尝试通过 SSH 连接到remotehost.example.netfromlocalhost将超时,但大约十分之一的尝试会超时(它挂在此处,然后超时):

515 chris@localhost ~ $ ssh -vvv remotehost-root
OpenSSH_6.4, OpenSSL 1.0.1e 11 Feb 2013
debug1: Reading configuration data /home/chris/.ssh/config
debug1: /home/chris/.ssh/config line 43: Applying options for remotehost-root
debug1: Reading configuration data /etc/ssh/ssh_config
debug2: ssh_connect: needpriv 0
debug1: Connecting to remotehost.example.net [123.123.123.123] port 12345.
^C
Run Code Online (Sandbox Code Playgroud)

localhost是一个最新的 Arch 系统:

517 chris@localhost ~ $ uname -a
Linux localhost 3.12.1-1-ARCH #1 SMP PREEMPT Thu Nov 21 08:18:42 CET 2013 x86_64 GNU/Linux
Run Code Online (Sandbox Code Playgroud)

我使用 …

ssh timeout

5
推荐指数
1
解决办法
9193
查看次数

如何使用 Puppet ENC 定义多个 /etc/hosts 条目?

我正在为我的 Puppet 基础设施编写一个外部节点分类器,我需要/etc/hosts在每个节点上操作文件。以下(由于重复键)是无效的 YAML:

---
  host:
    name: www1.example.com
    host_aliases: www1
    ip: 1.2.3.4
  host:
    name: www2.example.com
    host_aliases: www2
    ip: 1.2.3.5
Run Code Online (Sandbox Code Playgroud)

我看到了这个相关的答案,它有以下代码:

host {
  # Public IPs - eth0
  'front-01': ip => '192.168.1.103';
  'front-02': ip => '192.168.1.106';

  # Private IPs - eth1
  'priv0-0': ip => '192.169.40.201';
  'priv0-1': ip => '192.169.40.202';
  'priv1-0': ip => '192.169.40.207';
  'priv1-1': ip => '192.169.40.208';

  # Virtual IPs - eth0:1
  'vip-01': ip => '192.169.50.202';
  'vip-02': ip => '192.169.50.205';
}
Run Code Online (Sandbox Code Playgroud)

然而,

  1. 对我来说,这里实际发生的事情并不是很明显。
  2. 我在任何地方都找不到这方面的文档。
  3. Because these (don't …

hosts puppet yaml

3
推荐指数
1
解决办法
5230
查看次数

标签 统计

dkim ×1

email ×1

hosts ×1

puppet ×1

security ×1

smtp ×1

spf ×1

ssh ×1

timeout ×1

ubuntu ×1

yaml ×1

zfs ×1