LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-31-2003, 10:50 PM   #1
jayakrishnan
Member
 
Registered: Feb 2002
Location: India
Distribution: Slacky 12.1, XP
Posts: 992

Rep: Reputation: 30
iptables script


Hi

I need a shell script which uses iptables. This file will check the size of the outgoing packet of each client in my gateway server. If the size is greater than a specified amount then it should drop the packet.

Any idea of how do i do this

I known a bit of shell sript and iptables


thanks & regards
jayakrishnan
 
Old 10-31-2003, 10:59 PM   #2
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Arch
Posts: 1,374

Rep: Reputation: 47
http://www.tldp.org/LDP/abs/html/
great place to go, I have written a few scripts using it (don't expect someone to write it for you)

if you want code examples you can go to my script examples at: www.sourceforge.net/projects/exmmpkg
 
Old 10-31-2003, 11:08 PM   #3
jayakrishnan
Member
 
Registered: Feb 2002
Location: India
Distribution: Slacky 12.1, XP
Posts: 992

Original Poster
Rep: Reputation: 30
Hey thanks

i was just looking for some tips not exact programs
 
Old 10-31-2003, 11:21 PM   #4
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Arch
Posts: 1,374

Rep: Reputation: 47
figured just wanted to be sure, have fun.. also I would like beta testers and scripters for my project if you are interested ;-)
 
Old 11-01-2003, 12:49 AM   #5
jayakrishnan
Member
 
Registered: Feb 2002
Location: India
Distribution: Slacky 12.1, XP
Posts: 992

Original Poster
Rep: Reputation: 30
cool

that would be nice


i am in
 
Old 11-01-2003, 12:55 AM   #6
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Arch
Posts: 1,374

Rep: Reputation: 47
lol, in that case I will need to get im/e-mail info.. basically I test my scripts with mplayer and all 100 progs needed to unleash its full capeabilities, but I have not tested it with much else, so I need testing there.. than also the exp package system (part of it) needs testing, on my main sys it seems fine, but on my laptop it does nto work at all, so if you coudl test that that would be sweet (there should be basic instructions there to int he files)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Iptables (with masq) troubleshooting, very simple script attached script and logs. xinu Linux - Networking 13 11-01-2007 04:19 AM
iptables script tomsasse Linux - Networking 3 09-17-2005 05:25 PM
my first iptables script sh1ft Linux - Security 1 02-24-2005 04:17 PM
IPTABLES script help closer Linux - Networking 18 11-04-2002 09:48 AM
My iptables script is /etc/sysconfig/iptables. How do i make this baby execute on boo ForumKid Linux - General 3 01-22-2002 07:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration