stoopid.... maybe it thinks we are trying to do some php/sql haxors or something. Thinks we are attacking the forum.
#################### Variables Setup #####################
#Percent of download speed guaranteed per QOS catagory, change below as desired (sum should equal 100)
NetControl_DownBandPercent=5
VoIP_DownBandPercent=5
Gaming_DownBandPercent=10
Others_DownBandPercent=10
WebSurfing_DownBandPercent=20
Video_DownBandPercent=25
FileTransfer_DownBandPercent=20
Default_DownBandPercent=5
#Percent of upload speed guaranteed per QOS catagory, change below as desired (sum should equal 100)
NetControl_UpBandPercent=5
VoIP_UpBandPercent=5
Gaming_UpBandPercent=5
Others_UpBandPercent=30
WebSurfing_UpBandPercent=25
Video_UpBandPercent=10
FileTransfer_UpBandPercent=15
Default_UpBandPercent=5
@FreshJR, to get back on topic: I noticed there's a tc package in entware-ng as well. Does it offer any advantages over the stock tc provided in BusyBox, which your script uses when there's no realtc present?
I adjusted the map to be the same as the old one.When I do too many edits, the posts gets locked and goes invisible pending moderator approval.
It has been approved.
@Vexira
If you just reuploaded the file with scp, I'm pretty sure permissions get overwritten aswell. You need both scp and a chmod 0755.
Without permissions, firewall start won't be able to run the file.
I made sure all he permissions matched the ones when I uploaded via putty. It works perfectly fine and I can screen shot it.Thanks for restoring the install instructions for those who need them or are new to your script.
As for the automatic moderation on this forum: besides the limits on message editing, it's incredibly annoying, every time the frickin' 'you are blocked' overlay appears. I just got blocked (again, sigh) for an attempt to write a summary for @pattiri of the installation instructions... Never had any other forum software so hyper-sensitive to seriously (ahem) 'malicious code', especially a forum where many lines of code appear on a daily bases.
As for your comments on scp towards @Vexira , if I'm not mistaken scp -p preserves time, date and mode, so when you login with the same username and group on the 'source' machine, ownership remains the same too on the 'destination' machine. WinSCP offers options (through file properties I think) to change owner/group/permissions if I recall correctly. With rsync -p will preserve permissions, -a will preserve just about everything (user/group/permissions/symlinks/attributes etcetra).
I can screen shot it.
Thank you for the compliment, my eyes are brown in real life, also I understand my parents are not native English speakers.Oh, my dear @Vexira, no need for for screenshots. Not questioning you at all, and I apologize if it came out wrong (English is not my native language, so sometimes things just unintended come out the wrong way). I believe you on your (dark) blue eyes (Dutch saying, without the 'Dark'-part, that's just related to your awesome avatar). Did you need the -p option? Or are you running a unix-based system and set permissions prior to uploading?
After reading Vexira's info, I found the -p (Preserve File Attributes) option to pscp and tried it while watching the permissions via Putty. It would be nice not to have to chmod every upload while testing. Interestingly enough - If I use the -p option, it resets the permissions. If I don't use the -p option, pscp doesn't reset permissions. Once they are set after initial upload they seem to stay in place. Odd - different than I expected....Did you need the -p option? Or are you running a unix-based system and set permissions prior to uploading?
Don't say your old backup service was unworkable. I bet you they had a unique dscp packet mark we could of tapped. Glad everything is working
Odd - different than I expected.
Please let me know if I have to change something in my post, the info there I gathered from the man pages and some other (Linux) sources...
@FreshJR, to get back on topic: I noticed there's a tc package in entware-ng as well. Does it offer any advantages over the stock tc provided in BusyBox, which your script uses when there's no realtc present?
This script looks interesting. But I do have a question, is it possible to create a custom rule that combines source mac and a source port/port range? I did look at the script comments, all the iptables rules go to the postrouting chain and I wonder if that actually works.
${tc} filter add dev br0 protocol all prio 1 u32 match u32 0xCCDDEEFF 0xffffffff at -16 match ip dport 4500 0xffff flowid {VOIP}
Let me break it down line by line, so you can see the two matches simulanously
${tc} filter add dev br0 protocol all prio 1 u32
match u32 0xCCDDEEFF 0xffffffff at -16
match ip dport 1234 0xffff
flowid {VOIP}
iptables -D POSTROUTING -t mangle -o eth0 -m mac --mac-source AA:BB:CC:DD:EE:FF -p tcp --sport 1234 -j MARK ${VOIP_mark}
iptables -A POSTROUTING -t mangle -o eth0 -m mac --mac-source AA:BB:CC:DD:EE:FF -p tcp --sport 1234 -j MARK ${VOIP_mark}
Let me break it down again
iptables -A POSTROUTING -t mangle -o eth0
-m mac --mac-source AA:BB:CC:DD:EE:FF
-p tcp --sport 1234
-j MARK ${VOIP_mark}
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!