Idea: Dynamic priority process
|
13th Aug, 2013, 02:36 AM
Post: #20
|
|||
|
|||
RE: Dynamic priority process
(13th Aug, 2013 01:35 AM)belese Wrote: after search, i've read it's not possible, yes, LOG to rsyslog and rsyslog to socket. no polling. LOG is writing to syslog via 514/tcp/udp so if you don't use it, you can bind directly on 514 and just wait - never tried parsing 514/syslog tcp communication. but for this CONNECT / LISTEN , just create rule to dup packet. one will go to original destination, second to you bind port iptables -A PREROUTING -t mangle -j TEE -m state --state ESTABLISHED -p tcp --dport XX --gateway 127.0.0.1 (will copy & forward packet to 127.0.0.1, which was part of established connection to your box on port XX) based on actual rate / bandwidth you could change the priority in more steps... somehow I though you want this. but when I'm thinking, the easy effective - whole daemon Code: conntrack -E -e NEW,DESTROY -p tcp --dport 22 | \ Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Dynamic priority process - belese - 13th Jul, 2013, 12:25 AM
RE: Dynamic priority process - Fred - 13th Jul, 2013, 01:00 AM
RE: Dynamic priority process - belese - 13th Jul, 2013, 01:11 AM
RE: Dynamic priority process - mk01 - 18th Jul, 2013, 05:10 AM
Re: Dynamic priority process - f1vefour - 13th Jul, 2013, 07:44 AM
RE: Dynamic priority process - Fred - 13th Jul, 2013, 07:57 AM
RE: Dynamic priority process - belese - 13th Jul, 2013, 07:09 PM
RE: Dynamic priority process - Fred - 13th Jul, 2013, 08:57 PM
RE: Dynamic priority process - mk01 - 17th Jul, 2013, 05:52 AM
RE: Dynamic priority process - belese - 17th Jul, 2013, 07:33 PM
RE: Dynamic priority process - belese - 18th Jul, 2013, 09:32 AM
RE: Dynamic priority process - mk01 - 19th Jul, 2013, 06:42 AM
RE: Dynamic priority process - belese - 18th Jul, 2013, 10:40 PM
RE: Dynamic priority process - belese - 25th Jul, 2013, 05:58 AM
RE: Dynamic priority process - CurlyMo - 25th Jul, 2013, 08:25 AM
RE: Dynamic priority process - belese - 25th Jul, 2013, 06:32 PM
RE: Dynamic priority process - belese - 26th Jul, 2013, 11:17 PM
RE: Dynamic priority process - mk01 - 12th Aug, 2013, 04:02 PM
RE: Dynamic priority process - belese - 13th Aug, 2013, 01:35 AM
RE: Dynamic priority process - mk01 - 13th Aug, 2013 02:36 AM
RE: Dynamic priority process - belese - 14th Aug, 2013, 02:47 AM
RE: Dynamic priority process - mk01 - 14th Aug, 2013, 03:37 AM
RE: Dynamic priority process - belese - 14th Aug, 2013, 05:19 AM
|