ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Postfix Header Checks
@ 2004-07-22 15:47 Korshunov Ilya
  0 siblings, 0 replies; only message in thread
From: Korshunov Ilya @ 2004-07-22 15:47 UTC (permalink / raw)
  To: community

Доброго времни суток!

В Postfix в header_checks стоят закрытыми куча разных расширений, zip, exe, 
com и далее по списку. 
Все работает....Но как только файл называется по русски , и его имя приходит в 
base64 или 7 битах типа

--Boundary-00=_vB+/AZU2gB0TAqf
Content-Type: application/x-zip;
  name*=koi8-r''%D4%C5%D3%D4%2Ezip
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename*="koi8-r''%D4%C5%D3%D4%2Ezip"

Фильтр обламывается и пропускает злобный файл...

Фильтруется это все таким вот способом -  
/^\s*Content-(Disposition|Type).*name\s*=\s*"?(.+\.(ad[ep]|asd|ba[st]|c[ho]m|
cmd|cpl|zip|doc|xls............

У кого-нибудь есть соображения как побороть ?



-- 
Best Regards
Korshunov Ilya

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-07-22 15:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-22 15:47 [Comm] Postfix Header Checks Korshunov Ilya

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git