repo.or.cz
/
blockfinder.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Merge remote-tracking branch 'origin/master' into pypi_package
2015-12-25
david
M
e
rge
re
m
ote-tracki
n
g br
a
nch 'origin/master' in
t
o pypi_pa
c
kage
Signed-off-by: david <
db@d1b.org
>
commit
|
commitdiff
|
tree
2015-12-25
David
Merge pu
l
l
r
eq
u
est
#93 from d1b
/
correct-exit
-
code
commit
|
commitdiff
|
tree
2015-12-25
David
M
e
rge pull
r
eques
t
#92 from bo
i
te/
d
upe-blocks-
9
0-v2
commit
|
commitdiff
|
tree
2015-11-09
d
a
vid
In pyth
o
n 2 either use embedded
_
ipaddr or where that
.
.
.
Signed-off-by: david <
db@d1b.org
>
commit
|
commitdiff
|
tree
2015-11-09
da
v
i
d
Add block_finder/
to packages in
setup
.
cfg
.
Signed-off-by: david <
db@d1b.org
>
commit
|
commitdiff
|
tree
2015-11-09
davi
d
Move blockfind
e
r t
o
blo
c
k_finder/blo
c
kfi
n
de
r
.
py, u
p
date
.
.
.
Signed-off-by: david <
db@d1b.org
>
commit
|
commitdiff
|
tree
2015-11-09
david
M
e
r
g
e remot
e
-tracking branch 'upstream/master' in
t
o
.
.
.
commit
|
commitdiff
|
tree
2015-11-09
David
M
erge
pull request #87 fr
o
m d
1
b/fix_u
n
closed_files
commit
|
commitdiff
|
tree
2015-11-09
da
v
i
d
Close the countr
y
co
d
e file inside build
_
count
r
y_code_dictio
.
.
.
Signed-off-by: david <
db@d1b.org
>
commit
|
commitdiff
|
tree
2015-11-09
david
Close t
h
e previ
o
u
sly unclosed file insi
d
e import_
m
a
x
mi
n
d_file
.
Signed-off-by: david <
db@d1b.org
>
commit
|
commitdiff
|
tree
2015-11-09
d
a
vid
C
l
ose opened zipfile a
n
d gzi
p
files
inside pa
r
se_maxmind_fil
e
s
.
Signed-off-by: david <
db@d1b.org
>
commit
|
commitdiff
|
tree
2015-11-09
david
c
lo
s
e
r
ir_files
o
p
ened inside pa
r
se
_
rir_files
.
Signed-off-by: david <
db@d1b.org
>
commit
|
commitdiff
|
tree
2015-11-09
david
Close lir_files opened insid
e
parse_lir_file
s
.
Signed-off-by: david <
db@d1b.org
>
commit
|
commitdiff
|
tree
2015-11-09
David
M
erge pull request #86 fro
m
d1b/fix_use_of_deprecated_config
.
.
.
commit
|
commitdiff
|
tree
2015-11-09
david
In
python 2 use ConfigParser
.
r
e
adfp and in p
y
thon 3 use
Signed-off-by: david <
db@d1b.org
>
commit
|
commitdiff
|
tree
2015-11-09
Dav
i
d
M
e
rge pu
l
l
request #85 from d1b/
f
i
x
_u
s
e_of_d
e
pre
c
ated_config
.
.
.
commit
|
commitdiff
|
tree
2015-11-09
david
Use SafeConfigParser in python 2 an
d
Config
P
arser in
.
.
.
Signed-off-by: david <
db@d1b.org
>
commit
|
commitdiff
|
tree
2015-11-09
David
Merge p
u
ll request #84 from d1b
/
upda
t
e
_
travi
s
_ci
_
c
onf
i
g
commit
|
commitdiff
|
tree
2015-11-09
dav
i
d
Migr
a
te to th
e
new travis-c
i
infrastructure b
y
adding
.
.
.
Signed-off-by: david <
db@d1b.org
>
commit
|
commitdiff
|
tree
2015-11-09
David
Merge p
u
l
l r
e
quest #83 fr
o
m d1b/use_new_
s
tyle_classe
commit
|
commitdiff
|
tree
2015-11-09
david
Mov
e
to usin
g
'
new' st
y
le classes a
s
that's
w
hat pyth
o
n
.
.
.
Signed-off-by: david <
db@d1b.org
>
commit
|
commitdiff
|
tree
2015-11-09
david
Move
to
using '
n
ew' sty
l
e classe
s
as that's what
python
.
.
.
Signed-off-by: david <
db@d1b.org
>
commit
|
commitdiff
|
tree
2015-11-09
dav
i
d
p
ep8 check se
t
up
.
py in t
r
a
v
is
-
ci tests
.
Signed-off-by: david <
db@d1b.org
>
commit
|
commitdiff
|
tree
2015-11-09
david
Upd
a
te the
t
ra
v
i
s-ci pep8 check
t
he new tes
t
.
py file
.
.
.
Signed-off-by: david <
db@d1b.org
>
commit
|
commitdiff
|
tree
2015-11-09
dav
i
d
Mo
v
e
blockfindertest
.
py to block_fi
n
der/
t
est
.
py
and
.
.
.
Signed-off-by: david <
db@d1b.org
>
commit
|
commitdiff
|
tree
2015-11-09
davi
d
R
un p
y
thon setup
.
py
test instead
of bloc
k
findertest
.
.
.
Signed-off-by: david <
db@d1b.org
>
commit
|
commitdiff
|
tree
2015-11-09
david
add a new
b
lock_finder sub
-
directory
.
Signed-off-by: david <
db@d1b.org
>
commit
|
commitdiff
|
tree
2015-11-09
d
a
v
i
d
Add a setup
.
py
and a matching setup
.
cfg file
.
N
ote
.
.
.
Signed-off-by: david <
db@d1b.org
>
commit
|
commitdiff
|
tree
2015-11-09
D
a
v
id
M
erge pu
l
l reque
s
t
#81
fr
o
m
d1b/pe
p
8
commit
|
commitdiff
|
tree
2015-11-08
D
a
v
id
Merg
e
remo
t
e-tracking branch 'upstream/master' into
.
.
.
Signed-off-by: David <
db@d1b.org
>
commit
|
commitdiff
|
tree
2015-11-08
David
Merge pul
l
request #
8
2 from
d
1b/t
e
st_more_py3_
v
ersi
o
n
s
commit
|
commitdiff
|
tree
2015-11-08
david
A
dd python 3
.
4 and 3
.
5 to travis-ci
'
s test con
f
iguration
.
Signed-off-by: david <
db@d1b.org
>
commit
|
commitdiff
|
tree
2015-11-08
da
v
i
d
Add pep8 chec
k
s to the travis-ci configuration
.
Signed-off-by: david <
db@d1b.org
>
commit
|
commitdiff
|
tree
2015-11-08
dav
i
d
Merge rem
o
te-t
r
acking b
r
anch 'upstream/mast
e
r' in
t
o
.
.
.
Signed-off-by: david <
db@d1b.org
>
commit
|
commitdiff
|
tree
2015-11-07
David
Merge pull
req
u
est #74 from
x
iong
c
hiamiov/normali
z
e
.
.
.
commit
|
commitdiff
|
tree
2015-03-14
da
v
id
pep8-ify blockfindertest
.
p
y
.
Signed-off-by: david <
db@d1b.org
>
commit
|
commitdiff
|
tree
2015-03-14
david
p
ep8-ify bloc
k
f
i
nde
r
.
Signed-off-by: david <
db@d1b.org
>
commit
|
commitdiff
|
tree
2014-01-05
davi
d
Have travi
s
ci test again
s
t 3
.
3
.
Signed-off-by: david <
db@d1b.org
>
commit
|
commitdiff
|
tree
2014-01-05
dav
i
d
Support
python
2
.
7 and 3
.
0
.
Signed-off-by: david <
db@d1b.org
>
commit
|
commitdiff
|
tree
2013-07-19
Da
v
id
A
dd a t
r
avis ci
c
onfigurat
i
on file
.
Signed-off-by: David <
db@d1b.org
>
commit
|
commitdiff
|
tree
2013-01-28
David
Include a em
b
edde
d
copy of ip
a
ddr
.
The
license fo
r
.
.
.
Signed-off-by: David <
db@d1b.org
>
commit
|
commitdiff
|
tree
2012-11-20
D
a
vid
A
d
d a db
c
o
n
fi
g
uratio
n
file and a
d
d methods to get
.
.
.
Signed-off-by: David <
db@d1b.org
>
commit
|
commitdiff
|
tree
2012-11-10
David
Con
v
ert the
B
lockfin
d
er
.
asn_lookup
method to r
e
t
urn
.
.
.
Signed-off-by: David <
db@d1b.org
>
commit
|
commitdiff
|
tree
2012-11-10
Da
v
i
d
The a
s
n table was removed some
t
ime ago and this broke
.
.
.
Signed-off-by: David <
db@d1b.org
>
commit
|
commitdiff
|
tree
2012-11-10
David
The -r optio
n
can
b
e used t
o
look up IP,
A
SN an
d
hostn
a
m
e
.
Signed-off-by: David <
db@d1b.org
>
commit
|
commitdiff
|
tree
2012-08-21
David
Fix an indentation
error
t
hat was i
n
troduced i
n
the
.
.
.
Signed-off-by: David <
db@d1b.org
>
commit
|
commitdiff
|
tree
2012-08-21
Davi
d
U
p
date
t
he test_rir_lo
o
kup test cas
e
to
u
s
e values
.
.
.
Signed-off-by: David <
db@d1b.org
>
commit
|
commitdiff
|
tree
2012-08-21
Dav
i
d
Merge
t
he ipv4
and ipv6 lir
f
etch and use tests und
e
r
.
.
.
Signed-off-by: David <
db@d1b.org
>
commit
|
commitdiff
|
tree
2012-07-04
D
a
vid
Up
d
ate
my info :
-
)
Signed-off-by: David <
db@d1b.org
>
commit
|
commitdiff
|
tree
2012-07-04
David
M
er
g
e branch 'master' o
f
gith
u
b
.
com:d
1
b
/
blockfinder
commit
|
commitdiff
|
tree
2012-07-04
David
The workaround
for t
h
e deleg
a
ted
-
afrinic-lat
e
st md5
.
.
.
Signed-off-by: David <
db@d1b.org
>
commit
|
commitdiff
|
tree
2011-12-19
David
B
W
o
r
k arou
n
d missing conten
t
l
e
ngth header information
.
.
.
Signed-off-by: David B <
db@d1b.org
>
commit
|
commitdiff
|
tree
2011-10-03
dav
e
bl
I
nstead of just depe
n
d
i
n
g
o
n
t
h
e
t
xt fil
e
f
r
om the
.
.
.
Signed-off-by: dave bl <
db@d1b.org
>
commit
|
commitdiff
|
tree
2011-10-03
dav
e
bl
The google
appengin
e
o
pencountryco
d
es service
sto
p
p
ed
.
.
.
Signed-off-by: dave bl <
db@d1b.org
>
commit
|
commitdiff
|
tree
2011-09-04
dave bl
We
intend t
o
put
a ve
r
sion
n
um
b
er in the databas
e
to
.
.
.
Signed-off-by: dave bl <
db@d1b.org
>
commit
|
commitdiff
|
tree
2011-09-01
dave
b
l
Test the correc
t
nes
s
of r
i
r handl
i
ng on ne
t
w
ork boundarie
s
.
Signed-off-by: dave bl <
db@d1b.org
>
commit
|
commitdiff
|
tree
2011-09-01
da
v
e bl
Do not print out t
h
e err
o
r wh
e
n gi
v
en a
n
'i
n
va
l
i
d'
.
.
.
Signed-off-by: dave bl <
db@d1b.org
>
commit
|
commitdiff
|
tree
2011-09-01
dave bl
Move all
d
elegati
o
n records into a s
i
ngle
t
able
.
Thus
.
.
.
Signed-off-by: dave bl <
db@d1b.org
>
commit
|
commitdiff
|
tree
2011-09-01
dave bl
When cre
a
t
ing the d
a
t
a
base / inserting delegat
i
o
ns
.
.
.
Signed-off-by: dave bl <
db@d1b.org
>
commit
|
commitdiff
|
tree
2011-09-01
dave
b
l
Add an option to 're-load' l
i
r file data i
n
to the database
.
Signed-off-by: dave bl <
db@d1b.org
>
commit
|
commitdiff
|
tree
2011-09-01
da
v
e bl
The ipaddr
module
i
s
_so_ much faster than the netad
d
r
.
.
.
Signed-off-by: dave bl <
db@d1b.org
>
commit
|
commitdiff
|
tree
2011-09-01
dave bl
Rem
o
ve s
o
me wh
i
te
s
pace
.
Signed-off-by: dave bl <
db@d1b.org
>
commit
|
commitdiff
|
tree
2011-04-15
dave bl
Mi
c
ha
e
l
Gielesberger pointed o
u
t that ipv
4
network
.
.
.
Signed-off-by: dave bl <
db@d1b.org
>
commit
|
commitdiff
|
tree
2011-04-15
dave bl
Mi
c
hae
l
Gielesbe
r
ger pointed out tha
t
i
p
v4
r
everse
.
.
.
Signed-off-by: dave bl <
db@d1b.org
>
commit
|
commitdiff
|
tree
2011-04-09
da
v
e bl
As the sqlite3 database was constantly commit()ing
.
.
.
Signed-off-by: dave bl <
db@d1b.org
>
commit
|
commitdiff
|
tree
2011-04-05
dave bl
Make a tempora
r
y b
a
se test fol
d
er
s
e
curely and use
.
.
.
Signed-off-by: dave bl <
db@d1b.org
>
commit
|
commitdiff
|
tree
2011-03-29
d
a
ve bl
Because r
i
r
_or_lir_look
u
p_ipv4 was closing the
cursor
.
.
.
Signed-off-by: dave bl <
db@d1b.org
>
commit
|
commitdiff
|
tree
2011-03-14
dave bl
Mak
e
IPy an o
p
tio
n
al impo
r
t
.
(note: it is
r
equired
.
.
.
Signed-off-by: dave bl <
db@d1b.org
>
commit
|
commitdiff
|
tree
2011-03-09
dave bl
to avoid using lar
g
e amounts of mem
o
ry when extracting
.
.
.
Signed-off-by: dave bl <
db@d1b.org
>
commit
|
commitdiff
|
tree
2011-02-20
da
v
e bl
init country
to
b
e
N
on
e
to
a
void accessing
'country
.
.
.
Signed-off-by: dave bl <
db@d1b.org
>
commit
|
commitdiff
|
tree
2011-01-22
d
ave bl
add su
p
port f
o
r re
v
erse i
p
v6 lookup and
f
ix th
e
test_lir_fet
.
.
.
Signed-off-by: dave bl <
db@d1b.org
>
commit
|
commitdiff
|
tree
2011-01-15
dave
bl
use github's file hosting for the tiny lir test d
a
ta
Signed-off-by: dave bl <
db@d1b.org
>
commit
|
commitdiff
|
tree
2011-01-15
dave bl
p
ulling
h
a
c
k
ing in
t
o m
a
s
ter befo
r
e
dumpin
g
hac
k
ing
Signed-off-by: dave bl <
db@d1b.org
>
commit
|
commitdiff
|
tree
2011-01-13
dave bl
whi
l
e the
-
h o
u
tp
u
t of the
o
ptparse module's args m
a
y
.
.
.
Signed-off-by: dave bl <
db@d1b.org
>
commit
|
commitdiff
|
tree
2011-01-13
dave bl
Add
a ipv6 test
.
For t
h
e 'blockfi
n
der tests' use
s
o
me
.
.
.
Signed-off-by: dave bl <
db@d1b.org
>
commit
|
commitdiff
|
tree
2011-01-13
dave bl
Merge bra
n
c
h
'm
a
ster' of git
h
ub
.
com:d1b/blockfi
n
d
e
r
commit
|
commitdiff
|
tree
2011-01-13
dave b
l
use ge
t
addrinfo inste
a
d of gethostbyname
.
getaddrin
f
o
.
.
.
Signed-off-by: dave bl <
db@d1b.org
>
commit
|
commitdiff
|
tree
2011-01-01
dave bl
Sort the re
s
ults from using th
e
sql dat
a
base
.
Signed-off-by: dave bl <
db@d1b.org
>
commit
|
commitdiff
|
tree
2010-12-11
dave bl
refactor out the du
p
licate code found unde
r
rir_lookup
.
.
.
Signed-off-by: dave bl <
db@d1b.org
>
commit
|
commitdiff
|
tree
2010-12-11
dave bl
in a previous
commi
t
, we failed to set
the rir_cc to
.
.
.
Signed-off-by: dave bl <
db@d1b.org
>
commit
|
commitdiff
|
tree
2010-12-11
dave
b
l
before returning
a
result in rir_l
o
o
k
up an
d
lir_looku
p
.
.
.
Signed-off-by: dave bl <
db@d1b.org
>
commit
|
commitdiff
|
tree
2010-12-11
dave b
l
there is no
p
oint
che
c
kin
g
if t
h
e address is 'still
.
.
.
Signed-off-by: dave bl <
db@d1b.org
>
commit
|
commitdiff
|
tree
2010-12-11
dave bl
cover
ipv4_address
_
to_dec an
d
r
e
turn
_
first_ip_and_number_in_
.
.
.
Signed-off-by: dave bl <
db@d1b.org
>
commit
|
commitdiff
|
tree
2010-12-10
dave bl
r
e
m
o
v
e(useless) an extra
level
o
f inde
n
tati
o
n in the
.
.
.
Signed-off-by: dave bl <
db@d1b.org
>
commit
|
commitdiff
|
tree
2010-12-10
dave bl
add a no
t
e
about the
i
nc
o
r
r
e
c
t beh
a
viour of t
h
e
calculate
_
i
p
.
.
.
Signed-off-by: dave bl <
db@d1b.org
>
commit
|
commitdiff
|
tree
2010-11-29
dave bl
i
n
th
e
past comm
i
t, i accidenta
l
ly put
'cc' which d
i
dn
.
.
.
Signed-off-by: dave bl <
db@d1b.org
>
commit
|
commitdiff
|
tree
2010-11-29
dave bl
update the test
file
t
o re
f
lect the rename of the blockfin
d
e
.
.
.
Signed-off-by: dave bl <
db@d1b.org
>
commit
|
commitdiff
|
tree
2010-11-29
dave bl
we
don't really
ne
e
d
a
wra
p
per around what is one line
.
.
.
Signed-off-by: dave bl <
db@d1b.org
>
commit
|
commitdiff
|
tree
2010-11-29
dave
bl
unhack
t
h
e co
d
e
bas
e
so
m
e - by removing duplicate code
.
.
.
Signed-off-by: dave bl <
db@d1b.org
>
commit
|
commitdiff
|
tree
2010-11-28
dave bl
fix
a
n off by o
n
e error in lookup_ip_address
Signed-off-by: dave bl <
db@d1b.org
>
commit
|
commitdiff
|
tree
2010-11-28
dave bl
Bug f
i
x
es:
Signed-off-by: dave bl <
db@d1b.org
>
commit
|
commitdiff
|
tree
2010-11-28
dav
e
b
l
strip
the white
s
p
a
c
e in the blockfinder test f
i
le
Signed-off-by: dave bl <
db@d1b.org
>
commit
|
commitdiff
|
tree
2010-11-28
dave bl
strip the
w
h
itespace that was a
d
ded in the previous
.
.
.
Signed-off-by: dave bl <
db@d1b.org
>
commit
|
commitdiff
|
tree
2010-11-24
da
v
e
bl
* This
commit remove
s
the dependency on IPy
.
Signed-off-by: dave bl <
db@d1b.org
>
commit
|
commitdiff
|
tree
2010-11-24
dave
bl
l
e
ts not fet
c
h and
p
arse lir by d
e
fault but make it
.
.
.
Signed-off-by: dave bl <
db@d1b.org
>
commit
|
commitdiff
|
tree
2010-11-24
dave
b
l
add a wa
r
ning abo
u
t
how long
l
ir file parsin
g
c
an take
.
.
.
Signed-off-by: dave bl <
db@d1b.org
>
commit
|
commitdiff
|
tree
2010-11-14
dave bl
Cu
r
rently
ip
re
v
erse
looks up
s
r
ea
l
ly ar
e
n
ot do
n
e
.
.
.
Signed-off-by: dave bl <
db@d1b.org
>
commit
|
commitdiff
|
tree
2010-11-14
dave
b
l
Add hostna
m
e su
p
port
for '-r'
Signed-off-by: dave bl <
db@d1b.org
>
commit
|
commitdiff
|
tree
2010-11-13
dav
e
bl
In extract_i
n
fo_fr
o
m_l
i
r_file_an
d
_i
n
sert_into_s
q
lit
e
:
Signed-off-by: dave bl <
db@d1b.org
>
commit
|
commitdiff
|
tree
2010-11-12
dave bl
Extract and insert d
a
t
a
from the
l
ir file i
n
to the
.
.
.
Signed-off-by: dave bl <
db@d1b.org
>
commit
|
commitdiff
|
tree
next