Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

next: Changes queued for the 2017.04 release #1120

Merged
merged 2,278 commits into from
Apr 10, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2278 commits
Select commit Hold shift + click to select a range
0437b89
Remove unneeded assertions on flow key struct sizes
aperezdc Apr 25, 2016
e919482
Combine intermediate hash result while iterating over the input
aperezdc Apr 25, 2016
cf2da44
Do not clear the last bit of the calculated hash value
aperezdc Apr 25, 2016
221268b
Use the GDB JIT API in a thread-safe manner.
May 3, 2016
f05280e
x86/x64: Fix instruction length decoder.
May 6, 2016
6a99732
Merge branch 'master' into v2.1
May 6, 2016
35b09e6
Windows/x86: Add full exception interoperability.
May 7, 2016
573daa9
Fix dependencies.
May 19, 2016
5837c2a
Remove assumption that lj_math_random_step() doesn't clobber FPRs.
May 20, 2016
4fe400c
Merge branch 'master' into v2.1
May 20, 2016
d4f3b11
Workaround for MinGW headers lacking some exception definitions.
May 20, 2016
37e1e70
Add guard for obscure aliasing between open upvalues and SSA slots.
May 20, 2016
475a6ae
Merge branch 'master' into v2.1
May 20, 2016
1931b38
LJ_GC64: Introduce IRT_PGC.
May 20, 2016
cfa188f
Move common 32/64 bit in-memory FP constants to jit_State.
May 20, 2016
786dbb2
Add IR_FLOAD with REF_NIL for field loads from GG_State.
May 20, 2016
ccae333
Load SIMD constants with IR_FLOAD from GG_State.
May 20, 2016
5135876
Add ra_addrename().
May 20, 2016
a657fa0
Make the IR immovable after assembly.
May 22, 2016
3152ed9
Simplify GCtrace * reference embedding for trace stitching.
May 22, 2016
a406797
Always walk IR constants in ascending order.
May 22, 2016
7fb75cc
Embed 64 bit constants directly in the IR, using two slots.
May 22, 2016
9e99ccc
Strip out old infrastructure for 64 bit constants.
May 22, 2016
f26679c
LJ_GC64: Add support for 64 bit GCobj constants in the IR.
May 22, 2016
8f868a9
LJ_GC64: Update IR type sizes.
May 22, 2016
6c8258d
LJ_FR2: Add support for trace recording and snapshots.
May 22, 2016
2868715
x64/LJ_GC64: Add missing backend support and enable JIT compilation.
May 23, 2016
747feb6
x86: Don't spill an explicit REF_BASE in the IR.
May 23, 2016
bfe2a35
Merge branch 'master' into v2.1
May 23, 2016
3f1031c
Use MAP_TRYFIXED for the probing memory allocator, if available.
May 23, 2016
9fa843a
Cleanup install docs.
May 26, 2016
6360f6e
Fix collateral damage from LJ_GC64 changes to asm_href().
May 27, 2016
e77638f
x64/LJ_GC64: Fix __call metamethod for tailcall.
May 28, 2016
5e2b609
Fix compiler warning.
May 28, 2016
e3c4c9a
DynASM/MIPS: Add missing MIPS64 instructions.
May 28, 2016
d9986fb
MIPS64, part 1: Add MIPS64 support to interpreter.
May 28, 2016
56fe899
Proper fix for LJ_GC64 changes to asm_href().
May 28, 2016
384ce2f
MIPS: Fix build failures and warnings.
May 29, 2016
a5f8a48
Don't try to record outermost pcall() return to lower frame.
Jun 3, 2016
1c0454c
Merge branch 'master' into v2.1
Jun 3, 2016
3206307
Fix Valgrind suppressions.
Jun 3, 2016
7d43402
Merge branch 'master' into v2.1
Jun 3, 2016
58ca165
LJ_GC64: Allow optional use of the system memory allocator.
Jun 3, 2016
cc05e79
LJ_GC64: Ensure all IR slot fields are initialized.
Jun 3, 2016
ce1ad87
LJ_GC64: Set correct nil value when clearing a cdata finalizer.
Jun 3, 2016
a7bec69
Fix PHI remarking in SINK pass.
Jun 5, 2016
a88dc57
Merge branch 'master' into v2.1
Jun 5, 2016
f598343
x64/LJ_GC64: Fix code generation for IR_KNULL call argument.
Jun 5, 2016
287a534
MIPS: Support MIPS16 interlinking.
Jun 8, 2016
aef4edd
Drop leftover regs in 'for' iterator assignment, too.
Jun 27, 2016
ce30766
Merge branch 'master' into v2.1
Jun 27, 2016
01e4754
Properly clean up state before restart of trace assembly.
Jun 27, 2016
1914de7
Fix unused vars etc. in internal Lua files.
Jul 17, 2016
37b377d
Merge branch 'master' into v2.1
Jul 17, 2016
b74ddaf
Fix for cdata vs. non-cdata arithmetics/comparisons.
Jul 17, 2016
7374046
Merge branch 'master' into v2.1
Jul 17, 2016
6be5ffd
Adjust comment with defines.
Jul 17, 2016
92d9ff2
Set arg table before evaluating LUA_INIT and -e chunks.
Jul 17, 2016
d41469c
Emit bytecode in .c/.h files with unsigned char type.
Jul 17, 2016
22e8e07
Merge branch 'master' into v2.1
Jul 17, 2016
ae1a4b4
Merge tag 'v2016.07' into snabbwall
aperezdc Jul 22, 2016
a820522
Add a __tostring metamethod for protocol_bitmask values
aperezdc Jul 22, 2016
6e0745a
Change log: Fix formatting.
aperezdc Jul 22, 2016
dec356a
Expose the nDPI version and use versioned ndpi.protocol_ids
aperezdc Jul 22, 2016
c98660c
Must preserve J->fold.ins (fins) around call to lj_ir_ksimd().
Jul 22, 2016
972a1a4
Fix exit status for 'luajit -b'.
Jul 22, 2016
782a6b6
Cater for differences between nDPI 1.7 and 1.8
aperezdc Jul 22, 2016
c977233
Import LuaRocks' .rockspec files
aperezdc Jul 22, 2016
4a909ac
Release version 0.0.3
aperezdc Jul 22, 2016
bd62dfa
Merge commit '4a909ac49f139fe3f850b8f253c68096b39bc161' into snabbwal…
aperezdc Jul 22, 2016
02b9b55
Revert "OSX: Switch to Clang as the default compiler."
Jul 31, 2016
f6f838f
Merge branch 'master' into v2.1
Jul 31, 2016
b3754f8
Merge tag 'v2016.08' into snabbwall
aperezdc Aug 3, 2016
0ecaffa
SnabWall: Add end spy-pcaps test runner
aperezdc Aug 5, 2016
92fed5c
SnabbWall: Import a bunch of test cases for "snabb wall spy"
aperezdc Aug 5, 2016
afad674
SnabbWall: Print out stats after running "snabb wall spy" tests
aperezdc Aug 5, 2016
6dc9db6
Allow iterating over the active flows of a L7 scanner
aperezdc Aug 15, 2016
4f2cf50
wall-spy: Report detected flows at the end of non-verbose runs
aperezdc Aug 15, 2016
77a35df
wall-spy: Rename -v/--verbose flag to -l/--live
aperezdc Aug 15, 2016
a9eda11
wall-spy: Rename reporter to LiveReporter
aperezdc Aug 15, 2016
d4492d0
wall-spy: Document that the command works with TAP and Intel devices
aperezdc Aug 15, 2016
52625ab
wall-spy: Support packet+byte count statistics
aperezdc Aug 16, 2016
3ec3f1b
Do not pass "-v" to "snabb wall spy" when running tests
aperezdc Aug 16, 2016
0aa160e
wall-spy: Use correct link name for the RawSocket source
aperezdc Aug 16, 2016
1ae4a77
wall-spy: Properly calculate packets/s and bytes/s stats values
aperezdc Aug 16, 2016
7ba3858
Do not leak packets in apps.wall.util.SouthAndNorth
aperezdc Aug 16, 2016
dfc8aa4
First pass at the SnabbWall application API reference documentation
aperezdc Aug 16, 2016
ff62edc
wall-spy: Only print master protocol when it is known
aperezdc Aug 17, 2016
439437e
wall-spy: Convert port numbers to host endianness for flow reporting
aperezdc Aug 17, 2016
03b03ef
Windows/x86: Add MSVC flags for debug build with exception interop.
Sep 6, 2016
9910ded
Initialize uv->immutable for upvalues of loaded chunks.
Sep 19, 2016
1a9a264
Merge branch 'master' into v2.1
Sep 19, 2016
8ada57e
Looks like COLORTERM has gone out of fashion.
Sep 19, 2016
4ca3909
Merge branch 'master' into v2.1
Sep 19, 2016
fcc8244
ARM: Fix BLX encoding for Thumb interworking calls.
Oct 2, 2016
f27b250
Merge branch 'master' into v2.1
Oct 2, 2016
cf80edb
Fix -jp=a mode for builtins.
Oct 2, 2016
63465fe
LJ_GC64: Fix jit.on/off.
Oct 8, 2016
54b78e7
LJ_GC64: Various fixes.
Oct 12, 2016
a68c411
Fix GC step size calculation.
Oct 13, 2016
3f43f09
Merge branch 'master' into v2.1
Oct 13, 2016
6a25014
LJ_FR2: Fix slot 1 handling.
Oct 16, 2016
bc6ca1e
Merge tag 'v2016.10' into snabbwall
aperezdc Oct 16, 2016
bdcaf4b
LJ_GC64: Fix HREF for pointers.
Oct 19, 2016
ae83a0d
Rename snabb to snabbwall
leenaars Aug 23, 2016
715c739
Use snabb-wall when installed, to reuse Snabb's command resolution logic
aperezdc Oct 19, 2016
716f2da
LJ_GC64: Various followup fixes.
Oct 20, 2016
7a58a8f
Report parent of stitched trace.
Nov 13, 2016
5400c1e
MIPS: Fix TSETR barrier.
Nov 16, 2016
e577db5
Increase range of GG_State loads via IR_FLOAD with REF_NIL.
Nov 19, 2016
202713a
Fix amalgamated build.
Nov 19, 2016
13642b7
Whitespace.
Nov 20, 2016
04b6070
ARM64: Add JIT compiler backend.
Nov 20, 2016
7a0c3a1
ARM64: Allow full VA range for mcode allocation.
Nov 20, 2016
2b77da3
ARM64: Reject special case in emit_isk13().
Nov 20, 2016
a566544
Generalize deferred constant handling in backend to 64 bit.
Nov 21, 2016
c3cae04
Update contact info.
Nov 21, 2016
1131fa2
Merge branch 'master' into v2.1
Nov 21, 2016
8125989
ARM64: Emit more efficient trace exits.
Nov 24, 2016
d7243e1
Eliminate use of lightuserdata derived from static data pointers.
Nov 24, 2016
6538c8a
Document 47 bit limit for lightuserdata.
Nov 25, 2016
3ad2bbf
ARM64: Make use of tbz/tbnz and cbz/cbnz.
Nov 29, 2016
22511fb
ARM64: Fix pc-relative loads of consts. Cleanup branch codegen.
Dec 7, 2016
48b0029
ARM64: Add missing ldrb/strb instructions to disassembler.
Dec 7, 2016
2ac2cd4
ARM64: Reorganize operand extension definitions.
Dec 7, 2016
bfeb116
ARM64: Fuse XLOAD/XSTORE with STRREF/ADD/BSHL/CONV.
Dec 7, 2016
2772cbc
ARM64: Fuse FP multiply-add/sub.
Dec 8, 2016
3975b6c
ARM64: Fuse various BAND/BSHL/BSHR/BSAR combinations.
Dec 8, 2016
986854c
ARM64: Fix code generation for S19 offsets.
Dec 8, 2016
ec2756b
Add missing FOLD rule for 64 bit shift+BAND simplification.
Dec 8, 2016
44b99ff
ARM64: Fuse BOR(BSHL, BSHR) into EXTR/ROR.
Dec 9, 2016
4ccd876
ARM64: Use the correct FUSE check.
Dec 9, 2016
1973807
Add "proto" field to jit.util.funcinfo().
Dec 13, 2016
da233f0
Merge commit '25289c5797b582a362ae22dad3e1089cc71a0837' into lib/pflua
takikawa Dec 3, 2016
16acf1e
Update Makefile to build dynasm files in pflua
takikawa Dec 3, 2016
ef5de81
Read a "native" config option in pcap_filter
takikawa Dec 3, 2016
d9c63f2
Extend pcap_filter selftest to test native mode
takikawa Dec 5, 2016
fb61f7c
Add "proto" field to jit.util.funcinfo().
Dec 15, 2016
3cfa9cb
Merge branch 'master' into v2.1
Dec 15, 2016
ebec253
ARM64: Fuse BOR/BXOR and BNOT into ORN/EON.
Dec 15, 2016
8e5d7be
ARM64: Remove unused variables in disassembler.
Dec 30, 2016
a897fad
Merge PR #1088 (Update pflua) into kbara-next
Jan 4, 2017
a2013dd
Fix cross-endian jit.bcsave for MIPS target.
Jan 17, 2017
12c0df4
Merge branch 'master' into v2.1
Jan 17, 2017
a1e13fa
Fix HTML formatting.
Jan 17, 2017
ed4ce98
Merge branch 'master' into v2.1
Jan 17, 2017
c198167
Add some more extensions from Lua 5.2/5.3.
Jan 17, 2017
c94b921
LJ_GC64: Add build options and install instructions.
Jan 17, 2017
b93a1dd
Bump copyright date to 2017.
Jan 17, 2017
71ff7ef
Merge branch 'master' into v2.1
Jan 17, 2017
bd7e42e
Fix extension docs about package.searchers.
Jan 18, 2017
193b490
Docs: Describe Scanner:extract_packet_info() and key objects
aperezdc Jan 19, 2017
4ca79ce
Merge tag 'v2016.11' into snabbwall
takikawa Jan 19, 2017
7769e0d
Fix references to intel1/10g apps in `wall spy`
takikawa Jan 19, 2017
733d20f
Merge pull request #13 from aperezdc/apidocs
takikawa Jan 19, 2017
62672d2
First attempt at a l7fw app and filter program
takikawa Jan 20, 2017
40eeadf
Allow pfmatch actions for l7fw rules
takikawa Jan 20, 2017
7e6f8dd
Allow pfmatch rules to use the flow packet count
takikawa Jan 23, 2017
78ee8f0
Have to index handler table by name and count
takikawa Jan 24, 2017
393b8d2
Only recompile if the pfmatch uses $flow_count
takikawa Jan 24, 2017
fc6149b
Modify pflua to support extra pfmatch arguments
takikawa Jan 23, 2017
ddf1e14
Refactor spy program to allow code sharing
takikawa Jan 24, 2017
6ac8f23
Make snabb wall filter more complete
takikawa Jan 24, 2017
698a190
First implementation of reject l7fw policy
takikawa Jan 25, 2017
bafad40
Send ICMP responses only if host ip/mac are set
takikawa Jan 25, 2017
3a738e6
Output a TCP RST for rejects for TCP traffic
takikawa Jan 25, 2017
f74156b
Add README for `snabb wall filter`
takikawa Jan 25, 2017
f953f7e
Send rejection packets to a separate output port
takikawa Jan 25, 2017
38dad92
Add support for ICMPv6 responses in l7fw
takikawa Jan 25, 2017
e731778
Enable passing IP & MAC to `snabb wall filter`
takikawa Jan 26, 2017
675040a
Make `snabb config filter` take a rules argument
takikawa Jan 26, 2017
30437d0
Add a test script for 'snabb wall filter'
takikawa Jan 27, 2017
00747e2
Fix incorrect ethernet type for IPv6
takikawa Jan 27, 2017
4d789d0
Fix incorrect payload calculation for ICMPv6
takikawa Jan 27, 2017
a9c1496
Add unit tests for apps.wall.l7fw
takikawa Jan 27, 2017
b0656f3
Add docs for L7Spy and L7Fw
takikawa Jan 30, 2017
0aac8a7
Adjust -e and -f flags and document both
takikawa Jan 30, 2017
102e45c
Add a report option to `snabb config filter`
takikawa Jan 31, 2017
aa408b8
Update test for new `snabb wall filter` report
takikawa Jan 31, 2017
22e5709
Support logging packet actions to the system log
takikawa Jan 31, 2017
e584403
Simplify handling of extra pflua filter arguments
takikawa Feb 1, 2017
0c8da90
Move assert statement earlier in the call graph
takikawa Feb 1, 2017
fbcd59d
Lift some constants as definitions
takikawa Feb 1, 2017
3efcc82
Fix undefined variable in pf.savefile
takikawa Jan 27, 2017
b5352a4
Fix typo in lib.protocol.tcp constructor
takikawa Jan 25, 2017
8152ad9
Backport pflua fixes from Igalia/pflua
takikawa Jan 23, 2017
168b1be
Assert that the rules file exists
takikawa Feb 3, 2017
da90ff2
Explicitly require the bit library in l7fw
takikawa Feb 3, 2017
86e3207
Fix typo in L7Spy API docs
takikawa Feb 3, 2017
4ce0f76
Merge pull request #14 from takikawa/snabbwall-dev
takikawa Feb 3, 2017
b19056b
Add duration arguments for 'snabb wall` commands
takikawa Feb 8, 2017
33523c4
Fix "tx"/"rx" link names that were reversed
takikawa Feb 10, 2017
a77446e
Fix PPS & B/s printouts for `snabb wall spy`
takikawa Feb 10, 2017
15a90b8
Workaround for intermittent segfaults
takikawa Feb 6, 2017
90151e6
Move constants to separate module & localize
takikawa Feb 10, 2017
5680c60
Pre-allocate the flow key objects and rewrite
takikawa Feb 14, 2017
f4e9e1a
Use dynasm to optimize ndpi binding functions
takikawa Feb 15, 2017
aa03883
Add a --cpu option to 'snabb wall filter'
takikawa Feb 16, 2017
4d1bd21
Report bytes/packets/bps for 'snabb config filter'
takikawa Feb 16, 2017
5aa0201
ARM64: Fix AREF/HREF/UREF fusion.
Feb 16, 2017
a45e44c
Add a benchmarking script for 'snabb wall filter'
takikawa Feb 16, 2017
6bf3e4d
Make checkptrGC() actually work.
Feb 18, 2017
1abd779
MIPS: Backport workaround for compact unwind tables.
Feb 20, 2017
ee33a1f
MIPS: Fix emitted code for U32 to float conversion.
Feb 20, 2017
892d370
MIPS: Don't use RID_GP as a scratch register.
Feb 20, 2017
d0759e4
Merge branch 'master' into v2.1
Feb 20, 2017
0a46ef1
ARM64: Cleanup and de-cargo-cult TValue store generation.
Feb 20, 2017
f640ec7
x64/LJ_GC64: Fix (currently unused) integer stores in asm_tvptr().
Feb 20, 2017
130d1dc
x64/LJ_GC64: Fix warning for DUALNUM build.
Feb 20, 2017
019fb9d
Fix soft-float math.abs() and negation.
Feb 20, 2017
4416e88
Fix FOLD rules for math.abs() and FP negation.
Feb 20, 2017
a25c0b9
MIPS64, part 2: Add MIPS64 hard-float JIT compiler backend.
Feb 20, 2017
0e21baf
Fix typo ("nddp" -> "ndpp")
takikawa Feb 23, 2017
a157576
Merge pull request #15 from takikawa/snabbwall-dev
takikawa Feb 23, 2017
42e2940
Adjust snabbwall test path to work on NixOS
takikawa Feb 23, 2017
f2419ca
Change binary from "snabbwall" -> "snabb-wall"
takikawa Feb 27, 2017
0e4a2cb
Update .gitignore for ljndpi
takikawa Mar 6, 2017
f4afc0f
Revert Makefile changes for upstreaming Snabbwall
takikawa Mar 6, 2017
045294a
Merge v2017.03 branch 'snabbco/master' into next
lukego Mar 8, 2017
a9740d9
DynASM: Fix warning.
Mar 8, 2017
eef77a6
Fix annoying warning, due to deterministic binutils configuration.
Mar 8, 2017
3ab9f5a
Remove internal __mode = "K" and replace with safe check.
Mar 8, 2017
ff64836
Fix out-of-scope goto handling in parser.
Mar 8, 2017
4e30836
Fix overly restrictive range calculation in mcode allocation.
Mar 8, 2017
d62459f
Limit mcode alloc probing, depending on the available pool size.
Mar 8, 2017
f50bf75
Remove unnecessary mcode alloc pointer check.
Mar 8, 2017
d3e36e7
Merge branch 'master' into v2.1
Mar 8, 2017
736cc36
Squashed 'lib/luajit/' changes from 2f6b296..d3e36e7
lukego Mar 9, 2017
bd41b1d
Merge commit '736cc366405a366cae3760e1b1a9e6e7ea3871db' into luajit-u…
lukego Mar 9, 2017
b535cf8
Merge commit 'd3e36e7920c641410dfcdf1fc6c10069fd3192a6' into luajit-u…
lukego Mar 9, 2017
97b8b14
Makefile: Bump luajit version number to beta2
lukego Mar 9, 2017
9cdf234
doc/branches.md: Add 'luajit' branch
lukego Mar 15, 2017
f9db32b
Merge #1111 branch 'lukego/luajit-upgrade-history' into luajit
lukego Mar 16, 2017
48688f9
Merge #1113 branch 'lukego/luajit-branch' into next
lukego Mar 16, 2017
66df848
Merge #1111 (via branch 'snabbco/luajit') into next
lukego Mar 16, 2017
4abcbce
Merge #1090 branch 'snabbco/kbara-next' into next
lukego Mar 16, 2017
ecbc4a3
Mailing list is abandoned
Mar 17, 2017
b0a776c
Merge tag 'v2017.03' into snabbwall
takikawa Mar 20, 2017
65c77bc
Add an ok printout for l7fw & scanner selftests
takikawa Mar 20, 2017
ac17cd3
Merge remote-tracking branch 'upstream/master' into kbara-next
Mar 20, 2017
0628e24
Add Snabbwall branch info to src/doc/branches.md
takikawa Mar 21, 2017
31d8243
Merge branch 'upstream/next' into snabbwall
takikawa Mar 21, 2017
157bfdb
Relicense to Apache License 2.0
aperezdc Mar 21, 2017
9c08985
Release version 0.1.0
aperezdc Mar 21, 2017
c524b4c
Merge commit '9c08985a28777d1818547b4f7c024b7163505687' into snabbwall
takikawa Mar 21, 2017
8d0f9b1
Merge PR #1116 (Upstream Snabbwall) into kbara-next
Mar 22, 2017
28041c0
Merge #1117 branch 'snabbco/kbara-next' into next
lukego Mar 23, 2017
ae0014d
Add development branch for ARM aarch64 platform
jialiu02 Mar 17, 2017
90a1c34
Merge #1115 branch 'akostrikov/fork_master' into next
lukego Mar 24, 2017
71d14cd
Merge #1114 branch 'jialiu02/aarch64' into next
lukego Mar 24, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ obj
/src/apps/vpn/vpws-selftest-uplink.cap.output
/src/syscall.lua
/src/syscall
/src/ndpi.lua
/src/ndpi
/deps/*.vsn
/src/programs.inc
.images
Expand Down
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,18 @@ all: $(LUAJIT) $(SYSCALL) $(PFLUA)
$(MAKE) PREFIX=`pwd`/usr/local \
CFLAGS="$(LUAJIT_CFLAGS)" && \
$(MAKE) DESTDIR=`pwd` install)
(cd lib/luajit/usr/local/bin; ln -fs luajit-2.1.0-beta1 luajit)
(cd lib/luajit/usr/local/bin; ln -fs luajit-2.1.0-beta2 luajit)
# ljsyscall
@mkdir -p src/syscall/linux
@cp -p lib/ljsyscall/syscall.lua src/
@cp -p lib/ljsyscall/syscall/*.lua src/syscall/
@cp -p lib/ljsyscall/syscall/linux/*.lua src/syscall/linux/
@cp -pr lib/ljsyscall/syscall/linux/x64 src/syscall/linux/
@cp -pr lib/ljsyscall/syscall/shared src/syscall/
# ljndpi
@mkdir -p src/ndpi
@cp -p lib/ljndpi/ndpi.lua src/
@cp -p lib/ljndpi/ndpi/*.lua src/ndpi/
cd src && $(MAKE)

install: all
Expand Down
13 changes: 5 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,8 @@ The Snabb community are active in
[universal SIMD protocol offloads](https://groups.google.com/d/msg/snabb-devel/aez4pEnd4ow/WrXi5N7nxfkJ), and
[applying compiler technology to networking](https://archive.fosdem.org/2015/schedule/event/packet_filtering_pflua/).

You are welcome to join our community. If you have an application that
you want to build, or you want to use one that we are already
developing, or you want to contribute in some other way, then please
join the [snabb-devel mailing
list](https://groups.google.com/forum/#!forum/snabb-devel) and read
on.
You are welcome to join our community! Scroll down to the bottom for
tips on how you can get involved.

## Documentation

Expand Down Expand Up @@ -123,6 +119,7 @@ $ sudo snabb packetblaster replay capture.pcap 01:00.0
Here are the ways you can get involved:

- Use the Snabb applications in your network.
- Join the [snabb-devel mailing list](https://groups.google.com/forum/#!forum/snabb-devel).
- Send a mail to [introduce yourself](https://groups.google.com/forum/#!searchin/snabb-devel/introduce/snabb-devel/d8t6hGClnQY/flztyLiIGzoJ) to the community (don't be shy!).
- Create your very own application: [Getting Started](src/doc/getting-started.md).
- Create Github Issues with your ideas and questions and problems.
- Hang out on the [Snabb Slack chat](https://snabb.slack.com/). You can get a no-questions-asked invitation by mailing `[email protected]` with the addresses/domains you want invited.

28 changes: 28 additions & 0 deletions lib/ljndpi/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Change Log
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

## [v0.1.0] - 2017-03-21
### Changed
- License changed from MIT/X11 to the Apache License 2.0

## [v0.0.3] - 2016-07-23
### Added
* Support using version 1.8 of `libndpi`.
* Values of type `ndpi.protocol_bitmask` now have a `__tostring` metamethod.
* The module is now installable using [LuaRocks](https://luarocks.org).

## [v0.0.2] - 2016-02-29
### Fixed
* Avoid calls to `ffi.gc()` passing `nil` as second argument for flows and
identifiers.

## v0.0.1 - 2016-01-24
* First release.

[Unreleased]: https://github.com/aperezdc/ljndpi/compare/v0.1.0...HEAD
[v0.1.0]: https://github.com/aperezdc/ljndpi/compare/v0.0.3...v0.1.0
[v0.0.3]: https://github.com/aperezdc/ljndpi/compare/v0.0.2...v0.0.3
[v0.0.2]: https://github.com/aperezdc/ljndpi/compare/v0.0.1...v0.0.2
201 changes: 201 additions & 0 deletions lib/ljndpi/COPYING
Original file line number Diff line number Diff line change
@@ -0,0 +1,201 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

1. Definitions.

"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.

"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.

"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.

"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.

"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.

"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.

"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).

"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.

"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."

"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.

2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.

3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.

4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:

(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and

(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and

(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and

(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.

You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.

5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.

6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.

7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.

8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.

9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.

END OF TERMS AND CONDITIONS

APPENDIX: How to apply the Apache License to your work.

To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright [yyyy] [name of copyright owner]

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Loading