Hi all,
I'm trying to better understand how packet queuing works. On his site, Daniel Hartmeier offers this example:
Question: in the second pass statement, why is he queuing incoming packets? I thought that you don't have any control over the order in which incoming packets arrive at the network interface, that you can only influence the sequence of the outgoing.
I'm trying to better understand how packet queuing works. On his site, Daniel Hartmeier offers this example:
Code:
ext_if="kue0"
altq on $ext_if priq bandwidth 100Kb queue { q_pri, q_def }
queue q_pri priority 7
queue q_def priority 1 priq(default)
pass out on $ext_if proto tcp from $ext_if to any flags S/SA \
keep state queue (q_def, q_pri)
pass in on $ext_if proto tcp from any to $ext_if flags S/SA \
keep state queue (q_def, q_pri)