谁自爱ubuntu系统下用过tfn2k?

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
realker
帖子: 21
注册时间: 2008-04-23 20:39

谁自爱ubuntu系统下用过tfn2k?

#1

帖子 realker » 2008-10-14 22:25

能不能将编译后的tfn2k目录打包发一个上来?

我目前遇到的问题,便宜出很多警告,但可以成功编译
但是无法控制列表内服务器.
头像
hubert_star
论坛版主
帖子: 5373
注册时间: 2007-10-29 22:12
系统: OSX 10.9 + Ub 1304
来自: 江苏南京

Re: 谁自爱ubuntu系统下用过tfn2k?

#2

帖子 hubert_star » 2008-10-14 22:41

编译好的倒有,不过密码我忘记了。

给你一个源代码,应用一下patch,然后编辑就行了,以前用过的,列表能出来,不知道你看看能不能用上。
附件
tfn2k.tar.bz2
(55.18 KiB) 已下载 140 次
佛经说,人有八苦: 生、老、病、死、求不得、怨憎、爱别离、五阴盛 故我苦!
圣经说,人有七罪: 饕餮、贪婪、懒惰、淫欲、傲慢、嫉妒和暴怒  故我有罪!

我这篇帖子里面没有任何攻击我们伟大的中华人民共和国政府和任劳任怨的人民公仆(和本论坛高素质的版主)的文字和含义;

特此声明!

有些事,我们明知道是错的,也要去坚持,因为不甘心;有些人,我们明知道是爱的,也要去放弃,因为没结局;有时候,我们明知道没路了,却还在前行,因为习惯了。

欢迎来我的新浪微博@me
realker
帖子: 21
注册时间: 2008-04-23 20:39

Re: 谁自爱ubuntu系统下用过tfn2k?

#3

帖子 realker » 2008-10-15 4:44

谢谢您的回复 :)
我之前下载的tfn2k.tgz和您附件上传的是一样的
在我的ubuntu系统下可以进行编译,编译后的执行文件大小为:
-rwxr-xr-x 1 root root 32872 Oct 14 19:11 td
-rwxr-xr-x 1 root root 31248 Oct 14 19:11 tfn

而您附件中的dist目录下已编译过的(忘掉密码的..)是为:
-rwxr-xr-x 1 root root 35344 Aug 12 17:47 td
-rwxr-xr-x 1 root root 32604 Aug 12 17:47 tfn

我编译的时候会出一堆警告,我怀疑是因为这个造成编译出的tfn和td无法正常进行工作..

如果方便是否能在您系统下帮我编译一下,然后将tfn和td两个执行文件上传下,并告诉我执行密码

多谢! :em03

-----------------------------------------------------------------------------------------------------
我系统下编译出的警告提示:

root@niu07:/my/ubuntu/tfn2k/tfn2k/src# make
gcc -Wall -O3 disc.c -o disc
disc.c: In function 'main':
disc.c:24: warning: implicit declaration of function 'exit'
disc.c:24: warning: incompatible implicit declaration of built-in function 'exit'
./disc
gcc -Wall -O3 mkpass.c -o mkpass
./mkpass
server key [8 - 32 chars]:
compiling server with 8 byte password...
gcc -Wall -O3 -c -o pass.o pass.c
gcc -Wall -O3 -c -o aes.o aes.c
aes.c: In function 'aes_setkey':
aes.c:10: warning: implicit declaration of function 'strlen'
aes.c:10: warning: incompatible implicit declaration of built-in function 'strlen'
aes.c:12: warning: implicit declaration of function 'memcpy'
aes.c:12: warning: incompatible implicit declaration of built-in function 'memcpy'
aes.c: In function 'encode':
aes.c:26: warning: incompatible implicit declaration of built-in function 'memcpy'
aes.c: In function 'decode':
aes.c:44: warning: incompatible implicit declaration of built-in function 'memcpy'
gcc -Wall -O3 -c -o base64.o base64.c
gcc -Wall -O3 -c -o cast.o cast.c
gcc -Wall -O3 -c -o flood.o flood.c
In file included from tribe.h:46,
from flood.c:14:
config.h:23:18: warning: extra tokens at end of #undef directive
gcc -Wall -O3 -c -o ip.o ip.c
In file included from tribe.h:46,
from ip.c:14:
config.h:23:18: warning: extra tokens at end of #undef directive
ip.c: In function 'resolve':
ip.c:27: warning: implicit declaration of function 'memcpy'
ip.c:27: warning: incompatible implicit declaration of built-in function 'memcpy'
gcc -Wall -O3 -c -o process.o process.c
In file included from tribe.h:46,
from process.c:14:
config.h:23:18: warning: extra tokens at end of #undef directive
process.c: In function 'shellsex':
process.c:41: warning: implicit declaration of function 'exit'
process.c:41: warning: incompatible implicit declaration of built-in function 'exit'
process.c:48: warning: pointer targets in passing argument 3 of 'accept' differ in signedness
process.c: In function 'commence_udp':
process.c:87: warning: incompatible implicit declaration of built-in function 'exit'
process.c: In function 'commence_syn':
process.c:128: warning: incompatible implicit declaration of built-in function 'exit'
process.c: In function 'commence_icmp':
process.c:168: warning: incompatible implicit declaration of built-in function 'exit'
process.c: In function 'commence_mix':
process.c:208: warning: incompatible implicit declaration of built-in function 'exit'
process.c: In function 'commence_smurf':
process.c:263: warning: incompatible implicit declaration of built-in function 'exit'
process.c: In function 'commence_targa3':
process.c:303: warning: incompatible implicit declaration of built-in function 'exit'
gcc -Wall -O3 -c -o tribe.o tribe.c
In file included from tribe.h:46,
from tribe.c:14:
config.h:23:18: warning: extra tokens at end of #undef directive
tribe.c: In function 'trimbuf':
tribe.c:46: warning: implicit declaration of function 'strlen'
tribe.c:46: warning: incompatible implicit declaration of built-in function 'strlen'
tribe.c: In function 'tfntransmit':
tribe.c:120: warning: incompatible implicit declaration of built-in function 'strlen'
tribe.c:120: warning: pointer targets in passing argument 1 of 'encode64' differ in signedness
tribe.c:120: warning: pointer targets in passing argument 2 of 'encode64' differ in signedness
tribe.c:134: warning: pointer targets in passing argument 1 of 'encode64' differ in signedness
tribe.c:134: warning: pointer targets in passing argument 2 of 'encode64' differ in signedness
tribe.c:155: warning: pointer targets in passing argument 1 of 'encode64' differ in signedness
tribe.c:155: warning: pointer targets in passing argument 2 of 'encode64' differ in signedness
tribe.c:162: warning: implicit declaration of function 'exit'
tribe.c:162: warning: incompatible implicit declaration of built-in function 'exit'
gcc -Wall -O3 -c -o td.o td.c
In file included from tribe.h:46,
from td.c:14:
config.h:23:18: warning: extra tokens at end of #undef directive
td.c: In function 'main':
td.c:37: warning: implicit declaration of function 'exit'
td.c:37: warning: incompatible implicit declaration of built-in function 'exit'
td.c:39: warning: implicit declaration of function 'strlen'
td.c:39: warning: incompatible implicit declaration of built-in function 'strlen'
td.c:40: warning: implicit declaration of function 'strcpy'
td.c:40: warning: incompatible implicit declaration of built-in function 'strcpy'
td.c:84: warning: pointer targets in passing argument 1 of 'decode64' differ in signedness
td.c:84: warning: pointer targets in passing argument 2 of 'decode64' differ in signedness
td.c:101: warning: pointer targets in passing argument 1 of 'decode64' differ in signedness
td.c:101: warning: pointer targets in passing argument 2 of 'decode64' differ in signedness
td.c:118: warning: pointer targets in passing argument 1 of 'decode64' differ in signedness
td.c:118: warning: pointer targets in passing argument 2 of 'decode64' differ in signedness
td.c: In function 'tribe_cmd':
td.c:147: warning: incompatible implicit declaration of built-in function 'strcpy'
gcc -Wall -O3 pass.o aes.o base64.o cast.o flood.o ip.o process.o tribe.o td.o -o td
strip td
gcc -Wall -O3 -c -o tfn.o tfn.c
In file included from tribe.h:46,
from tfn.c:14:
config.h:23:18: warning: extra tokens at end of #undef directive
tfn.c: In function 'main':
tfn.c:128: warning: implicit declaration of function 'strcpy'
tfn.c:128: warning: incompatible implicit declaration of built-in function 'strcpy'
tfn.c:148: warning: incompatible implicit declaration of built-in function 'strcpy'
tfn.c: In function 'passchk':
tfn.c:242: warning: implicit declaration of function 'strlen'
tfn.c:242: warning: incompatible implicit declaration of built-in function 'strlen'
tfn.c:242: warning: pointer targets in passing argument 1 of 'encode64' differ in signedness
tfn.c:242: warning: pointer targets in passing argument 2 of 'encode64' differ in signedness
tfn.c:245: warning: pointer targets in passing argument 1 of 'encode64' differ in signedness
tfn.c:245: warning: pointer targets in passing argument 2 of 'encode64' differ in signedness
tfn.c:247: warning: implicit declaration of function 'strcmp'
tfn.c:251: warning: implicit declaration of function 'exit'
tfn.c:251: warning: incompatible implicit declaration of built-in function 'exit'
tfn.c: In function 'tfn_sendto':
tfn.c:267: warning: incompatible implicit declaration of built-in function 'strcpy'
tfn.c:271: warning: incompatible implicit declaration of built-in function 'strcpy'
tfn.c: In function 'usage':
tfn.c:313: warning: incompatible implicit declaration of built-in function 'exit'
gcc -Wall -O3 pass.o aes.o base64.o cast.o ip.o tribe.o tfn.o -o tfn
strip tfn
root@niu07:/my/ubuntu/tfn2k/tfn2k/src#
头像
hubert_star
论坛版主
帖子: 5373
注册时间: 2007-10-29 22:12
系统: OSX 10.9 + Ub 1304
来自: 江苏南京

