aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* --remote-adr should be --remote-addr for consistencyToni Uhlig2019-02-03
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Merge pull request #7 from Masaq-/fix-resend-icmpToni Uhlig2019-01-29
|\ | | | | fix NAT compatibility
| * update the ICMP identifier of resent packetsMasaq-2019-01-29
| |
* | trimmed xfr debug output + icmp id/seq output, replaced invalid UTF8 char 'oe'lns2019-01-29
|/ | | | Signed-off-by: lns <matzeton@googlemail.com>
* fix compile error for android: do not include bsd stdlibToni Uhlig2019-01-25
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Merge pull request #6 from Masaq-/fix-unprivileged-modeToni Uhlig2019-01-25
|\ | | | | fix unprivileged mode
| * unprivileged ICMP sockets do not receive IP headersMasaq-2019-01-25
| |
* | do not select() socket for reading when window is fullMasaq-2019-01-25
|/
* cosmeticsdev02019-01-16
| | | ty very much @elnerd
* fixed some bugs that can lead to remove segfaultselnerd2019-01-16
|
* copyright updateToni Uhlig2019-01-08
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* set icmp_filter according forwarder/proxyToni Uhlig2018-12-27
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* support BSD arc4random() if availableToni Uhlig2018-12-26
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* autoconf check for srandom()/random() or fallback to less secure srand()/rand()Toni Uhlig2018-12-26
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* replaced rand() with more "secure" random() // CID 301767Toni Uhlig2018-12-26
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* added additional autoconf ICMP_FILTER compile checkToni Uhlig2018-12-24
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* introduced icmp_filter for forward socket to filter out unwanted icmp ↵Toni Uhlig2018-12-24
| | | | | | messages via setsockopt Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* improved error loggingToni Uhlig2018-12-23
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* fix configure error for OpenWrt also (see ↵Toni Uhlig2018-11-26
| | | | | | c1cecbab40ef2d70446308aabdef10d9c8e21be1) Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* support for android eabi buildsToni Uhlig2018-11-26
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* fixed coverity (false-positive!) issues..Toni Uhlig2018-10-26
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* replaced invalid format specifiers '%d' for unsigned intToni Uhlig2018-08-10
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* print_last_windows_error(): snprintf: undefined behavior if using variable ↵Toni Uhlig2018-08-10
| | | | | | as param and dest Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Coverity CID 301768: added socket() error handlingToni Uhlig2018-07-15
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Coverity CID 301768: added socket() error handlingToni Uhlig2018-07-13
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* parse_options: getopt: argument 'l:' requires an argument, so optarg can not ↵Toni Uhlig2018-07-13
| | | | | | be NULL (model_file will fix coverity false positive) Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Coverity CID 301772: fixed memory leak when icmp pkt could not sendToni Uhlig2018-07-13
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* updated copyright informationsToni Uhlig2018-07-11
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* ptunnel-ng:Toni Uhlig2017-12-20
| | | | * pcap for Windows is optional (but recommended)
* ptunnel-ng:Toni Uhlig2017-12-20
| | | | | | | | * improved option parsing/error printing * restrict tunnel destination ip/port only if the user wants it * print a warning if running on windows wihout pcap enabled * obey strict aliasing for pcap source * print available pcap devices if the user supplied an invalid one
* ptunnel-ng:Toni Uhlig2017-12-20
| | | | | * autoconf mingw dlltool check * build import library and link ptunnel-ng.exe against it
* ptunnel-ng:Toni Uhlig2017-12-20
| | | | | * added WinPcap dll definition file (mingw dlltool create the import library with it) * WinPcap header files
* ptunnel-ng:Toni Uhlig2017-12-20
| | | | * do not break strict aliasing
* ptunnel-ng:Toni Uhlig2017-12-20
| | | | | | * fixed mingw64 cross compile issues * using getaddrinfo instead of obsolete gethostbyname * removed IS_WINDOWS AM_CONDITIONAL
* ptunnel-ng:Toni Uhlig2017-12-19
| | | | * mingw __attribute__
* ptunnel-ng:Toni Uhlig2017-12-19
| | | | | * fixed missing conditionaled compile for pcap * ported to mingw64
* ptunnel-ng:Toni Uhlig2017-12-19
| | | | | * naming * typ0 fixed
* ptunnel-ng:Toni Uhlig2017-12-19
| | | | | * changed option (--listen) visibility * added TODO
* ptunnel-ng:Toni Uhlig2017-12-19
| | | | * option parsing fixes (usage, optional arguments, manpage)
* ptunnel-ng:Toni Uhlig2017-12-19
| | | | | | | * optional feature disabled warning * SeLinux enabled flag * cosmetics # Bitte geben Sie eine Commit-Beschreibung für Ihre Änderungen ein. Zeilen,
* ptunnel-ng:Toni Uhlig2017-12-19
| | | | | | * ChangeLog updated for 1.0 release * additional autoconf checks e.g. _GNU_SOURCE, syslog, getopt * manpage updated
* ptunnel-ng:Toni Uhlig2017-12-19
| | | | | | | * autotools set/use package version string * autotools renamed output binary to ptunnel-ng * more "intuitive" short options * removed ptunnel version info, copyright update
* ptunnel-ng:Toni Uhlig2017-12-18
* this is now an autotools project (added/renamed required files e.g. AUTHORS, COPYING) * removed user defined ip header (buggy; not useful anymore)