source: freewrt/package/iptables/files/l7/smtp.pat@ 475ad56

freewrt_1_0 freewrt_2_0
Last change on this file since 475ad56 was 475ad56, checked in by Waldemar Brodkorb <wbx@…>, 20 years ago

add OpenWrt trunk revision 3830.

git-svn-id: svn://www.freewrt.org/trunk/freewrt@1 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 1.8 KB
RevLine 
[475ad56]1# SMTP - Simple Mail Transfer Protocol - RFC 2821 (See also RFC 1869)
2# Pattern quality: great fast
3# usually runs on port 25
4#
5# This pattern has been tested and is believed to work well. If it does not
6# work for you, or you believe it could be improved, please post to
7# l7-filter-developers@lists.sf.net . This list may be subscribed to at
8# http://lists.sourceforge.net/lists/listinfo/l7-filter-developers
9
10smtp
11# As usual, no text is required after "220", but all known servers have some
12# there. It (almost?) always has string "smtp" in it. The RFC examples
13# does not, so we match those too, just in case anyone has copied them
14# literally.
15^220[\x09-\x0d -~]* (e?smtp|simple mail)
16
17# This is ~3x faster if the stream starts with "220"
18#^220.* (e?smtp|simple mail)
19
20# Some examples:
21# 220 mail.stalker.com ESMTP CommuniGate Pro 4.1.3
22# 220 mail.vieodata.com ESMTP Merak 6.1.0; Mon, 15 Sep 2003 13:48:11 -0400
23# 220 mail.ut.caldera.com ESMTP
24# 220 persephone.pmail.gen.nz ESMTP server ready.
25# 220 smtp1.superb.net ESMTP
26# 220 mail.kerio.com Kerio MailServer 5.6.7 ESMTP ready
27# 220-mail.deerfield.com ESMTP VisNetic.MailServer.v6.0.9.0; Mon, 15 Sep 2003 13:4
28# 220 altn.com ESMTP MDaemon 6.8.5; Mon, 15 Sep 2003 12:46:42 -0500
29# 220 X1 NT-ESMTP Server ipsmin0165atl2.interland.net (IMail 6.06 73062-3)
30# 220 mail.icewarp.com ESMTP Merak 6.1.1; Mon, 15 Sep 2003 19:43:23 +0200
31# 220-mail.email-scan.com ESMTP
32# 220 smaug.dreamhost.com ESMTP
33# 220 kona.carleton.edu -- Server ESMTP (PMDF V6.2#30648)
34# 220 letra.reed.edu ESMTP Sendmail 8.12.9/8.12.9; Mon, 15 Sep 2003 10:35:57 -0700 (PDT)
35# 220-swan.mail.pas.earthlink.net ESMTP Exim 3.33 #1 Mon, 15 Sep 2003 10:32:15 -0700
36#
37# RFC examples:
38# 220 xyz.com Simple Mail Transfer Service Ready (RFC example)
39# 220 dbc.mtview.ca.us SMTP service ready
Note: See TracBrowser for help on using the repository browser.