aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* added ptunnel-ng wireshark dissectorfeature/wireshark-dissectorToni Uhlig2020-06-23
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* set ip_pkt to NULL during definitionToni Uhlig2020-05-27
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* define PACKAGE_STRING if HAVE_CONFIG_H undefined (useful if compiling w/o ↵Toni Uhlig2020-05-27
| | | | | | configure/make) Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* re-enabled and improved logging of packet headers and payload (SEND)Toni Uhlig2020-05-27
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* re-enabled and improved logging of packet headers and payloadToni Uhlig2020-05-27
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* splitted bigfat anon enum in pconfig.h into multiple smaller ones hoping to ↵Toni Uhlig2020-05-27
| | | | | | | | improve readability * clang-format headers Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* moved HAVE_PCAP pre-processor conditional before pqueueToni Uhlig2020-05-24
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* README's provide some simple ptunnel-ng usage examples (fixes #21)Toni Uhlig2020-04-05
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* added deprecation text for -P/--passwd optionToni Uhlig2020-04-05
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* initial clang-format fileToni Uhlig2020-03-25
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* README* updateToni Uhlig2020-03-22
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Got rid of those non working extended options, because:removed_extended_optionsToni Uhlig2020-03-22
| | | | | | | | | | | * legendary spaghetti code * did not work at all, caused several buffer overflows * pain-in-the-ass to maintain and test * badly reviewed from my side :/ * improved and working "extended options" may be added later * basically reverts most of #8 Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* moved queueing code for out-of-order payload data into subroutineToni Uhlig2020-03-21
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* braces for conditionsToni Uhlig2020-03-21
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* moved payload queueing code into subroutineToni Uhlig2020-03-16
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* travis-ci: do not spam me with config.logToni Uhlig2020-03-16
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* reduced statement nesting depth of function handle_packetToni Uhlig2020-03-16
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* fixed invalid sequence count during auth (`--passwd`)Toni Uhlig2020-03-15
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* ignore incomplete packets instead of exit(0), only allow packet queueing if ↵Toni Uhlig2020-03-15
| | | | | | state allows it Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* fixed mingw build caused by an invalid explicit function type castToni Uhlig2020-03-14
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* sequence number timeout table uses now correct time_t for timestampsToni Uhlig2020-03-14
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* improved icmp/forward descriptor structs and use -Wextra for all buildsToni Uhlig2020-03-14
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* integration_test.sh supports other build directories then ↵Toni Uhlig2020-03-12
| | | | | | ${SOURCE_ROOT}/src/ptunnel-ng Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* autogen.sh can now be executed from any current working directoryToni Uhlig2020-03-12
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* moved header byte-re-ordering code into a subroutineToni Uhlig2020-03-12
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* moved proxy descriptor search into getter functionToni Uhlig2020-03-12
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* send/recv/verify data testToni Uhlig2020-03-11
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* moved authentication request/response code to subroutinesToni Uhlig2020-03-07
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* gitlab-ci: use archlinux:latestToni Uhlig2020-03-01
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Revert "gitlab-ci: use archlinux:latest"Toni Uhlig2020-03-01
| | | | This reverts commit 32ff9ee7fadf6f3e1e705c49a8545fca2cc3d4bc.
* gitlab-ci: use archlinux:latestToni Uhlig2020-03-01
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* code formattingToni Uhlig2020-02-22
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* gitlab-ci: run at least a simple integration testToni Uhlig2020-02-22
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* handle incoming tunnel request in a subroutineToni Uhlig2020-02-21
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Merge pull request #17 from eriksimon/masterToni Uhlig2020-02-20
|\ | | | | Run clang-format on old ptk.c/.h files
| * Run clang-format on old ptk.c/.h filesErik Simon2020-02-20
|/
* integration test instrumentalizes ptunnelToni Uhlig2020-02-01
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* gitlab-ci: preps for integration testsToni Uhlig2020-02-01
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* added very simple integration test scriptToni Uhlig2020-02-01
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* gitlab-ci: removed archlinux-keyring pkgToni Uhlig2020-02-01
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Merge branch 'master' of ssh://github.com/lnslbrty/ptunnel-ngToni Uhlig2020-01-28
|\
| * gitlab-ci: switched from finalduty/archlinux to archlinux/base docker containerToni Uhlig2020-01-05
| | | | | | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
| * removed superfluous explicit numeric castsToni Uhlig2019-12-05
| | | | | | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
| * log at least an info message if our receive window is not big enoughToni Uhlig2019-12-04
| | | | | | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
| * reduced function signature and removed dead code in acknowledge handlingToni Uhlig2019-12-03
| | | | | | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
| * fixed missing variable initialize - before used in conditionToni Uhlig2019-12-03
| | | | | | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
| * fixed missing challenge response memcpyToni Uhlig2019-12-03
| | | | | | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
| * removed superfluous if statementToni Uhlig2019-12-02
| | | | | | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* | removed failed fuzzer attemptToni Uhlig2020-01-28
|/ | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* reduced handle_data unnecessary complex function signatureToni Uhlig2019-12-01
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>