From eaf4b2444bbff4896171b0e4dbdef671d9435a52 Mon Sep 17 00:00:00 2001 From: XIAOYU <1136299502@qq.com> Date: Sat, 15 Aug 2015 09:58:49 +0800 Subject: [PATCH 1/5] translated translated --- ...urce RSS News Ticker for Linux Desktops.md | 93 +++++++++---------- 1 file changed, 46 insertions(+), 47 deletions(-) diff --git a/sources/share/20150610 Tickr Is An Open-Source RSS News Ticker for Linux Desktops.md b/sources/share/20150610 Tickr Is An Open-Source RSS News Ticker for Linux Desktops.md index ccbbd3abd8..d7bb0e425b 100644 --- a/sources/share/20150610 Tickr Is An Open-Source RSS News Ticker for Linux Desktops.md +++ b/sources/share/20150610 Tickr Is An Open-Source RSS News Ticker for Linux Desktops.md @@ -1,94 +1,93 @@ -translating by xiaoyu33 - -Tickr Is An Open-Source RSS News Ticker for Linux Desktops +Trickr:一个开源的Linux桌面RSS新闻速递 ================================================================================ ![](http://www.omgubuntu.co.uk/wp-content/uploads/2015/05/rss-tickr.jpg) -**Latest! Latest! Read all about it!** +**最新的!最新的!阅读关于它的一切!** -Alright, so the app we’re highlighting today isn’t quite the binary version of an old newspaper seller — but it is a great way to have the latest news brought to you, on your desktop. +好了,所以我们今天要强调的应用程序不是相当于旧报纸的二进制版本—而是它会以一个伟大的方式,将最新的新闻推送到你的桌面上。 -Tick is a GTK-based news ticker for the Linux desktop that scrolls the latest headlines and article titles from your favourite RSS feeds in horizontal strip that you can place anywhere on your desktop. +Tick是一个基于GTK的Linux桌面新闻速递,能够在水平带滚动显示最新头条新闻,以及你最爱的RSS资讯文章标题,当然你可以放置在你桌面的任何地方。 -Call me Joey Calamezzo; I put mine on the bottom TV news station style. +请叫我Joey Calamezzo;我把我的放在底部,有电视新闻台的风格。 -“Over to you, sub-heading.” +“到你了,子标题” -### RSS — Remember That? ### +### RSS -还记得吗? ### -“Thanks paragraph ending.” +“谢谢段落结尾。” -In an era of push notifications, social media, and clickbait, cajoling us into reading the latest mind-blowing, humanity saving listicle ASAP, RSS can seem a bit old hat. +在一个推送通知,社交媒体,以及点击诱饵的时代,哄骗我们阅读最新的令人惊奇的,人人都爱读的清单,RSS看起来有一点过时了。 -For me? Well, RSS lives up to its name of Really Simple Syndication. It’s the easiest, most manageable way to have news come to me. I can manage and read stuff when I want; there’s no urgency to view lest the tweet vanish into the stream or the push notification vanish. +对我来说?恩,RSS是名副其实的真正简单的聚合。这是将消息通知给我的最简单,最易于管理的方式。我可以在我愿意的时候,管理和阅读一些东西;没必要匆忙的去看,以防这条微博消失在信息流中,或者推送通知消失。 -The beauty of Tickr is in its utility. You can have a constant stream of news trundling along the bottom of your screen, which you can passively glance at from time to time. +tickr的美在于它的实用性。你可以不断地有新闻滚动在屏幕的底部,然后不时地瞥一眼。 ![](http://www.omgubuntu.co.uk/wp-content/uploads/2015/05/tickr-close-up-750x58.jpg) -There’s no pressure to ‘read’ or ‘mark all read’ or any of that. When you see something you want to read you just click it to open it in a web browser. +你不会有“阅读”或“标记所有为已读”的压力。当你看到一些你想读的东西,你只需点击它,将它在Web浏览器中打开。 -### Setting it Up ### +### 开始设置 ### ![](http://www.omgubuntu.co.uk/wp-content/uploads/2015/05/tickr-rss-settings.jpg) -Although Tickr is available to install from the Ubuntu Software Centre it hasn’t been updated for a long time. Nowhere is this sense of abandonment more keenly felt than when opening the unwieldy and unintuitive configuration panel. +尽管虽然tickr可以从Ubuntu软件中心安装,然而它已经很久没有更新了。当你打开笨拙的不直观的控制面板的时候,没有什么能够比这更让人感觉被遗弃的了。 -To open it: +打开它: -1. Right click on the Tickr bar -1. Go to Edit > Preferences -1. Adjust the various settings +1. 右键单击tickr条 +1. 转至编辑>首选项 +1. 调整各种设置 -Row after row of options and settings, few of which seem to make sense at first. But poke and prod around and you’ll controls for pretty much everything, including: +选项和设置行的后面,有些似乎是容易理解的。但是知己知彼你能够几乎掌控一切,包括: -- Set scrolling speed -- Choose behaviour when mousing over -- Feed update frequency -- Font, including font sizes and color -- Separator character (‘delineator’) -- Position of Tickr on screen -- Color and opacity of Tickr bar -- Choose how many articles each feed displays +- 设置滚动速度 +- 选择鼠标经过时的行为 +- 资讯更新频率 +- 字体,包括字体大小和颜色 +- 分隔符(“delineator”) +- tickr在屏幕上的位置 +- tickr条的颜色和不透明度 +- 选择每种资讯显示多少文章 -One ‘quirk’ worth mentioning is that pressing the ‘Apply’ only updates the on-screen Tickr to preview changes. For changes to take effect when you exit the Preferences window you need to click ‘OK’. +有个值得一提的“怪癖”是,当你点击“应用”按钮,只会更新tickr的屏幕预览。当您退出“首选项”窗口时,请单击“确定”。 -Getting the bar to sit flush on your display can also take a fair bit of tweaking, especially on Unity. +想要滚动条在你的显示屏上水平显示,也需要公平一点的调整,特别是统一显示。 -Press the “full width button” to have the app auto-detect your screen width. By default when placed at the top or bottom it leaves a 25px gap (the app was created back in the days of GNOME 2.x desktops). After hitting the top or bottom buttons just add an extra 25 pixels to the input box compensate for this. +按下“全宽按钮”,能够让应用程序自动检测你的屏幕宽度。默认情况下,当放置在顶部或底部时,会留下25像素的间距(应用程序被创建在过去的GNOME2.x桌面)。只需添加额外的25像素到输入框,来弥补这个问题。 -Other options available include: choose which browser articles open in; whether Tickr appears within a regular window frame; whether a clock is shown; and how often the app checks feed for articles. +其他可供选择的选项包括:选择文章在哪个浏览器打开;tickr是否以一个常规的窗口出现; +是否显示一个时钟;以及应用程序多久检查一次文章资讯。 -#### Adding Feeds #### +#### 添加资讯 #### -Tickr comes with a built-in list of over 30 different feeds, ranging from technology blogs to mainstream news services. +tickr自带的有超过30种不同的资讯列表,从技术博客到主流新闻服务。 ![](http://www.omgubuntu.co.uk/wp-content/uploads/2015/05/feed-picker-750x398.jpg) -You can select as many of these as you like to show headlines in the on screen ticker. If you want to add your own feeds you can: – +你可以选择很多你想在屏幕上显示的新闻提要。如果你想添加自己的资讯,你可以:— -1. Right click on the Tickr bar -1. Go to File > Open Feed -1. Enter Feed URL -1. Click ‘Add/Upd’ button -1. Click ‘OK (select)’ +1. 右键单击tickr条 +1. 转至文件>打开资讯 +1. 输入资讯网址 +1. 点击“添加/更新”按钮 +1. 单击“确定”(选择) -To set how many items from each feed shows in the ticker change the “Read N items max per feed” in the other preferences window. +如果想设置每个资讯在ticker中显示多少条文章,可以去另一个首选项窗口修改“每个资讯最大读取N条文章” -### Install Tickr in Ubuntu 14.04 LTS and Up ### +### 在Ubuntu 14.04 LTS或更高版本上安装Tickr ### -So that’s Tickr. It’s not going to change the world but it will keep you abreast of what’s happening in it. +在Ubuntu 14.04 LTS或更高版本上安装Tickr -To install it in Ubuntu 14.04 LTS or later head to the Ubuntu Software Centre but clicking the button below. +在Ubuntu 14.04 LTS或更高版本中安装,转到Ubuntu软件中心,但要点击下面的按钮。 -- [Click to install Tickr form the Ubuntu Software Center][1] +- [点击此处进入Ubuntu软件中心安装tickr][1] -------------------------------------------------------------------------------- via: http://www.omgubuntu.co.uk/2015/06/tickr-open-source-desktop-rss-news-ticker 作者:[Joey-Elijah Sneddon][a] -译者:[译者ID](https://github.com/译者ID) +译者:[xiaoyu33](https://github.com/xiaoyu33) 校对:[校对者ID](https://github.com/校对者ID) 本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](https://linux.cn/) 荣誉推出 From 6c69a46dc31c5ac42d88dee04c787b82d804d77b Mon Sep 17 00:00:00 2001 From: XIAOYU <1136299502@qq.com> Date: Sat, 15 Aug 2015 10:00:20 +0800 Subject: [PATCH 2/5] translated change the url --- ... Tickr Is An Open-Source RSS News Ticker for Linux Desktops.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {sources => translated}/share/20150610 Tickr Is An Open-Source RSS News Ticker for Linux Desktops.md (100%) diff --git a/sources/share/20150610 Tickr Is An Open-Source RSS News Ticker for Linux Desktops.md b/translated/share/20150610 Tickr Is An Open-Source RSS News Ticker for Linux Desktops.md similarity index 100% rename from sources/share/20150610 Tickr Is An Open-Source RSS News Ticker for Linux Desktops.md rename to translated/share/20150610 Tickr Is An Open-Source RSS News Ticker for Linux Desktops.md From 8de21554f0dd6220e53f6d3cee738a5a4c40a372 Mon Sep 17 00:00:00 2001 From: geekpi Date: Sat, 15 Aug 2015 10:39:03 +0800 Subject: [PATCH 3/5] translating --- ...20150811 How to Install Snort and Usage in Ubuntu 15.04.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sources/tech/20150811 How to Install Snort and Usage in Ubuntu 15.04.md b/sources/tech/20150811 How to Install Snort and Usage in Ubuntu 15.04.md index 7bf2438c95..96759a29e6 100644 --- a/sources/tech/20150811 How to Install Snort and Usage in Ubuntu 15.04.md +++ b/sources/tech/20150811 How to Install Snort and Usage in Ubuntu 15.04.md @@ -1,3 +1,5 @@ +translating----geekpi + How to Install Snort and Usage in Ubuntu 15.04 ================================================================================ Intrusion detection in a network is important for IT security. Intrusion Detection System used for the detection of illegal and malicious attempts in the network. Snort is well-known open source intrusion detection system. Web interface (Snorby) can be used for better analysis of alerts. Snort can be used as an intrusion prevention system with iptables/pf firewall. In this article, we will install and configure an open source IDS system snort. @@ -200,4 +202,4 @@ via: http://linoxide.com/security/install-snort-usage-ubuntu-15-04/ 本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](https://linux.cn/) 荣誉推出 [a]:http://linoxide.com/author/naveeda/ -[1]:https://www.snort.org/downloads/community/community-rules.tar.gz \ No newline at end of file +[1]:https://www.snort.org/downloads/community/community-rules.tar.gz From 1c9c7bcec0630789c0a7b3a8aeff64abfafddda2 Mon Sep 17 00:00:00 2001 From: geekpi Date: Sat, 15 Aug 2015 11:34:52 +0800 Subject: [PATCH 4/5] translating --- ...Install Snort and Usage in Ubuntu 15.04.md | 80 +++++++++---------- 1 file changed, 39 insertions(+), 41 deletions(-) diff --git a/sources/tech/20150811 How to Install Snort and Usage in Ubuntu 15.04.md b/sources/tech/20150811 How to Install Snort and Usage in Ubuntu 15.04.md index 96759a29e6..06fbfd62b8 100644 --- a/sources/tech/20150811 How to Install Snort and Usage in Ubuntu 15.04.md +++ b/sources/tech/20150811 How to Install Snort and Usage in Ubuntu 15.04.md @@ -1,56 +1,54 @@ -translating----geekpi - -How to Install Snort and Usage in Ubuntu 15.04 +在Ubuntu 15.04中如何安装和使用Snort ================================================================================ -Intrusion detection in a network is important for IT security. Intrusion Detection System used for the detection of illegal and malicious attempts in the network. Snort is well-known open source intrusion detection system. Web interface (Snorby) can be used for better analysis of alerts. Snort can be used as an intrusion prevention system with iptables/pf firewall. In this article, we will install and configure an open source IDS system snort. +对于IT安全而言入侵检测是一件非常重要的事。入侵检测系统用于检测网络中非法与恶意的请求。Snort是一款知名的开源入侵检测系统。Web界面(Snorby)可以用于更好地分析警告。Snort使用iptables/pf防火墙来作为入侵检测系统。本篇中,我们会安装并配置一个开源的IDS系统snort。 -### Snort Installation ### +### Snort 安装 ### -#### Prerequisite #### +#### 要求 #### -Data Acquisition library (DAQ) is used by the snort for abstract calls to packet capture libraries. It is available on snort website. Downloading process is shown in the following screenshot. +snort所使用的数据采集库(DAQ)用于抽象地调用采集库。这个在snort上就有。下载过程如下截图所示。 ![downloading_daq](http://blog.linoxide.com/wp-content/uploads/2015/07/downloading_daq.png) -Extract it and run ./configure, make and make install commands for DAQ installation. However, DAQ required other tools therefore ./configure script will generate following errors . +解压并运行./configure、make、make install来安装DAQ。然而,DAQ要求其他的工具,因此,./configure脚本会生成下面的错误。 -flex and bison error +flex和bison错误 ![flexandbison_error](http://blog.linoxide.com/wp-content/uploads/2015/07/flexandbison_error.png) -libpcap error. +libpcap错误 ![libpcap error](http://blog.linoxide.com/wp-content/uploads/2015/07/libpcap-error.png) -Therefore first install flex/bison and libcap before DAQ installation which is shown in the figure. +因此在安装DAQ之前先安装flex/bison和libcap。 ![install_flex](http://blog.linoxide.com/wp-content/uploads/2015/07/install_flex.png) -Installation of libpcap development library is shown below +如下所示安装libpcap开发库 ![libpcap-dev installation](http://blog.linoxide.com/wp-content/uploads/2015/07/libpcap-dev-installation.png) -After installation of necessary tools, again run ./configure script which will show following output. +安装完必要的工具后,再次运行./configure脚本,将会显示下面的输出。 ![without_error_configure](http://blog.linoxide.com/wp-content/uploads/2015/07/without_error_configure.png) -make and make install commands result is shown in the following screens. +make和make install 命令的结果如下所示。 ![make install](http://blog.linoxide.com/wp-content/uploads/2015/07/make-install.png) ![make](http://blog.linoxide.com/wp-content/uploads/2015/07/make.png) -After successful installation of DAQ, now we will install snort. Downloading using wget is shown in the below figure. +成功安装DAQ之后,我们现在安装snort。如下图使用wget下载它。 ![downloading_snort](http://blog.linoxide.com/wp-content/uploads/2015/07/downloading_snort.png) -Extract compressed package using below given command. +使用下面的命令解压安装包。 #tar -xvzf snort-2.9.7.3.tar.gz ![snort_extraction](http://blog.linoxide.com/wp-content/uploads/2015/07/snort_extraction.png) -Create installation directory and set prefix parameter in the configure script. It is also recommended to enable sourcefire flag for Packet Performance Monitoring (PPM). +创建安装目录并在脚本中设置prefix参数。同样也建议启用包性能监控(PPM)标志。 #mkdir /usr/local/snort @@ -58,21 +56,21 @@ Create installation directory and set prefix parameter in the configure script. ![snort_installation](http://blog.linoxide.com/wp-content/uploads/2015/07/snort_installation.png) -Configure script generates error due to missing libpcre-dev , libdumbnet-dev and zlib development libraries. +配置脚本由于缺少libpcre-dev、libdumbnet-dev 和zlib开发库而报错。 -error due to missing libpcre library. +配置脚本由于缺少libpcre库报错。 ![pcre-error](http://blog.linoxide.com/wp-content/uploads/2015/07/pcre-error.png) -error due to missing dnet (libdumbnet) library. +配置脚本由于缺少dnet(libdumbnet)库而报错。 ![libdnt error](http://blog.linoxide.com/wp-content/uploads/2015/07/libdnt-error.png) -configure script generate error due to missing zlib library. +配置脚本由于缺少zlib库而报错 ![zlib error](http://blog.linoxide.com/wp-content/uploads/2015/07/zlib-error.png) -Installation of all required development libraries is shown in the next screenshots. +如下所示,安装所有需要的开发库。 # aptitude install libpcre3-dev @@ -86,9 +84,9 @@ Installation of all required development libraries is shown in the next screensh ![zlibg-dev installation](http://blog.linoxide.com/wp-content/uploads/2015/07/zlibg-dev-installation.png) -After installation of above required libraries for snort, again run the configure scripts without any error. +安装完snort需要的库之后,再次运行配置脚本就不会报错了。 -Run make & make install commands for the compilation and installations of snort in /usr/local/snort directory. +运行make和make install命令在/usr/local/snort目录下完成安装。 #make @@ -98,22 +96,22 @@ Run make & make install commands for the compilation and installations of snort ![make install snort](http://blog.linoxide.com/wp-content/uploads/2015/07/make-install-snort.png) -Finally snort running from /usr/local/snort/bin directory. Currently it is in promisc mode (packet dump mode) of all traffic on eth0 interface. +最终snort在/usr/local/snort/bin中运行。现在它对eth0的所有流量都处在promisc模式(包转储模式)。 ![snort running](http://blog.linoxide.com/wp-content/uploads/2015/07/snort-running.png) -Traffic dump by the snort interface is shown in following figure. +如下图所示snort转储流量。 ![traffic](http://blog.linoxide.com/wp-content/uploads/2015/07/traffic1.png) -#### Rules and Configuration of Snort #### +#### Snort的规则和配置 #### -Snort installation from source code required rules and configuration setting therefore now we will copy rules and configuration under /etc/snort directory. We have created single bash scripts for rules and configuration setting. It is used for following snort setting. +从源码安装的snort需要规则和安装配置,因此我们会从/etc/snort下面复制规则和配置。我们已经创建了单独的bash脚本来用于规则和配置。它会设置下面这些snort设置。 -- Creation of snort user for snort IDS service on linux. -- Creation of directories and files under /etc directory for snort configuration. -- Permission setting and copying data from etc directory of snort source code. -- Remove # (comment sign) from rules path in snort.conf file. +- 在linux中创建snort用户用于snort IDS服务。 +- 在/etc下面创建snort的配置文件和文件夹。 +- 权限设置并从etc中复制snortsnort源代码 +- 从snort文件中移除规则中的#(注释符号)。 #!/bin/bash##PATH of source code of snort snort_src="/home/test/Downloads/snort-2.9.7.3" @@ -143,15 +141,15 @@ Snort installation from source code required rules and configuration setting the sed -i 's/include \$RULE\_PATH/#include \$RULE\_PATH/' /etc/snort/snort.conf echo "---DONE---" -Change the snort source directory in the script and run it. Following output appear in case of success. +改变脚本中的snort源目录并运行。下面是成功的输出。 ![running script](http://blog.linoxide.com/wp-content/uploads/2015/08/running_script.png) -Above script copied following files/directories from snort source into /etc/snort configuration file. +上面的脚本从snort源中复制下面的文件/文件夹到/etc/snort配置文件中 ![files copied](http://blog.linoxide.com/wp-content/uploads/2015/08/created.png) -Snort configuration file is very complex however following necessary changes are required in snort.conf for IDS proper working. +、snort的配置非常复杂,然而为了IDS能正常工作需要进行下面必要的修改。 ipvar HOME_NET 192.168.1.0/24 # LAN side @@ -171,32 +169,32 @@ Snort configuration file is very complex however following necessary changes are include $RULE_PATH/local.rules # file for custom rules -remove comment sign (#) from other rules such as ftp.rules,exploit.rules etc. +移除ftp.rules、exploit.rules前面的注释符号(#)。 ![path rules](http://blog.linoxide.com/wp-content/uploads/2015/08/path-rules.png) -Now [Download community][1] rules and extract under /etc/snort/rules directory. Enable community and emerging threats rules in snort.conf file. +下载[下载社区][1]规则并解压到/etc/snort/rules。启用snort.conf中的社区及紧急威胁规则。 ![wget_rules](http://blog.linoxide.com/wp-content/uploads/2015/08/wget_rules.png) ![community rules](http://blog.linoxide.com/wp-content/uploads/2015/08/community-rules1.png) -Run following command to test the configuration file after above mentioned changes. +进行了上面的更改后,运行下面的命令来检验配置文件。 #snort -T -c /etc/snort/snort.conf ![snort running](http://blog.linoxide.com/wp-content/uploads/2015/08/snort-final.png) -### Conclusion ### +### 总结 ### -In this article our focus was on the installation and configuration of an open source IDPS system snort on Ubuntu distribution. By default it is used for the monitoring of events however it can con configured inline mode for the protection of network. Snort rules can be tested and analysed in offline mode using pcap capture file. +本篇中,我们致力于开源IDPS系统snort在Ubuntu上的安装和配置。默认它用于监控时间,然而它可以被配置成用于网络保护的内联模式。snort规则可以在离线模式中可以使用pcap文件测试和分析 -------------------------------------------------------------------------------- via: http://linoxide.com/security/install-snort-usage-ubuntu-15-04/ 作者:[nido][a] -译者:[译者ID](https://github.com/译者ID) +译者:[geekpi](https://github.com/geekpi) 校对:[校对者ID](https://github.com/校对者ID) 本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](https://linux.cn/) 荣誉推出 From 2177afef00a1e6fcb1108dad75fb280cc9d040af Mon Sep 17 00:00:00 2001 From: geekpi Date: Sat, 15 Aug 2015 12:32:52 +0800 Subject: [PATCH 5/5] Rename sources/tech/20150811 How to Install Snort and Usage in Ubuntu 15.04.md to translated/tech/20150811 How to Install Snort and Usage in Ubuntu 15.04.md --- .../20150811 How to Install Snort and Usage in Ubuntu 15.04.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {sources => translated}/tech/20150811 How to Install Snort and Usage in Ubuntu 15.04.md (100%) diff --git a/sources/tech/20150811 How to Install Snort and Usage in Ubuntu 15.04.md b/translated/tech/20150811 How to Install Snort and Usage in Ubuntu 15.04.md similarity index 100% rename from sources/tech/20150811 How to Install Snort and Usage in Ubuntu 15.04.md rename to translated/tech/20150811 How to Install Snort and Usage in Ubuntu 15.04.md