Commit e9f06a35 authored by Nigel Kukard's avatar Nigel Kukard
Browse files

Imported Upstream version 0.1.0-201406091140

parents
Project Leader
--------------
Nigel Kukard <nkukard@lbsd.net>
commit b75a167d6dc2851204668a1ebea202d296c66e93
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Mon Jun 9 11:36:20 2014 +0000
Fix description in initscript
commit 5b19b743e98f146a4669082b09d253a996c145f6
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Mon Jun 9 11:35:54 2014 +0000
Bump debhelper
commit 7a68f44e34db598a271e2075b9d01b0d5cf7faa2
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Mon Jun 9 11:32:31 2014 +0000
Add watch file and signing key
commit f03a48a59922ca23eedcf6bd633ef7f181f838b5
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Mon Jun 9 11:31:46 2014 +0000
Use quilt and not native
commit 1cbc135012b0858f723c4607dbca560e9f6ae2b6
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Mon Jun 9 09:43:05 2014 +0000
Added VCS URLs
commit 4bb88cdf3940098d2f95cbde2da3c2207cc4fff0
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Mon Jun 9 09:31:05 2014 +0000
Make sure we cleanup the stray manpage we create
commit 6fe6e291ffcaed275e747f6f922f7251cae01bb6
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Mon Jun 9 09:02:53 2014 +0000
Add path and source init functions in initscript
commit 1d568bd5d4310c190668e51b0fcc84ab34e24018
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Mon Jun 9 09:02:37 2014 +0000
Bump standards version
commit 5ca10ae9fc02e510cb3735ac2322cafebcdb2d66
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Sun Jun 8 22:48:50 2014 +0000
Fix 2 more lintian errors
commit 8938185d2edf6c5d27c63ebd667c1e8d711ffc98
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Sun Jun 8 22:46:31 2014 +0000
Fixed mv chmod typo
commit ce964cc7be623fc7ab67f4bab94f6a1e0cd2801b
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Sun Jun 8 22:41:37 2014 +0000
Fix some lintian errors
commit 31f350892a3ee1aa54e940b3c26303f292a6cb32
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Sun Jun 8 22:41:19 2014 +0000
We can use shell code in rules
commit 76e764c9218e9f8f85472a29703519f1bae8c129
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Sun Jun 8 21:07:30 2014 +0000
Add shell to debian rules
commit 2dcbb97d69af64855ed3945fac0c865fda8a9583
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Sun Jun 8 21:02:51 2014 +0000
Use $(shell ...) in makefile
commit aee2b78f9da339e1c2e42f6c666e61f50cb74621
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Sun Jun 8 20:55:11 2014 +0000
Cleaned up debian packaging
commit dd8b1196c515d2ac0af8cb20c97ccda9ba5a9271
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Sun Mar 9 19:07:05 2014 +0000
Fixed spurious use of indentation, bumped (c)
commit 408dea4015b66b931d845cd5bca225648d4d4ec6
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Thu Dec 19 16:18:39 2013 +0000
Make the RUNDIR when we start up if it not there
commit 348f804e55ca5cea53e41f8d96e824e8e8edcb80
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Mon Jun 24 16:38:57 2013 +0000
Added init= option to execute before pppd
commit b547e72b0d78443e68fb88f0ddd37b6e0f049883
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Thu Jun 20 09:02:42 2013 +0000
Add CIDR mask to DNS server IP's for excl list
commit 4bd5da9db29f6b810e4871b3e9cf7264c830fe7c
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Fri May 17 19:09:08 2013 +0000
Don't track local routes outbound
commit ff6fb0a452e95d7a0af737c8dda7e6701590d3d2
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Sat May 11 13:29:56 2013 +0000
Set hash size automatically
commit ed41ed4df86de09d97fbc159de84a25ff1ca3d4f
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Sat May 11 13:29:20 2013 +0000
Added config example for ppp_* items
commit 2e2fe988c7092b27e40f711d3890c32bdafffe54
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Sat May 11 13:28:50 2013 +0000
Fixed typo with ppp_init and added config
commit 6ad7222666fb9825c50cb9667ca1eb0d98944194
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Tue May 7 10:58:18 2013 +0000
Fixed exclude list and added ppp connect script
Fixed how the tracking exclusion works internally
Added support for a ppp connect script
commit d9b34ee57e06228530f6aeb8dac09a8e3bc874e4
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Fri May 3 08:20:33 2013 +0000
Fixed two typos in variable names
commit d451ad16508118cb1473627810d58ca734c137b3
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Wed May 1 09:29:54 2013 +0000
Added tracking exclusion table, fixed typo
Added a tracking exclusions ipset to alow for excluding of dest ranges
Fixed bug where dns->current should of been used
commit 78b0fcf729adf65641993d25823bf9e74d40c8b6
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Wed May 1 09:03:51 2013 +0000
Flush cache and tracking of DNS on reconnect
commit 2d7d27260714131f85ed31ee81844baa04b896e0
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Sat Apr 27 21:52:19 2013 +0000
Fix missing metric for added routes
commit 755e566c9e271463e45a2dab61a046a5c8c9e3c0
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Mon Feb 18 22:10:16 2013 +0000
Fixed ordering of rules
commit b05a616e9289c899183ff14a2cf99524be573962
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Mon Jan 7 17:07:32 2013 +0000
Updated initscript with kill timeouts
commit 4bc6767b6ccac5aaf232ee38e023780d40f5956f
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Mon Jan 7 17:07:12 2013 +0000
Major iptables rules update & support for modems
commit e8c7ed95f00ea1eceb5de66a8176f565069ab0b4
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Fri Nov 2 12:42:25 2012 +0000
Fixed metric not being pulled in for loaded routes
Metric was not being pulled in for routes read
from the routes file. Fixed.
commit cf481ba18649a89ff1f85bb341fc5b38b8005593
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Thu Sep 27 17:25:39 2012 +0000
Fixed initscript run directory
commit ec2b94eb1ab6c85616fb3ad51c989d247e8856aa
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Thu Sep 27 07:51:57 2012 +0000
Mark forwarded & output traffic for tracking
commit b52cf1f85b9541641b03ba0cc5f2c5b7c4428178
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Wed Sep 26 19:07:28 2012 +0000
Major reworking on routing
commit 1a68a2e1847e49195f1ecf7f31ef1c49abcbbd2d
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Tue Sep 25 19:33:47 2012 +0000
Added INSTALL file
commit 8e2e078ec006475c2621fd3c6f269b857c0a754a
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Tue Sep 25 19:33:27 2012 +0000
Fixed whitespaces
commit 496346c77f869cfadf59cac2b0636d1a3124bf6c
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Tue Sep 25 19:30:02 2012 +0000
Make shorewall script executable
commit 40fd8e45e32c3a93d0a7efb42a6a2e239d8f17de
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Tue Sep 25 19:27:41 2012 +0000
Added INSTALL file and shorewall as a suggests
commit 6c8203eef27fee6539cb3e98730e4075054385c0
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Tue Sep 25 19:26:48 2012 +0000
Keep more traffic logs, enhance resolvconf
Keep 5 mins of traffic logs instead of 5 seconds
Enhance the DNS system by using resolvconf if its available
commit 6cf2fc27d0b7224db9c8d5e5f3610b8c86647cb5
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Tue Sep 25 15:53:23 2012 +0000
Fixed some typos
commit 6bfa63a79edf9ba9bbfc404406bf1b583320de03
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Tue Sep 25 15:14:15 2012 +0000
Fixed more paths in debian rules file
commit e643ab591f0868eeeb7b6983f5b11f23b6cef3b3
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Tue Sep 25 15:09:53 2012 +0000
Fixed debian rules bug where path was wrong
commit 1c0c9039f53b86522e8f7dac4c4103a9b7179955
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Tue Sep 25 15:06:25 2012 +0000
Added /etc/modprobe.d, don't stop when installing
commit 1ebad6985754ac7aa9005aaf26f54969d517d945
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Tue Sep 25 14:50:18 2012 +0000
Close to a total overhaul of how we load balance
commit 32b736c18d3a3f7bc07cd6b0ea7e79d98e876ef3
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Tue Sep 25 14:39:33 2012 +0000
Add a /var/run dir for storing state files
commit c2d2d7f274e6ec8249bae570d3843cd7b460b6ac
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Tue Sep 25 14:39:10 2012 +0000
We only need one packet timestamp stored
commit f1ee5752b0ee17cd8fa474dadb2ef078e1448f6f
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Thu Sep 20 06:45:57 2012 +0000
Added DNSMasq config file
commit 0e755568b8dd7a22d6596c1e332c5c14c03fd3c3
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Thu Sep 20 06:40:45 2012 +0000
Added modprobe config file
This allows us to store a large number of xt_recent entries instead
of just the standard 100.
commit 6ec844d29d7e7a65506276364ee9419dd2e96d40
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Sat Sep 8 23:31:09 2012 +0200
Don't create pid file in initscript
commit d8cb2a35432621d4a935077bba292b272692d1e3
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Sat Sep 8 23:30:31 2012 +0200
Create a PID file when we run as a daemon
commit 8ac160099072dec78964981a3bb4ea5a470b3d05
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Sat Sep 8 23:15:40 2012 +0200
Start ppp-gatekeeper after reboot, updated init
commit dcf0e403d71cd8e56029c439a2d342e2e943297f
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Sat Sep 8 23:02:13 2012 +0200
Fixed naming of pppd to ppp for debian
commit a4e0e5aca16451af1b568a419e3937bfd5331084
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Sat Sep 8 20:55:49 2012 +0000
Added additional requires for debian packaging
commit cf81cc69f434fce8d60df3d66dfd8d48a429f471
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Sat Sep 8 22:32:59 2012 +0200
More initscript fixes
commit 77a6e4447ac890cf2105ea6a04974a90375d9d2c
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Sat Sep 8 22:24:52 2012 +0200
Don't start/stop initscript by default
commit 46a96a5ddb5902615609a4f2d820835bad4d9643
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Sat Sep 8 21:59:58 2012 +0200
Revert "Do not automatically start ppp-gatekeeper"
This reverts commit dadf22fa562e584263e023b8d745b912c82ca254.
commit dadf22fa562e584263e023b8d745b912c82ca254
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Sat Sep 8 21:45:43 2012 +0200
Do not automatically start ppp-gatekeeper
commit c12832abc092a0da789a73052dc21fb682ddd767
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Sat Sep 8 21:37:59 2012 +0200
Don't create rundir as its /var/run
commit aed81857152f31d20c715239143af309648c1ab2
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Sat Sep 8 19:54:21 2012 +0200
Fixed run dir
commit 8021e7bcede7e1f50c379e3a407616a64d2a6172
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Sat Sep 8 16:41:18 2012 +0200
Fixed manpage path
commit 73eb464263462c5b0fa1e465b409913161336acf
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Sat Sep 8 16:39:49 2012 +0200
Added manpages file for debian packaging
commit 65703f42a35ea4f24444f603316a5e9ede17e3f7
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Sat Sep 8 16:37:25 2012 +0200
Fixed manpage formatting problems
commit 089e094b56810ee4878046032739619a7b56a932
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Sat Sep 8 16:31:44 2012 +0200
Added manpage
commit c967083dd568b2acea99bf6a06fcdbf146bc7670
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Sat Sep 8 16:31:21 2012 +0200
Added manpage building make rule
commit 26a1f09848ef15702650bb7a74c7bc1e627b5dde
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Sat Sep 8 16:30:56 2012 +0200
Added build depend for docbook-to-man
commit aae11d118dbd444ca8d73592aaa1de997ba69552
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Sat Sep 8 16:30:37 2012 +0200
We don't need a run dir
commit 1b2f2fcee5e68f2857fc638d8fd758ddd3a1b99c
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Sat Sep 8 16:29:02 2012 +0200
Changed --daemon to --fg
commit 9ac2d14cf91f0a84ef173258d9d8e562de3f642d
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Sat Sep 8 14:57:10 2012 +0200
Added Debian packaging info
commit 33d4f8fc37e3cca7b99f9fbfac04f014a426fda3
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Sat Sep 8 14:57:02 2012 +0200
Removed old config file
commit 604cc34e372676cfdbddaa5db0ad76f94010ef94
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Sat Sep 8 14:55:22 2012 +0200
Fixed up log file paths
Changed name of config file
commit 0636ec4e08c523e48599af9f5be80727595a5074
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Sat Sep 8 07:24:07 2012 +0000
Updated copyright
commit 860322a9c1ed1b2b6a62dd75f6a3e15c6d87970b
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Sat Sep 8 07:22:17 2012 +0000
Fixed incorrect default route being used
Remove old connection tracking information when connection goes down
commit 74cb777875ef4fd69d7653a604b1d71d6fee8d18
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Tue Sep 13 16:58:22 2011 +0000
Updated routing tables and added pid files
commit 68fbac417fb6a2ab2d322dac14eea836cfac2c5a
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Mon Apr 4 10:36:28 2011 +0000
Added more debugging info, better timeout support
commit 32b81dbe8b3346a9e1784ba1c24f248e851609dd
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Fri Jan 14 01:41:49 2011 +0000
Run ifup scripts in the background
This allows us not to hang all other connections if the script is running slow, like a dynamic dns update
commit 03afed193f971d41b88ea92793267b6f0a693977
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Fri Dec 31 19:28:31 2010 +0000
Fixed up formatting of LICENSE file
Copied file from gnu.org site
commit 3b079609259bc182d919012db0d0357f8cae1935
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Thu Dec 23 12:58:32 2010 +0000
* Added LICENSE, TODO & AUTHORS files
commit 253ff74ea1611ea8e0cd24ba83286e4ea8971b95
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Sun Nov 28 16:20:45 2010 +0000
* use connConfig, not thisConn for configuration of ifup and ifdown
commit 4bb296d6e9e4d2f3b076f7f92007e530f7a0439e
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Sat Nov 27 17:33:13 2010 +0000
* Fixed bug where thisConn was used instead of $connConfig for route exclusion lists
commit 7c4a733c7ee6de163b48fba4b8d71f1a6c0c69f0
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Sat Nov 27 17:28:04 2010 +0000
* More fixups
commit 8d6d30a9c123723c749f1d96f8cf3e8bb300df80
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Fri Nov 26 21:45:48 2010 +0000
* Refactored ppp-gateway not to use shm and developed a better design
* Added support for ppp unit number specification
commit 98c0d2e7c0a9798523bbe6ede93ed84465071bcd
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Tue Nov 23 06:15:14 2010 +0000
* Fixed up routing priorities
* Added ifup and ifdown hooks
commit 4f65604eda4def16af5ebd700f303a15233fd681
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Sat Nov 20 22:01:51 2010 +0000
* Fixed up --help
* Removed unused functions
commit f29c2ded043e751209baa4b7d1b7768f7c775052
Author: Nigel Kukard <nkukard@lbsd.net>
Date: Sat Nov 20 21:52:04 2010 +0000
* Initial checkin
Debian:
1. Install ipset & ipset module
$ apt-get install ipset ipset-source
$ module-assistent auto-install ipset
2. Short circuit ip-up
$ cat <<EOF > /etc/ppp/ip-up.local
#!/bin/bash
EOF
$ chmod 0755 /etc/ppp/ip-up.local
3. For shorewall change these in /etc/shorewall/shorewall.conf
IP_FORWARDING=On
FORWARD_CLEAR_MARK=No
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Lesser General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but