~ubuntu-branches/ubuntu/utopic/arno-iptables-firewall/utopic-proposed

« back to all changes in this revision

Viewing changes to bin/arno-fwfilter

  • Committer: Package Import Robot
  • Author(s): Michael Hanke
  • Date: 2014-05-08 16:07:04 UTC
  • mfrom: (1.1.17)
  • Revision ID: package-import@ubuntu.com-20140508160704-uu2gozrk4sw9d72x
Tags: 2.0.1.e-1
* New upstream release.
  - Removed TRACE option.
* Updated debian/copyright.
* Bumped Standards-Version to 3.9.5; no changes necessary.
* Bumped debhelper compatibility level to 9.
* Adjust update-rc.d call to replace unsupported use of 'start' and 'stop'
  commands with 'defaults' and rely on LSB header information.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/bash
2
2
#
3
 
# description: Firewall-log filter script (fwfilter)
4
 
# Last update: February 24, 2012
 
3
# description: Firewall-log filter script (arno-fwfilter)
 
4
# Last update: January 25, 2013
5
5
 
6
6
# Usage examples (make sure arno-fwfilter is executable!):
7
7
# --------------------------------------------------------
16
16
#                       -= Arno's iptables firewall =-
17
17
#                  Firewall-log filter script (arno-fwfilter)
18
18
#
19
 
# (C) Copyright 2001-2012 by Arno van Amersfoort
 
19
# (C) Copyright 2001-2013 by Arno van Amersfoort
20
20
# Homepage              : http://rocky.eld.leidenuniv.nl/
21
 
# Freshmeat homepage    : http://freshmeat.net/projects/iptables-firewall/?topic_id=151
22
21
# 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
23
22
#                         (note: you must remove all spaces and substitute the @ and the .
24
23
#                          at the proper locations!)
25
24
# ------------------------------------------------------------------------------------------
26
25
# Some of the information used to create this script was obtained from:
27
 
# - http://www.naplifirewall.com/faqfirewalling.htm
28
 
# - http://www.portsdb.org
 
26
# - http://ports.tantalo.net/
 
27
# - http://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xml
 
28
# - http://www.speedguide.net/ports.php
29
29
# ------------------------------------------------------------------------------------------
30
30
# This program is free software; you can redistribute it and/or
31
31
# modify it under the terms of the GNU General Public License
237
237
     if (port==5000) return("UPnP(5000)")
238
238
     if (port==5060) return("SIP(5060)")
239
239
     if (port==5061) return("SIP over TLS(5061)")
 
240
     if (port==5222) return("Jabber/xmpp-client(5222)")
 
241
     if (port==5223) return("Jabber-SSL(5223)")
 
242
     if (port==5228) return("Android Market(5228)")
240
243
     if (port==5500) return("VNC(5500)")
241
244
     if (port==5554) return("Sasser-backdoor(5554)")
242
245
     if (port==5623) return("pcAnywhere(5623)")
255
258
     if (port==7778) return("Unreal Tournament(7778)")
256
259
     if (port==8080) return("HTTP Alternate(8080)")
257
260
     if (port==9100) return("JetDirect(9100)")
 
261
     if (port==9418) return("Git(9418)")
258
262
     if (port==10000) return("Webadmin(10000)")
259
263
     if (port==10008) return("Cheeseworm(10008)")
260
264
     if (port==12345) return("Netbus(12345)")