Help
RSS
API
Feed
Maltego
Contact
Domain > blog.eng.rocks
×
Welcome!
Right click nodes and scroll the mouse to navigate the graph.
×
More information on this domain is in
AlienVault OTX
Is this malicious?
Yes
No
DNS Resolutions
Date
IP Address
2019-11-05
104.24.108.248
(
ClassC
)
2020-06-18
172.67.156.174
(
ClassC
)
2025-01-06
104.21.63.4
(
ClassC
)
Port 80
HTTP/1.1 301 Moved PermanentlyDate: Mon, 06 Jan 2025 09:54:28 GMTContent-Type: text/htmlContent-Length: 167Connection: keep-aliveCache-Control: max-age3600Expires: Mon, 06 Jan 2025 10:54:28 GMTLocation: https://blog.eng.rocks/Report-To: {endpoints:{url:https:\/\/a.nel.cloudflare.com\/report\/v4?s8YWAY%2Bwj%2FL%2FMjg%2FOrDkXWLqooqr1O6xpM6%2BlMnO4ccDDhLO%2Ffl0tHPytcAT3ZV8wFZeSB7qNpjAfgn9rGCJuCLLOwWi8HrdwFDAn1rsQPAOHl5V3yCHbFAn%2FElxMRe2OcQ%3D%3D},group:cf-nel,max_age:604800}NEL: {success_fraction:0,report_to:cf-nel,max_age:604800}Server: cloudflareCF-RAY: 8fdad3b19a2a2f36-PDXalt-svc: h3:443; ma86400server-timing: cfL4;desc?protoTCP&rtt6347&min_rtt6347&rtt_var3173&sent1&recv3&lost0&retrans0&sent_bytes0&recv_bytes53&delivery_rate0&cwnd247&unsent_bytes0&cid0000000000000000&ts0&x0 html>head>title>301 Moved Permanently/title>/head>body>center>h1>301 Moved Permanently/h1>/center>hr>center>cloudflare/center>/body>/html>
Port 443
HTTP/1.1 200 OKDate: Mon, 06 Jan 2025 09:54:29 GMTContent-Type: text/html; charsetUTF-8Transfer-Encoding: chunkedConnection: keep-aliveStrict-Transport-Security: max-age63072000; includeSubdomainsX-Frame-Options: DENYX-Content-Type-Options: nosniffX-Powered-By: PHP/7.1.29Link: https://blog.eng.rocks/index.php?rest_route/>; relhttps://api.w.org/Link: https://wp.me/8M5iC>; relshortlinkcf-cache-status: DYNAMICReport-To: {endpoints:{url:https:\/\/a.nel.cloudflare.com\/report\/v4?shJqSyq05O5FXLc0%2BKlm64nw75bk9FmQN1Ua%2F1%2FJGAg12u0n1BsYYwSknBhY2sgURVkoT1Mx8xakDInPVt4ANqu%2BouAnQetRPqEtbwhOhZDjKAuQKI%2Bzparbqoi%2FrIPuI4w%3D%3D},group:cf-nel,max_age:604800}NEL: {success_fraction:0,report_to:cf-nel,max_age:604800}Server: cloudflareCF-RAY: 8fdad3b1eb8fefb0-PDXalt-svc: h3:443; ma86400server-timing: cfL4;desc?protoTCP&rtt6261&min_rtt6223&rtt_var1772&sent5&recv6&lost0&retrans0&sent_bytes2843&recv_bytes725&delivery_rate465370&cwnd252&unsent_bytes0&cida1b73c2e423d426f&ts570&x0 !DOCTYPE html>!--if IE 7>html classie ie7 langen-US>!endif-->!--if IE 8>html classie ie8 langen-US>!endif-->!--if !(IE 7) & !(IE 8)>!-->html langen-US>!--!endif-->head>meta charsetUTF-8 />meta nameviewport contentwidthdevice-width />title>NULL/title>link relprofile hrefhttps://gmpg.org/xfn/11 />link relpingback hrefhttps://blog.eng.rocks/xmlrpc.php>!--if lt IE 9>script srchttps://blog.eng.rocks/wp-content/themes/twentytwelve/js/html5.js?ver3.7.0 typetext/javascript>/script>!endif-->link reldns-prefetch href//secure.gravatar.com />link reldns-prefetch href//vjs.zencdn.net />link reldns-prefetch href//fonts.googleapis.com />link reldns-prefetch href//s.w.org />link reldns-prefetch href//v0.wordpress.com />link reldns-prefetch href//i0.wp.com />link reldns-prefetch href//i1.wp.com />link reldns-prefetch href//i2.wp.com />link hrefhttps://fonts.gstatic.com crossorigin relpreconnect />link relalternate typeapplication/rss+xml titleNULL » Feed hrefhttps://blog.eng.rocks />link relalternate typeapplication/rss+xml titleNULL » Comments Feed hrefhttps://blog.eng.rocks/?feedcomments-rss2 /> script typetext/javascript> window._wpemojiSettings {baseUrl:https:\/\/s.w.org\/images\/core\/emoji\/13.0.1\/72x72\/,ext:.png,svgUrl:https:\/\/s.w.org\/images\/core\/emoji\/13.0.1\/svg\/,svgExt:.svg,source:{concatemoji:https:\/\/blog.eng.rocks\/wp-includes\/js\/wp-emoji-release.min.js?ver5.6.14}}; !function(e,a,t){var n,r,o,ia.createElement(canvas),pi.getContext&&i.getContext(2d);function s(e,t){var aString.fromCharCode;p.clearRect(0,0,i.width,i.height),p.fillText(a.apply(this,e),0,0);ei.toDataURL();return p.clearRect(0,0,i.width,i.height),p.fillText(a.apply(this,t),0,0),ei.toDataURL()}function c(e){var ta.createElement(script);t.srce,t.defert.typetext/javascript,a.getElementsByTagName(head)0.appendChild(t)}for(oArray(flag,emoji),t.supports{everything:!0,everythingExceptFlag:!0},r0;ro.length;r++)t.supportsorfunction(e){if(!p||!p.fillText)return!1;switch(p.textBaselinetop,p.font600 32px Arial,e){caseflag:return s(127987,65039,8205,9895,65039,127987,65039,8203,9895,65039)?!1:!s(55356,56826,55356,56819,55356,56826,8203,55356,56819)&&!s(55356,57332,56128,56423,56128,56418,56128,56421,56128,56430,56128,56423,56128,56447,55356,57332,8203,56128,56423,8203,56128,56418,8203,56128,56421,8203,56128,56430,8203,56128,56423,8203,56128,56447);caseemoji:return!s(55357,56424,8205,55356,57212,55357,56424,8203,55356,57212)}return!1}(or),t.supports.everythingt.supports.everything&&t.supportsor,flag!or&&(t.supports.everythingExceptFlagt.supports.everythingExceptFlag&&t.supportsor);t.supports.everythingExceptFlagt.supports.everythingExceptFlag&&!t.supports.flag,t.DOMReady!1,t.readyCallbackfunction(){t.DOMReady!0},t.supports.everything||(nfunction(){t.readyCallback()},a.addEventListener?(a.addEventListener(DOMContentLoaded,n,!1),e.addEventListener(load,n,!1)):(e.attachEvent(onload,n),a.attachEvent(onreadystatechange,function(){completea.readyState&&t.readyCallback()})),(nt.source||{}).concatemoji?c(n.concatemoji):n.wpemoji&&n.twemoji&&(c(n.twemoji),c(n.wpemoji)))}(window,document,window._wpemojiSettings); /script> style typetext/css>img.wp-smiley,img.emoji { display: inline !important; border: none !important; box-shadow: none !important; height: 1em !important; width: 1em !important; margin: 0 .07em !important; vertical-align: -0.1em !important; background: none !important; padding: 0 !important;}/style> link relstylesheet idwp-block-library-css hrefhttps://blog.eng.rocks/wp-content/plugins/gutenberg/build/block-library/style.css?ver11.4.1 typetext/css mediaall />style idwp-block-library-inline-css typetext/css>.has-text-align-justify{text-align:justify;}/style>link relstylesheet idwp-block-library-theme-css hrefhttps://blog.eng.rocks/wp-content/plugins/gutenberg/build/block-library/theme.css?ver11.4.1 typetext/css mediaall />link relstylesheet idtheme-my-login-css hrefhttps://blog.eng.rocks/wp-content/plugins/theme-my-login/assets/styles/theme-my-login.min.css?ver7.1.10 typetext/css mediaall />link relstylesheet idvideojs-plugin-css hrefhttps://blog.eng.rocks/wp-content/plugins/videojs-html5-video-player-for-wordpress/plugin-styles.css?ver5.6.14 typetext/css mediaall />link relstylesheet idvideojs-css href//vjs.zencdn.net/4.5/video-js.css?ver5.6.14 typetext/css mediaall />link relstylesheet idtwentytwelve-fonts-css hrefhttps://fonts.googleapis.com/css?familyOpen+Sans%3A400italic%2C700italic%2C400%2C700&subsetlatin%2Clatin-ext&displayfallback typetext/css mediaall />link relstylesheet idtwentytwelve-style-css hrefhttps://blog.eng.rocks/wp-content/themes/twentytwelve/style.css?ver20221101 typetext/css mediaall />link relstylesheet idtwentytwelve-block-style-css hrefhttps://blog.eng.rocks/wp-content/themes/twentytwelve/css/blocks.css?ver20190406 typetext/css mediaall />!--if lt IE 9>link relstylesheet idtwentytwelve-ie-css hrefhttps://blog.eng.rocks/wp-content/themes/twentytwelve/css/ie.css?ver20150214 typetext/css mediaall />!endif-->link relstylesheet idjetpack_css-css hrefhttps://blog.eng.rocks/wp-content/plugins/jetpack/css/jetpack.css?ver9.8.2 typetext/css mediaall />script typetext/javascript srchttps://blog.eng.rocks/wp-includes/js/jquery/jquery.min.js?ver3.5.1 idjquery-core-js>/script>script typetext/javascript srchttps://blog.eng.rocks/wp-includes/js/jquery/jquery-migrate.min.js?ver3.3.2 idjquery-migrate-js>/script>link relhttps://api.w.org/ hrefhttps://blog.eng.rocks/index.php?rest_route/ />link relEditURI typeapplication/rsd+xml titleRSD hrefhttps://blog.eng.rocks/xmlrpc.php?rsd />link relwlwmanifest typeapplication/wlwmanifest+xml hrefhttps://blog.eng.rocks/wp-includes/wlwmanifest.xml /> meta namegenerator contentWordPress 5.6.14 />link relshortlink hrefhttps://wp.me/8M5iC /> script typetext/javascript> document.createElement(video);document.createElement(audio);document.createElement(track); /script> style typetext/css> /* If html does not have either class, do not show lazy loaded images. */ html:not( .jetpack-lazy-images-js-enabled ):not( .js ) .jetpack-lazy-image { display: none; } /style> script> document.documentElement.classList.add( jetpack-lazy-images-js-enabled ); /script> !-- Jetpack Open Graph Tags -->meta propertyog:type contentwebsite />meta propertyog:title contentNULL />meta propertyog:url contenthttps://blog.eng.rocks/ />meta propertyog:site_name contentNULL />meta propertyog:image contenthttps://s0.wp.com/i/blank.jpg />meta propertyog:locale contenten_US />!-- End Jetpack Open Graph Tags -->/head>body classhome blog wp-embed-responsive custom-font-enabled single-author>div idpage classhfeed site> header idmasthead classsite-header> hgroup> h1 classsite-title>a hrefhttps://blog.eng.rocks/ titleNULL relhome>NULL/a>/h1> h2 classsite-description>/h2> /hgroup> nav idsite-navigation classmain-navigation> button classmenu-toggle>Menu/button> a classassistive-text href#content titleSkip to content>Skip to content/a> div classmenu-simple-container>ul idmenu-simple classnav-menu>li idmenu-item-291 classmenu-item menu-item-type-custom menu-item-object-custom current-menu-item current_page_item menu-item-home menu-item-291>a hrefhttps://blog.eng.rocks/ aria-currentpage>首页/a>/li>li idmenu-item-292 classmenu-item menu-item-type-taxonomy menu-item-object-category menu-item-292>a hrefhttps://blog.eng.rocks/?cat2>常旅客/a>/li>li idmenu-item-293 classmenu-item menu-item-type-taxonomy menu-item-object-category menu-item-293>a hrefhttps://blog.eng.rocks/?cat16>Tech/a>/li>li idmenu-item-294 classmenu-item menu-item-type-taxonomy menu-item-object-category menu-item-294>a hrefhttps://blog.eng.rocks/?cat17>杂谈/a>/li>/ul>/div> /nav>!-- #site-navigation --> /header>!-- #masthead --> div idmain classwrapper> div idprimary classsite-content> div idcontent rolemain> article idpost-399 classpost-399 post type-post status-publish format-standard hentry category-tech tag-synology> header classentry-header> h1 classentry-title> a hrefhttps://blog.eng.rocks/?p399 relbookmark>群晖多网口桥接上网/a> /h1> div classcomments-link> a hrefhttps://blog.eng.rocks/?p399#respond>span classdsq-postid data-dsqidentifier399 https://blog.eng.rocks/?p399>span classleave-reply>Leave a reply/span>/span>/a> /div>!-- .comments-link --> /header>!-- .entry-header --> div classentry-content> p>适用一条网线连接外网路由和群晖,希望通过电脑直接连接群晖访问NAS并访问互联网。/p>p>strong>控制面板-网络-网络界面-管理,打开Open vSwitch/strong>(如果使用了VMM套件会自动开启,而且提示无法禁用)/p>figure classwp-block-image size-large>img data-attachment-id400 data-permalinkhttps://blog.eng.rocks/?attachment_id400 data-orig-filehttps://i0.wp.com/blog.eng.rocks/wp-content/uploads/black_-_Synology_NAS-Google-Chrome-2023-02-07-at-3.11.40-PM.jpeg?fit1150%2C655&ssl1 data-orig-size1150,655 data-comments-opened1 data-image-meta{"aperture":"0","credit":"","camera":"","caption":"","created_timestamp":"0","copyright":"","focal_length":"0","iso":"0","shutter_speed":"0","title":"","orientation":"0"} data-image-titleblack_-_Synology_NAS-Google-Chrome-2023-02-07-at-3.11.40-PM data-image-description data-medium-filehttps://i0.wp.com/blog.eng.rocks/wp-content/uploads/black_-_Synology_NAS-Google-Chrome-2023-02-07-at-3.11.40-PM.jpeg?fit300%2C171&ssl1 data-large-filehttps://i0.wp.com/blog.eng.rocks/wp-content/uploads/black_-_Synology_NAS-Google-Chrome-2023-02-07-at-3.11.40-PM.jpeg?fit625%2C356&ssl1 loadinglazy width625 height356 srchttps://i0.wp.com/blog.eng.rocks/wp-content/uploads/black_-_Synology_NAS-Google-Chrome-2023-02-07-at-3.11.40-PM.jpeg?resize625%2C356&ssl1 alt classwp-image-400 jetpack-lazy-image data-recalc-dims1 data-lazy-srcsethttps://i0.wp.com/blog.eng.rocks/wp-content/uploads/black_-_Synology_NAS-Google-Chrome-2023-02-07-at-3.11.40-PM.jpeg?resize1024%2C583&ssl1 1024w, https://i0.wp.com/blog.eng.rocks/wp-content/uploads/black_-_Synology_NAS-Google-Chrome-2023-02-07-at-3.11.40-PM.jpeg?resize300%2C171&ssl1 300w, https://i0.wp.com/blog.eng.rocks/wp-content/uploads/black_-_Synology_NAS-Google-Chrome-2023-02-07-at-3.11.40-PM.jpeg?resize768%2C437&ssl1 768w, https://i0.wp.com/blog.eng.rocks/wp-content/uploads/black_-_Synology_NAS-Google-Chrome-2023-02-07-at-3.11.40-PM.jpeg?resize624%2C355&ssl1 624w, https://i0.wp.com/blog.eng.rocks/wp-content/uploads/black_-_Synology_NAS-Google-Chrome-2023-02-07-at-3.11.40-PM.jpeg?w1150&ssl1 1150w data-lazy-sizes(max-width: 625px) 100vw, 625px data-lazy-srchttps://i0.wp.com/blog.eng.rocks/wp-content/uploads/black_-_Synology_NAS-Google-Chrome-2023-02-07-at-3.11.40-PM.jpeg?resize625%2C356&is-pending-load1#038;ssl1 srcsetdata:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7>noscript>img data-attachment-id400 data-permalinkhttps://blog.eng.rocks/?attachment_id400 data-orig-filehttps://i0.wp.com/blog.eng.rocks/wp-content/uploads/black_-_Synology_NAS-Google-Chrome-2023-02-07-at-3.11.40-PM.jpeg?fit1150%2C655&ssl1 data-orig-size1150,655 data-comments-opened1 data-image-meta{"aperture":"0","credit":"","camera":"","caption":"","created_timestamp":"0","copyright":"","focal_length":"0","iso":"0","shutter_speed":"0","title":"","orientation":"0"} data-image-titleblack_-_Synology_NAS-Google-Chrome-2023-02-07-at-3.11.40-PM data-image-description data-medium-filehttps://i0.wp.com/blog.eng.rocks/wp-content/uploads/black_-_Synology_NAS-Google-Chrome-2023-02-07-at-3.11.40-PM.jpeg?fit300%2C171&ssl1 data-large-filehttps://i0.wp.com/blog.eng.rocks/wp-content/uploads/black_-_Synology_NAS-Google-Chrome-2023-02-07-at-3.11.40-PM.jpeg?fit625%2C356&ssl1 loadinglazy width625 height356 srchttps://i0.wp.com/blog.eng.rocks/wp-content/uploads/black_-_Synology_NAS-Google-Chrome-2023-02-07-at-3.11.40-PM.jpeg?resize625%2C356&ssl1 alt classwp-image-400 srcsethttps://i0.wp.com/blog.eng.rocks/wp-content/uploads/black_-_Synology_NAS-Google-Chrome-2023-02-07-at-3.11.40-PM.jpeg?resize1024%2C583&ssl1 1024w, https://i0.wp.com/blog.eng.rocks/wp-content/uploads/black_-_Synology_NAS-Google-Chrome-2023-02-07-at-3.11.40-PM.jpeg?resize300%2C171&ssl1 300w, https://i0.wp.com/blog.eng.rocks/wp-content/uploads/black_-_Synology_NAS-Google-Chrome-2023-02-07-at-3.11.40-PM.jpeg?resize768%2C437&ssl1 768w, https://i0.wp.com/blog.eng.rocks/wp-content/uploads/black_-_Synology_NAS-Google-Chrome-2023-02-07-at-3.11.40-PM.jpeg?resize624%2C355&ssl1 624w, https://i0.wp.com/blog.eng.rocks/wp-content/uploads/black_-_Synology_NAS-Google-Chrome-2023-02-07-at-3.11.40-PM.jpeg?w1150&ssl1 1150w sizes(max-width: 625px) 100vw, 625px data-recalc-dims1 />/noscript>/figure>p>strong>ssh登录群晖,将eth0 eth1加入同一个网桥ovs_eth0/strong>/p>p>sudo ovs-vsctl del-br ovs_eth1br>sudo ovs-vsctl add-port ovs_eth0 eth1/p> /div>!-- .entry-content --> footer classentry-meta> This entry was posted in a hrefhttps://blog.eng.rocks/?cat16 relcategory>Tech/a> and tagged a hrefhttps://blog.eng.rocks/?tagsynology reltag>Synology/a> on a hrefhttps://blog.eng.rocks/?p399 title3:15 pm relbookmark>time classentry-date datetime2023-02-07T15:15:43+08:00>2023-02-07/time>/a>span classby-author> by span classauthor vcard>a classurl fn n hrefhttps://blog.eng.rocks/?author1 titleView all posts by Shiqiang Wu relauthor>Shiqiang Wu/a>/span>/span>. /footer>!-- .entry-meta --> /article>!-- #post --> article idpost-351 classpost-351 post type-post status-publish format-standard hentry category-tech tag-hg tag-mercurial tag-synology> header classentry-header> h1 classentry-title> a hrefhttps://blog.eng.rocks/?p351 relbookmark>群晖synology搭建mercurial服务/a> /h1> div classcomments-link> a hrefhttps://blog.eng.rocks/?p351#respond>span classdsq-postid data-dsqidentifier351 https://blog.eng.rocks/?p351>span classleave-reply>Leave a reply/span>/span>/a> /div>!-- .comments-link --> /header>!-- .entry-header --> div classentry-content> p>套件中心添加套件来源http://packages.synocommunity.com/p>figure classwp-block-image size-large>img data-attachment-id356 data-permalinkhttps://blog.eng.rocks/?attachment_id356 data-orig-filehttps://i2.wp.com/blog.eng.rocks/wp-content/uploads/Image-2020-09-14-at-3.51.53-PM.png?fit1070%2C685&ssl1 data-orig-size1070,685 data-comments-opened1 data-image-meta{"aperture":"0","credit":"","camera":"","caption":"","created_timestamp":"0","copyright":"","focal_length":"0","iso":"0","shutter_speed":"0","title":"","orientation":"0"} data-image-titleImage-2020-09-14-at-3.51.53-PM data-image-description data-medium-filehttps://i2.wp.com/blog.eng.rocks/wp-content/uploads/Image-2020-09-14-at-3.51.53-PM.png?fit300%2C192&ssl1 data-large-filehttps://i2.wp.com/blog.eng.rocks/wp-content/uploads/Image-2020-09-14-at-3.51.53-PM.png?fit625%2C400&ssl1 loadinglazy width625 height400 srchttps://i2.wp.com/blog.eng.rocks/wp-content/uploads/Image-2020-09-14-at-3.51.53-PM.png?resize625%2C400&ssl1 alt classwp-image-356 jetpack-lazy-image data-recalc-dims1 data-lazy-srcsethttps://i2.wp.com/blog.eng.rocks/wp-content/uploads/Image-2020-09-14-at-3.51.53-PM.png?resize1024%2C656&ssl1 1024w, https://i2.wp.com/blog.eng.rocks/wp-content/uploads/Image-2020-09-14-at-3.51.53-PM.png?resize300%2C192&ssl1 300w, https://i2.wp.com/blog.eng.rocks/wp-content/uploads/Image-2020-09-14-at-3.51.53-PM.png?resize768%2C492&ssl1 768w, https://i2.wp.com/blog.eng.rocks/wp-content/uploads/Image-2020-09-14-at-3.51.53-PM.png?resize624%2C399&ssl1 624w, https://i2.wp.com/blog.eng.rocks/wp-content/uploads/Image-2020-09-14-at-3.51.53-PM.png?w1070&ssl1 1070w data-lazy-sizes(max-width: 625px) 100vw, 625px data-lazy-srchttps://i2.wp.com/blog.eng.rocks/wp-content/uploads/Image-2020-09-14-at-3.51.53-PM.png?resize625%2C400&is-pending-load1#038;ssl1 srcsetdata:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7>noscript>img data-attachment-id356 data-permalinkhttps://blog.eng.rocks/?attachment_id356 data-orig-filehttps://i2.wp.com/blog.eng.rocks/wp-content/uploads/Image-2020-09-14-at-3.51.53-PM.png?fit1070%2C685&ssl1 data-orig-size1070,685 data-comments-opened1 data-image-meta{"aperture":"0","credit":"","camera":"","caption":"","created_timestamp":"0","copyright":"","focal_length":"0","iso":"0","shutter_speed":"0","title":"","orientation":"0"} data-image-titleImage-2020-09-14-at-3.51.53-PM data-image-description data-medium-filehttps://i2.wp.com/blog.eng.rocks/wp-content/uploads/Image-2020-09-14-at-3.51.53-PM.png?fit300%2C192&ssl1 data-large-filehttps://i2.wp.com/blog.eng.rocks/wp-content/uploads/Image-2020-09-14-at-3.51.53-PM.png?fit625%2C400&ssl1 loadinglazy width625 height400 srchttps://i2.wp.com/blog.eng.rocks/wp-content/uploads/Image-2020-09-14-at-3.51.53-PM.png?resize625%2C400&ssl1 alt classwp-image-356 srcsethttps://i2.wp.com/blog.eng.rocks/wp-content/uploads/Image-2020-09-14-at-3.51.53-PM.png?resize1024%2C656&ssl1 1024w, https://i2.wp.com/blog.eng.rocks/wp-content/uploads/Image-2020-09-14-at-3.51.53-PM.png?resize300%2C192&ssl1 300w, https://i2.wp.com/blog.eng.rocks/wp-content/uploads/Image-2020-09-14-at-3.51.53-PM.png?resize768%2C492&ssl1 768w, https://i2.wp.com/blog.eng.rocks/wp-content/uploads/Image-2020-09-14-at-3.51.53-PM.png?resize624%2C399&ssl1 624w, https://i2.wp.com/blog.eng.rocks/wp-content/uploads/Image-2020-09-14-at-3.51.53-PM.png?w1070&ssl1 1070w sizes(max-width: 625px) 100vw, 625px data-recalc-dims1 />/noscript>/figure>p>在套件中心中搜索安装mercurial/p>figure classwp-block-image size-large>img data-attachment-id357 data-permalinkhttps://blog.eng.rocks/?attachment_id357 data-orig-filehttps://i0.wp.com/blog.eng.rocks/wp-content/uploads/Image-2020-09-14-at-3.52.45-PM.png?fit1062%2C584&ssl1 data-orig-size1062,584 data-comments-opened1 data-image-meta{"aperture":"0","credit":"","camera":"","caption":"","created_timestamp":"0","copyright":"","focal_length":"0","iso":"0","shutter_speed":"0","title":"","orientation":"0"} data-image-titleImage-2020-09-14-at-3.52.45-PM data-image-description data-medium-filehttps://i0.wp.com/blog.eng.rocks/wp-content/uploads/Image-2020-09-14-at-3.52.45-PM.png?fit300%2C165&ssl1 data-large-filehttps://i0.wp.com/blog.eng.rocks/wp-content/uploads/Image-2020-09-14-at-3.52.45-PM.png?fit625%2C344&ssl1 loadinglazy width625 height344 srchttps://i0.wp.com/blog.eng.rocks/wp-content/uploads/Image-2020-09-14-at-3.52.45-PM.png?resize625%2C344&ssl1 alt classwp-image-357 jetpack-lazy-image data-recalc-dims1 data-lazy-srcsethttps://i0.wp.com/blog.eng.rocks/wp-content/uploads/Image-2020-09-14-at-3.52.45-PM.png?resize1024%2C563&ssl1 1024w, https://i0.wp.com/blog.eng.rocks/wp-content/uploads/Image-2020-09-14-at-3.52.45-PM.png?resize300%2C165&ssl1 300w, https://i0.wp.com/blog.eng.rocks/wp-content/uploads/Image-2020-09-14-at-3.52.45-PM.png?resize768%2C422&ssl1 768w, https://i0.wp.com/blog.eng.rocks/wp-content/uploads/Image-2020-09-14-at-3.52.45-PM.png?resize624%2C343&ssl1 624w, https://i0.wp.com/blog.eng.rocks/wp-content/uploads/Image-2020-09-14-at-3.52.45-PM.png?w1062&ssl1 1062w data-lazy-sizes(max-width: 625px) 100vw, 625px data-lazy-srchttps://i0.wp.com/blog.eng.rocks/wp-content/uploads/Image-2020-09-14-at-3.52.45-PM.png?resize625%2C344&is-pending-load1#038;ssl1 srcsetdata:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7>noscript>img data-attachment-id357 data-permalinkhttps://blog.eng.rocks/?attachment_id357 data-orig-filehttps://i0.wp.com/blog.eng.rocks/wp-content/uploads/Image-2020-09-14-at-3.52.45-PM.png?fit1062%2C584&ssl1 data-orig-size1062,584 data-comments-opened1 data-image-meta{"aperture":"0","credit":"","camera":"","caption":"","created_timestamp":"0","copyright":"","focal_length":"0","iso":"0","shutter_speed":"0","title":"","orientation":"0"} data-image-titleImage-2020-09-14-at-3.52.45-PM data-image-description data-medium-filehttps://i0.wp.com/blog.eng.rocks/wp-content/uploads/Image-2020-09-14-at-3.52.45-PM.png?fit300%2C165&ssl1 data-large-filehttps://i0.wp.com/blog.eng.rocks/wp-content/uploads/Image-2020-09-14-at-3.52.45-PM.png?fit625%2C344&ssl1 loadinglazy width625 height344 srchttps://i0.wp.com/blog.eng.rocks/wp-content/uploads/Image-2020-09-14-at-3.52.45-PM.png?resize625%2C344&ssl1 alt classwp-image-357 srcsethttps://i0.wp.com/blog.eng.rocks/wp-content/uploads/Image-2020-09-14-at-3.52.45-PM.png?resize1024%2C563&ssl1 1024w, https://i0.wp.com/blog.eng.rocks/wp-content/uploads/Image-2020-09-14-at-3.52.45-PM.png?resize300%2C165&ssl1 300w, https://i0.wp.com/blog.eng.rocks/wp-content/uploads/Image-2020-09-14-at-3.52.45-PM.png?resize768%2C422&ssl1 768w, https://i0.wp.com/blog.eng.rocks/wp-content/uploads/Image-2020-09-14-at-3.52.45-PM.png?resize624%2C343&ssl1 624w, https://i0.wp.com/blog.eng.rocks/wp-content/uploads/Image-2020-09-14-at-3.52.45-PM.png?w1062&ssl1 1062w sizes(max-width: 625px) 100vw, 625px data-recalc-dims1 />/noscript>/figure>p>创建共享目录(如 repos)用于存放mercurial仓库。/p>p>在repos下,创建hgweb.conf,内容如下/p>pre classwp-block-code>code>[weballow_push *push_ssl false[pathscrcc /volume1/repos/crcc_view/code>/pre>p>新建启动脚本保存在repos下,文件名 hg.init/p>pre classwp-block-code>code>#!/usr/bin/sh## Startup script for mercurial server.## Change following inesAPP_BIN/usr/local/bin/hgSRC/volume1/reposSRCNAME package source# Path to PID file of running mercurial process.PID_FILE/var/run/hg.pidstate$1case $state instart) echo Mecurial Server service starting. #(cd ${SRC} ;${APP_BIN} serve --name ${SRCNAME} -d -p 8001 --pid-file ${PID_FILE}) (${APP_BIN} serve --web-conf /volume1/repos/hgweb.conf -d -p 8000 --pid-file ${PID_FILE}) ;;stop) if [ -f ${PID_FILE} ; then PID`cat ${PID_FILE}` if [ ${PID} -gt 1 ; then kill -TERM ${PID} echo Stopping the Mercurial service PID${PID}. else echo Bad PID for Mercurial -- \${PID}\ fi else echo No PID file recorded for mercurial fi ;;*) echo $0 {start|stop} exit 1 ;;esac/code>/pre>p>创建以root运行的任务计划,调用用户定义脚本/p>ul>li>脚本内容 bash /volume1/repos/hg.init start/li>li>任务名称随意/li>/ul>p>手动运行任务后,mercuirial服务即启动成功,访问 https://synologIP:8000 /p>p>note:/p>ul>li>hg serv默认不支持权限认证/li>li>上文给出的hgweb.conf 启用了http写入/li>li>可以结合前一个a hrefhttps://blog.eng.rocks/?p347 target_blank relnoreferrer noopener>post/a>,实现https+basic Auth方式反向代理到hg serv/li>/ul>p>/p> /div>!-- .entry-content --> footer classentry-meta> This entry was posted in a hrefhttps://blog.eng.rocks/?cat16 relcategory>Tech/a> and tagged a hrefhttps://blog.eng.rocks/?taghg reltag>hg/a>, a hrefhttps://blog.eng.rocks/?tagmercurial reltag>mercurial/a>, a hrefhttps://blog.eng.rocks/?tagsynology reltag>Synology/a> on a hrefhttps://blog.eng.rocks/?p351 title4:01 pm relbookmark>time classentry-date datetime2020-09-14T16:01:03+08:00>2020-09-14/time>/a>span classby-author> by span classauthor vcard>a classurl fn n hrefhttps://blog.eng.rocks/?author1 titleView all posts by Shiqiang Wu relauthor>Shiqiang Wu/a>/span>/span>. /footer>!-- .entry-meta --> /article>!-- #post --> article idpost-347 classpost-347 post type-post status-publish format-standard hentry category-tech tag-synology> header classentry-header> h1 classentry-title> a hrefhttps://blog.eng.rocks/?p347 relbookmark>群晖synology配置带basic auth的反向代理/a> /h1> div classcomments-link> a hrefhttps://blog.eng.rocks/?p347#comments>span classdsq-postid data-dsqidentifier347 https://blog.eng.rocks/?p347>1 Reply/span>/a> /div>!-- .comments-link --> /header>!-- .entry-header --> div classentry-content> p>通过群晖应用程序门户配置的反向代理,不支持basic auth功能。可以通过收到新增配置文件到/etc/nginx/sites-enabled的方式开启支持basic auth的反向代理。/p>p>文件名随意,比如ReverseProxy.conf/p>pre classwp-block-code>code>server { listen 5002 ssl default_server; listen [:::5002 ssl default_server; server_name _; ssl_certificate /usr/syno/etc/certificate/system/default/fullchain.pem; ssl_certificate_key /usr/syno/etc/certificate/system/default/privkey.pem; location / { proxy_connect_timeout 60; proxy_read_timeout 60; proxy_send_timeout 60; proxy_intercept_errors off; proxy_http_version 1.1; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_pass http://localhost:8000 allow all; auth_basic Restricted Repos; auth_basic_user_file /volume1/repos/.htpasswd; } error_page 403 404 500 502 503 504 @error_page; location @error_page { root /usr/syno/share/nginx; rewrite (.*) /error.html break; allow all; }}/code>/pre>p>配置完成后,运行 sudo nginx -T 检查配置是否有错;然后运行synoservicecfg -restart nginx重启nginx即可。/p>p>Note:/p>ul>li>上述配置文件,实现https访问群晖小盒子的5002端口,反向到本机8000端口的http服务。/li>li>basic auth的用户信息在/volume1/repos/.htpasswd中。/li>/ul> /div>!-- .entry-content --> footer classentry-meta> This entry was posted in a hrefhttps://blog.eng.rocks/?cat16 relcategory>Tech/a> and tagged a hrefhttps://blog.eng.rocks/?tagsynology reltag>Synology/a> on a hrefhttps://blog.eng.rocks/?p347 title3:19 pm relbookmark>time classentry-date datetime2020-09-14T15:19:15+08:00>2020-09-14/time>/a>span classby-author> by span classauthor vcard>a classurl fn n hrefhttps://blog.eng.rocks/?author1 titleView all posts by Shiqiang Wu relauthor>Shiqiang Wu/a>/span>/span>. /footer>!-- .entry-meta --> /article>!-- #post --> article idpost-340 classpost-340 post type-post status-publish format-standard hentry category-tech tag-v2ray> header classentry-header> h1 classentry-title> a hrefhttps://blog.eng.rocks/?p340 relbookmark>v2ray服务端配置禁止访问特定域名/a> /h1> div classcomments-link> a hrefhttps://blog.eng.rocks/?p340#respond>span classdsq-postid data-dsqidentifier340 https://blog.eng.rocks/?p340>span classleave-reply>Leave a reply/span>/span>/a> /div>!-- .comments-link --> /header>!-- .entry-header --> div classentry-content> p>如果存在需求,避免不小心通过v2ray代理访问了特定域名。可以在服务端的config.json的routing中添加domain相应内容实现。配置过后,如果在客户端开启全局模式,则无法访问example.com,而不会通过VPS的IP访问该域名下的服务。/p>pre classwp-block-code>code>routing: { rules: [ { inboundTag: [ api , outboundTag: api, type: field }, { type: field, ip: [geoip:private, outboundTag: blocked }, { type: field, domain: [ example.com , outboundTag: blocked }, { type: field, outboundTag: blocked, protocol: [ bittorrent } }/code>/pre> /div>!-- .entry-content --> footer classentry-meta> This entry was posted in a hrefhttps://blog.eng.rocks/?cat16 relcategory>Tech/a> and tagged a hrefhttps://blog.eng.rocks/?tagv2ray reltag>v2ray/a> on a hrefhttps://blog.eng.rocks/?p340 title3:37 pm relbookmark>time classentry-date datetime2020-07-14T15:37:02+08:00>2020-07-14/time>/a>span classby-author> by span classauthor vcard>a classurl fn n hrefhttps://blog.eng.rocks/?author1 titleView all posts by Shiqiang Wu relauthor>Shiqiang Wu/a>/span>/span>. /footer>!-- .entry-meta --> /article>!-- #post --> article idpost-321 classpost-321 post type-post status-publish format-standard hentry category-ffp tag-marriott-bonvoy tag-33> header classentry-header> h1 classentry-title> a hrefhttps://blog.eng.rocks/?p321 relbookmark>建行境外线上返现叠加万豪等买分活动/a> /h1> div classcomments-link> a hrefhttps://blog.eng.rocks/?p321#respond>span classdsq-postid data-dsqidentifier321 https://blog.eng.rocks/?p321>span classleave-reply>Leave a reply/span>/span>/a> /div>!-- .comments-link --> /header>!-- .entry-header --> div classentry-content> figure classwp-block-image size-large>img data-attachment-id322 data-permalinkhttps://blog.eng.rocks/?attachment_id322 data-orig-filehttps://i1.wp.com/blog.eng.rocks/wp-content/uploads/640.png?fit772%2C268&ssl1 data-orig-size772,268 data-comments-opened1 data-image-meta{"aperture":"0","credit":"","camera":"","caption":"","created_timestamp":"0","copyright":"","focal_length":"0","iso":"0","shutter_speed":"0","title":"","orientation":"0"} data-image-title640 data-image-description data-medium-filehttps://i1.wp.com/blog.eng.rocks/wp-content/uploads/640.png?fit300%2C104&ssl1 data-large-filehttps://i1.wp.com/blog.eng.rocks/wp-content/uploads/640.png?fit625%2C217&ssl1 loadinglazy width625 height217 srchttps://i1.wp.com/blog.eng.rocks/wp-content/uploads/640.png?resize625%2C217&ssl1 alt classwp-image-322 jetpack-lazy-image data-recalc-dims1 data-lazy-srcsethttps://i1.wp.com/blog.eng.rocks/wp-content/uploads/640.png?w772&ssl1 772w, https://i1.wp.com/blog.eng.rocks/wp-content/uploads/640.png?resize300%2C104&ssl1 300w, https://i1.wp.com/blog.eng.rocks/wp-content/uploads/640.png?resize768%2C267&ssl1 768w, https://i1.wp.com/blog.eng.rocks/wp-content/uploads/640.png?resize624%2C217&ssl1 624w data-lazy-sizes(max-width: 625px) 100vw, 625px data-lazy-srchttps://i1.wp.com/blog.eng.rocks/wp-content/uploads/640.png?resize625%2C217&is-pending-load1#038;ssl1 srcsetdata:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7>noscript>img data-attachment-id322 data-permalinkhttps://blog.eng.rocks/?attachment_id322 data-orig-filehttps://i1.wp.com/blog.eng.rocks/wp-content/uploads/640.png?fit772%2C268&ssl1 data-orig-size772,268 data-comments-opened1 data-image-meta{"aperture":"0","credit":"","camera":"","caption":"","created_timestamp":"0","copyright":"","focal_length":"0","iso":"0","shutter_speed":"0","title":"","orientation":"0"} data-image-title640 data-image-description data-medium-filehttps://i1.wp.com/blog.eng.rocks/wp-content/uploads/640.png?fit300%2C104&ssl1 data-large-filehttps://i1.wp.com/blog.eng.rocks/wp-content/uploads/640.png?fit625%2C217&ssl1 loadinglazy width625 height217 srchttps://i1.wp.com/blog.eng.rocks/wp-content/uploads/640.png?resize625%2C217&ssl1 alt classwp-image-322 srcsethttps://i1.wp.com/blog.eng.rocks/wp-content/uploads/640.png?w772&ssl1 772w, https://i1.wp.com/blog.eng.rocks/wp-content/uploads/640.png?resize300%2C104&ssl1 300w, https://i1.wp.com/blog.eng.rocks/wp-content/uploads/640.png?resize768%2C267&ssl1 768w, https://i1.wp.com/blog.eng.rocks/wp-content/uploads/640.png?resize624%2C217&ssl1 624w sizes(max-width: 625px) 100vw, 625px data-recalc-dims1 />/noscript>/figure>p>strong>活动时间:/strong>/p>p>按季度进行,还剩余两期,2020年7月1日至9月30日,2020年10月1日至12月31日。/p>p>strong>参与卡种:/strong>/p>p>银联、VISA、万事达龙卡信用卡持卡人(JCB单标卡及双标卡、公务卡、商务卡除外)。/p>p>strong>报名方式:/strong>/p>p>登录“中国建设银行”手机银行APP—进入信用卡频道—点击“热门活动”栏位右侧的“更多活动”—进入活动页面后点击“我要报名”。 更多信息参见 a hrefhttps://mp.weixin.qq.com/s/fQc4ZZBxoEOfvKnGYIo5pg>https://mp.weixin.qq.com/s/fQc4ZZBxoEOfvKnGYIo5pg/a> /p>h3>几家境外酒店航司积分里程购买活动/h3>figure classwp-block-image size-large>a hrefhttps://www.jdoqocy.com/click-8286949-11489929>img data-attachment-id328 data-permalinkhttps://blog.eng.rocks/?attachment_id328 data-orig-filehttps://i0.wp.com/blog.eng.rocks/wp-content/uploads/11489929-1593532030629.jpg?fit300%2C250&ssl1 data-orig-size300,250 data-comments-opened1 data-image-meta{"aperture":"0","credit":"","camera":"","caption":"","created_timestamp":"0","copyright":"","focal_length":"0","iso":"0","shutter_speed":"0","title":"","orientation":"0"} data-image-title11489929-1593532030629 data-image-description data-medium-filehttps://i0.wp.com/blog.eng.rocks/wp-content/uploads/11489929-1593532030629.jpg?fit300%2C250&ssl1 data-large-filehttps://i0.wp.com/blog.eng.rocks/wp-content/uploads/11489929-1593532030629.jpg?fit300%2C250&ssl1 loadinglazy width300 height250 srchttps://i0.wp.com/blog.eng.rocks/wp-content/uploads/11489929-1593532030629.jpg?resize300%2C250&ssl1 alt classwp-image-328 jetpack-lazy-image data-recalc-dims1 data-lazy-srchttps://i0.wp.com/blog.eng.rocks/wp-content/uploads/11489929-1593532030629.jpg?resize300%2C250&is-pending-load1#038;ssl1 srcsetdata:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7>noscript>img data-attachment-id328 data-permalinkhttps://blog.eng.rocks/?attachment_id328 data-orig-filehttps://i0.wp.com/blog.eng.rocks/wp-content/uploads/11489929-1593532030629.jpg?fit300%2C250&ssl1 data-orig-size300,250 data-comments-opened1 data-image-meta{"aperture":"0","credit":"","camera":"","caption":"","created_timestamp":"0","copyright":"","focal_length":"0","iso":"0","shutter_speed":"0","title":"","orientation":"0"} data-image-title11489929-1593532030629 data-image-description data-medium-filehttps://i0.wp.com/blog.eng.rocks/wp-content/uploads/11489929-1593532030629.jpg?fit300%2C250&ssl1 data-large-filehttps://i0.wp.com/blog.eng.rocks/wp-content/uploads/11489929-1593532030629.jpg?fit300%2C250&ssl1 loadinglazy width300 height250 srchttps://i0.wp.com/blog.eng.rocks/wp-content/uploads/11489929-1593532030629.jpg?resize300%2C250&ssl1 alt classwp-image-328 data-recalc-dims1/>/noscript>/a>figcaption>万豪积分额外60%截至7月15日/figcaption>/figure>figure classwp-block-image size-large>a hrefhttps://www.jdoqocy.com/click-8286949-13138370>img data-attachment-id330 data-permalinkhttps://blog.eng.rocks/?attachment_id330 data-orig-filehttps://i1.wp.com/blog.eng.rocks/wp-content/uploads/13138370-1593697988540.jpg?fit300%2C250&ssl1 data-orig-size300,250 data-comments-opened1 data-image-meta{"aperture":"0","credit":"","camera":"","caption":"","created_timestamp":"0","copyright":"","focal_length":"0","iso":"0","shutter_speed":"0","title":"","orientation":"0"} data-image-title13138370-1593697988540 data-image-description data-medium-filehttps://i1.wp.com/blog.eng.rocks/wp-content/uploads/13138370-1593697988540.jpg?fit300%2C250&ssl1 data-large-filehttps://i1.wp.com/blog.eng.rocks/wp-content/uploads/13138370-1593697988540.jpg?fit300%2C250&ssl1 loadinglazy width300 height250 srchttps://i1.wp.com/blog.eng.rocks/wp-content/uploads/13138370-1593697988540.jpg?resize300%2C250&ssl1 alt classwp-image-330 jetpack-lazy-image data-recalc-dims1 data-lazy-srchttps://i1.wp.com/blog.eng.rocks/wp-content/uploads/13138370-1593697988540.jpg?resize300%2C250&is-pending-load1#038;ssl1 srcsetdata:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7>noscript>img data-attachment-id330 data-permalinkhttps://blog.eng.rocks/?attachment_id330 data-orig-filehttps://i1.wp.com/blog.eng.rocks/wp-content/uploads/13138370-1593697988540.jpg?fit300%2C250&ssl1 data-orig-size300,250 data-comments-opened1 data-image-meta{"aperture":"0","credit":"","camera":"","caption":"","created_timestamp":"0","copyright":"","focal_length":"0","iso":"0","shutter_speed":"0","title":"","orientation":"0"} data-image-title13138370-1593697988540 data-image-description data-medium-filehttps://i1.wp.com/blog.eng.rocks/wp-content/uploads/13138370-1593697988540.jpg?fit300%2C250&ssl1 data-large-filehttps://i1.wp.com/blog.eng.rocks/wp-content/uploads/13138370-1593697988540.jpg?fit300%2C250&ssl1 loadinglazy width300 height250 srchttps://i1.wp.com/blog.eng.rocks/wp-content/uploads/13138370-1593697988540.jpg?resize300%2C250&ssl1 alt classwp-image-330 data-recalc-dims1/>/noscript>/a>figcaption>凯悦积分额外30%截至7月29日/figcaption>/figure>figure classwp-block-image size-large>a hrefhttps://www.dpbolvw.net/click-8286949-13163247>img data-attachment-id333 data-permalinkhttps://blog.eng.rocks/?attachment_id333 data-orig-filehttps://i2.wp.com/blog.eng.rocks/wp-content/uploads/13163247-1582060106870.jpg?fit300%2C250&ssl1 data-orig-size300,250 data-comments-opened1 data-image-meta{"aperture":"0","credit":"","camera":"","caption":"","created_timestamp":"0","copyright":"","focal_length":"0","iso":"0","shutter_speed":"0","title":"","orientation":"0"} data-image-title13163247-1582060106870 data-image-description data-medium-filehttps://i2.wp.com/blog.eng.rocks/wp-content/uploads/13163247-1582060106870.jpg?fit300%2C250&ssl1 data-large-filehttps://i2.wp.com/blog.eng.rocks/wp-content/uploads/13163247-1582060106870.jpg?fit300%2C250&ssl1 loadinglazy width300 height250 srchttps://i2.wp.com/blog.eng.rocks/wp-content/uploads/13163247-1582060106870.jpg?resize300%2C250&ssl1 alt classwp-image-333 jetpack-lazy-image data-recalc-dims1 data-lazy-srchttps://i2.wp.com/blog.eng.rocks/wp-content/uploads/13163247-1582060106870.jpg?resize300%2C250&is-pending-load1#038;ssl1 srcsetdata:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7>noscript>img data-attachment-id333 data-permalinkhttps://blog.eng.rocks/?attachment_id333 data-orig-filehttps://i2.wp.com/blog.eng.rocks/wp-content/uploads/13163247-1582060106870.jpg?fit300%2C250&ssl1 data-orig-size300,250 data-comments-opened1 data-image-meta{"aperture":"0","credit":"","camera":"","caption":"","created_timestamp":"0","copyright":"","focal_length":"0","iso":"0","shutter_speed":"0","title":"","orientation":"0"} data-image-title13163247-1582060106870 data-image-description data-medium-filehttps://i2.wp.com/blog.eng.rocks/wp-content/uploads/13163247-1582060106870.jpg?fit300%2C250&ssl1 data-large-filehttps://i2.wp.com/blog.eng.rocks/wp-content/uploads/13163247-1582060106870.jpg?fit300%2C250&ssl1 loadinglazy width300 height250 srchttps://i2.wp.com/blog.eng.rocks/wp-content/uploads/13163247-1582060106870.jpg?resize300%2C250&ssl1 alt classwp-image-333 data-recalc-dims1/>/noscript>/a>figcaption>希尔顿暂无活动/figcaption>/figure>figure classwp-block-image size-large>a hrefhttps://www.dpbolvw.net/click-8286949-12163912>img data-attachment-id334 data-permalinkhttps://blog.eng.rocks/?attachment_id334 data-orig-filehttps://i1.wp.com/blog.eng.rocks/wp-content/uploads/12163912-1590161922216.jpg?fit300%2C250&ssl1 data-orig-size300,250 data-comments-opened1 data-image-meta{"aperture":"0","credit":"","camera":"","caption":"","created_timestamp":"0","copyright":"","focal_length":"0","iso":"0","shutter_speed":"0","title":"","orientation":"0"} data-image-title12163912-1590161922216 data-image-description data-medium-filehttps://i1.wp.com/blog.eng.rocks/wp-content/uploads/12163912-1590161922216.jpg?fit300%2C250&ssl1 data-large-filehttps://i1.wp.com/blog.eng.rocks/wp-content/uploads/12163912-1590161922216.jpg?fit300%2C250&ssl1 loadinglazy width300 height250 srchttps://i1.wp.com/blog.eng.rocks/wp-content/uploads/12163912-1590161922216.jpg?resize300%2C250&ssl1 alt classwp-image-334 jetpack-lazy-image data-recalc-dims1 data-lazy-srchttps://i1.wp.com/blog.eng.rocks/wp-content/uploads/12163912-1590161922216.jpg?resize300%2C250&is-pending-load1#038;ssl1 srcsetdata:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7>noscript>img data-attachment-id334 data-permalinkhttps://blog.eng.rocks/?attachment_id334 data-orig-filehttps://i1.wp.com/blog.eng.rocks/wp-content/uploads/12163912-1590161922216.jpg?fit300%2C250&ssl1 data-orig-size300,250 data-comments-opened1 data-image-meta{"aperture":"0","credit":"","camera":"","caption":"","created_timestamp":"0","copyright":"","focal_length":"0","iso":"0","shutter_speed":"0","title":"","orientation":"0"} data-image-title12163912-1590161922216 data-image-description data-medium-filehttps://i1.wp.com/blog.eng.rocks/wp-content/uploads/12163912-1590161922216.jpg?fit300%2C250&ssl1 data-large-filehttps://i1.wp.com/blog.eng.rocks/wp-content/uploads/12163912-1590161922216.jpg?fit300%2C250&ssl1 loadinglazy width300 height250 srchttps://i1.wp.com/blog.eng.rocks/wp-content/uploads/12163912-1590161922216.jpg?resize300%2C250&ssl1 alt classwp-image-334 data-recalc-dims1/>/noscript>/a>figcaption>美联航暂无活动/figcaption>/figure>figure classwp-block-image size-large>a hrefhttps://www.kqzyfj.com/click-8286949-11453740>img data-attachment-id336 data-permalinkhttps://blog.eng.rocks/?attachment_id336 data-orig-filehttps://i0.wp.com/blog.eng.rocks/wp-content/uploads/11453740-1583521357306.jpg?fit120%2C240&ssl1 data-orig-size120,240 data-comments-opened1 data-image-meta{"aperture":"0","credit":"","camera":"","caption":"","created_timestamp":"0","copyright":"","focal_length":"0","iso":"0","shutter_speed":"0","title":"","orientation":"1"} data-image-title11453740-1583521357306 data-image-description data-medium-filehttps://i0.wp.com/blog.eng.rocks/wp-content/uploads/11453740-1583521357306.jpg?fit120%2C240&ssl1 data-large-filehttps://i0.wp.com/blog.eng.rocks/wp-content/uploads/11453740-1583521357306.jpg?fit120%2C240&ssl1 loadinglazy width120 height240 srchttps://i0.wp.com/blog.eng.rocks/wp-content/uploads/11453740-1583521357306.jpg?resize120%2C240&ssl1 alt classwp-image-336 jetpack-lazy-image data-recalc-dims1 data-lazy-srchttps://i0.wp.com/blog.eng.rocks/wp-content/uploads/11453740-1583521357306.jpg?resize120%2C240&is-pending-load1#038;ssl1 srcsetdata:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7>noscript>img data-attachment-id336 data-permalinkhttps://blog.eng.rocks/?attachment_id336 data-orig-filehttps://i0.wp.com/blog.eng.rocks/wp-content/uploads/11453740-1583521357306.jpg?fit120%2C240&ssl1 data-orig-size120,240 data-comments-opened1 data-image-meta{"aperture":"0","credit":"","camera":"","caption":"","created_timestamp":"0","copyright":"","focal_length":"0","iso":"0","shutter_speed":"0","title":"","orientation":"1"} data-image-title11453740-1583521357306 data-image-description data-medium-filehttps://i0.wp.com/blog.eng.rocks/wp-content/uploads/11453740-1583521357306.jpg?fit120%2C240&ssl1 data-large-filehttps://i0.wp.com/blog.eng.rocks/wp-content/uploads/11453740-1583521357306.jpg?fit120%2C240&ssl1 loadinglazy width120 height240 srchttps://i0.wp.com/blog.eng.rocks/wp-content/uploads/11453740-1583521357306.jpg?resize120%2C240&ssl1 alt classwp-image-336 data-recalc-dims1/>/noscript>/a>figcaption>IHG暂无活动/figcaption>/figure> /div>!-- .entry-content --> footer classentry-meta> This entry was posted in a hrefhttps://blog.eng.rocks/?cat2 relcategory>常旅客/a> and tagged a hrefhttps://blog.eng.rocks/?tagmarriott-bonvoy reltag>Marriott Bonvoy/a>, a hrefhttps://blog.eng.rocks/?tag%e8%bf%94%e7%8e%b0 reltag>返现/a> on a hrefhttps://blog.eng.rocks/?p321 title8:13 am relbookmark>time classentry-date datetime2020-07-03T08:13:17+08:00>2020-07-03/time>/a>span classby-author> by span classauthor vcard>a classurl fn n hrefhttps://blog.eng.rocks/?author1 titleView all posts by Shiqiang Wu relauthor>Shiqiang Wu/a>/span>/span>. /footer>!-- .entry-meta --> /article>!-- #post --> article idpost-310 classpost-310 post type-post status-publish format-standard hentry category-tech tag-munin tag-v2ray> header classentry-header> h1 classentry-title> a hrefhttps://blog.eng.rocks/?p310 relbookmark>munin显示v2ray用户流量统计信息/a> /h1> div classcomments-link> a hrefhttps://blog.eng.rocks/?p310#respond>span classdsq-postid data-dsqidentifier310 https://blog.eng.rocks/?p310>span classleave-reply>Leave a reply/span>/span>/a> /div>!-- .comments-link --> /header>!-- .entry-header --> div classentry-content> p>/p>div classwp-block-image>figure classaligncenter size-large>img data-attachment-id317 data-permalinkhttps://blog.eng.rocks/?attachment_id317 data-orig-filehttps://i1.wp.com/blog.eng.rocks/wp-content/uploads/Image-2020-06-20-at-8.09.05-AM.png?fit519%2C490&ssl1 data-orig-size519,490 data-comments-opened1 data-image-meta{"aperture":"0","credit":"","camera":"","caption":"","created_timestamp":"0","copyright":"","focal_length":"0","iso":"0","shutter_speed":"0","title":"","orientation":"0"} data-image-titleImage-2020-06-20-at-8.09.05-AM data-image-description data-medium-filehttps://i1.wp.com/blog.eng.rocks/wp-content/uploads/Image-2020-06-20-at-8.09.05-AM.png?fit300%2C283&ssl1 data-large-filehttps://i1.wp.com/blog.eng.rocks/wp-content/uploads/Image-2020-06-20-at-8.09.05-AM.png?fit519%2C490&ssl1 loadinglazy width519 height490 srchttps://i1.wp.com/blog.eng.rocks/wp-content/uploads/Image-2020-06-20-at-8.09.05-AM.png?resize519%2C490&ssl1 alt classwp-image-317 jetpack-lazy-image data-recalc-dims1 data-lazy-srcsethttps://i1.wp.com/blog.eng.rocks/wp-content/uploads/Image-2020-06-20-at-8.09.05-AM.png?w519&ssl1 519w, https://i1.wp.com/blog.eng.rocks/wp-content/uploads/Image-2020-06-20-at-8.09.05-AM.png?resize300%2C283&ssl1 300w data-lazy-sizes(max-width: 519px) 100vw, 519px data-lazy-srchttps://i1.wp.com/blog.eng.rocks/wp-content/uploads/Image-2020-06-20-at-8.09.05-AM.png?resize519%2C490&is-pending-load1#038;ssl1 srcsetdata:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7>noscript>img data-attachment-id317 data-permalinkhttps://blog.eng.rocks/?attachment_id317 data-orig-filehttps://i1.wp.com/blog.eng.rocks/wp-content/uploads/Image-2020-06-20-at-8.09.05-AM.png?fit519%2C490&ssl1 data-orig-size519,490 data-comments-opened1 data-image-meta{"aperture":"0","credit":"","camera":"","caption":"","created_timestamp":"0","copyright":"","focal_length":"0","iso":"0","shutter_speed":"0","title":"","orientation":"0"} data-image-titleImage-2020-06-20-at-8.09.05-AM data-image-description data-medium-filehttps://i1.wp.com/blog.eng.rocks/wp-content/uploads/Image-2020-06-20-at-8.09.05-AM.png?fit300%2C283&ssl1 data-large-filehttps://i1.wp.com/blog.eng.rocks/wp-content/uploads/Image-2020-06-20-at-8.09.05-AM.png?fit519%2C490&ssl1 loadinglazy width519 height490 srchttps://i1.wp.com/blog.eng.rocks/wp-content/uploads/Image-2020-06-20-at-8.09.05-AM.png?resize519%2C490&ssl1 alt classwp-image-317 srcsethttps://i1.wp.com/blog.eng.rocks/wp-content/uploads/Image-2020-06-20-at-8.09.05-AM.png?w519&ssl1 519w, https://i1.wp.com/blog.eng.rocks/wp-content/uploads/Image-2020-06-20-at-8.09.05-AM.png?resize300%2C283&ssl1 300w sizes(max-width: 519px) 100vw, 519px data-recalc-dims1 />/noscript>/figure>/div>p>目前使用的v2ray版本4.23.4,相同及以上版本都支持流量统计/p>pre classwp-block-code>code>/usr/bin/v2ray/v2ray -version V2Ray 4.23.4 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.14.1 linux/amd64) A unified platform for anti-censorship./code>/pre>p>/p>p>v2ray的配置config.json,内容如下/p>pre classwp-block-code>code>{ stats: {}, api: { tag: api, services: [ StatsService, HandlerService, LoggerService }, policy: { levels: { 0: { statsUserUplink: true, statsUserDownlink: true }, 1: { statsUserUplink: true, statsUserDownlink: true } }, system: { statsInboundUplink: true, statsInboundDownlink: true } }, log: { loglevel: warning, access: /var/log/v2ray/access.log, error: /var/log/v2ray/error.log }, inbounds: [{ sniffing: { enabled: true, destOverride: [ http, tls }, port: 54321, protocol: vmess, settings: { clients: [ { email: testuser, id: b1a6a415-05e6-4706-b8d5-a6a0be032eed, level: 1, alterId: 64 } } }, { port: 10000, listen:127.0.0.1,//只监听 127.0.0.1,避免除本机外的机器探测到开放了 10000 端口 protocol: vmess, settings: { clients: [ { email: testuser, id: b1a6a415-05e6-4706-b8d5-a6a0be032eed, level: 1, alterId: 64 } }, streamSettings: { network: ws, wsSettings: { path: /vvvr/ } } }, { listen: 127.0.0.1, port: 10085, protocol: dokodemo-door, settings: { address: 127.0.0.1 }, tag: api } , outbounds: [{ protocol: freedom, settings: {} },{ protocol: blackhole, settings: {}, tag: blocked }, routing: { rules: [ { inboundTag: [ api , outboundTag: api, type: field }, { type: field, ip: [geoip:private, outboundTag: blocked }, { type: field, outboundTag: block, protocol: [ bittorrent } } }/code>/pre>p>munin插件v2rayTraffic,内容如下/p>pre classwp-block-code>code>#!/bin/bash_APISERVER127.0.0.1:10085_V2CTL/usr/bin/v2ray/v2ctlif $1 config ; then echo graph_title traffic of v2ray user #echo graph_args --base 1000 -l 0 echo graph_vlabel traffic echo graph_category network echo graph_info This graph shows the traffic of v2ray user. echo testuser-up.label testuser-up echo testuser-up.info The in-coming traffic of user testuser. echo testuser-down.label testuser-down echo testuser-down.info The out-going traffic of user testuser. exit 0fi ARGS if $1 reset ; then ARGSreset: true fi $_V2CTL api --server$_APISERVER StatsService.QueryStats ${ARGS} \ | awk { if (match($1, /name:/)) { f1; gsub(/^|link$/, , $2); split($2, p, >>>); printf %s-%s.value , p2,p4; } else if (match($1, /value:/) && f){ f 0; printf %.0f\n, $2; } else if (match($0, /^>$/) && f) { f 0; print 0; } } exit 0/code>/pre>p>/p>pre classwp-block-code>code>/code>/pre> /div>!-- .entry-content --> footer classentry-meta> This entry was posted in a hrefhttps://blog.eng.rocks/?cat16 relcategory>Tech/a> and tagged a hrefhttps://blog.eng.rocks/?tagmunin reltag>munin/a>, a hrefhttps://blog.eng.rocks/?tagv2ray reltag>v2ray/a> on a hrefhttps://blog.eng.rocks/?p310 title12:35 pm relbookmark>time classentry-date datetime2020-06-19T12:35:10+08:00>2020-06-19/time>/a>span classby-author> by span classauthor vcard>a classurl fn n hrefhttps://blog.eng.rocks/?author1 titleView all posts by Shiqiang Wu relauthor>Shiqiang Wu/a>/span>/span>. /footer>!-- .entry-meta --> /article>!-- #post --> article idpost-281 classpost-281 post type-post status-publish format-standard hentry category-tech> header classentry-header> h1 classentry-title> a hrefhttps://blog.eng.rocks/?p281 relbookmark>S/MIME加密电子邮件/a> /h1> div classcomments-link> a hrefhttps://blog.eng.rocks/?p281#respond>span classdsq-postid data-dsqidentifier281 https://blog.eng.rocks/?p281>span classleave-reply>Leave a reply/span>/span>/a> /div>!-- .comments-link --> /header>!-- .entry-header --> div classentry-content> ol>li>打开MozillaZine的a hrefhttp://kb.mozillazine.org/Getting_an_SMIME_certificate>获取证书页面/a> /li>li>页面上列举了8个可以颁发个人证书的机构,我挑选了第一个a hrefhttps://www.actalis.it/products/certificates-for-secure-electronic-mail.aspx>Actalis/a>。目前Actialis证书支持下面这些邮件客户端 ul>li>Microsoft Outlook/li>li>Windows Live Mail/li>li>Mail for Windows 10/li>li>Outlook Web Access + S/MIME Control/li>li>Apple Mail (OS X 10.6+, iOS 8+)/li>li>Mozilla Thunderbird v52 or newer/li>li>Gnome Evolution v3.18 or newer/li>li>SeaMonkey v2.46 or newer/li>li>eM Client/li>li>The Bat!/li>/ul>/li>li>点击 a relnoreferrer noopener hrefhttps://extrassl.actalis.it/portal/uapub/freemail?langen target_blank>Free S/MIME certificates/a> 开始申请证书/li>li>输入电子邮件地址后,点击SEND VERIFICATION EMAIL按钮/li>li>输入收到邮件中的验证码,同意各个条款,最后点击SUBMIT REQUEST./li>li>静候片刻,个人证书就发送到了邮箱 (注意保存好网页上显示的证书密码,后面安装证书需要用到)。/li>li>安装证书ul>li>MacOS直接双击收到的证书,安装到system目录/li>li>Windows自行google下/li>/ul>/li>li>安装好之后,发邮件的时候就可以进行电子签名了;如果收件人也申请安装了相应证书,则可以对邮件进行加密。/li>/ol>p>/p>p>更多信息参考 https://www.comparitech.com/blog/vpn-privacy/how-to-encrypt-email/p>p>/p> /div>!-- .entry-content --> footer classentry-meta> This entry was posted in a hrefhttps://blog.eng.rocks/?cat16 relcategory>Tech/a> on a hrefhttps://blog.eng.rocks/?p281 title11:16 am relbookmark>time classentry-date datetime2019-06-03T11:16:46+08:00>2019-06-03/time>/a>span classby-author> by span classauthor vcard>a classurl fn n hrefhttps://blog.eng.rocks/?author1 titleView all posts by Shiqiang Wu relauthor>Shiqiang Wu/a>/span>/span>. /footer>!-- .entry-meta --> /article>!-- #post --> article idpost-138 classpost-138 post type-post status-publish format-standard hentry category-tech> header classentry-header> h1 classentry-title> a hrefhttps://blog.eng.rocks/?p138 relbookmark>如何在putty关闭后保持python脚本运行/a> /h1> div classcomments-link> a hrefhttps://blog.eng.rocks/?p138#respond>span classdsq-postid data-dsqidentifier138 https://eng.rocks/blog/?p138>span classleave-reply>Leave a reply/span>/span>/a> /div>!-- .comments-link --> /header>!-- .entry-header --> div classentry-content> p>Run the command with code>nohup/code>. This will disassociate it from your session and let it continue running after you disconnect:code>/code>Note that the stdout of the command will be appended to a file called code>nohup.out/code> unless you redirect it (code>nohup pythonScript.py > outfile/code>)./p>p>原文 a hrefhttps://unix.stackexchange.com/questions/362115/how-to-keep-a-python-script-running-when-i-close-putty>https://unix.stackexchange.com/questions/362115/how-to-keep-a-python-script-running-when-i-close-putty/a>/p> /div>!-- .entry-content --> footer classentry-meta> This entry was posted in a hrefhttps://blog.eng.rocks/?cat16 relcategory>Tech/a> on a hrefhttps://blog.eng.rocks/?p138 title9:57 pm relbookmark>time classentry-date datetime2018-10-04T21:57:05+08:00>2018-10-04/time>/a>span classby-author> by span classauthor vcard>a classurl fn n hrefhttps://blog.eng.rocks/?author1 titleView all posts by Shiqiang Wu relauthor>Shiqiang Wu/a>/span>/span>. /footer>!-- .entry-meta --> /article>!-- #post --> article idpost-133 classpost-133 post type-post status-publish format-standard hentry category-tech tag-php tag-selinux> header classentry-header> h1 classentry-title> a hrefhttps://blog.eng.rocks/?p133 relbookmark>开启SELinux后php程序无法生成error_log/a> /h1> div classcomments-link> a hrefhttps://blog.eng.rocks/?p133#respond>span classdsq-postid data-dsqidentifier133 https://eng.rocks/blog/?p133>span classleave-reply>Leave a reply/span>/span>/a> /div>!-- .comments-link --> /header>!-- .entry-header --> div classentry-content> p>检查日志/var/log/httpd/error.log,发现如下报错/p>blockquote classwp-block-quote>p>Tue Oct 02 21:44:18.757036 2018 :error pid 7761 client 159.89.149.45:13602 PHP Warning: error_log(/var/log/httpd/pushover.log): failed to open stream: Permission denied in /var/www/html/pushover.php on line 19/p>/blockquote>p>更新日志文件标签为httpd_log_t后问题解决/p>blockquote classwp-block-quote>p>chcon -t httpd_log_t pushover.log/p>/blockquote> /div>!-- .entry-content --> footer classentry-meta> This entry was posted in a hrefhttps://blog.eng.rocks/?cat16 relcategory>Tech/a> and tagged a hrefhttps://blog.eng.rocks/?tagphp reltag>PHP/a>, a hrefhttps://blog.eng.rocks/?tagselinux reltag>SELinux/a> on a hrefhttps://blog.eng.rocks/?p133 title10:06 pm relbookmark>time classentry-date datetime2018-10-02T22:06:28+08:00>2018-10-02/time>/a>span classby-author> by span classauthor vcard>a classurl fn n hrefhttps://blog.eng.rocks/?author1 titleView all posts by Shiqiang Wu relauthor>Shiqiang Wu/a>/span>/span>. /footer>!-- .entry-meta --> /article>!-- #post --> article idpost-97 classpost-97 post type-post status-publish format-standard hentry category-tech tag-centos tag-munin tag-selinux> header classentry-header> h1 classentry-title> a hrefhttps://blog.eng.rocks/?p97 relbookmark>Centos 7 munin安装插件监视端口流量/a> /h1> div classcomments-link> a hrefhttps://blog.eng.rocks/?p97#respond>span classdsq-postid data-dsqidentifier97 https://eng.rocks/blog/?p97>span classleave-reply>Leave a reply/span>/span>/a> /div>!-- .comments-link --> /header>!-- .entry-header --> div classentry-content> p>前提:munin已正常运行。/p>p>需求:监视54321端口的流量使用情况。/p>p>步骤:/p>ol>li>下载a hrefhttps://github.com/munin-monitoring/contrib/blob/master/plugins/network/ipt_accounting_>ipt_accounting_插件/a>/li>li>部署到 /usr/local/munin/lib/plugins/ipt_accounting_。没有放到/usr/share/munin/plugins下是为了防止munin升级时,第三方插件被覆盖掉/li>li>修改文件类型,如果启用了SELINUX,必须执行该操作,否则将munin-node会报无权限执行脚本br />em>em>span stylefont-size: 1rem;>chcon -t unconfined_munin_plugin_exec_t /usr/local/munin/lib/plugins/ipt_accounting_br />/span>/em>/em>semanage fcontext -a -t unconfined_munin_plugin_exec_t /usr/local/munin/lib/plugins/ipt_accounting_/li>li>通过下面命令激活插件监视54321端口br />ln -s /usr/local/munin/plugins/em>span stylefont-size: 1rem;>ipt_accounting_ /span>/em>/etc/munin/plugins/ipt_accounting_54321/li>li>配置iptables规则进行流量统计br />iptables -I INPUT -p tcp -d 159.89.149.45 –dport 54321 -m comment –comment “ACC-54321”br />iptables -I OUTPUT -p tcp -s 159.89.149.45 –sport 54321 -m comment –comment “ACC-54321”/li>li>重启munin-node服务br />systemctl restart munin-node/li>/ol>p>不出意外已经可以正常工作。/p>p>div stylewidth: 525px classwp-caption aligncenter>img loadinglazy classsize-medium jetpack-lazy-image srchttps://i1.wp.com/cl.ly/e2cf0d89662f/download/Image%2525202018-09-01%252520at%25252017.58.06.png?resize515%2C327&ssl1 altipt_accouting_ width515 height327 data-recalc-dims1 data-lazy-srchttps://i1.wp.com/cl.ly/e2cf0d89662f/download/Image%2525202018-09-01%252520at%25252017.58.06.png?resize515%2C327&is-pending-load1#038;ssl1 srcsetdata:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7>noscript>img loadinglazy classsize-medium srchttps://i1.wp.com/cl.ly/e2cf0d89662f/download/Image%2525202018-09-01%252520at%25252017.58.06.png?resize515%2C327&ssl1 altipt_accouting_ width515 height327 data-recalc-dims1 />/noscript>p classwp-caption-text>ipt_accouting_/p>/div>/p>p>如果需要,可以使用以下方法进行诊断:/p>blockquote>p>strong>munin-run ipt_accounting_54321 config/strong>br />graph_order out inbr />graph_title iptables traffic for 54321br />graph_args –base 1000br />graph_vlabel bits per ${graph_period}br />graph_category networkbr />out.label sentbr />out.type DERIVEbr />out.min 0br />out.cdef out,8,*br />in.label receivedbr />in.type DERIVEbr />in.min 0br />in.cdef in,8,*/p>p>strong> munin-run ipt_accounting_54321 /strong>br />in.value 24301921br />out.value 300738417/p>p>strong> nc localhost 4949/strong>br /># munin node at localhost.localdomainbr />strong>config ipt_accounting_54321/strong>br />graph_order out inbr />graph_title iptables traffic for 54321br />graph_args –base 1000br />graph_vlabel bits per ${graph_period}br />graph_category networkbr />out.label sentbr />out.type DERIVEbr />out.min 0br />out.cdef out,8,*br />in.label receivedbr />in.type DERIVEbr />in.min 0br />in.cdef in,8,*br />.br />strong>fetch ipt_accounting_54321/strong>br />in.value 24365150br />out.value 301233870/p>/blockquote>p>可以排查的日志在/var/log/munin及/var/log/munin-node下。/p> /div>!-- .entry-content --> footer classentry-meta> This entry was posted in a hrefhttps://blog.eng.rocks/?cat16 relcategory>Tech/a> and tagged a hrefhttps://blog.eng.rocks/?tagcentos reltag>Centos/a>, a hrefhttps://blog.eng.rocks/?tagmunin reltag>munin/a>, a hrefhttps://blog.eng.rocks/?tagselinux reltag>SELinux/a> on a hrefhttps://blog.eng.rocks/?p97 title6:06 pm relbookmark>time classentry-date datetime2018-08-30T18:06:03+08:00>2018-08-30/time>/a>span classby-author> by span classauthor vcard>a classurl fn n hrefhttps://blog.eng.rocks/?author1 titleView all posts by Shiqiang Wu relauthor>Shiqiang Wu/a>/span>/span>. /footer>!-- .entry-meta --> /article>!-- #post --> nav idnav-below classnavigation> h3 classassistive-text>Post navigation/h3> div classnav-previous>a hrefhttps://blog.eng.rocks/?paged2 >span classmeta-nav>←/span> Older posts/a>/div> div classnav-next>/div> /nav>!-- .navigation --> /div>!-- #content --> /div>!-- #primary --> div idsecondary classwidget-area rolecomplementary> aside idmailgun-subscriptions-2 classwidget mailgun-subscriptions>h3 classwidget-title>订阅新问题通知/h3>form classmailgun-subscription-form methodpost action/>input typehidden namemailgun-action valuesubscribe />p classmailgun-subscription-form-lists single-list>label classmailgun-list-name>input typehidden valuedwqa-newqa@mg.eng.rocks namemailgun-lists />DWQA新问题通知/label>span classsep> – /span>span classmailgun-list-description>订阅该邮件列表将收到新问题的通知邮件/span>/p>p classemail-address>label formailgun-email-address-1>Email Address/label> input typetext value namemailgun-subscriber-email size20 idmailgun-email-address-1 required placeholderEmail />/p>p classsubmit>input typesubmit valueSubscribe />/p>/form>p>a hrefhttps://blog.eng.rocks/?page_id260>Manage your subscriptions/a>/p>/aside>aside idtag_cloud-2 classwidget widget_tag_cloud>h3 classwidget-title>QA Tags/h3>div classtagcloud>ul classwp-tag-cloud rolelist> li>a hrefhttps://blog.eng.rocks/?tagaa classtag-cloud-link tag-link-8 tag-link-position-1 stylefont-size: 8pt; aria-labelAA (1 item)>AA/a>/li> li>a hrefhttps://blog.eng.rocks/?tagalaska-mileage-plan classtag-cloud-link tag-link-11 tag-link-position-2 stylefont-size: 14.3pt; aria-labelAlaska Mileage Plan (2 items)>Alaska Mileage Plan/a>/li> li>a hrefhttps://blog.eng.rocks/?tagavianca classtag-cloud-link tag-link-6 tag-link-position-3 stylefont-size: 8pt; aria-labelAvianca (1 item)>Avianca/a>/li> li>a hrefhttps://blog.eng.rocks/?tagcentos classtag-cloud-link tag-link-13 tag-link-position-4 stylefont-size: 8pt; aria-labelCentos (1 item)>Centos/a>/li> li>a hrefhttps://blog.eng.rocks/?tagchoice classtag-cloud-link tag-link-10 tag-link-position-5 stylefont-size: 8pt; aria-labelChoice (1 item)>Choice/a>/li> li>a hrefhttps://blog.eng.rocks/?tagevus classtag-cloud-link tag-link-12 tag-link-position-6 stylefont-size: 8pt; aria-labelEVUS (1 item)>EVUS/a>/li> li>a hrefhttps://blog.eng.rocks/?taghg classtag-cloud-link tag-link-38 tag-link-position-7 stylefont-size: 8pt; aria-labelhg (1 item)>hg/a>/li> li>a hrefhttps://blog.eng.rocks/?taghilton-hhonors classtag-cloud-link tag-link-3 tag-link-position-8 stylefont-size: 14.3pt; aria-labelHilton HHonors (2 items)>Hilton HHonors/a>/li> li>a hrefhttps://blog.eng.rocks/?taglifemiles classtag-cloud-link tag-link-5 tag-link-position-9 stylefont-size: 8pt; aria-labelLifemiles (1 item)>Lifemiles/a>/li> li>a hrefhttps://blog.eng.rocks/?tagmarriott-bonvoy classtag-cloud-link tag-link-35 tag-link-position-10 stylefont-size: 8pt; aria-labelMarriott Bonvoy (1 item)>Marriott Bonvoy/a>/li> li>a hrefhttps://blog.eng.rocks/?tagmercurial classtag-cloud-link tag-link-37 tag-link-position-11 stylefont-size: 8pt; aria-labelmercurial (1 item)>mercurial/a>/li> li>a hrefhttps://blog.eng.rocks/?tagmunin classtag-cloud-link tag-link-14 tag-link-position-12 stylefont-size: 14.3pt; aria-labelmunin (2 items)>munin/a>/li> li>a hrefhttps://blog.eng.rocks/?tagphp classtag-cloud-link tag-link-21 tag-link-position-13 stylefont-size: 8pt; aria-labelPHP (1 item)>PHP/a>/li> li>a hrefhttps://blog.eng.rocks/?tagselinux classtag-cloud-link tag-link-15 tag-link-position-14 stylefont-size: 14.3pt; aria-labelSELinux (2 items)>SELinux/a>/li> li>a hrefhttps://blog.eng.rocks/?tagspg classtag-cloud-link tag-link-7 tag-link-position-15 stylefont-size: 22pt; aria-labelSPG (4 items)>SPG/a>/li> li>a hrefhttps://blog.eng.rocks/?tagsynology classtag-cloud-link tag-link-36 tag-link-position-16 stylefont-size: 18.5pt; aria-labelSynology (3 items)>Synology/a>/li> li>a hrefhttps://blog.eng.rocks/?tagunited classtag-cloud-link tag-link-9 tag-link-position-17 stylefont-size: 8pt; aria-labelUnited (1 item)>United/a>/li> li>a hrefhttps://blog.eng.rocks/?tagv2ray classtag-cloud-link tag-link-32 tag-link-position-18 stylefont-size: 14.3pt; aria-labelv2ray (2 items)>v2ray/a>/li> li>a hrefhttps://blog.eng.rocks/?tag%e8%bf%94%e7%8e%b0 classtag-cloud-link tag-link-33 tag-link-position-19 stylefont-size: 8pt; aria-label返现 (1 item)>返现/a>/li>/ul>/div>/aside>aside idsearch-2 classwidget widget_search>form rolesearch methodget idsearchform classsearchform actionhttps://blog.eng.rocks/> div> label classscreen-reader-text fors>Search for:/label> input typetext value names ids /> input typesubmit idsearchsubmit valueSearch /> /div> /form>/aside> aside idrecent-posts-2 classwidget widget_recent_entries> h3 classwidget-title>Recent Posts/h3> ul> li> a hrefhttps://blog.eng.rocks/?p399>群晖多网口桥接上网/a> /li> li> a hrefhttps://blog.eng.rocks/?p351>群晖synology搭建mercurial服务/a> /li> li> a hrefhttps://blog.eng.rocks/?p347>群晖synology配置带basic auth的反向代理/a> /li> li> a hrefhttps://blog.eng.rocks/?p340>v2ray服务端配置禁止访问特定域名/a> /li> li> a hrefhttps://blog.eng.rocks/?p321>建行境外线上返现叠加万豪等买分活动/a> /li> /ul> /aside>aside idcategories-2 classwidget widget_categories>h3 classwidget-title>博客目录/h3> ul> li classcat-item cat-item-16>a hrefhttps://blog.eng.rocks/?cat16>Tech/a>/li> li classcat-item cat-item-2>a hrefhttps://blog.eng.rocks/?cat2>常旅客/a>/li> li classcat-item cat-item-17>a hrefhttps://blog.eng.rocks/?cat17>杂谈/a>/li> /ul> /aside>aside idtag_cloud-3 classwidget widget_tag_cloud>h3 classwidget-title>Tags/h3>div classtagcloud>ul classwp-tag-cloud rolelist> li>a hrefhttps://blog.eng.rocks/?tagaa classtag-cloud-link tag-link-8 tag-link-position-1 stylefont-size: 8pt; aria-labelAA (1 item)>AA/a>/li> li>a hrefhttps://blog.eng.rocks/?tagalaska-mileage-plan classtag-cloud-link tag-link-11 tag-link-position-2 stylefont-size: 14.3pt; aria-labelAlaska Mileage Plan (2 items)>Alaska Mileage Plan/a>/li> li>a hrefhttps://blog.eng.rocks/?tagavianca classtag-cloud-link tag-link-6 tag-link-position-3 stylefont-size: 8pt; aria-labelAvianca (1 item)>Avianca/a>/li> li>a hrefhttps://blog.eng.rocks/?tagcentos classtag-cloud-link tag-link-13 tag-link-position-4 stylefont-size: 8pt; aria-labelCentos (1 item)>Centos/a>/li> li>a hrefhttps://blog.eng.rocks/?tagchoice classtag-cloud-link tag-link-10 tag-link-position-5 stylefont-size: 8pt; aria-labelChoice (1 item)>Choice/a>/li> li>a hrefhttps://blog.eng.rocks/?tagevus classtag-cloud-link tag-link-12 tag-link-position-6 stylefont-size: 8pt; aria-labelEVUS (1 item)>EVUS/a>/li> li>a hrefhttps://blog.eng.rocks/?taghg classtag-cloud-link tag-link-38 tag-link-position-7 stylefont-size: 8pt; aria-labelhg (1 item)>hg/a>/li> li>a hrefhttps://blog.eng.rocks/?taghilton-hhonors classtag-cloud-link tag-link-3 tag-link-position-8 stylefont-size: 14.3pt; aria-labelHilton HHonors (2 items)>Hilton HHonors/a>/li> li>a hrefhttps://blog.eng.rocks/?taglifemiles classtag-cloud-link tag-link-5 tag-link-position-9 stylefont-size: 8pt; aria-labelLifemiles (1 item)>Lifemiles/a>/li> li>a hrefhttps://blog.eng.rocks/?tagmarriott-bonvoy classtag-cloud-link tag-link-35 tag-link-position-10 stylefont-size: 8pt; aria-labelMarriott Bonvoy (1 item)>Marriott Bonvoy/a>/li> li>a hrefhttps://blog.eng.rocks/?tagmercurial classtag-cloud-link tag-link-37 tag-link-position-11 stylefont-size: 8pt; aria-labelmercurial (1 item)>mercurial/a>/li> li>a hrefhttps://blog.eng.rocks/?tagmunin classtag-cloud-link tag-link-14 tag-link-position-12 stylefont-size: 14.3pt; aria-labelmunin (2 items)>munin/a>/li> li>a hrefhttps://blog.eng.rocks/?tagphp classtag-cloud-link tag-link-21 tag-link-position-13 stylefont-size: 8pt; aria-labelPHP (1 item)>PHP/a>/li> li>a hrefhttps://blog.eng.rocks/?tagselinux classtag-cloud-link tag-link-15 tag-link-position-14 stylefont-size: 14.3pt; aria-labelSELinux (2 items)>SELinux/a>/li> li>a hrefhttps://blog.eng.rocks/?tagspg classtag-cloud-link tag-link-7 tag-link-position-15 stylefont-size: 22pt; aria-labelSPG (4 items)>SPG/a>/li> li>a hrefhttps://blog.eng.rocks/?tagsynology classtag-cloud-link tag-link-36 tag-link-position-16 stylefont-size: 18.5pt; aria-labelSynology (3 items)>Synology/a>/li> li>a hrefhttps://blog.eng.rocks/?tagunited classtag-cloud-link tag-link-9 tag-link-position-17 stylefont-size: 8pt; aria-labelUnited (1 item)>United/a>/li> li>a hrefhttps://blog.eng.rocks/?tagv2ray classtag-cloud-link tag-link-32 tag-link-position-18 stylefont-size: 14.3pt; aria-labelv2ray (2 items)>v2ray/a>/li> li>a hrefhttps://blog.eng.rocks/?tag%e8%bf%94%e7%8e%b0 classtag-cloud-link tag-link-33 tag-link-position-19 stylefont-size: 8pt; aria-label返现 (1 item)>返现/a>/li>/ul>/div>/aside>aside idarchives-3 classwidget widget_archive>h3 classwidget-title>Archives/h3> ul> li>a hrefhttps://blog.eng.rocks/?m202302>February 2023/a>/li> li>a hrefhttps://blog.eng.rocks/?m202009>September 2020/a>/li> li>a hrefhttps://blog.eng.rocks/?m202007>July 2020/a>/li> li>a hrefhttps://blog.eng.rocks/?m202006>June 2020/a>/li> li>a hrefhttps://blog.eng.rocks/?m201906>June 2019/a>/li> li>a hrefhttps://blog.eng.rocks/?m201810>October 2018/a>/li> li>a hrefhttps://blog.eng.rocks/?m201808>August 2018/a>/li> li>a hrefhttps://blog.eng.rocks/?m201806>June 2018/a>/li> li>a hrefhttps://blog.eng.rocks/?m201712>December 2017/a>/li> li>a hrefhttps://blog.eng.rocks/?m201711>November 2017/a>/li> li>a hrefhttps://blog.eng.rocks/?m201709>September 2017/a>/li> li>a hrefhttps://blog.eng.rocks/?m201706>June 2017/a>/li> li>a hrefhttps://blog.eng.rocks/?m201705>May 2017/a>/li> li>a hrefhttps://blog.eng.rocks/?m201704>April 2017/a>/li> /ul> /aside>aside idmeta-2 classwidget widget_meta>h3 classwidget-title>Meta/h3> ul> li>a hrefhttps://blog.eng.rocks/?actionlogin>Log in/a>/li> li>a hrefhttps://blog.eng.rocks/?feedrss2>Entries feed/a>/li> li>a hrefhttps://blog.eng.rocks/?feedcomments-rss2>Comments feed/a>/li> li>a hrefhttps://wordpress.org/>WordPress.org/a>/li> /ul> /aside>aside idtext-3 classwidget widget_text> div classtextwidget>script> (function(i,s,o,g,r,a,m){iGoogleAnalyticsObjectr;irir||function(){ (ir.qir.q||).push(arguments)},ir.l1*new Date();as.createElement(o), ms.getElementsByTagName(o)0;a.async1;a.srcg;m.parentNode.insertBefore(a,m) })(window,document,script,https://www.google-analytics.com/analytics.js,ga); ga(create, UA-501392-16, auto); ga(send, pageview);/script>?php$agent strtolower($_SERVERHTTP_USER_AGENT);if (strpos($agent, tencenttraveler) false){ echo 非微信浏览;} else { echo 是,查看原网页;}?>/div> /aside> /div>!-- #secondary --> /div>!-- #main .wrapper --> footer idcolophon rolecontentinfo> div classsite-info> a hrefhttps://wordpress.org/ classimprint titleSemantic Personal Publishing Platform> Proudly powered by WordPress /a> /div>!-- .site-info --> /footer>!-- #colophon -->/div>!-- #page --> div classjp-carousel-wrap jp-carousel-transitions itemscope itemtypehttps://schema.org/ImageGallery styledisplay: none;> div classjp-carousel-overlay>/div> div classjp-carousel>/div> div classjp-carousel-fadeaway>/div> div classjp-carousel-info> div classjp-carousel-photo-info> h2 classjp-carousel-caption itempropcaption description>/h2> /div> div classjp-carousel-info-columns> div classjp-carousel-left-column-wrapper> div classjp-carousel-titleanddesc>/div> !-- Intentional duplicate --> div classjp-carousel-photo-info> h2 classjp-carousel-caption itempropcaption description>/h2> /div> div idjp-carousel-comment-form-container> form idjp-carousel-comment-form> label forjp-carousel-comment-form-comment-field classscreen-reader-text>Write a Comment.../label> textarea namecomment classjp-carousel-comment-form-field jp-carousel-comment-form-textarea idjp-carousel-comment-form-comment-field placeholderWrite a Comment... >/textarea> div idjp-carousel-comment-form-submit-and-info-wrapper> div idjp-carousel-comment-form-commenting-as> fieldset> label forjp-carousel-comment-form-email-field>Email (Required)/label> input typetext nameemail classjp-carousel-comment-form-field jp-carousel-comment-form-text-field idjp-carousel-comment-form-email-field /> /fieldset> fieldset> label forjp-carousel-comment-form-author-field>Name (Required)/label> input typetext nameauthor classjp-carousel-comment-form-field jp-carousel-comment-form-text-field idjp-carousel-comment-form-author-field /> /fieldset> fieldset> label forjp-carousel-comment-form-url-field>Website/label> input typetext nameurl classjp-carousel-comment-form-field jp-carousel-comment-form-text-field idjp-carousel-comment-form-url-field /> /fieldset> /div> input typesubmit namesubmit classjp-carousel-comment-form-button idjp-carousel-comment-form-button-submit valuePost Comment /> span idjp-carousel-comment-form-spinner> /span> div idjp-carousel-comment-post-results>/div> /div> /form> /div> div classjp-carousel-comments>/div> div idjp-carousel-comments-loading> span>Loading Comments.../span> /div> /div> div classjp-carousel-image-meta> div classjp-carousel-buttons> a classjp-carousel-commentlink href#>Comment/a> /div> ul classjp-carousel-image-exif styledisplay: none;>/ul> a classjp-carousel-image-download styledisplay: none;>/a> div classjp-carousel-image-map styledisplay: none;>/div> /div> /div> /div> div classjp-carousel-next-button styledisplay: none;> span>/span> /div> div classjp-carousel-previous-button styledisplay: none;> span>/span> /div> div classjp-carousel-close-hint>span>×/span>/div> /div> link relstylesheet idmailgun-subscriptions-css hrefhttps://blog.eng.rocks/wp-content/plugins/mailgun-subscriptions/assets/mailgun-subscriptions.css?ver1.2.0 typetext/css mediaall />script typetext/javascript srchttps://blog.eng.rocks/wp-content/plugins/jetpack/_inc/build/photon/photon.min.js?ver20191001 idjetpack-photon-js>/script>script typetext/javascript iddisqus_count-js-extra>/* !CDATA */var countVars {disqusShortname:https-eng-rocks};/* > *//script>script typetext/javascript srchttps://blog.eng.rocks/wp-content/plugins/disqus-comment-system/public/js/comment_count.js?ver3.1.2 iddisqus_count-js>/script>script typetext/javascript idtheme-my-login-js-extra>/* !CDATA */var themeMyLogin {action:,errors:};/* > *//script>script typetext/javascript srchttps://blog.eng.rocks/wp-content/plugins/theme-my-login/assets/scripts/theme-my-login.min.js?ver7.1.10 idtheme-my-login-js>/script>script typetext/javascript srchttps://blog.eng.rocks/wp-content/themes/twentytwelve/js/navigation.js?ver20141205 idtwentytwelve-navigation-js>/script>script typetext/javascript srchttps://blog.eng.rocks/wp-content/plugins/jetpack/vendor/automattic/jetpack-lazy-images/src/js/intersectionobserver-polyfill.min.js?ver1.1.2 idjetpack-lazy-images-polyfill-intersectionobserver-js>/script>script typetext/javascript idjetpack-lazy-images-js-extra>/* !CDATA */var jetpackLazyImagesL10n {loading_warning:Images are still loading. Please cancel your print and try again.};/* > *//script>script typetext/javascript srchttps://blog.eng.rocks/wp-content/plugins/jetpack/vendor/automattic/jetpack-lazy-images/src/js/lazy-images.min.js?ver1.1.2 idjetpack-lazy-images-js>/script>script typetext/javascript srchttps://blog.eng.rocks/wp-includes/js/wp-embed.min.js?ver5.6.14 idwp-embed-js>/script>script typetext/javascript idjetpack-carousel-js-extra>/* !CDATA */var jetpackCarouselStrings {widths:370,700,1000,1200,1400,2000,is_logged_in:,lang:en,ajaxurl:https:\/\/blog.eng.rocks\/wp-admin\/admin-ajax.php,nonce:1821ba2711,display_exif:1,display_comments:1,display_geo:1,single_image_gallery:1,single_image_gallery_media_file:,background_color:black,comment:Comment,post_comment:Post Comment,write_comment:Write a Comment...,loading_comments:Loading Comments...,download_original:View full size span class\photo-size\>{0}span class\photo-size-times\>\u00d7\/span>{1}\/span>,no_comment_text:Please be sure to submit some text with your comment.,no_comment_email:Please provide an email address to comment.,no_comment_author:Please provide your name to comment.,comment_post_error:Sorry, but there was an error posting your comment. Please try again later.,comment_approved:Your comment was approved.,comment_unapproved:Your comment is in moderation.,camera:Camera,aperture:Aperture,shutter_speed:Shutter Speed,focal_length:Focal Length,copyright:Copyright,comment_registration:0,require_name_email:1,login_url:https:\/\/blog.eng.rocks\/?actionlogin&redirect_tohttps%3A%2F%2Fblog.eng.rocks%2F%3Fp%3D399,blog_id:1,meta_data:camera,aperture,shutter_speed,focal_length,copyright};/* > *//script>script typetext/javascript srchttps://blog.eng.rocks/wp-content/plugins/jetpack/_inc/build/carousel/jetpack-carousel.min.js?ver9.8.2 idjetpack-carousel-js>/script>script srchttps://stats.wp.com/e-202502.js defer>/script>script> _stq window._stq || ; _stq.push( view, {v:ext,j:1:9.8.2,blog:129670806,post:0,tz:8,srv:blog.eng.rocks} ); _stq.push( clickTrackerInit, 129670806, 0 );/script>/body>/html>
Subdomains
Date
Domain
IP
email.mg.eng.rocks
2024-09-29
104.21.63.4
blog.eng.rocks
2025-01-06
104.21.63.4
View on OTX
|
View on ThreatMiner
Please enable JavaScript to view the
comments powered by Disqus.
Data with thanks to
AlienVault OTX
,
VirusTotal
,
Malwr
and
others
. [
Sitemap
]