copyright and license notices
authordavidb <davidb>
Mon, 28 Apr 2003 16:43:19 +0000 (16:43 +0000)
committerdavidb <davidb>
Mon, 28 Apr 2003 16:43:19 +0000 (16:43 +0000)
bin/pyrwhoisd
rwhoisd/Cidr.py
rwhoisd/MemIndex.py
rwhoisd/QueryParser.py
rwhoisd/RwhoisServer.py
rwhoisd/Session.py

index 7532b5b..1ed7595 100755 (executable)
@@ -1,6 +1,27 @@
 #! /usr/bin/env python
 
 #! /usr/bin/env python
 
+# This file is part of python-rwhoisd
+#
+# Copyright (C) 2003, David E. Blacka
+#
+# $Id: pyrwhoisd,v 1.2 2003/04/28 16:46:50 davidb Exp $
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+# USA
 # -*- python -*-
 # -*- python -*-
+
 import sys, os
 
 # determine if the rwhoisd package is in the standard spot relative to
 import sys, os
 
 # determine if the rwhoisd package is in the standard spot relative to
index 37b32a3..9a63467 100644 (file)
@@ -1,3 +1,24 @@
+# This file is part of python-rwhoisd
+#
+# Copyright (C) 2003, David E. Blacka
+#
+# $Id: Cidr.py,v 1.3 2003/04/28 16:43:19 davidb Exp $
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+# USA
+
 import socket, types, copy, bisect, re
 
 class Cidr:
 import socket, types, copy, bisect, re
 
 class Cidr:
index 24a64e2..4d3c5e3 100644 (file)
@@ -1,3 +1,24 @@
+# This file is part of python-rwhoisd
+#
+# Copyright (C) 2003, David E. Blacka
+#
+# $Id: MemIndex.py,v 1.2 2003/04/28 16:43:19 davidb Exp $
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+# USA
+
 import bisect, types
 import Cidr
 
 import bisect, types
 import Cidr
 
index 32fb47f..56fafd0 100644 (file)
@@ -1,3 +1,24 @@
+# This file is part of python-rwhoisd
+#
+# Copyright (C) 2003, David E. Blacka
+#
+# $Id: QueryParser.py,v 1.2 2003/04/28 16:43:19 davidb Exp $
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+# USA
+
 
 # queryparser.db must be set to a DB class instance.
 db = None
 
 # queryparser.db must be set to a DB class instance.
 db = None
index cf3b8a7..e989ce0 100644 (file)
@@ -1,4 +1,23 @@
-#! /usr/bin/python
+# This file is part of python-rwhoisd
+#
+# Copyright (C) 2003, David E. Blacka
+#
+# $Id: RwhoisServer.py,v 1.3 2003/04/28 16:45:11 davidb Exp $
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+# USA
 
 import sys, socket, SocketServer
 
 
 import sys, socket, SocketServer
 
@@ -42,7 +61,6 @@ class RwhoisHandler(SocketServer.StreamRequestHandler):
         
     def handle(self):
 
         
     def handle(self):
 
-        print repr(self.request)
         self.quit_flag = False
 
         # output a banner
         self.quit_flag = False
 
         # output a banner
index 24924af..7f7d20e 100644 (file)
@@ -1,3 +1,24 @@
+# This file is part of python-rwhoisd
+#
+# Copyright (C) 2003, David E. Blacka
+#
+# $Id: Session.py,v 1.2 2003/04/28 16:43:19 davidb Exp $
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+# USA
+
 import config
 
 class Context:
 import config
 
 class Context: