Date: Tue, 19 Aug 2008 12:46:34 +0200 From: Zbigniew Szalbot <z.szalbot@lcwords.com> To: User Questions <freebsd-questions@freebsd.org> Subject: ALTQ and services Message-ID: <48AAA48A.4030704@lcwords.com>
next in thread | raw e-mail | index | archive | help
This is a cryptographically signed message in MIME format. --------------ms030600060809010806010403 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: quoted-printable Hello, I am trying to find out how to specify services in the below scenario: ext_if=3D"kue0" altq on $=ADext_if priq bandwidth 1024Kb queue { q_pri, q_def } queue q_pri priority 7 queue q_def priority 1 priq(default) pass out on $=ADext_if proto tcp from $=ADext_if to any flags S/SA keep state queue (q_def, q_pri) pass in on $=ADext_if proto tcp from any to $=ADext_if flags S/SA keep state queue (q_def, q_pri) I grabbed this example off a web page but would anyone help me understand how I can define queue priority for ssh, smtp, httpd and ftp? I understand that q_pri has a priority over q_def, but where do I define what's inside them? Many, many thanks! --=20 Zbigniew Szalbot www.LCWords.com --------------ms030600060809010806010403 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJEzCC AuQwggJNoAMCAQICEAyBd42m+1vuDvN/hUJqaFYwDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UE BhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMT I1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA4MDcxMDE2MzQ1N1oX DTA5MDcxMDE2MzQ1N1owRzEfMB0GA1UEAxMWVGhhd3RlIEZyZWVtYWlsIE1lbWJlcjEkMCIG CSqGSIb3DQEJARYVei5zemFsYm90QGxjd29yZHMuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOC A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QswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1 bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElz c3VpbmcgQ0ECEAyBd42m+1vuDvN/hUJqaFYwgYcGCyqGSIb3DQEJEAILMXigdjBiMQswCQYD VQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UE AxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3VpbmcgQ0ECEAyBd42m+1vuDvN/hUJq aFYwDQYJKoZIhvcNAQEBBQAEggEAtaM6enAuDEtExIBcptr5XxwGUHUAFtRNmX/HaLyy9NBR YRfyL3S82Y2RH3oq03knbtOmpNb0A/hH1h++GuKMMbZv2gxcniRmtJlG9jKJPJsANoevY0fx fOYK6cnRpXhuUB91y1V00DNphzQSi26p+kQmtmcrFo+wtd5czUCvVkxnf8tqma3Fy3BSyQsR dc3TUc5WUb9wkEQ12ntgD5B8jka6NIyoaiI43ZozyFi0TY/s1IqbALdejulKK7d9H7XXFohM OBBC9HHkdkJbuvkuHV5vXFStQZXa+eCtVXwsbZhLQ4eSm2AilwXEQR298P0G4DfXPUhNO8n6 IZbot1VRQgAAAAAAAA== --------------ms030600060809010806010403--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48AAA48A.4030704>