aboutsummaryrefslogtreecommitdiff
path: root/src/ptunnel.c
Commit message (Collapse)AuthorAge
* fixed another build error for print_pcap_devices() if HAVE_PCAP undefinedToni Uhlig2019-04-25
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* added `--list-libpcap-devices' to list al available pcap devices, output ↵Toni Uhlig2019-04-25
| | | | | | WinPCAP specific information at startup Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* change the path to the random number generator during build time (see PR #11)Toni Uhlig2019-03-29
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Merge pull request #10 from Masaq-/extended-optionsToni Uhlig2019-03-06
|\ | | | | improvements for empty pings mode
| * empty pings not to be sent when idleMasaq-2019-03-01
| |
| * initialize checksumMasaq-2019-02-28
| |
* | more secure chroot: chdir(chroot_path), chroot("."), chdir("/")Toni Uhlig2019-02-27
|/ | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* set pkt_len to zero after freeMasaq-2019-02-23
|
* fix segmentation fault when network is unreachableMasaq-2019-02-22
|
* -E --empty-pings compensate for ICMP sequence number inspectionMasaq-2019-02-21
|
* variable length data sectionMasaq-2019-02-20
|
* command line option -y payload sizeMasaq-2019-02-08
|
* Merge branch 'master' into extended-optionsMasaq-2019-02-03
|\
| * 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>
* | short command line options -w -a -tMasaq-2019-01-30
| |
* | extend the protocol to load options from the data sectionMasaq-2019-01-28
|/
* do not select() socket for reading when window is fullMasaq-2019-01-25
|
* 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>
* 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>
* 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-13
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* 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
| | | | * do not break strict aliasing
* ptunnel-ng:Toni Uhlig2017-12-19
| | | | | * fixed missing conditionaled compile for pcap * ported to mingw64
* ptunnel-ng:Toni Uhlig2017-12-19
| | | | | * changed option (--listen) visibility * added TODO
* 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
| | | | | | | * 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)