Skip to content

Commit 323e079

Browse files
committed
comitting original version 1.27
1 parent 97f90ee commit 323e079

25 files changed

+2233
-2
lines changed

ChangeLog

+179
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,179 @@
1+
1.27 - Feb 8 2008
2+
3+
* Redesigned (and simplified) the CVS diff code. The options are now
4+
"fulldiff" (basically the complete output of a normal CVS diff, that
5+
you could actually use to patch a file), "plusminus" (stripped down
6+
to only a list of prefix changes), and "english" (aka "Cogent Mode",
7+
for NOCs who can't quite figure out what the + and - symbols might
8+
mean). This was supposed to have been done back in 1.20, but this
9+
version actually makes it work.
10+
11+
1.26 - June 8 2007
12+
13+
* Added support for Force10 prefix-list format. The style is JUST
14+
different enough from Cisco to be incompatible, you have to enter a
15+
hierarchy under the prefix-list declaration and then enter the permit
16+
lines seperately, rather than stating it all on one line. Thanks to
17+
Greg Hankins for pointing this out and providing the fix.
18+
19+
* Added support for 32-bit (4-byte) ASNs. The #.# format (who's stupid
20+
idea was that anyways :P) was being detected as an IP address and the
21+
result of a route-set. Added an additional check to make it detect as
22+
an object to be be further queried, not that it will help since it
23+
seems the IRRd software (which is the only protocol we support, for
24+
various reasons) doesn't currently like importing this format either,
25+
but at least it won't be IRRPT's fault when it doesn't work. :)
26+
27+
Thanks to: those wonderful euros who just had to actually go and try
28+
those new ASNs out ASAP, thus killing all the Farce10 and JUNOS 8.3R1
29+
boxes on the planet. Go go gadget incompatibility. :)
30+
31+
1.25 - May 27 2006
32+
33+
* Added an option to automatically change uid/gid to a specified id if
34+
run as root. CVS will not let you run as root, so you should have a
35+
dedicated user anyways, but sometimes people forget.
36+
37+
* Completely changed the way we process arguments, php getopt() sucks.
38+
39+
* Fixed a plethoa of bugs in irrpt_nag. I don't know how you guys were
40+
even using this before, or why no one told me how broken this was
41+
before now. :)
42+
43+
* Changed the default subject line of irrpt_nag, put the ASN info in
44+
the front for a quicker read on narrow terminals.
45+
46+
47+
1.24 - December 29 2005
48+
49+
* Added an "ASN list" file which records the ASNs behind each object. This
50+
may be used to implement some kind of AS-PATH filtering in the future I
51+
suppose, though it really isn't the right tool for the job. Talked into
52+
this evilness by Jon Nistor <[email protected]>.
53+
54+
* Fixed a really silly mistake in the processing of "english" style output.
55+
56+
* Added a new tool "irrpt_explorer", which queries and displays the
57+
contents of an AS-SET in a hierarchal and recursive format.
58+
59+
* Removed some unnecessary code in irrpt_eval.
60+
61+
1.23 - November 18 2005
62+
63+
* Changed $_SERVER['SCRIPT_FILENAME'] references to __FILE__ to work around
64+
some portability issues with certain PHP builds (like apparently, RedHat).
65+
Pointed out by Joshua Sahala <[email protected]>.
66+
67+
* Fixed the -p flag (preview mode) on irrpt_nag. It works better if you
68+
actually have "p" in getopt(). Pointed out by Christian Malo
69+
70+
71+
1.22 - November 8 2005
72+
73+
* Fixed irrpt_eval -a (aggregate) functionality. Pointed out by
74+
Jon Nistor <[email protected]>.
75+
76+
* Added support for ExtremeWare prefix generation. Submitted by Tom
77+
Hodgson.
78+
79+
* A documentation tweak noting that PHP >= 4.3 is required. Submitted
80+
by Tom Hodgson.
81+
82+
* Added a note regarding Debian's "aggregate" package to the README.
83+
84+
* Got a little carried away getting rid of Nistor's strict errors. Rolling
85+
some things back to continue supporting php 4, easier solution is just
86+
not to turn on E_STRICT.
87+
88+
* Added some example scripts for router configuration deployment. Updated
89+
documentation to reflect these changes.
90+
91+
* Nailed down a few bugs with caching results that had incorrect array
92+
indexes following sort and unique. Extensive troubleshooting by Jon
93+
94+
95+
* Added a quick optimization to only parse the exclusions file once (well
96+
most of the time at any rate).
97+
98+
* A couple of minor bugfixes and documentation changes from the previous
99+
release.
100+
101+
102+
1.20 - November 7 2005
103+
104+
* Added support for handling a route-set object, and revised the as-set code
105+
to be a little more generic/graceful while handling it. Issue noted by
106+
Jon Nistor <[email protected]>.
107+
108+
* Added a new tool "irrpt_eval" which returns a simple plain-text list of
109+
routes from an arbitrary IRR object, using the irrpt query engine. This
110+
can be useful for diagnostics/quick lookups, and is similar to the
111+
IRRToolSet tool "peval". Requested by Aaron Weintraub.
112+
113+
* Fixed some class definitions to comply with php strict mode. Contributed
114+
by Jon Nistor <[email protected]>.
115+
116+
* When an IRR query fails, the query that resulted in the failure is now
117+
displayed (verbose mode required). Nagged to death by Jon Nistor
118+
119+
120+
* Added a config option for controlling the e-mail updates which are sent
121+
when a route change is detected:
122+
123+
irrpt.conf: ['fetch']['emailonchange']
124+
125+
User can now specify whether to send emails for updated detected in the
126+
"full" (unaggregated) route file, the "aggregated" route file, "both"
127+
(default), or "none". Requested by Jon Nistor <[email protected]>
128+
129+
* Added an option for "english" language diff format. Apparently the Cogent
130+
NOC can't figure out what "+" and "-" means, so "english" mode changes
131+
the output to "Add" and "Remove" (and is the new default). There is
132+
also an option to continue using + and - ("plusminus") but to remove the
133+
full "diff" headers. The old behavior is retained under the setting
134+
"fulldiff". Requested by Adam Rothschild.
135+
136+
irrpt.conf: ['diff']['output_format']
137+
138+
* Added a new flag "-p" to irrpt_nag, which enables preview mode. In
139+
preview mode, the contents of the email(s) which would be sent are
140+
output to stdout instead of being emailed. This allows you to
141+
double-check the e-mails before actually sending them. Requested by
142+
Adam Rothschild.
143+
144+
* Changed the format of ['pfxgen']['default_pfxname'], and renamed it to
145+
default_pfxstr. It is now handled as a printf()-style format string, with
146+
one argument (the ASN). For example, to generate "CUSTOMER:1234" use the
147+
string: "CUSTOMER:%d". Requested by Pierfrancesco Caci.
148+
149+
* Updated the distributed (but commented out) example exclusions.conf, just
150+
incase someone decides to uncomment it without obtaining the current
151+
exclusions list themselves.
152+
153+
* A bunch of small misc. changes in formatting and alignment. Largely
154+
requested by Jon Nistor <[email protected]>
155+
156+
157+
1.10 - December 29 2004
158+
159+
* Added an optional local cache for prefixes queried from an aut-num
160+
record, under the assumption that many networks will have as-set
161+
records which contain overlapping aut-num records. This will increase
162+
memory usage a bit, but results in significantly faster queries from
163+
the IRR whois servers for those with a large number of IRRDB entries.
164+
Cache is enabled by default. Suggested by Arnold Nipper.
165+
166+
* Fixed a bug in the default CVS files which would cause an error
167+
message when fetch is run from a directory other than the default
168+
"/usr/local/irrpt".
169+
170+
* Commented out the default bogon routes in the distributed exclusions
171+
config file, so users must choose to explicitly enable it. Hopefully
172+
this will prevent the blind use of potentially out of date bogon
173+
information, and avoid unnecessary whining on mailing lists every
174+
time a RIR is allocated a new /8.
175+
176+
177+
1.00 - December 26 2004
178+
179+
* Initial public release.

LICENSE

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
Copyright (c) 2004-2006, Richard A. Steenbergen <[email protected]>
2+
All rights reserved.
3+
4+
Redistribution and use in source and binary forms, with or without
5+
modification, are permitted provided that the following conditions are
6+
met:
7+
8+
* Redistributions of source code must retain the above copyright notice,
9+
this list of conditions and the following disclaimer.
10+
11+
* Redistributions in binary form must reproduce the above copyright
12+
notice, this list of conditions and the following disclaimer in the
13+
documentation and/or other materials provided with the distribution.
14+
15+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
16+
IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
17+
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
18+
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
19+
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
20+
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
21+
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
22+
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
23+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
24+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
25+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

0 commit comments

Comments
 (0)