Jump to content

and_woox

Members
  • Content Count

    17
  • Joined

  • Last visited

Community Reputation

0 Neutral

About and_woox

  • Rank
    New Here
  1. I was researching on how to patch the kernel, trying to install connbytes match, but to no avail. What do you think i should look for? Thank you
  2. I have some scripts on my box and i was looking for a command to show the line number for a specific rule but to no avail. Do you know how i can find it out? Thank you
  3. Thanks for the tip. I used this script for connbytes: iptables -A INPUT -s 198.168.1.196 -m connbytes --connbytes 3000000: -j DROP but my connection kept going. Do you see anything missing?
  4. For me to use these commands i will have to work with other iptables. Is there a way for me to reset the counter in a direct way?
  5. I'm looking for a command to list the installed modules of my kernel. Do you know what command i could use? Thank you
  6. I'm working with connbytes to limit the number of traffic(in/out) for a client in my network, but to no avail. For example if i would like to limit all trafic(not restricted to one client) i could use: iptables -A INPUT -m connbytes --connbytes 10000:100000 -j DROP How i would especify an ip? How can i reset this counter every month? Thank you
  7. Thanks for the reply. Could you walk me over your script?
  8. Please i'm working on an iptables script where i can grant a certain amount of monthly traffic, for example grant 8g to one client per month and if he passes that amount his connection becomes unavailable. I'm trying to find a command that serves as a network traffic counter. What should i be looking for? Thanks
  9. So do you think this script can work well? iptables -I FORWARD -s 192.168.1.2 -p udp -m connlimit --connlimit-above 100 -j DROP
×
×
  • Create New...