Search found 549 matches

by mudasir
Sun Apr 18, 2010 2:32 pm
Forum: Administration
Topic: load balancing
Replies: 10
Views: 9585

AOA, Dear if even you are able to set routing table properly, how will you differ the traffic, you should know complete IP's of both facebook and YouTube. You can use content filtering with IPTABLES, it might be able to help you out. SET MARK on every packet containing content facebook and youtube, ...
by mudasir
Thu Oct 29, 2009 8:37 am
Forum: Programming
Topic: Validate User Input is 16bit signed integer
Replies: 5
Views: 10585

Assalam-o-alaikum, Thanks allot for the help, i have completed the user input validation function. Now i am stuck in another mathematical error. Please help me out in this. my script takes 6 parameters as input ./<script name> X1 Y1 Z1 X2 Y2 Z3 then script perform some calculation on these values, w...
by mudasir
Mon Oct 26, 2009 12:57 pm
Forum: Administration
Topic: Webmin Bash Variables
Replies: 2
Views: 4203

Thanks allot kashif bhai.
by mudasir
Mon Oct 26, 2009 5:08 am
Forum: Administration
Topic: Webmin Bash Variables
Replies: 2
Views: 4203

Webmin Bash Variables

Assalam-o-alaikum, I am writing a script that will be used within Webmin by different Users of webmin. I would like to know is there any way to know the user-id of the logged in user or to know the user-id of the person who executed the script. Many users can run the script at the same time. My scri...
by mudasir
Thu Oct 01, 2009 2:12 am
Forum: Programming
Topic: Validate User Input is 16bit signed integer
Replies: 5
Views: 10585

Validate User Input is 16bit signed integer

Assalam-o-alaikum, I am making a shell script in which i need user to input a Signed 16bit Integer as arguments to the script. The script will take 6 arguments which all should be Signed 16bit integer. I would like to know how can i verify that the value that user has input is a Signed 16bit integer...
by mudasir
Wed Sep 09, 2009 3:04 pm
Forum: Security
Topic: Data Backup
Replies: 12
Views: 17654

I did a same setup long time back.

I used a windows based software called backup premium. And at Linux i used Samba.
Its easy.
by mudasir
Fri Aug 28, 2009 9:20 pm
Forum: Howto's & Tip n' Tricks
Topic: VPN PPTP Setup
Replies: 2
Views: 12087

AOA,

Dear Zaib bhai,

Just by following this a Server is ready for Cable Net. And if you want to setup a firewall for security that is a different thing.
by mudasir
Tue Jun 02, 2009 11:57 am
Forum: Programming
Topic: Setting Interface IPs temporarily through Script
Replies: 4
Views: 10918

AOA, You can see the followuing script for example. #!/bin/bash ### uncomment the following line for debugging #set -x ### Defining variables ## Interface connected to internet EXTDEV=eth0 ### IP to check VPN connection VPN_TEST=10.100.150.111 ### IP to set for VPN IPVPN=10.100.1.1 ### VPN Gateway V...
by mudasir
Sun Apr 19, 2009 12:04 am
Forum: General
Topic: iptable prob
Replies: 5
Views: 8033

AOA,

Not

Code: Select all

iptables -t nat -o $WAN -j MASQUERADE
it should be

Code: Select all

iptables -t nat -A POSTROUTING -o $WAN -j MASQUERADE
by mudasir
Sun Apr 05, 2009 10:10 am
Forum: Security
Topic: How should I block Yahoo and msn messenger in IPCOP
Replies: 3
Views: 13323

Hi,

Basically not an IPCOP Admin, its the Network Admin who has control over their network.

IPCOP is just a tool to manage somethings in your network.
by mudasir
Sun Apr 05, 2009 10:08 am
Forum: General
Topic: how difference linux & mikrotik ?
Replies: 2
Views: 5457

Hi,

Mikrotik Has a GENTOO based Kernel, so the main core kernel of mikrotik is totally *NIX based.
by mudasir
Sat Mar 14, 2009 7:35 am
Forum: Administration
Topic: Kernel Panic
Replies: 4
Views: 7799

Hi,

As the error says "Permission Denied", so you dont have sufficient rights. I dont have much experience on DEB, try to remount kernel with RO permissions. Go in rescue mode and check the permissions on files. Also edit the boot loader conf file.
by mudasir
Wed Mar 11, 2009 3:33 pm
Forum: Administration
Topic: Online Form!
Replies: 2
Views: 6273

Hi,

Dear you can use PHP to do that. Many examples are available on internet, you should google it
by mudasir
Mon Feb 23, 2009 3:04 pm
Forum: Security
Topic: ARP Poisoning
Replies: 73
Views: 121987

AOA,

I have not published it anywhere, becasue i have to compile it with specific MAC Address for specific network and with some extra features, as per the requirements.
by mudasir
Tue Feb 17, 2009 4:33 am
Forum: Administration
Topic: dhcp/gateway tune
Replies: 2
Views: 5644

AOA, Dear you can simply write a DHCP script which will assign different gateway and DNS to different users. User should be catagorised on the basis of IP series. Its very easy, no need to do it the hard way. And if you saw this on ISA, then they must be using the firewall client, or some other Auth...