repo.or.cz
/
netsniff-ng.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Bumped the size of each frame to 16384 bytes to handle Jumbo frames properly.
2011-09-20
Emmanuel Roullit
Bum
p
e
d
t
he size of
e
ach
f
rame to 1638
4
bytes to handl
e
.
.
.
commit
|
commitdiff
|
tree
2011-09-20
Emmanu
e
l
Roull
i
t
Refac
t
o
red function to convert s
t
r
ing
t
o
u
nsig
n
ed l
o
ng
.
.
.
commit
|
commitdiff
|
tree
2011-09-20
Em
m
anu
e
l
R
oullit
Rever
t
"Re
p
l
a
ce skip function by st
r
t
o
k()
.
"
commit
|
commitdiff
|
tree
2011-09-20
E
m
man
u
el Roullit
Revert "Refa
c
to
r
ed getuint() for b
e
tter error handling
.
.
.
commit
|
commitdiff
|
tree
2011-09-19
Emm
a
nuel Roullit
Whe
n
scatter-gath
e
r I/O is used,
mak
e
sure written
.
.
.
commit
|
commitdiff
|
tree
2011-09-14
E
mmanuel Roullit
Replace skip funct
i
on by s
t
rtok()
.
commit
|
commitdiff
|
tree
2011-09-14
Emm
a
nuel Ro
u
l
l
it
R
efactor
e
d g
e
tuin
t
() for
better error handling
and
.
.
.
commit
|
commitdiff
|
tree
2011-07-27
Emmanuel Roulli
t
M
e
rge branc
h
'master' of ssh://rep
o
.
or
.
c
z
/srv/git/
n
etsniff
-
n
g
commit
|
commitdiff
|
tree
2011-07-27
Emmanuel Roullit
Disab
l
e memset(
)
function call inlining to be sure
.
.
.
commit
|
commitdiff
|
tree
2011-07-27
Em
m
anue
l
Roullit
For n
o
w, it is only possi
b
le to start the
client
with
.
.
.
commit
|
commitdiff
|
tree
2011-07-27
Emmanuel Roulli
t
Clear keys afte
r
using
t
o
a
v
o
id i
n
formation lea
k
ag
e
.
commit
|
commitdiff
|
tree
2011-07-27
Em
m
a
n
uel Roullit
U
s
e stand
a
rd
o
ut f
i
le descri
p
tor defines
.
commit
|
commitdiff
|
tree
2011-07-27
Emmanuel Roullit
Fixed tempo
r
ary key b
u
f
fer size
commit
|
commitdiff
|
tree
2011-07-27
Emma
n
u
e
l Roullit
Make a define whi
c
h tell
w
here the
e
ntropy source i
s
.
.
.
commit
|
commitdiff
|
tree
2011-07-27
Emmanuel Rou
l
lit
PID print fixup
commit
|
commitdiff
|
tree
2011-07-27
E
mmanuel Roullit
Use PATH_MAX define to s
e
t
the
s
t
r
ing size of a fi
l
epath
commit
|
commitdiff
|
tree
2011-07-27
Emmanuel Roullit
Write
c
h
ild's p
i
d in
p
id
f
ile
.
commit
|
commitdiff
|
tree
2011-07-27
E
mman
u
e
l
Roullit
Removed fi
l
e
ownershi
p
checks to allow to
start the
.
.
.
commit
|
commitdiff
|
tree
2011-07-27
Emmanuel Roull
i
t
Check file type
a
nd
f
ile permissions separatel
y
.
commit
|
commitdiff
|
tree
2011-07-27
Emma
n
uel Rou
l
lit
The server daemon can only be st
a
r
t
e
d
by having elevated
.
.
.
commit
|
commitdiff
|
tree
2011-07-27
Emmanuel Roullit
Use the ready-made function
d
a
e
mo
n
(3
)
t
o
dae
m
onize
.
.
.
commit
|
commitdiff
|
tree
2011-07-27
E
m
manuel Roullit
Refacto
r
ed some size
o
f
(
)
commit
|
commitdiff
|
tree
2011-07-27
Emma
n
uel R
o
ull
i
t
Reduci
n
g the parameter num
b
er of handler_udp_
n
otif
y
_
c
lose()
commit
|
commitdiff
|
tree
2011-07-27
Emman
u
e
l
Roulli
t
Check buffer and len
g
th vali
d
ity b
e
f
ore starting processing
.
commit
|
commitdiff
|
tree
2011-07-19
E
mman
u
e
l
R
oul
l
it
Us
e
zlib
d
efine to force n
o
c
ompress
i
on
.
commit
|
commitdiff
|
tree
2011-07-19
E
mmanu
e
l Roullit
Merged redundant c
o
d
e
into reusable fu
n
ction
.
commit
|
commitdiff
|
tree
2011-07-19
Emman
u
el Roullit
Use zlib compression level
d
efines
commit
|
commitdiff
|
tree
2010-07-10
Emman
u
e
l Roullit
Inde
n
t
i
ng
commit
|
commitdiff
|
tree
2010-07-10
Emmanuel R
o
ullit
Ins
t
ead o
f
testing the BPF
f
or
e
very packet in c
o
mpatibility
.
.
.
commit
|
commitdiff
|
tree
2010-07-09
Emmanuel
R
oullit
Activating compati
b
i
l
ity mode for
Issue 13
commit
|
commitdiff
|
tree
2010-07-08
Emmanuel Roullit
F
ix
e
d TX ring to fit to Is
s
u
e
29
.
commit
|
commitdiff
|
tree
2010-07-08
Em
m
anue
l
Roullit
Use nati
v
e
struct sock_fprog instead
of
an array of
.
.
.
commit
|
commitdiff
|
tree
2010-07-07
Emm
a
nuel Roullit
Rem
o
ved
p
rintf in the BPF
f
i
lter
commit
|
commitdiff
|
tree
2010-07-07
Emmanuel Roullit
Adding mi
s
sing
B
PF
f
ilter
i
n RX
c
o
mpatibi
l
it
y
mode
.
.
.
commit
|
commitdiff
|
tree
2010-07-06
Emm
a
nue
l
Roullit
Adding a capt
u
re compatibilit
y
mode
.
Done for Issue
13
commit
|
commitdiff
|
tree
2010-07-01
Emmanuel
R
oul
l
it
This fix
a small memory leak
.
Done for Is
s
ue 10
commit
|
commitdiff
|
tree
2010-07-01
Emma
n
uel Roulli
t
Fix dyna
m
i
c spinne
r
and made si
m
ple AP
I
to us
e
it
.
.
.
.
commit
|
commitdiff
|
tree
2010-07-01
Emman
u
e
l
Roullit
F
i
xe
d
charset p
r
o
ble
m
.
commit
|
commitdiff
|
tree
2010-06-23
Emma
n
u
e
l Roulli
t
Making indent
.
Done
for Issue
2
6
commit
|
commitdiff
|
tree
2010-06-23
E
m
ma
n
uel R
o
ullit
Massive re
f
actor to have a c
o
de whi
c
h is
f
riendli
e
r
.
.
.
commit
|
commitdiff
|
tree
2010-06-23
Emmanuel Roullit
P
o
rted poll fixe
s
to trunk
.
Done fo
r
Issu
e
14
an
d
I
s
sue 16
commit
|
commitdiff
|
tree
2010-06-23
Emm
a
nuel
R
o
u
ll
i
t
F
ix poll for rx thr
e
a
d
.
Done for
Issu
e
14 and Is
s
ue 1
6
commit
|
commitdiff
|
tree
2010-06-10
Emmanuel Roull
i
t
Fixe
d
some strn
c
py()
.
Done for Issue 1
6
commit
|
commitdiff
|
tree
2010-06-10
Emmanuel Roul
l
it
Ma
d
e the m
u
nmap() fix i
n
branch for Issue 16
commit
|
commitdiff
|
tree
2010-06-10
Emmanuel Roulli
t
What has been mm
a
p'ed shoul
d
be
munmap'ed
.
Done for
.
.
.
commit
|
commitdiff
|
tree
2010-06-10
Emmanuel Ro
u
l
lit
U
s
e mak
e
prof
i
le t
o
generate an profilable executabl
e
.
.
.
commit
|
commitdiff
|
tree
2010-06-07
Em
m
anuel
R
oullit
C
r
eatin
g
b
ranch 0
.
5
.
5
.
0
to d
e
bug and
release
b
e
fore
.
.
.
commit
|
commitdiff
|
tree
2010-06-07
Emmanuel
R
oullit
R
e
vert th
r
ead
c
h
a
n
g
es b
e
fore bra
n
ching
commit
|
commitdiff
|
tree
2010-06-07
Emmanue
l
Roullit
Fir
s
t start t
o
resolv Issue 15 for the
R
X ring
but
.
.
.
commit
|
commitdiff
|
tree
2010-06-02
Em
m
anuel R
o
ullit
First shot fix
i
ng Issue 14
commit
|
commitdiff
|
tree
2010-05-20
Emm
a
nuel Roullit
Switc
h
ing b
a
c
k
to the static s
p
inner
.
Do
n
e
to tempora
r
y
.
.
.
commit
|
commitdiff
|
tree
2010-05-13
Emmanuel Roullit
Fix
repla
y
f
r
eeze
re
p
o
r
ted in Issue
8
,
ou
t
put packet
.
.
.
commit
|
commitdiff
|
tree
2010-05-13
Emm
a
nuel Roull
i
t
F
i
xed
c
ompile war
n
i
ng
commit
|
commitdiff
|
tree
2010-05-13
E
mmanuel R
o
ullit
Fixed cast warning when an
int
e
g
er i
s
ca
s
t
e
d to a pointer
.
.
.
commit
|
commitdiff
|
tree
2010-05-13
E
m
manuel Roullit
Fixed Iss
u
e 7
commit
|
commitdiff
|
tree
2010-05-13
Em
m
an
u
e
l
R
oullit
Co
n
vert al
l
warning
s
to
er
r
ors
commit
|
commitdiff
|
tree
2010-05-08
Emmanuel Roullit
Fixed promis
c
uous mode
.
Now saves NIC flags and
r
estores
.
.
.
commit
|
commitdiff
|
tree
2010-05-06
Emmanuel Roulli
t
Accord
i
ng to access
(
2), it is not a goo
d
i
d
ea to use
.
.
.
commit
|
commitdiff
|
tree
2010-05-06
Emm
a
nuel Roullit
Fixed
p
acket read, when a PCAP is read, it must
b
e
.
.
.
commit
|
commitdiff
|
tree
2010-05-04
Emmanuel Roullit
Re
p
lace
t
ypes of
statistics v
a
rs in suppress GCC wa
r
ning
.
.
.
commit
|
commitdiff
|
tree
2010-04-09
E
m
man
u
e
l Roulli
t
Use
sta
n
dar
d
de
f
ine con
c
er
n
ing the length of the ESS
I
D
commit
|
commitdiff
|
tree
2010-04-09
Emmanuel Roullit
I
n
i
tialized
som
e
varia
b
le a
n
d
got rid of the couple
.
.
.
commit
|
commitdiff
|
tree
2010-04-06
E
mmanuel Roullit
Made a couple
o
f sm
a
l
l chang
e
s to fix quirks picked
.
.
.
commit
|
commitdiff
|
tree
2010-02-24
Emmanuel Roullit
Fixe
d
PCAP dump
commit
|
commitdiff
|
tree
2010-02-21
E
mma
n
uel Roullit
M
a
de
a
couple of cha
n
ges
to make th
e
code l
o
o
k
ni
c
e
r
commit
|
commitdiff
|
tree
2010-02-19
Emman
u
el
Roullit
F
i
x
e
d
mem
s
et(
)
and memcpy()
commit
|
commitdiff
|
tree
2010-02-15
Emma
n
u
el Roullit
Adding pa
t
ch propo
s
ed
by James Findley
commit
|
commitdiff
|
tree
2010-02-15
Emmanuel Roullit
Changed t
h
e
type
FILE * t
o
a fi
l
e descript
o
r for
t
he
.
.
.
commit
|
commitdiff
|
tree
2010-02-14
Emman
u
el Roullit
Moved
the w
h
ole code r
e
la
t
e to
t
he conf
i
guration management
.
.
.
commit
|
commitdiff
|
tree
2010-02-13
Em
m
a
nue
l
Roullit
Fixed da
e
mon param
e
ter
s
.
Damn you
g
l
i
b
c t
o
gi
v
e s
u
ch
.
.
.
commit
|
commitdiff
|
tree
2010-02-11
E
mman
u
el
Roullit
Some
c
leanups
commit
|
commitdiff
|
tree
2010-02-08
Emmanuel
R
o
u
llit
Add BPF val
i
dation after pars
i
ng the BPF files
commit
|
commitdiff
|
tree
2010-02-06
Em
m
anuel Roullit
Re
f
a
c
t
ored th
e
daemon
t
hat
is uses the standard daemon
.
.
.
commit
|
commitdiff
|
tree
2010-01-31
Emmanuel Roullit
F
ix I
s
s
u
e 2
commit
|
commitdiff
|
tree
2010-01-31
E
mmanuel R
o
ullit
Removed useless commented function and ref
a
ctored a
l
loc_p
f
_s
.
.
.
commit
|
commitdiff
|
tree
2010-01-31
Emm
a
nu
e
l Roullit
En
c
apsulate f
u
nctionality in respec
t
ive func
t
io
n
s
commit
|
commitdiff
|
tree
2010-01-28
Emmanuel
R
o
ullit
Made a
f
unction to retr
i
eve the
MTU of an in
t
e
rface
commit
|
commitdiff
|
tree
2010-01-28
Emmanuel Rou
l
lit
Isola
t
e MAC address functionality
.
commit
|
commitdiff
|
tree
2010-01-27
Emma
n
uel Roullit
The FAILSAFE_BITRATE makes the rx
ring a bit to
o
g
reedy
.
.
.
commit
|
commitdiff
|
tree
2010-01-27
Emmanuel
R
oullit
C
h
eck
i
f interface is up and run
n
ing b
e
for
e
all
o
c
at
i
on
.
.
.
commit
|
commitdiff
|
tree
2010-01-25
Emma
n
u
e
l Roulli
t
Fixe
d
I
P
h
eader checksum val
i
dation
commit
|
commitdiff
|
tree
2010-01-22
Emmanuel Roullit
RST p
a
cket don't ha
v
e
payload
.
.
.
So the as
s
ert() rung
.
.
.
commit
|
commitdiff
|
tree
2010-01-22
Emmanuel Roul
l
it
Dump th
e
packet before
pri
n
ting
i
t
.
.
.
It easing
d
ebuggi
n
g
.
.
.
commit
|
commitdiff
|
tree
2010-01-22
E
m
manuel Ro
u
ll
i
t
Fixed
T
T
Y o
f
fse
t
commit
|
commitdiff
|
tree
2010-01-22
Emmanuel
Ro
u
llit
Made a mor
e
f
l
exible output or
g
ani
z
ed
by
layer
s
and
.
.
.
commit
|
commitdiff
|
tree
2010-01-20
Emmanuel Roullit
Fix
e
d ioctl length par
a
m
eter and check
the r
e
tur
n
value
.
.
.
commit
|
commitdiff
|
tree
2010-01-19
Emmanuel Roullit
Al
l
owed
the func
t
ion to be used
o
u
tside o
f
the print
.
.
.
commit
|
commitdiff
|
tree
2010-01-09
Emmanuel Roullit
A
v
oid future f
l
amewars a
b
o
u
t KB a
n
d
K
i
B
.
.
.
commit
|
commitdiff
|
tree
2010-01-03
Emmanuel R
o
ul
l
i
t
After the
e
pic win of
D
aniel by fixin
g
the "payload
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
Em
m
anuel Roullit
Add
e
d missing include a
n
d fixed in
d
e
ntation
commit
|
commitdiff
|
tree
2009-12-29
E
mmanu
e
l Rou
l
lit
Added a in
d
ent command to s
t
ar
t
indent
i
ng the wh
o
le
.
.
.
commit
|
commitdiff
|
tree
2009-12-29
Emmanuel Roullit
Chang
e
d so
m
e si
z
eo
f
()
commit
|
commitdiff
|
tree
2009-12-29
Emmanuel Roul
l
i
t
Reorganized stru
c
t
ure t
o
have it pa
c
ked
commit
|
commitdiff
|
tree
2009-12-29
Emmanuel Roull
i
t
Add
e
d
a
"
just in case" memset()
commit
|
commitdiff
|
tree
2009-12-27
Emmanuel Roullit
a
dd FIXME
commit
|
commitdiff
|
tree
2009-12-27
Emmanuel Roullit
Prevent
d
u
m
p functi
o
n
to go cra
z
y
if
the length parameter
.
.
.
commit
|
commitdiff
|
tree
2009-12-27
E
m
m
a
nuel Roullit
Memset freshly alloca
t
ed frames of the
r
in
g
buf
f
er
commit
|
commitdiff
|
tree
2009-12-27
E
mm
a
nuel Roulli
t
F
i
xed
si
g
nal handler fun
c
tions
commit
|
commitdiff
|
tree
2009-12-27
E
m
ma
n
uel Ro
u
ll
i
t
Repla
c
ed magic values
by standard function
/
defines
commit
|
commitdiff
|
tree
2009-12-27
E
mma
n
u
e
l Ro
u
llit
Some cases were missing if s
o
me options didn't h
a
ve
.
.
.
commit
|
commitdiff
|
tree
next