author | Michael Krelin <hacker@klever.net> | 2011-04-27 16:24:42 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2011-04-27 16:24:42 (UTC) |
commit | 6e7e413ca364d79673e523c09767c18e7cff1bec (patch) (unidiff) | |
tree | 5b2b0e9131a27043573107bf42d8ca7641ba511a | |
parent | c3b240e06bae3b663505e2b1c52eb67c34ddd3ea (diff) | |
download | pumpkin-master.zip pumpkin-master.tar.gz pumpkin-master.tar.bz2 |
Signed-off-by: Michael Krelin <hacker@klever.net>
-rw-r--r-- | help/pumpkin.xml | 6 | ||||
-rw-r--r-- | install/install.cpp | 2 | ||||
-rw-r--r-- | install/install.rc | 10 | ||||
-rwxr-xr-x | pumpkin.rc | 14 |
4 files changed, 18 insertions, 14 deletions
diff --git a/help/pumpkin.xml b/help/pumpkin.xml index 153219a..486ac82 100644 --- a/help/pumpkin.xml +++ b/help/pumpkin.xml | |||
@@ -1,27 +1,31 @@ | |||
1 | <?xml version="1.0"?> | 1 | <?xml version="1.0"?> |
2 | <winhelp> | 2 | <winhelp> |
3 | <topic id="About" title="About PumpKIN" keywords="about"> | 3 | <topic id="About" title="About PumpKIN" keywords="about"> |
4 | <heading scroll="no">About <kin>PumpKIN</kin></heading> | 4 | <heading scroll="no">About <kin>PumpKIN</kin></heading> |
5 | <p><kin>PumpKIN</kin> is a program designed to send and receive files over the net while having <kin href="http://kin.klever.net/T42/">T42</kin> or <product>Wintalk</product> session running using <term>TFTP</term> (<rfc num="1350"/>) protocol. It includes full-functional <term>TFTP</term> server/client so it may be useful for maintaining <a href="http://www.cisco.com/">CISCO</a> routers and other network equipment.</p> | 5 | <p><kin>PumpKIN</kin> is a program designed to send and receive files over the net while having <kin href="http://kin.klever.net/T42/">T42</kin> or <product>Wintalk</product> session running using <term>TFTP</term> (<rfc num="1350"/>) protocol. It includes full-functional <term>TFTP</term> server/client so it may be useful for maintaining <a href="http://www.cisco.com/">CISCO</a> routers and other network equipment.</p> |
6 | <p/> | 6 | <p/> |
7 | <p><b><i>Enjoy!</i></b></p> | 7 | <p><b><i>Enjoy!</i></b></p> |
8 | <license years="1997-2006"/> | 8 | <license years="1997-2011"/> |
9 | <credist/> | 9 | <credist/> |
10 | </topic> | 10 | </topic> |
11 | <topic id="News" title="What's New"> | 11 | <topic id="News" title="What's New"> |
12 | <newsfor version="2.7.3" date="Apr 27th, 2011"> | ||
13 | <ni>Added configuration option to bind to specific ip address</ni> | ||
14 | <ni>Fixed a minor bug that lead to misdiagnosis of the packet from unexpected source</ni> | ||
15 | </newsfor> | ||
12 | <newsfor version="2.7.2" date="October 18th, 2006"> | 16 | <newsfor version="2.7.2" date="October 18th, 2006"> |
13 | <ni>Added rejecting of too large file requests with explicit error message about the block size</ni> | 17 | <ni>Added rejecting of too large file requests with explicit error message about the block size</ni> |
14 | <ni>A bit more elaborate logging</ni> | 18 | <ni>A bit more elaborate logging</ni> |
15 | <ni>Not closing receive socket until the last ACK receved now</ni> | 19 | <ni>Not closing receive socket until the last ACK receved now</ni> |
16 | </newsfor> | 20 | </newsfor> |
17 | <newsfor version="2.7.1" date="March 13th, 2006"> | 21 | <newsfor version="2.7.1" date="March 13th, 2006"> |
18 | <ni>Bugfix release</ni> | 22 | <ni>Bugfix release</ni> |
19 | </newsfor> | 23 | </newsfor> |
20 | <newsfor version="2.7" date="February 28th, 2006"> | 24 | <newsfor version="2.7" date="February 28th, 2006"> |
21 | <ni>Access lists based on request IP address and TFTP opcode for automating access policy</ni> | 25 | <ni>Access lists based on request IP address and TFTP opcode for automating access policy</ni> |
22 | <ni>Possibility to start/stop TFTP server, while keeping client functionality intact</ni> | 26 | <ni>Possibility to start/stop TFTP server, while keeping client functionality intact</ni> |
23 | <ni>Logging to file</ni> | 27 | <ni>Logging to file</ni> |
24 | <ni>Resizable main window</ni> | 28 | <ni>Resizable main window</ni> |
25 | </newsfor> | 29 | </newsfor> |
26 | <newsfor version="2.6" date="August 6th, 2005"> | 30 | <newsfor version="2.6" date="August 6th, 2005"> |
27 | <ni>more robust solution to the backslash/slash dilemma</ni> | 31 | <ni>more robust solution to the backslash/slash dilemma</ni> |
diff --git a/install/install.cpp b/install/install.cpp index 58ed997..ea27a2c 100644 --- a/install/install.cpp +++ b/install/install.cpp | |||
@@ -1,20 +1,20 @@ | |||
1 | #include "resource.h" | 1 | #include "resource.h" |
2 | #include "../shared-code/install.h" | 2 | #include "../shared-code/install.h" |
3 | 3 | ||
4 | #define VERSION "2.7.2" | 4 | #define VERSION "2.7.3" |
5 | #defineKINAME "PumpKIN " VERSION | 5 | #defineKINAME "PumpKIN " VERSION |
6 | #define SKINAME "PumpKIN" | 6 | #define SKINAME "PumpKIN" |
7 | 7 | ||
8 | BOOL Install(void) | 8 | BOOL Install(void) |
9 | { | 9 | { |
10 | STRING dPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group",SKINAME "Path"); | 10 | STRING dPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group",SKINAME "Path"); |
11 | STRING kPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group","KINPath"); | 11 | STRING kPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group","KINPath"); |
12 | LPCSTR qPath = ((LPCSTR)dPath)?(LPCSTR)dPath:(((LPCSTR)kPath)?(LPSTR)kPath:"C:\\Program Files\\Klever\\Nothings"); | 12 | LPCSTR qPath = ((LPCSTR)dPath)?(LPCSTR)dPath:(((LPCSTR)kPath)?(LPSTR)kPath:"C:\\Program Files\\Klever\\Nothings"); |
13 | STRING path = REQUESTPATH(" " KINAME,"\nEnter destination path:",qPath); | 13 | STRING path = REQUESTPATH(" " KINAME,"\nEnter destination path:",qPath); |
14 | if(!path) | 14 | if(!path) |
15 | return NULL; | 15 | return NULL; |
16 | 16 | ||
17 | #ifdefK_ANNED | 17 | #ifdefK_ANNED |
18 | STRING sysDir(_MAX_PATH); | 18 | STRING sysDir(_MAX_PATH); |
19 | GetSystemDirectory(sysDir,_MAX_PATH); | 19 | GetSystemDirectory(sysDir,_MAX_PATH); |
20 | INSTALLFILE("mfc42.dl_",sysDir,"mfc42.dll"); | 20 | INSTALLFILE("mfc42.dl_",sysDir,"mfc42.dll"); |
diff --git a/install/install.rc b/install/install.rc index 6967799..2dce211 100644 --- a/install/install.rc +++ b/install/install.rc | |||
@@ -118,57 +118,57 @@ END | |||
118 | ///////////////////////////////////////////////////////////////////////////// | 118 | ///////////////////////////////////////////////////////////////////////////// |
119 | // | 119 | // |
120 | // Icon | 120 | // Icon |
121 | // | 121 | // |
122 | 122 | ||
123 | // Icon with lowest ID value placed first to ensure application icon | 123 | // Icon with lowest ID value placed first to ensure application icon |
124 | // remains consistent on all systems. | 124 | // remains consistent on all systems. |
125 | IDI_ICON ICON DISCARDABLE "../shared-data/install-icon.ico" | 125 | IDI_ICON ICON DISCARDABLE "../shared-data/install-icon.ico" |
126 | 126 | ||
127 | #ifndef _MAC | 127 | #ifndef _MAC |
128 | ///////////////////////////////////////////////////////////////////////////// | 128 | ///////////////////////////////////////////////////////////////////////////// |
129 | // | 129 | // |
130 | // Version | 130 | // Version |
131 | // | 131 | // |
132 | 132 | ||
133 | VS_VERSION_INFO VERSIONINFO | 133 | VS_VERSION_INFO VERSIONINFO |
134 | FILEVERSION 2,7,2,0 | 134 | FILEVERSION 2,7,3,0 |
135 | PRODUCTVERSION 2,7,2,0 | 135 | PRODUCTVERSION 2,7,3,0 |
136 | FILEFLAGSMASK 0x3fL | 136 | FILEFLAGSMASK 0x3fL |
137 | #ifdef _DEBUG | 137 | #ifdef _DEBUG |
138 | FILEFLAGS 0x1L | 138 | FILEFLAGS 0x1L |
139 | #else | 139 | #else |
140 | FILEFLAGS 0x0L | 140 | FILEFLAGS 0x0L |
141 | #endif | 141 | #endif |
142 | FILEOS 0x40004L | 142 | FILEOS 0x40004L |
143 | FILETYPE 0x1L | 143 | FILETYPE 0x1L |
144 | FILESUBTYPE 0x0L | 144 | FILESUBTYPE 0x0L |
145 | BEGIN | 145 | BEGIN |
146 | BLOCK "StringFileInfo" | 146 | BLOCK "StringFileInfo" |
147 | BEGIN | 147 | BEGIN |
148 | BLOCK "040904b0" | 148 | BLOCK "040904b0" |
149 | BEGIN | 149 | BEGIN |
150 | VALUE "CompanyName", "Klever Group (http://www.klever.net/)\0" | 150 | VALUE "CompanyName", "Klever Group (http://www.klever.net/)\0" |
151 | VALUE "FileDescription", "INSTALL: PumpKIN, tftp client/daemon\0" | 151 | VALUE "FileDescription", "INSTALL: PumpKIN, tftp client/daemon\0" |
152 | VALUE "FileVersion", "2, 7, 2, 0\0" | 152 | VALUE "FileVersion", "2, 7, 3, 0\0" |
153 | VALUE "InternalName", "INSTALL\0" | 153 | VALUE "InternalName", "INSTALL\0" |
154 | VALUE "LegalCopyright", "Copyright © 1997-2006 Klever Group (http://www.klever.net/)\0" | 154 | VALUE "LegalCopyright", "Copyright © 1997-2011 Klever Group (http://www.klever.net/)\0" |
155 | VALUE "LegalTrademarks", "Klever Group (http://www.klever.net/)\0" | 155 | VALUE "LegalTrademarks", "Klever Group (http://www.klever.net/)\0" |
156 | VALUE "OriginalFilename", "INSTALL.EXE\0" | 156 | VALUE "OriginalFilename", "INSTALL.EXE\0" |
157 | VALUE "ProductName", "PumpKIN\0" | 157 | VALUE "ProductName", "PumpKIN\0" |
158 | VALUE "ProductVersion", "2, 7, 2, 0\0" | 158 | VALUE "ProductVersion", "2, 7, 3, 0\0" |
159 | END | 159 | END |
160 | END | 160 | END |
161 | BLOCK "VarFileInfo" | 161 | BLOCK "VarFileInfo" |
162 | BEGIN | 162 | BEGIN |
163 | VALUE "Translation", 0x409, 1200 | 163 | VALUE "Translation", 0x409, 1200 |
164 | END | 164 | END |
165 | END | 165 | END |
166 | 166 | ||
167 | #endif // !_MAC | 167 | #endif // !_MAC |
168 | 168 | ||
169 | #endif // English (U.S.) resources | 169 | #endif // English (U.S.) resources |
170 | ///////////////////////////////////////////////////////////////////////////// | 170 | ///////////////////////////////////////////////////////////////////////////// |
171 | 171 | ||
172 | 172 | ||
173 | 173 | ||
174 | #ifndef APSTUDIO_INVOKED | 174 | #ifndef APSTUDIO_INVOKED |
@@ -72,35 +72,35 @@ IDR_MAINFRAME ICON DISCARDABLE "res\\pumpkin.ico" | |||
72 | IDI_PLAY ICON DISCARDABLE "shared-data/play-icon.ico" | 72 | IDI_PLAY ICON DISCARDABLE "shared-data/play-icon.ico" |
73 | IDI_UP ICON DISCARDABLE "res\\up.ico" | 73 | IDI_UP ICON DISCARDABLE "res\\up.ico" |
74 | IDI_DOWN ICON DISCARDABLE "res\\down.ico" | 74 | IDI_DOWN ICON DISCARDABLE "res\\down.ico" |
75 | IDI_REMOVE ICON DISCARDABLE "res\\remove.ico" | 75 | IDI_REMOVE ICON DISCARDABLE "res\\remove.ico" |
76 | 76 | ||
77 | ///////////////////////////////////////////////////////////////////////////// | 77 | ///////////////////////////////////////////////////////////////////////////// |
78 | // | 78 | // |
79 | // Dialog | 79 | // Dialog |
80 | // | 80 | // |
81 | 81 | ||
82 | IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 217, 74 | 82 | IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 217, 74 |
83 | STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | 83 | STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU |
84 | CAPTION "About PumpKIN" | 84 | CAPTION "About PumpKIN" |
85 | FONT 8, "MS Sans Serif" | 85 | FONT 8, "MS Sans Serif" |
86 | BEGIN | 86 | BEGIN |
87 | ICON IDR_MAINFRAME,IDC_STATIC,7,17,18,20 | 87 | ICON IDR_MAINFRAME,IDC_STATIC,7,17,18,20 |
88 | LTEXT "PumpKIN, Version 2.7.2",IDC_STATIC,40,15,119,8, | 88 | LTEXT "PumpKIN, Version 2.7.3",IDC_STATIC,40,15,119,8, |
89 | SS_NOPREFIX | 89 | SS_NOPREFIX |
90 | LTEXT "Copyright © 1997-2006 Klever Group",IDC_STATIC,40,30, | 90 | LTEXT "Copyright © 1997-2011 Klever Group",IDC_STATIC,40,30, |
91 | 170,8 | 91 | 170,8 |
92 | DEFPUSHBUTTON "OK",IDOK,178,7,32,14,WS_GROUP | 92 | DEFPUSHBUTTON "OK",IDOK,178,7,32,14,WS_GROUP |
93 | PUSHBUTTON "http://www.klever.net/",IDC_KLEVERNET,124,53,86,14 | 93 | PUSHBUTTON "http://www.klever.net/",IDC_KLEVERNET,124,53,86,14 |
94 | END | 94 | END |
95 | 95 | ||
96 | IDD_PUMPKIN_DIALOG DIALOGEX 0, 0, 362, 193 | 96 | IDD_PUMPKIN_DIALOG DIALOGEX 0, 0, 362, 193 |
97 | STYLE DS_3DLOOK | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | 97 | STYLE DS_3DLOOK | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME |
98 | EXSTYLE WS_EX_ACCEPTFILES | WS_EX_APPWINDOW | 98 | EXSTYLE WS_EX_ACCEPTFILES | WS_EX_APPWINDOW |
99 | CAPTION " PumpKIN" | 99 | CAPTION " PumpKIN" |
100 | FONT 8, "MS Sans Serif", 0, 0, 0x1 | 100 | FONT 8, "MS Sans Serif", 0, 0, 0x1 |
101 | BEGIN | 101 | BEGIN |
102 | CONTROL "List1",IDC_CONNECTIONS,"SysListView32",LVS_REPORT | | 102 | CONTROL "List1",IDC_CONNECTIONS,"SysListView32",LVS_REPORT | |
103 | LVS_AUTOARRANGE | WS_BORDER | WS_TABSTOP,7,7,295,108, | 103 | LVS_AUTOARRANGE | WS_BORDER | WS_TABSTOP,7,7,295,108, |
104 | WS_EX_DLGMODALFRAME | 104 | WS_EX_DLGMODALFRAME |
105 | PUSHBUTTON "&Get File",IDC_GET,305,7,50,17,BS_NOTIFY, | 105 | PUSHBUTTON "&Get File",IDC_GET,305,7,50,17,BS_NOTIFY, |
106 | WS_EX_CLIENTEDGE | 106 | WS_EX_CLIENTEDGE |
@@ -315,57 +315,57 @@ BEGIN | |||
315 | EDITTEXT IDC_ACL_NETMASK,173,143,80,12,ES_AUTOHSCROLL | 315 | EDITTEXT IDC_ACL_NETMASK,173,143,80,12,ES_AUTOHSCROLL |
316 | LTEXT "then",IDC_STATIC,124,160,15,8 | 316 | LTEXT "then",IDC_STATIC,124,160,15,8 |
317 | COMBOBOX IDC_ACL_RULE,143,158,123,117,CBS_DROPDOWNLIST | | 317 | COMBOBOX IDC_ACL_RULE,143,158,123,117,CBS_DROPDOWNLIST | |
318 | WS_VSCROLL | WS_TABSTOP | 318 | WS_VSCROLL | WS_TABSTOP |
319 | PUSHBUTTON "&Add new rule",IDC_ACL_ADD,7,178,130,16 | 319 | PUSHBUTTON "&Add new rule",IDC_ACL_ADD,7,178,130,16 |
320 | PUSHBUTTON "&Replace rule",IDC_ACL_REPLACE,152,178,130,16 | 320 | PUSHBUTTON "&Replace rule",IDC_ACL_REPLACE,152,178,130,16 |
321 | END | 321 | END |
322 | 322 | ||
323 | 323 | ||
324 | #ifndef _MAC | 324 | #ifndef _MAC |
325 | ///////////////////////////////////////////////////////////////////////////// | 325 | ///////////////////////////////////////////////////////////////////////////// |
326 | // | 326 | // |
327 | // Version | 327 | // Version |
328 | // | 328 | // |
329 | 329 | ||
330 | VS_VERSION_INFO VERSIONINFO | 330 | VS_VERSION_INFO VERSIONINFO |
331 | FILEVERSION 2,7,2,0 | 331 | FILEVERSION 2,7,3,0 |
332 | PRODUCTVERSION 2,7,2,0 | 332 | PRODUCTVERSION 2,7,3,0 |
333 | FILEFLAGSMASK 0x3fL | 333 | FILEFLAGSMASK 0x3fL |
334 | #ifdef _DEBUG | 334 | #ifdef _DEBUG |
335 | FILEFLAGS 0x1L | 335 | FILEFLAGS 0x1L |
336 | #else | 336 | #else |
337 | FILEFLAGS 0x0L | 337 | FILEFLAGS 0x0L |
338 | #endif | 338 | #endif |
339 | FILEOS 0x4L | 339 | FILEOS 0x4L |
340 | FILETYPE 0x1L | 340 | FILETYPE 0x1L |
341 | FILESUBTYPE 0x0L | 341 | FILESUBTYPE 0x0L |
342 | BEGIN | 342 | BEGIN |
343 | BLOCK "StringFileInfo" | 343 | BLOCK "StringFileInfo" |
344 | BEGIN | 344 | BEGIN |
345 | BLOCK "040904b0" | 345 | BLOCK "040904b0" |
346 | BEGIN | 346 | BEGIN |
347 | VALUE "CompanyName", "Klever Group (http://www.klever.net/)\0" | 347 | VALUE "CompanyName", "Klever Group (http://www.klever.net/)\0" |
348 | VALUE "FileDescription", "PumpKIN, tftp client/daemon\0" | 348 | VALUE "FileDescription", "PumpKIN, tftp client/daemon\0" |
349 | VALUE "FileVersion", "2, 7, 2, 0\0" | 349 | VALUE "FileVersion", "2, 7, 3, 0\0" |
350 | VALUE "InternalName", "PUMPKIN\0" | 350 | VALUE "InternalName", "PUMPKIN\0" |
351 | VALUE "LegalCopyright", "Copyright © 1997-2006 Klever Group (http://www.klever.net)\0" | 351 | VALUE "LegalCopyright", "Copyright © 1997-2011 Klever Group (http://www.klever.net)\0" |
352 | VALUE "LegalTrademarks", "Klever Group (http://www.klever.net/)\0" | 352 | VALUE "LegalTrademarks", "Klever Group (http://www.klever.net/)\0" |
353 | VALUE "OriginalFilename", "PUMPKIN.EXE\0" | 353 | VALUE "OriginalFilename", "PUMPKIN.EXE\0" |
354 | VALUE "ProductName", "PumpKIN\0" | 354 | VALUE "ProductName", "PumpKIN\0" |
355 | VALUE "ProductVersion", "2, 7, 2, 0\0" | 355 | VALUE "ProductVersion", "2, 7, 3, 0\0" |
356 | END | 356 | END |
357 | END | 357 | END |
358 | BLOCK "VarFileInfo" | 358 | BLOCK "VarFileInfo" |
359 | BEGIN | 359 | BEGIN |
360 | VALUE "Translation", 0x409, 1200 | 360 | VALUE "Translation", 0x409, 1200 |
361 | END | 361 | END |
362 | END | 362 | END |
363 | 363 | ||
364 | #endif // !_MAC | 364 | #endif // !_MAC |
365 | 365 | ||
366 | 366 | ||
367 | ///////////////////////////////////////////////////////////////////////////// | 367 | ///////////////////////////////////////////////////////////////////////////// |
368 | // | 368 | // |
369 | // DESIGNINFO | 369 | // DESIGNINFO |
370 | // | 370 | // |
371 | 371 | ||