Annotation of embedaddon/miniupnpd/Changelog.txt, revision 1.1

1.1     ! misho       1: $Id: Changelog.txt,v 1.200 2011/01/01 20:17:43 nanard Exp $
        !             2: 
        !             3: 2011/01/01:
        !             4:   Started to implement some of the new methods from WANIPConnection v2
        !             5: 
        !             6: 2010/09/27:
        !             7:   Some fixes in the linux/iptables code when
        !             8:   miniupnpd_nat_chain <> miniupnpd_forward_chain
        !             9: 
        !            10: 2010/09/21:
        !            11:   Patch to support nfqueue thanks to Colin McFarlane
        !            12: 
        !            13: 2010/08/07:
        !            14:   Update Mac OS X / ipfw stuff from Jardel Weyrich
        !            15:   Fix in Makefile.linux for x86_64
        !            16: 
        !            17: 2010/05/06:
        !            18:   Bugfix un CleanNATPMPRules() : see http://miniupnp.tuxfamily.org/forum/viewtopic.php?t=640
        !            19: 
        !            20: 2010/03/14:
        !            21:   Fixing natpmp sockets.
        !            22: 
        !            23: 2010/03/08:
        !            24:   Fix Makefile.linux to compile properly under Mandriva/rh/Fedora with
        !            25:     Iptables >= 1.4.3
        !            26:   Workaround for bad uptime when started with a bad time set.
        !            27: 
        !            28: 2010/03/07:
        !            29:   Tried to make a OpenBSD version 4.7 compatible code... still some
        !            30:   issues.
        !            31: 
        !            32: 2010/03/06:
        !            33:   updates to testobsdrdr
        !            34: 
        !            35: 2010/03/03:
        !            36:   -lip4tc in Makefile.linux.
        !            37: 
        !            38: 2010/02/15:
        !            39:   some more error handling in set_startup_time()
        !            40:   silencing some warnings
        !            41: 
        !            42: 2010/01/14:
        !            43:   Open Several sockets for NAT-PMP to make sure the source address
        !            44:   of NAT-PMP replies is right.
        !            45:   see http://miniupnp.tuxfamily.org/forum/viewtopic.php?t=609
        !            46: 
        !            47: 2009/12/31:
        !            48:   miniupnpdctl now output command line arguments.
        !            49:   added a -h option to get help. improved help.
        !            50: 
        !            51: 2009/12/22:
        !            52:   using PRIu64 format to printf u_int64_t
        !            53:   Fixing calls to get_redirect_rule_by_index() : ifname should be initialized.
        !            54:   Add header lines to miniupnpdctl output
        !            55: 
        !            56: 2009/11/06:
        !            57:   implementing sending of ip address change notification when receiving
        !            58:     the signal SIGUSR1
        !            59: 
        !            60: VERSION 1.4 : released the 2009/10/30
        !            61: 
        !            62: 2009/10/10:
        !            63:   Integrate IPfilter patch from Roy Marples.
        !            64:   Fix Netfilter code for old netfilter :
        !            65:     see http://miniupnp.tuxfamily.org/forum/viewtopic.php?t=584
        !            66:   trim the description string in reload_from_lease_file()
        !            67: 
        !            68: 2009/09/21:
        !            69:   Fixing unclosed raw sockets bug with netfilter code.
        !            70: 
        !            71: 2009/09/04:
        !            72:   Fixes in ipf code thanks to Roy Marples
        !            73:   Enable DragonFly BSD Support thanks to Roy Marples.
        !            74:   Allow packager to define default location of config file via CFLAGS
        !            75:   Respect $DESTDIR when installing
        !            76: 
        !            77: 2009/08/20:
        !            78:   Adding some support for MacOS X and IPFW
        !            79:   SO_REUSEADDR in minissdp.c for SSDP listening socket
        !            80: 
        !            81: 2009/06/05:
        !            82:   unlink lease file in reload_from_lease_file()
        !            83: 
        !            84: 2009/05/16:
        !            85:   Fixed a buffer overflow in ProcessSSDPRequest()
        !            86: 
        !            87: 2009/05/11:
        !            88:   improving genconfig.sh for NetBSD : detecting use of pf or ipf
        !            89: 
        !            90: VERSION 1.3 :
        !            91: 2009/04/17:
        !            92:   working support for iptables >= 1.4.3
        !            93: 
        !            94: 2009/04/13:
        !            95:   work to support iptables-1.4.3 and up
        !            96: 
        !            97: 2009/04/10:
        !            98:   fix in upnpevents_removeSubscriber() 
        !            99: 
        !           100: 2009/02/14:
        !           101:   added reload_from_lease_file()
        !           102: 
        !           103: 2009/02/13:
        !           104:   Changes in upnpdescgen.c to allow to remove empty elements
        !           105:   strcasecmp instead of strcmp on path comparaisons to allow
        !           106:   bugged clients to work
        !           107: 
        !           108: 2009/01/29:
        !           109:   Some minor changes to Makefile
        !           110:   improving Makefile.linux in order to build with iptables not properly 
        !           111:   installed on the system.
        !           112: 
        !           113: 2009/01/23:
        !           114:   Fixing upnpevents thanks to Justin Maggard
        !           115: 
        !           116: 2008/10/15:
        !           117:   getifstats() return -1 when supplied with bad arguments
        !           118: 
        !           119: 2008/10/11:
        !           120:   Fixed NAT-PMP response when IP not allocated to external interface
        !           121: 
        !           122: 2008/10/09:
        !           123:   adding testgetifaddr
        !           124:   Reporting Unconnected status when the "external interface" has
        !           125:   no IP address assigned. Also added some comments
        !           126: 
        !           127: VERSION 1.2 :
        !           128: 
        !           129: 2008/10/07:
        !           130:   updating docs
        !           131: 
        !           132: 2008/10/06:
        !           133:   MiniUPnPd is now able to use MiniSSDPd to manage SSDP M-SEARCH answering
        !           134: 
        !           135: 2008/10/03:
        !           136:   You can now let miniupnpd choose itself the HTTP port used.
        !           137: 
        !           138: 2008/10/01:
        !           139:   Improvements in genconfig.sh for detecting ipf or pf (under FreeBSD)
        !           140:   and improve debian/ubuntu stuff.
        !           141:   custom chain name patch from : 
        !           142:     http://miniupnp.tuxfamily.org/forum/viewtopic.php?t=493
        !           143: 
        !           144: 2008/08/24:
        !           145:   added USE_IFNAME_IN_RULES macro that can be disabled in order to
        !           146:   remove interface name from rules.
        !           147: 
        !           148: 2008/07/10:
        !           149:   Fixed compilation without ENABLE_L3F_SERVICE
        !           150: 
        !           151: 2008/04/27:
        !           152:   correct UNSUBSCRIBE processing
        !           153: 
        !           154: 2008/04/25(bis):
        !           155:   changed iptables_removeall.sh and iptables_init.sh in order
        !           156:   to remove IP from the rules
        !           157: 
        !           158: VERSION 1.1 :
        !           159: 
        !           160: 2008/04/25:
        !           161:   Eventing is allmost completly implemented
        !           162: 
        !           163: 2008/04/24:
        !           164:   Correct event handling ?
        !           165: 
        !           166: 2008/04/08:
        !           167:   enabling tag in PF rules. quick can be set off.
        !           168: 
        !           169: 2008/03/13:
        !           170:   implementing event notify
        !           171: 
        !           172: 2008/03/11:
        !           173:   fixing a command line parsing error
        !           174: 
        !           175: 2008/03/09:
        !           176:   optimisations in upnpsoap.c
        !           177: 
        !           178: 2008/03/08:
        !           179:   optimizing upnpsoap.c for size
        !           180: 
        !           181: 2008/03/06:
        !           182:   Worked on the Eventing : generating XML event notifications
        !           183:     Send initial notification after subscribe
        !           184:   Improved pretty print of testupnpdescgen
        !           185:   Reduced Memory usage of upnpdescgen
        !           186:   fixed a small bug in the description
        !           187: 
        !           188: 2008/03/03:
        !           189:   Fixed miniupnpd.c for compiling without natpmp support 
        !           190:   fixed presentationURL not there with L3F
        !           191:   fixing lease file creation/modification
        !           192: 
        !           193: 2008/02/25:
        !           194:   Rewrite of Send501() and Send404()
        !           195:   More work on events
        !           196:   genconfig.sh autodetects pf/ipf
        !           197: 
        !           198: 2008/02/24:
        !           199:   Started to implement UPnP Events. do NOT use it at the moment !
        !           200: 
        !           201: 2008/02/21:
        !           202:   Added support for the Layer3Forwarding Service
        !           203:   added init_redirect() and shutdown_redirect() functions
        !           204: 
        !           205: 2008/02/20:
        !           206:   Removed Ext: HTTP header when useless
        !           207:   enabled the dummy service by default to please windows XP !
        !           208: 
        !           209: 2008/02/07:
        !           210:   upnp_enable patch by Nikos Mavrogiannopoulos.
        !           211:   lease_file patch by Nikos Mavrogiannopoulos.
        !           212: 
        !           213: 2008/01/29:
        !           214:   some changes to Makefile.openwrt
        !           215:   use daemon() - daemonize() is still available for systems lacking daemon()
        !           216: 
        !           217: VERSION 1.0 :
        !           218: 2008/01/27:
        !           219:   moved lan_addr to upnpglobalvars.h/.c
        !           220:   Adding experimental multiple external IP support.
        !           221: 
        !           222: 2008/01/22:
        !           223:   removed dummy service from description to improve compatibility
        !           224:   with emule client
        !           225:   Add "secure mode". put runtime flags in the same variable
        !           226: 
        !           227: 2008/01/14:
        !           228:   Fixed a bug in options.c for the parsing of empty lines.
        !           229: 
        !           230: 2008/01/03:
        !           231:   Fixed CleanExpiredNATPMP()
        !           232: 
        !           233: 2008/01/02:
        !           234:   Adding a queue parameter for setting ALTQ in pf
        !           235: 
        !           236: 2007/12/27:
        !           237:   improving some stuff with the PF_ENABLE_FILTER_RULE.
        !           238: 
        !           239: 2007/12/22:
        !           240:   Adding a runtime option to enable/disable NAT-PMP
        !           241: 
        !           242: 2007/12/20:
        !           243:   Added a cache in linux getifstats(). Please enable by editing config.h
        !           244: 
        !           245: 2007/12/14:
        !           246:   Updating an existing NAT-PMP mapping now works
        !           247: 
        !           248: 2007/12/13:
        !           249:   NAT-PMP code now remove expired mappings
        !           250:   TCP/UDP where swapped in NAT-PMP code
        !           251: 
        !           252: 2007/12/04:
        !           253:   Adding details to the error message for sendto(udp_notify)
        !           254: 
        !           255: 2007/11/27:
        !           256:   pf code doesn't generate filter rules by default anymore. The
        !           257:   #ifdef PF_ENABLE_FILTER_RULES must be uncommented in config.h.
        !           258: 
        !           259: 2007/11/02:
        !           260:   moved some of the prototypes common to all firewalls to commonrdr.h
        !           261:   Added functionalities to NAT-PMP
        !           262: 
        !           263: 2007/11/01:
        !           264:   Debugged NAT-PMP code
        !           265: 
        !           266: 2007/10/28:
        !           267:   Cleaning and improving NAT-PMP code
        !           268: 
        !           269: 2007/10/25:
        !           270:   improved the NAT-PMP experimental support
        !           271:   updated README and INSTALL files
        !           272: 
        !           273: 2007/10/24:
        !           274:   Adding support for NAT-PMP (from apple !)
        !           275: 
        !           276: 2007/10/11:
        !           277:   Checking the commandline for errors.
        !           278: 
        !           279: 2007/10/08:
        !           280:   Improved the BSD/Solaris Makefile
        !           281:   Merging last code from Darren Reed. Solaris/IPF should work now !
        !           282:   added a man page.
        !           283: 
        !           284: 2007/10/07:
        !           285:   Adding Darren Reed code for ipf.
        !           286: 
        !           287: 2007/10/06:
        !           288:   Adding SunOS support thanks to Darren Reed.
        !           289:   Reorganizing os/firewall dependent code thanks to Darren Reed.
        !           290: 
        !           291: 2007/09/27:
        !           292:   linux make install support PREFIX variable
        !           293: 
        !           294: 2007/09/25:
        !           295:   reorganizing LAN sockets/address to improve multi LAN support.
        !           296:   SSDP announces are sent to all configured networks.
        !           297:   SSDP responses are "customized" by subnetwork.
        !           298: 
        !           299: 2007/09/24:
        !           300:   prototype code to remove unused rules
        !           301:   miniupnpdctl now display current rules
        !           302:   synchronised add_filter_rule2() prototype between pf and netfilter code.
        !           303: 
        !           304: 2007/09/19:
        !           305:   Correctly filling the Cache-control header in SSDP packets
        !           306: 
        !           307: 2007/08/28:
        !           308:   update PFRULE_INOUT_COUNTS detection for FreeBSD
        !           309: 
        !           310: 2007/08/27:
        !           311:   update version in genconfig.sh
        !           312:   do not error when a duplicate redirection is requested.
        !           313: 
        !           314: 2007/07/16:
        !           315:   really fixed the compilation bug with linux>=2.6.22
        !           316: 
        !           317: 2007/07/04:
        !           318:   fixed an error in options.c that prevented to use packet_log option
        !           319: 
        !           320: 2007/07/03:
        !           321:   improved genconfig.sh
        !           322:   fixed a compilation bug with linux>=2.6.22
        !           323: 
        !           324: 2007/06/22:
        !           325:   added PFRULE_INOUT_COUNTS macro to enable separate in/out packet and
        !           326:   bytes counts in pf for OpenBSD >= 3.8
        !           327: 
        !           328: 2007/06/15:
        !           329:   removed a possible racecondition in writepidfile()
        !           330: 
        !           331: 2007/06/12:
        !           332:   improved genconfig.sh : no more "echo -e", use lsb_release when available
        !           333: 
        !           334: 2007/06/11:
        !           335:   get_redirect_rule*() functions now return some statistics about
        !           336:   rule usage (bytes and packets)
        !           337: 
        !           338: 2007/06/07:
        !           339:   Fixed the get_redirect_desc() in the linux/netfilter code
        !           340: 
        !           341: 2007/06/05:
        !           342:   Clean up init code in miniupnpd.c
        !           343:   Added a syslog message in SoapError()
        !           344: 
        !           345: 2007/06/04:
        !           346:   Now store redirection descriptions in the linux/netfilter code
        !           347: 
        !           348: 2007/05/21:
        !           349:   Answers to SSDP M-SEARCH requests with ST: ssdp:all
        !           350:   added make install to Makefile.linux
        !           351: 
        !           352: 2007/05/10:
        !           353:   Fixed a bug int the DeletePortMapping linux/netfilter implementation
        !           354:   It was allways the 1st rule that was deleted.
        !           355: 
        !           356: 2007/04/26:
        !           357:   Fixed config.h.openwrt
        !           358: 
        !           359: 2007/04/16:
        !           360:   added something in the INSTALL file about the FreeBSD send(udp_notify)
        !           361:   problem fix (allowing 239.0.0.0/8 explicitely in pf.conf)
        !           362: 
        !           363: 2007/03/30:
        !           364:   added setsockopt(s, SOL_SOCKET, SO_BROADCAST ...) for broadcasting
        !           365:   socket
        !           366: 
        !           367: 2007/03/17:
        !           368:   Fixed filter rule under linux : it was using wrong port !
        !           369:   thanks to Wesley W. Terpstra
        !           370: 
        !           371: 2007/03/01:
        !           372:   Moved some of the SSDP code from miniupnpd.c to minissdp.c
        !           373: 
        !           374: 2007/02/28:
        !           375:   creating miniupnpdctl
        !           376: 
        !           377: 2007/02/26:
        !           378:   use LOG_MINIUPNPD macro for openlog()
        !           379:   simplify miniupndShutdown()
        !           380: 
        !           381: 2007/02/09:
        !           382:   improved genconfig.h
        !           383:   Added stuff to change the pf rule "rdr" to "rdr pass"
        !           384: 
        !           385: 2007/02/07:
        !           386:   Corrected Bytes per seconds to bits per second.
        !           387:   Ryan cleaned up comments and typos.
        !           388:   Ryan cleaned up daemonize stuff.
        !           389:   Ryan added possibility to configure model number and serial number
        !           390: 
        !           391: 2007/01/30:
        !           392:   ryan improved the robustness of most UPnP Soap methods
        !           393:   I added a target in the Makefiles to properly generate an uuid using
        !           394:   command line tools.
        !           395:   Improved configuration file parsing.
        !           396: 
        !           397: 2007/01/29:
        !           398:   Adding uuid option in miniupnpd.conf
        !           399: 
        !           400: 2007/01/27:
        !           401:   Added upnppermissions stuff : adding some security to UPnP !
        !           402:   fixed XML description thanks to Ryan Wagoner
        !           403:   improved QueryStateVariable thanks to Ryan Wagoner
        !           404: 
        !           405: 2007/01/22:
        !           406:   use getifaddr() for each GetExtenalIPAddress() Call.
        !           407:   We can change the ip during execution without pb
        !           408: 
        !           409: 2007/01/17:
        !           410:   Lots of code cleanup
        !           411: 
        !           412: 2007/01/12:
        !           413:   Fixed a nasty bug in the linux/netfilter version of get_filter_rule()
        !           414: 
        !           415: 2007/01/11:
        !           416:   Improved the handling of the miniupnpd.conf file.
        !           417:   added -f option to choose which config file to read.
        !           418: 
        !           419: 2007/01/10:
        !           420:   Fixed potential bugs with ClearNameValueList()
        !           421: 
        !           422: 2007/01/08:
        !           423:   All by Ryan Wagoner :
        !           424:   - coding style and comments cleanup
        !           425:   - using now option file miniupnpd.conf
        !           426: 
        !           427: 2007/01/03:
        !           428:   changed "xx active incoming HTTP connections" msg
        !           429: 
        !           430: 2007/01/02:
        !           431:   Patch from Ryan Wagoner :
        !           432:   - no need to open sockets if we can't set the error handlers
        !           433:   - format the usage so it fits nicely on a standard size terminal
        !           434:   - fix up log_err message so they have the same format and you know what
        !           435:     they are related to
        !           436:   - use same "white space" style throughout
        !           437:   - on shutdown no need to continue if opening socket or setsockopt fails
        !           438: 
        !           439: 2006/12/14:
        !           440:   reduce amount of log lines (keeping the same information)
        !           441: 
        !           442: 2006/12/07:
        !           443:   Fixed Makefiles
        !           444:   fixed typos in logs
        !           445:   version 1.0-RC1 released
        !           446: 
        !           447: 2006/12/02:
        !           448:   moved strings from upnpdescgen.c to upnpdescstrings.h for
        !           449:   easier modification
        !           450:   Server: HTTP header now comes from a #define
        !           451:   added a compilation-time generated config.h
        !           452: 
        !           453: 2006/11/30:
        !           454:   minixml updated. should have no impact
        !           455:   Added support for presentationURL with -w switch
        !           456:   implemented getifstats() for linux. Added testgetifstats program
        !           457:   improved error handling in getifstats() BSD 
        !           458: 
        !           459: 2006/11/26:
        !           460:   no need to have miniupnpc sources to compile miniupnpd.
        !           461:   Makefile.openwrt updated
        !           462:   Closing sockets on exit thanks to Ryan Wagoner
        !           463: 
        !           464: 2006/11/23:
        !           465:   now handling signal SIGINT
        !           466:   setting HTTP socket with REUSEADDR thanks to Ryan Wagoner
        !           467:   daemon now tested on a Linksys WRT54G device running OpenWRT !
        !           468: 
        !           469: 2006/11/21:
        !           470:   disabling rtableid in pf code.
        !           471: 
        !           472: 2006/11/22:
        !           473:   Also responds on M-SEARCH with the uuid
        !           474: 
        !           475: 2006/11/20:
        !           476:   gaining some space in upnpsoap.c
        !           477: 
        !           478: 2006/11/19:
        !           479:   Cleaning up code to comply with ANSI C89
        !           480: 
        !           481: 2006/11/17:
        !           482:   Linux version now deleting both nat and accept rules
        !           483:   implemented -U option under Linux
        !           484: 
        !           485: 2006/11/16:
        !           486:   implemented delete_redirect_rule() for linux
        !           487:   returning error 714 in DeletePortMapping() when needed
        !           488: 
        !           489: 2006/11/12:
        !           490:   The linux/netfilter version should now WORK !
        !           491:   fix in the writepidfile() function. open with a mode !
        !           492: 
        !           493: 2006/11/10:
        !           494:   fixing the XML description generation for big endian machines
        !           495:   working on the linux/netfilter port
        !           496: 
        !           497: 2006/11/09:
        !           498:   improved a lot the handling of HTTP error cases
        !           499: 
        !           500: 2006/11/08:
        !           501:   Tried to make the Makefile compatible with both BSDmake
        !           502:   and GNUmake. It was hard because of $^ and $<
        !           503: 
        !           504: 2006/11/07:
        !           505:   Makefile compatible with BSD make
        !           506:   make install target.
        !           507:   getifstats.c compatible with both OpenBSD and FreeBSD.
        !           508: 
        !           509: 2006/11/06:
        !           510:   added getifstats.c for openBSD. May not work under FreeBSD ?
        !           511:   now reports bytes/packets sent/received
        !           512:   reporting bitrates
        !           513:   possibility to report system uptime
        !           514: 
        !           515: 2006/10/29:
        !           516:   added a -L option to enable loggin (is off by default now).
        !           517: 
        !           518: 2006/10/28:
        !           519:   Patch by Ryan Wagoner to correct the XML description (was NewUpTime
        !           520:   instead of NewUptime) and implement uptime.
        !           521:   Trying to fix the memory leak. Added some comments
        !           522:   added a -d option for debugging purpose
        !           523:   Tnaks to valgrind (under linux!) I removed a small memory access error.
        !           524: 
        !           525: 2006/10/27:
        !           526:   Thanks to a patch sent by Michael van Tellingen, miniupnpd is
        !           527:   now ignoring NOTIFY packets sent by other devices and is
        !           528:   writing is own pid to /var/run/miniupnpd.pid
        !           529: 
        !           530: 2006/10/23:
        !           531:   Allways set sendEvents="no" in XML description (was causing
        !           532:   pb with winXP as SUBSCRIBE is not implemented)
        !           533: 
        !           534: 2006/10/22:
        !           535:   added translation from hostname to IP in the AddPortMapping() method
        !           536:   Thanks to Ryan Wagoner.
        !           537: 
        !           538: 2006/10/18:
        !           539:   Added an INSTALL file
        !           540: 
        !           541: 2006/10/13:
        !           542:   Added the possibility to change the notify interval
        !           543: 
        !           544: 2006/09/29:
        !           545:   Improved compliance of the XML Descriptions
        !           546:   pretty print for testupnpdescgen
        !           547: 
        !           548: 2006/09/25:
        !           549:   improved the Error 404 response.
        !           550:   Better serviceType and serviceId for dummy service...
        !           551: 
        !           552: 2006/09/24:
        !           553:   updating the XML description generator
        !           554: 
        !           555: 2006/09/18:
        !           556:   Thanks to Rick Richard, support for SSDP "alive" and "byebye" notifications
        !           557:   was added. The -u options was also added. The SSDP response are now
        !           558:   improved.
        !           559:   The -o option is now working (to force a specific external IP address).
        !           560:   The Soap Methods errors are correctly responded (401 Invalid Action)
        !           561: 
        !           562: 2006/09/09:
        !           563:   Added code to handle filter rules. Thanks to Seth Mos (pfsense.com)
        !           564:   storing the descriptions in the label of the rule
        !           565: 
        !           566: 2006/09/02:
        !           567:   improved the generation of the XML descriptions.
        !           568:   I still need to add allowed values to variables.
        !           569: 
        !           570: 2006/07/29:
        !           571:   filtering SSDP requests and responding with same ST: field
        !           572: 
        !           573: 2006/07/25:
        !           574:   Added a dummy description for the WANDevice 
        !           575: 
        !           576: 2006/07/20:
        !           577:   Command line arguments processing
        !           578:   Added possibility to listen internally on several interfaces
        !           579: 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>