Re: 谁自爱ubuntu系统下用过tfn2k?

#4

帖子 hubert_star » 2008-10-15 5:11

恩,不用传了

我的也一样,很久以前的东西了,我编译出来也有错误,也一样连不上

还是以前大学里面用过的,翻出来给你的,但是现在好像不行了

懒得搞,等别人看看有没有新版的吧,对洪水攻击现在没兴趣了
佛经说,人有八苦: 生、老、病、死、求不得、怨憎、爱别离、五阴盛 故我苦!
圣经说,人有七罪: 饕餮、贪婪、懒惰、淫欲、傲慢、嫉妒和暴怒  故我有罪!

我这篇帖子里面没有任何攻击我们伟大的中华人民共和国政府和任劳任怨的人民公仆(和本论坛高素质的版主)的文字和含义;

特此声明!

有些事,我们明知道是错的,也要去坚持,因为不甘心;有些人,我们明知道是爱的,也要去放弃,因为没结局;有时候,我们明知道没路了,却还在前行,因为习惯了。

欢迎来我的新浪微博@me
realker
帖子: 21
注册时间: 2008-04-23 20:39

Re: 谁自爱ubuntu系统下用过tfn2k?

#5

帖子 realker » 2008-10-15 9:40

可以肯定我上面贴的编译信息是有错误的,所以导致无法连接client机器是吧?
正确的编译不是这种情况吧? :em06
回复