"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "bin/arno-fwfilter" between
aif-2.1.0.tar.gz and aif-2.1.1.tar.gz

About: Arno’s iptables firewall is a stateful firewall script for both single and multi-homed machines with DSL/ADSL support.

arno-fwfilter  (aif-2.1.0):arno-fwfilter  (aif-2.1.1)
#!/bin/bash #!/bin/bash
# #
# description: Firewall-log filter script (arno-fwfilter) # description: Firewall-log filter script (arno-fwfilter)
# Last update: March 20, 2015 # Last update: March 20, 2015
# Usage examples (make sure arno-fwfilter is executable!): # Usage examples (make sure arno-fwfilter is executable!):
# -------------------------------------------------------- # --------------------------------------------------------
# Static firewall log filtering : cat /var/log/messages |arno-fwfilter # Static firewall log filtering : cat /var/log/messages |arno-fwfilter
# or # or
# Static firewall log filtering : cat /var/log/firewall |arno-fwfilter # Static firewall log filtering : cat /var/log/arno-ipta bles-firewall |arno-fwfilter
# Realtime firewall logging on TTY10 : tail --follow /var/log /messages |fwfilter >/dev/tty10 & # Realtime firewall logging on TTY10 : tail --follow /var/log /messages |fwfilter >/dev/tty10 &
# Example on how to disable kernel debug logging : cat /var/log/messages |grep -v kernel |arno-fwfilter # Example on how to disable kernel debug logging : cat /var/log/messages |grep -v kernel |arno-fwfilter
# Email firewall logs to root : cat /var/log/firewall |arno-fwfilter --html-output --no-colors |mail -s "Firewall Log" -a "Content-Typ e: text/html; charset=us-ascii" root # Email firewall logs to root : cat /var/log/arno-ipta bles-firewall |arno-fwfilter --html-output --no-colors |mail -s "Firewall Log" - a "Content-Type: text/html; charset=us-ascii" root
# ------------------------------------------------------------------------------ ------------ # ------------------------------------------------------------------------------ ------------
# -= Arno's Iptables Firewall(AIF) =- # -= Arno's Iptables Firewall(AIF) =-
# Firewall-log filter script (arno-fwfilter) # Firewall-log filter script (arno-fwfilter)
# #
# (C) Copyright 2001-2015 by Arno van Amersfoort # (C) Copyright 2001-2015 by Arno van Amersfoort
# Homepage : https://rocky.eld.leidenuniv.nl/ # Homepage : https://rocky.eld.leidenuniv.nl/
# Email : a r n o v a AT r o c k y DOT e l d DOT l e i d e n u n i v DOT n l # Email : a r n o v a AT r o c k y DOT e l d DOT l e i d e n u n i v DOT n l
# (note: you must remove all spaces and substitute the @ and the . # (note: you must remove all spaces and substitute the @ and the .
# at the proper locations!) # at the proper locations!)
# ------------------------------------------------------------------------------ ------------ # ------------------------------------------------------------------------------ ------------
# Some of the information used to create this script was obtained from: # Some of the information used to create this script was obtained from:
# - http://ports.tantalo.net/ # - http://ports.tantalo.net/
# - http://www.iana.org/assignments/service-names-port-numbers/service-names-por t-numbers.xml # - http://www.iana.org/assignments/service-names-port-numbers/service-names-por t-numbers.xml
# - http://www.speedguide.net/ports.php # - http://www.speedguide.net/ports.php
# ------------------------------------------------------------------------------ ------------ # ------------------------------------------------------------------------------ ------------
# This program is free software; you can redistribute it and/or # This program is free software; you can redistribute it and/or
skipping to change at line 253 skipping to change at line 253
if (port==5060) return("SIP(5060)") if (port==5060) return("SIP(5060)")
if (port==5061) return("SIP over TLS(5061)") if (port==5061) return("SIP over TLS(5061)")
if (port==5222) return("Jabber/xmpp-client(5222)") if (port==5222) return("Jabber/xmpp-client(5222)")
if (port==5223) return("Jabber-SSL(5223)") if (port==5223) return("Jabber-SSL(5223)")
if (port==5228) return("Android Market(5228)") if (port==5228) return("Android Market(5228)")
if (port==5500) return("VNC(5500)") if (port==5500) return("VNC(5500)")
if (port==5554) return("Sasser-backdoor(5554)") if (port==5554) return("Sasser-backdoor(5554)")
if (port==5623) return("pcAnywhere(5623)") if (port==5623) return("pcAnywhere(5623)")
if (port==5800) return("VNC-data(5800)") if (port==5800) return("VNC-data(5800)")
if (port==5900) return("VNC-HTTP(5900)") if (port==5900) return("VNC-HTTP(5900)")
if (port==5938) return("Teamviewer(5938)")
if (port==6346) return("GNUtella(6346)") if (port==6346) return("GNUtella(6346)")
if (port==6670) return("Deep Throat(6670)") if (port==6670) return("Deep Throat(6670)")
if (port==6711) return("Sub-7(6711)") if (port==6711) return("Sub-7(6711)")
if (port==6712) return("Sub-7(6712)") if (port==6712) return("Sub-7(6712)")
if (port==6713) return("Sub-7(6713)") if (port==6713) return("Sub-7(6713)")
if (port==6776) return("Backdoor-G or Sub-7(6776)") if (port==6776) return("Backdoor-G or Sub-7(6776)")
if (port==6969) return("GateCrasher(6969)") if (port==6969) return("GateCrasher(6969)")
if (port==6970) return("RealAudio(6970)") if (port==6970) return("RealAudio(6970)")
if (port==7215) return("Sub-7 Matrix Chat(7215)") if (port==7215) return("Sub-7 Matrix Chat(7215)")
if (port==7777) return("Unreal or Klingon Honor Guard(7777)") if (port==7777) return("Unreal or Klingon Honor Guard(7777)")
 End of changes. 4 change blocks. 
3 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)