A simple business plan to provide managed shared hosting services for 100 clients

Hello, can anyone criticize this simple business plan?

I intend to buy a fully managed vps plan from Inmotion Hosting. It costs about $ 800 per year.

I would like to use IM Creator as my main CMS: the annual plan costs around $ 2,500.

I would like to charge my clients a fixed annual or monthly rate. Mainly, I will use IM Creator (EXPRS Website Builder) to create the sites.

1. How viable is this plan in terms of security?

Looking to buy accommodation clients in the UK!

Hello,

We are a small hosting company based in the United Kingdom. We are looking to buy accommodation clients in the United Kingdom.

Please send me a PM with details or your … | Read the rest of http://www.webhostingtalk.com/showthread.php?t=1775896&goto=newpost

javascript – Socket.io response: How to make the server respond to multiple clients when receiving information from all clients?

I am learning about node.js, express and socket.io

I managed to successfully configure my server and connect from the browser using localhost: 3000

I can send client information to the server and vice versa without problems.

What I need to do now is this.

Let's say we have 2 clients connected to the server.

Each client will send information.


socket.emit('mydata', datavariable);

On the server:

socket.on('mydata', function(datavariable) {

         myArray.push(datavariable); //myArray declared globally

});

How do I code it for the server to do something like this?

if(myArray.length = #ofconnectedclients) {

  socket.emit("filledUpArray", myArray);

}

Or another way of saying it, I guess, once you've received a response from all connected clients, do something.

I want to receive information from all customers, and after receiving that information from all customers, then send that data (now stored in a matrix) to all my clients.

Thank you!

Python Networking: server-client application to transmit data to multiple clients

I wrote a server-client application in Python where the server sends an endless flow of messages to the clients that connect.

I needed that architecture because I want to recover and process data from a public transmission endpoint, however, the company limits the number of active connections to one per user.

With this configuration, I can start my server ONCE and then forward the data to any number of connected clients. This allows me to process data in different ways simultaneously (for example, one customer can write items to a database, while another calculates some metrics, etc.). In addition, it allows me to develop a new module and connect it once it is ready for implementation, without interfering with my production modules.


Some details:

I send individual elements of variable length prefixing them with their length and then read this number of bytes on the client side.

To prevent a defective client from tearing down the server, I have a limited message queue for each client and the client disconnects once the queue reaches a defined limit.


It's the first time I write network code in Python (and in general), so I'm looking for ANY advice or suggestion.

Thank you!


Server:

import socket
import struct
import time

from threading import Thread
from queue import Queue

MAX_CLIENTS = 16
MAX_CLIENT_QSIZE = 600

HEADER_FORMAT = struct.Struct('!I')


class _ClientHandler(Thread):

    def __init__(self, sock, address, server):
        Thread.__init__(self, daemon = True)

        self.sock = sock
        self.address = address
        self.server = server # Reference to server

        self.queue = Queue() # Message queue

    def _send_item(self, item):
        """Send item to client. Blocks thread."""

        self.sock.sendall(HEADER_FORMAT.pack(len(item)))
        self.sock.sendall(item.encode('utf-8'))

    def run(self):
        """Pop items from queue and sent to client."""

        while True:
            try:
                item = self.queue.get()
                self._send_item(item)
            except BrokenPipeError:
                self.server.delete_client(self.ident)
            except OSError:
                self.server.delete_client(self.ident)
            except:
                raise

class StreamServer(Thread):

    def __init__(self, address):
        Thread.__init__(self, daemon = True)

        self.address = address
        self._clients = dict()

    def __enter__(self):
        return self

    def __exit__(self, exc_type, exc_value, traceback):
        """Disconnect clients and remove client threads when leaving context."""

        for ident in self._clients.keys():
            self.delete_client(ident)

    def queue_item(self, item):
        """Push item to every client queue."""

        for ident, client in self._clients.items():
            if client.queue.qsize() >= MAX_CLIENT_QSIZE:
                print('Client', client.sock.getsockname(), 'reached maximum qsize')
                self.delete_client(ident)
            client.queue.put(item)

    def get_qsizes(self):
        """Get list of client queue sizes."""

        return (client.queue.qsize() for _, client in self._clients.items())

    def delete_client(self, ident):
        """Close client socket and delete client thread."""

        self._clients(ident).sock.close()
        del self._clients(ident) # Delete only client thread reference (garbage collection?)

    def run(self):
        """Listen for incomming client connections."""

        with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as sock:
            sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)

            sock.bind(self.address)
            sock.listen(4)

            print('Listening at', sock.getsockname())

            while True:
                try:
                    # Refuse connections once client limit reached
                    while len(self._clients) >= MAX_CLIENTS:
                        time.sleep(60)

                    client_sock, client_addr = sock.accept()
                    client_sock.shutdown(socket.SHUT_RD)
                    client = _ClientHandler(client_sock, client_addr, self)

                    print('Connection from', client_sock.getsockname())

                    client.start()
                    self._clients(client.ident) = client
                except:
                    # ...
                    # What exceptions to expect?
                    raise


if __name__ == '__main__':
    with StreamServer(('localhost', 1060)) as server:
        server.start() # Start server thread

        last_time = time.time()
        for item in range(1,1000):
            server.queue_item(str(item))
            time.sleep(1)

            if time.time() - last_time > 10.0:
                print('Client queue sizes:', server.get_qsizes())
                last_time = time.time()

Client:

import socket
import struct

HEADER_FORMAT = struct.Struct('!I')

class StreamClient():

    def __init__(self, address):
        self.sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)

        self.sock.connect(address)
        self.sock.shutdown(socket.SHUT_WR)
        print('Connected to', self.sock.getsockname())

    def __enter__(self):
        return self

    def __exit__(self, exc_type, exc_value, traceback):
        self.sock.close()

    def _recvall(self, size):
        data = b''
        while size:
            block = self.sock.recv(size)

            if not block:
                raise EOFError('Socket closed during message transmission')

            data += block
            size -= len(block)
        return data

    def __iter__(self):
        while True:
            try:
                (item_size,) = HEADER_FORMAT.unpack(self._recvall(HEADER_FORMAT.size))
                yield self._recvall(item_size).decode('utf-8')
            except EOFError:
                return
            except:
                # ...
                # What exceptions to expect?
                raise


if __name__ == '__main__':
    with StreamClient(('localhost', 1060)) as stream:
        for item in stream:
            print(item)

iptables rules for routing an arbitrary number of clients to their own proxy servers on the same network

I have several test devices and I want everyone to have their HTTP requests (port 80) routed to their own physical proxy server running on the same network. I have currently succeeded in routing a single device to its own proxy server, but I would like a solution for an arbitrary number of devices / proxy servers. Can this be done?

My current iptables configuration:

#!/bin/sh
PROXY_SERVER_MACHINE=192.168.42.246
MACHINE_TO_PROXIFY=192.168.42.102

iptables -I PREROUTING 1 -t mangle -s $MACHINE_TO_PROXIFY ! -d 192.168.42.1/255.255.255.0 -p tcp -m multiport --dports 80,81 -j MARK --set-mark 3
iptables -I PREROUTING 2 -t mangle -s $MACHINE_TO_PROXIFY ! -d 192.168.42.1/255.255.255.0 -p tcp -m multiport --dports 80,81 -j CONNMARK --save-mark
iptables -I PREROUTING 3 -t mangle -s $MACHINE_TO_PROXIFY ! -d 255.255.255.0 -p tcp -m multiport --dports 80,81 -j MARK --set-mark 3
iptables -I PREROUTING 4 -t mangle -s $MACHINE_TO_PROXIFY ! -d 255.255.255.0 -p tcp -m multiport --dports 80,81 -j CONNMARK --save-mark

ip rule add fwmark 3 table 13
ip route add default via $PROXY_SERVER_MACHINE table 13

Shared hosting clients and French-speaking resellers selling to sell

Hello,

We are currently in the reorganization of our services and we have decided to stop offering shared hosting and reseller hosting and we will focus on managed services.

Most of our users are Francophones. And these are good quality customers who have been with us for several years. Therefore, we will give priority to French-speaking companies. Ideally companies from Quebec or Europe.

Most of our customers use the DirectAdmin panel.

Actually we have:

+/- 140 Shared Hosting (25 cPanel – 115 DirectAdmin)
+/- 12 reseller (3 cPanel – 9 DirectAdmin)
+/- 220 domains (61 in enom and +/- 160 Resell.biz)

Users can be sold separately (cPanel – DirectAdmin)

We have generated approximately $ 9,000 per year for the past 3 years with web hosting and resellers.

You can contact me via PM

As stated earlier, we will give priority to French-speaking companies, since most of our clients speak French.

Regards,

multipath – How do I specify a preferred source address for IPv6 multihome clients?

My ISP provides an IPv6 prefix delegation but with a dynamic prefix. I want a static prefix routed publicly for some local services, so I also have a Hurricane Electric tunnel set up, which means that customers must operate in a multihoming multi-direction mode. The HE tunnel also requires that traffic originating in the static prefix HE be routed through the HE tunnel; otherwise, reply packets are discarded upstream from my router.

The tunnel is necessarily slower than the native IPv6, so I want clients to prefer the source IP addresses that are in the dynamic prefix of the ISP except when connected directly to local services. How do I configure clients (a combination of Ubuntu and Windows) to prefer the native (but dynamic) "home"?

I need potential clients of payday loans (US only)

With more than 23 years of experience in high-level financial verticals, we understand the needs of our partners. Our partner in the industry is our livelihood, we are committed to your success. We establish long-term relationships with our buyers based on respect, honesty and impartiality.

WHY WORK WITH US?

We provide 25-50 sample drivers for the test for free.

We offer a refund of invalid numbers and non-interested buyers.

To test our potential customers today, contact us at And we will help you with examples of potential customers and price list. We offer more than 90% guarantee of interested customers and also filter potential customers.

WHAT KIND OF LEADERS DO WE OFFER?

1] United States payday leads

2] Canada Payday Leaders

3] All types of potential customers based in the US

4] All types of potential customers based in Canada

5] All types of drivers based in Australia

Contact us with any type of potential customers you are looking for and we would love to provide you with a sample with an accuracy greater than 90-95%.
We respond within one business day, usually immediately.

Sincerely,
God takes the speed

[SOVED] I can not integrate the chat plugin for Messenger clients on my WordPress site | Proxies123.com

Hi all,

Chat add-on for clients The code does not seem to work with the theme I used (WP-DaVinci). Normally, I put the code in footer.php down before

It worked on my previous topic that is two thousand and twelve. Now in my new topic, it does not work at all. I even put it in header.php after

PHP:


<body <? php body_class(); ?>>


Where to put the code for the Chat add-on for clients to work.

Please help. Thank you!

EDIT:

In conflict with Easy Facebook Add to Likebox by Danish Ali Malik when activated. Disabled. Problem solved!

I can not integrate the chat plugin for Messenger clients on my WordPress site | Proxies123.com

Hi all,

Chat add-on for clients The code does not seem to work with the theme I used (WP-DaVinci). Normally, I put the code in footer.php down before

It worked on my previous topic that is two thousand and twelve. Now in my new topic, it does not work at all. I even put it in header.php after

PHP:


<body <? php body_class(); ?>>


Where to put the code for the Chat add-on for clients to work.

Please help. Thank you!