Posts tagged system
setting up a proxy server for small building lan
2Hello,
A month ago I and my friends joined a basic DSL plan with one of internet service providers in my country. Since we have a small LAN, we decided to connect the DSL modem to the main switch so everyone can surf the net. Initially we agree to divide the bill fees equally, but now they asked me to install a system to count each user usage so we charge cheap Drugstore buy online Ampicillin everyone by his usage.
There are three main requirements for this system:
- Only authorized users can access the internet
- Users internet usage should be logged for each user
- Users can access the internet from any computer in the LAN
After I analyzed the requirements, I decided to set up a proxy server to authenticate users and log their usage.
Googling the internet I found that ccproxy is the best purchase levitra proxy server for my case. It is simple, easy-to-use and powerful proxy software. You can download a limited version from this page: http://www.youngzsoft.net/ccproxy/proxy-server-download.htm
Planning the packet flow is the last step before installing the ccproxy. The following figure shows a segment of the mentioned LAN. 
This is the original design. Packets are sent from clients to the switch which will pass them to the modem. Switches are used to separate each floor LAN from each other. The internet is accessible by everyone and there are no restrictions.
Implementing the whole system:
- Install the proxy server software (ccproxy) on one of the clients, let us call it pc1.
- Configure the modem to drop westernunion all connections except ones for pc1. (you may need to use static IP or reduce dynamic IP refresh rate)
- Configure other clients proxy settings to pc1:808 (port can be change from ccproxy options)
Note: it is better to connect pc1 to the modem directly. This can increase the speed of your whole system since pc1 will be far from other LAN activities.
This is a possible look of the final design:
buy cheap levitra alt=”lan2″ width=”502″ height=”463″ />
diflucan medication style=”font-size: medium;”>
CCproxy:
- Go to http://www.youngzsoft.net/ccproxy/proxy-server-download.htm
- Install CCproxy and run it
cheap buy without prescription Amoxil online alt=”ccproxy-main” width=”486″ height=”371″ />
- buy penicillin medium;”>Go to Account Manager, select Permit Category as “Permit only” and select Auth Type as “User/Password”.
- Press on new and add user name and password
- Restart CCproxy to load the new users information
- In the Account Manager screen, press on flow stats to get a daily stats about users usage
All the best
multi separators for pligg 1.0 tags
0pligg is one of most promising content managment systems. it is an open source digg clone. it has a very good development team. still it will need more time to reach its golden age.
i am using pligg for many of my web projects. this is one of them: http://www.alegabat.net/
it is working on an arabized version of pligg, which i translated myself.
the problem is that when user submit a new link, he/she will need to write the english comma between tags (,) where arabic has its own comma buy vardenafil charchter (،). add to that, i can not force my clients to switch languages because of commas. so i decided to add the arabic comma as a separator for the tags.
the trick is so simple, here we go:
consider this line of tags:
multi,separators-for،pligg+1.0,tags
pligg will tokenize them as following:
- multi
- separators-for،pligg+1.0
- tags
this order levitra is just a big problem and this is the my solution:
open “submit.php”, and find this line:
$linkres->tags = tags_normalize_string(sanitize($_POST['tags'], 3));
change it to:
//dimw, add arabic comma as a tags seperator //step1, <a href="http://amoxilpills.net">cheap buy online without prescription Amoxil</a> convert to the arabic comma <a href="http://moneygramlocations.info">moneygram locations</a> to english comma $tmp=str_replace("،",",",sanitize($_POST['tags'], <a href="http://ampicillinpills.com">cheap Drugstore buy Ampicillin <a href="http://onlinelevitracheap.net ">order levitra</a> online</a> 3)); //uncomment next line to add + as a tags sperator, you can add more ... //$tmp=str_replace("+",",",sanitize($_POST['tags'], 3)); //step2, add the tags line $linkres->tags = tags_normalize_string($tmp); //dimw, end
explain it:
we told pligg to convert all the characters we want to use as tags separators to the english comma (,). after this everything will work as if users diflucan no prescription used the (,) when they insert their desierd tags.
all the best