Re: DOC: Suggest to replace the netstat commands

2019-07-09 Thread Klaus Foerster

It might be a good idea to show the netstat and the ss command.

netstat is for example no more installed by default on ubuntu systems,
whereas ss is.
Of course netstat can be installed without issues, but it's not there by 
default.




On 7/9/19 8:20 AM, Willy Tarreau wrote:

On Mon, Jul 08, 2019 at 04:51:24PM +0200, Alain Belkadi wrote:

Hello,

As the "netstat" command is deprecated since a long time (1), I suggest to
replace it with other commands like ss and ip.

I disagree with this. netstat is not deprecated at all, it's superseded
*on linux* because there we have netlink which provides a much faster and
more complete interface than the one used by netstat. But netstat is the
only command you'll find on about all systems and its output format is
pretty consistent.

However it might make sense to add a few lines close to the locations where
netstat is mentioned to indicate that on Linux ss is preferred since it's
much less resource intensive than netstat.

Thanks,
Willy





haproxy as SSL-endpoint and as SSL forwarder (tcp mode)

2016-09-02 Thread Klaus Foerster

For one project I use haproxy in https tcp mode.

I configured it such, that depending on the server name detected via 
SNI, the data is forwarded via the proxy protocol to a proxy protocol 
aware https server  (e.g. nginx)


However for a few servers I'd like haproxy to act as an SSL endpoint and 
forward plain http traffic to the final host.


Can implement this with with one haproxy instance?

At the moment I'm using haproxy as SNI forwarder in TCP mode and nginx 
to act as https end point.

I just wondered whether there isn't a  better solution


My config looks like.
Thanks in advance foe any suggestions / ideas


frontend ft_ssl_ip
log global
option tcplog
bind 0.0.0.0:443
mode tcp
tcp-request inspect-delay 15s
tcp-request content accept if { req.ssl_hello_type 1 }

acl is_srvr1 req.ssl_sni -i server1.mydomain
acl is_srvr2 req.ssl_sni -i server2.mydomain
acl is_srvr3 req.ssl_sni -i server3.mydomain

use_backend be_srvr1 if is_srvr1
use_backend be_srvr2 if is_srvr2
use_backend be_srvr3 if is_srvr3


backend be_srvr1
mode tcp
balance roundrobin
server srvr1 ip_of_srvr1 send-proxy

backend be_srvr2
mode tcp
balance roundrobin
server srvr1 ip_of_srvr2 send-proxy

backend be_srvr3
mode tcp
balance roundrobin
server srvr1 ip_of_an_nginx_endpoint_forwarding_http_to_srvr3 
send-proxy



config looks roughly like





[SPAM] I want to be your good partner

2015-07-17 Thread Klaus
Dear purchasing manager,

Hello,this Klaus from Hangzhou Modern Color Printing Co., Ltd.,our company is a 
professional printing manufacturer with years’s experience.so we want to avail 
ourselves of opportunity establishing business relation with you.
Please link our company website : http://www.topbook-printer.com/
If you want to know more about our product,by the way, free sample are 
available.
Thank you in advance!

Best regards,
Klaus
Hangzhou Modern Color Printing Co., Ltd.
Mail: klaus_mod...@163.com

[SPAM] Why should you choose the right book printer

2015-07-06 Thread Klaus
Dear Purchasing Manager,

Are you still suffering from a lack of good printing experience? Are you 
feeling printing products not reaching their desired goal, or is the high 
price? All right, why don't we look farther? You just need a right book printer.
In China, Hangzhou, there is a professional printing group so that we can 
provide better service.
Various hardcover books, softcover books, magazines, brochures and gift boxes, 
etc. are achievable in here.
Why do we have to spend big price to buy advanced machinery and technology? We 
know the value of them. Minimal human error and lower overhead cost, which adds 
value to you with consistently high-quality printing at favorable prices.
We believe that you will make a wise choice.

Best Regards
Peter

[SPAM] Why should you choose the right book printer

2015-07-02 Thread Klaus
Dear Purchasing Manager,

Are you still suffering from a lack of good printing experience? Are you 
feeling printing products not reaching their desired goal, or is the high 
price? All right, why don't we look farther? You just need a right book printer.
In China, Hangzhou, there is a professional printing group so that we can 
provide better service.
Various hardcover books, softcover books, magazines, brochures and gift boxes, 
etc. are achievable in here.
Why do we have to spend big price to buy advanced machinery and technology? We 
know the value of them. Minimal human error and lower overhead cost, which adds 
value to you with consistently high-quality printing at favorable prices.
We believe that you will make a wise choice.

Best Regards
Peter

[SPAM] Why should you choose the right book printer

2015-07-01 Thread Klaus
Dear Purchasing Manager,

Are you still suffering from a lack of good printing experience? Are you 
feeling printing products not reaching their desired goal, or is the high 
price? All right, why don't we look farther? You just need a right book printer.
In China, Hangzhou, there is a professional printing group so that we can 
provide better service.
Various hardcover books, softcover books, magazines, brochures and gift boxes, 
etc. are achievable in here.
Why do we have to spend big price to buy advanced machinery and technology? We 
know the value of them. Minimal human error and lower overhead cost, which adds 
value to you with consistently high-quality printing at favorable prices.
We believe that you will make a wise choice.

Best Regards
Peter