Commit Graph

261 Commits

Author SHA1 Message Date
Thomas Bernard fe37de7e2c Clean signal handling 2012-05-24 18:17:31 +02:00
Thomas Bernard 489a178865 Improve ProcessInterfaceWatch() under BSD 2012-05-18 16:11:20 +02:00
Thomas Bernard 90001f0703 Improve ProcessInterfaceWatch() under linux 2012-05-16 00:07:39 +02:00
Thomas Bernard 2b686e5638 add options used to generate in comments in the config.h file 2012-05-09 23:32:05 +02:00
Thomas Bernard 901a6a998b update version 2012-05-09 23:31:37 +02:00
Thomas Bernard 2bb2ebbb6b fix a signed/unsigned compare 2012-05-09 23:28:26 +02:00
Thomas Bernard cd87891cd7 Try to update README and INSTALL files 2012-05-09 23:25:43 +02:00
Thomas Bernard 4510da6065 check argument of AddDropMulticastMembership() 2012-05-08 23:11:48 +02:00
Thomas Bernard 29fa82bae4 remove unused argument warning 2012-05-08 23:11:02 +02:00
Thomas Bernard bf0e1c509e Remove a few signed/unsigned compares 2012-05-08 23:10:25 +02:00
Thomas Bernard 0ed9e08792 Clean CLFAGS in Makefile 2012-05-08 23:06:14 +02:00
Thomas Bernard 83032a62ca Fix crash if -A protocol argument is neither numeric, neither TCP or UDP 2012-05-08 23:05:21 +02:00
Thomas Bernard ff397acf8f Clean expired IPv6 pinholes correctly. and also with linux/netfilter 2012-05-08 22:51:23 +02:00
Thomas Bernard fd5c172182 remove useless syslog() line 2012-05-08 22:50:39 +02:00
Thomas Bernard 457092c60a Finalizing netfilter version of get_pinhole_info() 2012-05-08 00:21:03 +02:00
Thomas Bernard ddbc22865f Add netfilter implementation for delete_pinhole()/update_pinhole()/get_pinhole_info() 2012-05-02 00:47:42 +02:00
Thomas Bernard 6fe956229b add static to list[] definition 2012-05-01 22:26:14 +02:00
Thomas Bernard 89212758f2 Move IPv6FirewallControl related code from upnpredirect.c to upnppinhole.c 2012-05-01 22:25:30 +02:00
Thomas Bernard 439047cbc4 Remove warning about unused argument 2012-05-01 20:55:13 +02:00
Thomas Bernard d8c652a883 Turn C++ comment to C 2012-05-01 20:54:52 +02:00
Thomas Bernard 24e6129c29 removed unused argument url in minwget2() miniwget3() 2012-05-01 20:54:11 +02:00
Thomas Bernard 9fc7b7058a Fix signed/unsigned integer comparaisons 2012-05-01 20:53:19 +02:00
Thomas Bernard 2c2596c72a Cleanup settings of CFLAGS in Makefile 2012-05-01 20:49:43 +02:00
Thomas Bernard 50ac3ae490 add macros.h 2012-05-01 14:23:22 +02:00
Thomas Bernard 57a06974bf check sidlen before string compare 2012-05-01 11:57:20 +02:00
Thomas Bernard 4edb1c03ce Also fix a couple of integer/pointer comparaisons 2012-05-01 11:53:36 +02:00
Thomas Bernard e42dfd3284 Remove Warnings caused by signed/unsigned integer comparaisons 2012-05-01 11:52:21 +02:00
Thomas Bernard ad95793e93 Add UNUSED(arg) macro to remove unused argument warning. 2012-05-01 11:49:23 +02:00
Thomas Bernard db982e1740 Fully initialize list[] global variable 2012-05-01 11:36:15 +02:00
Thomas Bernard a0f540b1f4 Clean up settings of CFLAGS in Makefile's 2012-05-01 11:34:41 +02:00
Thomas Bernard 19d728d9d8 Fix error handling in upnpevents.c (was causing segfault on Solaris !) 2012-05-01 11:29:40 +02:00
Thomas Bernard a0850c58c7 Improve netfilter ipv6 pinhole. Work still in progress
Add a memory list of pinholes with expiration timestamps and uids
2012-04-27 08:51:25 +02:00
Thomas Bernard 49e82de60d Add Chiaki Ishikawa to thanks list 2012-04-26 20:33:42 +02:00
Thomas Bernard 0440f0b8a7 Started to implement add_pinhole() for netfilter (linux) 2012-04-26 16:08:39 +02:00
Thomas Bernard d9cb61b124 Fix a bug in upnphttp
Thanks to Chiaki ISHIKAWA
2012-04-26 00:30:32 +02:00
Thomas Bernard 2139c44cc4 fix typo : FirewallDisabed => FirewallDisabled 2012-04-24 00:51:48 +02:00
Thomas Bernard c8021cb841 implementing UpdatePinhole() and CheckPinholeWorking()
WANIPv6FirewallControl

upnpredirect :
	cleanup : upnp_add_inboundpinhole
	fix : upnp_get_pinhole_info
	implement : upnp_update_inboundpinhole
upnpsoap :
	implement : UpdatePinhole
	implement : CheckPinholeWorking
2012-04-24 00:50:20 +02:00
Thomas Bernard 12825443b1 add update_pinhole() prototype, use #ifdef ENABLE_6FC_SERVICE 2012-04-24 00:45:45 +02:00
Thomas Bernard d27f35ccde Working on DeletePinhole() and GetPinholePackets() 2012-04-23 01:47:37 +02:00
Thomas Bernard 82355aca40 Add cleaning of IPv6 PinHoles + fix get_pinhole_info 2012-04-22 02:58:27 +02:00
Thomas Bernard 430d9c7240 Add clean_pinehole_list() in pfpinhole 2012-04-22 02:03:35 +02:00
Thomas Bernard 3499f6e45d Convert rem_host to literal IPv6 address in AddPinhole() 2012-04-22 02:03:08 +02:00
Thomas Bernard c9cf40633d Improve code for WANIPv6FirewallControl 2012-04-21 00:09:52 +02:00
Thomas Bernard 8148acc55c Add get_pinhole() 2012-04-21 00:08:06 +02:00
Thomas Bernard c3d979a9cd add -Wdeclaration-after-statement to CFLAGS 2012-04-21 00:05:45 +02:00
Thomas Bernard e0efe74a7c AddPinhole() and DeletePinhole() works ! (only with pf) 2012-04-20 16:53:34 +02:00
Thomas Bernard 82369d94e4 Add pf/pfpinhole.o to PFOBJS 2012-04-20 16:50:24 +02:00
Thomas Bernard d5b7d70c32 Add timestamp to add_pinhole() function
Also make the code compile only when ENABLE_IPV6 is defined
2012-04-20 16:49:04 +02:00
Thomas Bernard 825d3bd89f Allow to specify protocol with TCP or UDP for -A option 2012-04-20 16:44:03 +02:00
Thomas Bernard 137932b776 Add delete_pinhole() function 2012-04-20 00:07:13 +02:00