Please help me
I have 2 pf.conf files on the server. To example i exec
ifconfig $int_if(em0) media 10baseT
1)
set skip on lo
altq on $int_if priq bandwidth 512Kb queue { qlan_ssh, qlan_def }
queue qlan_ssh priority 1
queue qlan_def priority 5 priq (default)
block
pass out
pass in on $int_if
match in on $int_if proto tcp to port ssh queue qlan_ssh
2)
set skip on lo
block
pass out
pass in on $int_if
match in on $int_if set prio 3 # May not wrote this rule, 3 - by default
match in on $int_if proto tcp to port ssh set prio 1
When i run 1'st rules:
it's working
I login to this server by ssh and run sysctl and list statistics (vmstat,
iostat
on systat) and see all good.
Then i copy by ftp(may samba) file 1Gig(example) it's copy by 60KB/sec, and i
CAN'T SEE STATISTICS by ssh. Ssh session freeze.
I may see that "queue qlan_ssh" - worked.
When i run 2'nd rules:
it's not working
I login to this server by ssh and run sysctl and list statistics (vmstat,
iostat
on systat) and see all good.
Then i copy by ftp(may samba) file 1Gig(example) it's copy by 60KB/sec, and i
SEE
STATISTICS by ssh but with some DELAY. Ssh session with some delay.
I may see that "set prio 1" - NOT worked.
What am i doing wrong?