Please note that this page has not been update for a long time and I this project is absoultely dead. If you want to continue it, feel free to download sources and add your own features...
Noadvert.NLM is HTTP/1.0 proxy server redirector for Novell NetWare 4.1+. This program blocks requests for advertisement images and sends your own image instead of adv. banner (for example "There was a banner"). Noadvert.NLM decides which URL is banner or not from rule file. You are not limited to block only advertisement, for example you can deny xxx-related sites. Or (if you want) you can stop whole proxy server.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
Option | Description |
Port [number] | Specifies port on which noadvert.nlm is listening for incoming connectios. |
ProxyServer [ip address] | Specifies you HTTP/1.0 proxy server which will noadvert.nlm use. NoAdvert.NLM is not itself proxy server, it's only redirector. |
ProxyPort [number] | Specifies proxy server port. See ProxyServer option. |
StatusURL http://[url] | Configuration and status page URL. You can see some statistics and stop noadvert on this page. |
StatusPassword [username:password] | Username and password for status page. Your browser will ask you for this when you visit status page for the first time. DO NOT LEAVE THERE DEFAULT PASSWORD, CHANGE IT! |
AccessLog [filename] | Noadvert.NLM can log every accessed page to log file. You can
use
printf(1) like formatting to include date,time or IP address
Accepted
formatting strings are:
Note: Noadvert.NLM creates non-existing log directories or files automatically. All log file writes are cached. |
Directory [dir] | Noadvert's working directory. |
Fail [exp] [file] | This is the most interresting command. It blocks specified url [exp] and replaces it with *LOCAL* file [file]. You can use wildcards (? and *) in expression [exp] (Example: Fail http://ad.banners.net/img/* noadv.gif). If no local file is specified Noadvert.NLM sends default text/html page. |
Mime [extension] [type/subtype] | Specifies mime type for extension. |
# --[ My port ]----------------------------------------------------------- Port 8081 # --[ Remote proxy ]------------------------------------------------------ ProxyServer 194.196.124.32 # Change this! ProxyPort 8080 # --[ Status page ]------------------------------------------------------- StatusURL http://proxy-status/ StatusPassword noadvert:secretpass # --[ Misc ]-------------------------------------------------------------- Directory SYS:\NOADVERT AccessLog sys:\noadvert\logs\%Y\%d\%h.log # --[ Blocked sites ]----------------------------------------------------- Fail http://ad.* 1x1.GIF Fail http://ads.* 1x1.GIF # --[ Mime types ]-------------------------------------------------------- Mime .gif image/gif Mime .jpg image/jpeg Mime .jpeg image/jpeg Mime .htm text/html Mime .html text/html
When you change configuration file, you can reload it using "Reload configuration file" link from this page". You cannot change proxy server or port this way. To change proxy server or port unload and reload noadvert.nlm from server console.
You can stop whole proxy-redirector by form at the bootom of page. If you are malicious admin you can enter here some silly message for users ;-)
noadvsrc.zip - 46k - source code in C
noadvbin.zip - 17k - binary NLM file + cfg
Last updated in December 2004. If you want to contact me, please read this page. |