Changeset 890
- Timestamp:
- 10/28/07 20:58:30
(11 months ago)
- Author:
- raphael
- Message:
Fixed #824: IMAP SSL Traffic not counted (also added pop-ssl, https and mail delivery)
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r888 |
r890 |
|
| 6 | 6 | | * to fix: no errors on adding user (custom HP) | |
|---|
| 7 | 7 | \_________________________________________________________________/ |
|---|
| | 8 | |
|---|
| | 9 | 2007-10-28 Raphael Geissert |
|---|
| | 10 | - ENGINE: |
|---|
| | 11 | * Fixed #824: IMAP SSL Traffic not counted (also added pop-ssl, https and mail delivery) |
|---|
| 8 | 12 | |
|---|
| 9 | 13 | 2007-10-27 Benedikt Heintel |
|---|
| r849 |
r890 |
|
| 92 | 92 | ${IPTABLES} -I ISPCP_OUTPUT -p tcp --sport 80 2>> "$LOGFILE" |
|---|
| 93 | 93 | |
|---|
| | 94 | ${IPTABLES} -I ISPCP_INPUT -p tcp --dport 443 2>> "$LOGFILE" |
|---|
| | 95 | ${IPTABLES} -I ISPCP_OUTPUT -p tcp --sport 443 2>> "$LOGFILE" |
|---|
| | 96 | |
|---|
| 94 | 97 | # pop3 traffic |
|---|
| 95 | 98 | |
|---|
| … | … | |
| 106 | 109 | ${IPTABLES} -I ISPCP_INPUT -p tcp --dport 25 2>> "$LOGFILE" |
|---|
| 107 | 110 | ${IPTABLES} -I ISPCP_OUTPUT -p tcp --sport 25 2>> "$LOGFILE" |
|---|
| | 111 | |
|---|
| | 112 | ${IPTABLES} -I ISPCP_INPUT -p tcp --dport 587 2>> "$LOGFILE" |
|---|
| | 113 | ${IPTABLES} -I ISPCP_OUTPUT -p tcp --sport 587 2>> "$LOGFILE" |
|---|
| | 114 | |
|---|
| | 115 | ${IPTABLES} -I ISPCP_INPUT -p tcp --dport 995 2>> "$LOGFILE" |
|---|
| | 116 | ${IPTABLES} -I ISPCP_OUTPUT -p tcp --sport 995 2>> "$LOGFILE" |
|---|
| | 117 | |
|---|
| | 118 | ${IPTABLES} -I ISPCP_INPUT -p tcp --dport 993 2>> "$LOGFILE" |
|---|
| | 119 | ${IPTABLES} -I ISPCP_OUTPUT -p tcp --sport 993 2>> "$LOGFILE" |
|---|
| 108 | 120 | |
|---|
| 109 | 121 | # Explicit return once done |
|---|
| … | … | |
| 168 | 180 | |
|---|
| 169 | 181 | log_end_msg $? |
|---|
| 170 | | |
|---|
| | 182 | |
|---|
| 171 | 183 | ;; |
|---|
| 172 | 184 | status) |
|---|
| r765 |
r890 |
|
| 88 | 88 | domain_cgi |
|---|
| 89 | 89 | FROM |
|---|
| 90 | | domain |
|---|
| | 90 | domain |
|---|
| 91 | 91 | "; |
|---|
| 92 | 92 | |
|---|
| … | … | |
| 153 | 153 | $smtp_in = $bytes if ($port == 25); |
|---|
| 154 | 154 | |
|---|
| | 155 | $smtp_in = $bytes if ($port == 587); |
|---|
| | 156 | |
|---|
| 155 | 157 | $pop3_in = $bytes if ($port == 110); |
|---|
| 156 | 158 | |
|---|
| | 159 | $pop3_in = $bytes if ($port == 995); |
|---|
| | 160 | |
|---|
| 157 | 161 | $imap_in = $bytes if ($port == 143); |
|---|
| 158 | 162 | |
|---|
| | 163 | $imap_in = $bytes if ($port == 993); |
|---|
| | 164 | |
|---|
| 159 | 165 | $http_in = $bytes if ($port == 80); |
|---|
| | 166 | |
|---|
| | 167 | $http_in = $bytes if ($port == 443); |
|---|
| 160 | 168 | |
|---|
| 161 | 169 | } else { |
|---|
|
Download in other formats:
#########################################################################
# Site footer - Contents are automatically inserted after main Trac HTML
?>