File[swfchan.swf] - (4.68 MB)
[_] [L] MackanZoor !///SWFAnts 04/26/12(Thu)10:20 No.1665016
Hello guys, I'm trying out something new for swfchan and was wondering if anyone here might be
interesting in helping me test it.
I don't usually post using my nick and trip but since this project is a bit unusual I'm making an
exception. In order for it to work it depends on regular site visitors being willing to
contribute.
Marked for deletion (old).
>> [_] MackanZoor !///SWFAnts 04/26/12(Thu)10:21 No.1665018
The project is about mirroring flash files. Instead of all files being downloaded directly from
swfchan a list of mirror locations will be presented to the one trying to download the file. This
will reduce the stress of the main server and also make files download much faster for everybody.
If you are in the US you can get the swf from a US location instead of pulling it from the
overloaded swfchan server in Sweden, and if you are in Japan you can get the swf from a Japanese
location. If such locations exist, that is.
To be honset I don't really expect this to succeed since I'd have to find a few motivated people
that actually are willing to sacrifice a little of their own bandwidth just for the good of the
community. But I've made a system for it because if it actually DOES succeed it was worth the
effort. And if it doesn't at least I tried. I'd be pretty happy if I can get just one lasting
mirror with a couple of files.
>> [_] MackanZoor !///SWFAnts 04/26/12(Thu)10:22 No.1665019
But right now I would just like to find some people willing to test the thing out. So even if you
don't plan to host a permanent mirror I'd appreciate it if you could test the thing out for a
moment, even if you just share a couple of flash files.
No signup is required, and you don't even have to talk with me.
All you have to do is go to http://mirror.swfchan.com/ and download the ~100 KiB client. Double
click it to run (your computer has to have Java installed).
A "share" folder is created next to the jar file. Put some swf files in there and restart the
client. If I've done the code correctly, and you have ports 12345 (UDP) and 54321 (TCP) open,
your computer should now be working as a fully automated mirror. If you want to stop being a
mirror all you have to do is exit the program. There are no obligations or demands. Just the
client being on or off.
>> [_] MackanZoor !///SWFAnts 04/26/12(Thu)10:22 No.1665020
Future plans is that new flash files added to swfchan will be automatically downloaded and
mirrored by the client. In other words you will always have the latest discovered flash files on
your computer. Of course if you don't want this feature you will be able to disable it in the ini
config text file that is created the first time you run the program. And later if you don't want
to keep a downloaded file you can just delete it from your computer.
So there you have it, I'm looking for those few dedicated people that want to help out. Can't
expect them to come to me, that's why I started this thread. If you feel up for it please try the
mirror client. Thank you for your time!
>> [_] MadHax !DCHAGqU/Do 04/26/12(Thu)10:27 No.1665023
A good idea, as useful as swfchan is it's slow as hell to download files from it. This system
does seem a bit doubtful though -- you're asking 4chan users, where viruses run rampant, to run
programs on their own computers.
Perhaps some kind of torrent system instead, so people could run a client they can trust, and
host whatever subset of the torrent they have downloaded themselves?
>> [_] MadHax !DCHAGqU/Do 04/26/12(Thu)10:37 No.1665027
Reading through the info page, I can see that torrents probably wouldn't work for what you're
trying to do with this.
>> [_] Anonymous 04/26/12(Thu)10:58 No.1665037
No luck getting it to work on a console-only remote Ubuntu server. I set it to use ports that
should be open, but maybe they're only TCP instead of TCP/UDP. I can't modify the firewall from
this side so I'll have to try later.
* * * * *
[redacted]@[redacted]:~$ java -jar swfchanMirror.jar
swfchanMirror 0.8.0 (25apr2012) r1
26apr2012 09:59:11 Starting client...
26apr2012 09:59:11 java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:173)
at java.awt.Window.<init>(Window.java:437)
at java.awt.Frame.<init>(Frame.java:419)
at java.awt.Frame.<init>(Frame.java:384)
at javax.swing.JFrame.<init>(JFrame.java:174)
at swfchanmirror.client.l.<init>(Unknown Source)
at swfchanmirror.client.MainCLIENT.main(Unknown Source)
>> [_] continued MadHax !DCHAGqU/Do 04/26/12(Thu)10:59 No.1665038
26apr2012 09:59:12 Check that the network ports aren't already in use: 4816 (UDP) 4817 (TCP).
Maybe swfchanMirror is already running?
26apr2012 09:59:13 Failed to create client. You need to restart the program.
>> [_] Anonymous 04/26/12(Thu)11:19 No.1665043
>have forced advertisements
>complain about not being able to support the traffic
>make more then plenty of money to up grade and expand
>> [_] Anonymous 04/26/12(Thu)11:54 No.1665066
I applaude this
>> [_] Anonymous 04/26/12(Thu)12:33 No.1665090
>>1665088
26apr2012 13:31:24 Looks like swfchan might be down... Will keep trying.
Getting this.
>> [_] Anonymous 04/26/12(Thu)12:38 No.1665096
Air - Electronic Performers
>> [_] Anonymous 04/26/12(Thu)12:48 No.1665108
>>1665043
tell you what get half of these dumbasses who float around this board to go to swfchan more often
then maybe your argument can seem a bit more valid.
Case in point look at >>1665088
He is asking for sauce on music that HAS been answered on the site he just wanted to act as a
mirror from.
Also kinda with Madhax on this doesn't this open up a whole can of worms to downloading files
that may or may not have malicious intent behind them without realizing it?
>> [_] Anonymous 04/26/12(Thu)12:50 No.1665110
>>1665108
And yet he sages.
>> [_] Anonymous 04/26/12(Thu)12:55 No.1665117
I love the site and I love your work; I will help with any flashes that I have on my computer.
>> [_] MackanZoor !///SWFAnts 04/26/12(Thu)13:12 No.1665133
Sorry for the late replies, had to go out for a while.
>>1665023
As you've realized that wouldn't work, I have to make a custom program. As for the doubt though,
yes it may feel risky for some. It all comes down to trust for the developer (me), but that's the
way it is with every program. I can only hope that people don't think I would ruin my site by
lying about what the program does.
>>1665037
The reason why it doesn't work for you is because the program uses a GUI window. But thanks for
trying though, if you are able later I would be glad if you tried it again when you're on
something that can open windows. If I make a new version I will make it possible to run the
client without any window. One thing you could try is to open up the ini file that should have
been created next to the jar file, change the 0302 value to false. It might not work since the
window is still being initiated, but if we're lucky it works since the window is not set to
visible.
>> [_] MackanZoor !///SWFAnts 04/26/12(Thu)13:12 No.1665135
>>1665038
Guessing you are >>1665037 since you wrote "continued" (and only forgot your trip in the previous
post).
>>1665043
There's nothing forced about the ads, I don't block people that block the ads. I could make it so
that the site don't work for them, but I don't. I don't really complain about not being able to
support the traffic either, I'm just wondering if someone are willing to help out. I definitely
don't make "more then plenty" from the ads to create dedicated file servers all around the world,
the ads are actually earning so little that I thought about removing them for a while. But that's
not really an option, instead I should try to get more ads somehow but I can't find ads that suit
my needs.
>> [_] MackanZoor !///SWFAnts 04/26/12(Thu)13:13 No.1665137
>>1665090
Do your ISP support UDP traffic? Do you have a router that blocks UDP traffic? Have you opened
the UDP port in your firewall?
>>1665117
I'm glad you like my work, thanks! I also appreciate you trying to set up a mirror. I see in the
logs on the server that I'm getting TCP connection timeout, but I am receiving your UDP packets.
Do you get any error messages on your end?
>> [_] Anonymous 04/26/12(Thu)13:18 No.1665138
>>1665135
http://www.elenasmodels.com/affiliate/index.htm
>> [_] Anonymous 04/26/12(Thu)13:32 No.1665148
>>1665137
Got it to work, thanks!
26apr2012 14:31:04 Server: Your mirror is up and running. Thanks!
So is this safe?
>> [_] MadHax !DCHAGqU/Do 04/26/12(Thu)13:38 No.1665152
>>1665133
No good changing that line. So we've established that you need to be running Windows or X11.
>> [_] Anonymous 04/26/12(Thu)13:39 No.1665155
>>1665137
I am:
>>1665117
No, my side is working just fine. Also, if you have a download count on files, I would be willing
to help share the top 100 most downloaded files.
>> [_] Anonymous 04/26/12(Thu)13:51 No.1665163
I'm a little concerned about how my IP address is visable in the address bar when people download
from me. Is getting a domain the only way to avoid that?
>> [_] Anonymous 04/26/12(Thu)13:54 No.1665165
>>1665163
Even if they can see your IP, they can't do shit. Looking for the location will give them your
ISP's location. They can't hack you unless you have an unsecure server up, and this server uses
java which is very secure (most unsecure servers are with C/C++). And even if you do get a domain
name they can still do a reverse DNS which will give them your IP.
>> [_] MackanZoor !///SWFAnts 04/26/12(Thu)13:58 No.1665169
>>1665138
I don't really believe in referral things where the user has to sign up, I think the users on
swfchan is especially immune against that since most that visit the site probably know they can
get fapping material for free online. But big thanks for tipping me though, if anybody else has
any ad tips I would be happy to receive them!
>>1665148
Awesome! How long was it between the "your mirror is up and running" message and the "reflecting"
messages? If you can post the timestamps, please. And yes, it should be very safe. But it is also
very new. But there's not much that can be done with the server, all people can do is get the
specific hashed flash files that youve shared, even if you accidentally put a mp3 in the shared
folder the client will not share it (unless you enable it in the ini file).
>> [_] MackanZoor !///SWFAnts 04/26/12(Thu)13:59 No.1665170
>>1665152
Anything that can open a GUI frame should do. But I'll remove that requirement in the next
version of the program and make so that you can run the client directly from the command line.
>>1665155
I don't actually keep track of which files are the most popular on swfchan, but I have been
planning on adding that feature sometime in the future. Also I thought a "search spy" thing could
be find, so that people can see what other people are currently searching. Maybe one can find
good files that way.
>> [_] MackanZoor !///SWFAnts 04/26/12(Thu)13:59 No.1665171
If you want to share popular files you can go to the porn category and share the latest additions
to it. It's only a guess but most people are probably using swfchan for the porn... Also all
files that appear on the front page are downloaded a lot, or if they are high on the "newly
added"-page. Again, especially if they are pornographic.
http://swfchan.net/categories-porn98.shtml
http://swfchan.com/new.shtml
>>1665163
As >>1665165 says it really isn't that much of a problem. However I knew that some people are
uncomfortable displaying their IP so that's why I added the domain option. Yes it is the only way
of preventing your IP from being shown directly. There are many free domain name providers out
there, like for example no-ip.com (but I haven't used them myself for at least 5 years so I don't
know if they are good today).
>> [_] Anonymous 04/26/12(Thu)14:07 No.1665177
>>1665170
Me again:
>>1665155
Looking at your post (>>1665169) you say that we should be getting ""reflecting" messages". I'm
not getting these, though I've been running it for a few minutes; how long does it take to
reflect?
Also, I'm a 5+ year Java developer so I wouldn't mind helping out with the code.
>> [_] Anonymous 04/26/12(Thu)14:07 No.1665179
>>1665169
26apr2012 14:31:04 Server: Your mirror is up and running. Thanks!
26apr2012 14:31:26 Reflecting 21 flashes on swfchan.
I don't have many but will start saving popular flashes soon! Hope you don't mind if I avoid
porn... don't want to soil my good name ^-^;
>> [_] Anonymous 04/26/12(Thu)14:15 No.1665185
>>1665179
Looks like if you save in the folder while you have it running, you have to restart for it to
show. Here's the timestamps after the reboot.
26apr2012 15:14:22 Server: Your mirror is up and running. Thanks!
26apr2012 15:14:36 Reflecting 24 flashes on swfchan.
>> [_] MackanZoor !///SWFAnts 04/26/12(Thu)14:20 No.1665192
>>1665177
The "reflect" message should appear a short while after the "thanks" message. Do you get a
"thanks" message? If yes, do you get a message that tells you to check your TCP settings?
Thanks for offering to help coding but I have a few years of experience under the belt myself so
I hope I can manage.
>>1665179
I don't mind you avoiding porn flashes at all, I'm thankful over whatever files you are willing
to share.
>>1665185
Yes I got a little lazy and skipped the auto-add feature for now, I will add it in a future
(next?) version. Figured that I shall not implement too many features since I wasn't sure if
anyone would be willing to use the client.
>> [_] Anonymous 04/26/12(Thu)14:28 No.1665198
>>1665192
Well just in case I disappear and forget to check back on the thread, you can email me at
maharene@gmail.com and add me on Skype with the same email to stay in contact. :)
>> [_] Anonymous 04/26/12(Thu)14:55 No.1665228
Suddenly received this...
26apr2012 15:36:13 Reflecting 0 flashes on swfchan.
No changes on my end, was using a different java site but that shouldn't have affected it. After
a reboot, I seem to be back in business. Even bringing up the other java site didn't interrupt.
Not sure why it decided to stop reflecting.
26apr2012 15:53:25 Server: Your mirror is up and running. Thanks!
26apr2012 15:53:33 Reflecting 26 flashes on swfchan.
>> [_] Anonymous 04/26/12(Thu)14:58 No.1665231
>>1665192
I get a thanks message but nothing after that
>> [_] Anonymous 04/26/12(Thu)15:02 No.1665233
This song reminds me of Terraria.
>> [_] Anonymous 04/26/12(Thu)15:06 No.1665235
26apr2012 23:04:40 Looks like swfchan might be down... Will keep trying.
What do?
>> [_] Anonymous 04/26/12(Thu)15:20 No.1665244
>>1665235
It's probably because you haven't opened the ports in your router/firewall settings. It's what I
had to do. Go to 192.168.1.1 or 192.168.0.1 whatever your router uses, then allow these: 12345
(UDP) and 54321 (TCP).
>> [_] MackanZoor !///SWFAnts 04/26/12(Thu)15:28 No.1665255
>>1665228
That's very odd, looks like it may be a bug. We'll see if it happens again. I'll look around for
something that may have caused it the next time I work on the next version. Before you got the
new "reflecting 0 flashes" message did you also get a message saying that the server is asking
for id?
>>1665231
Okay this may be an issue I have to look into. After you got the "thanks" message, do you get
something like "looks like the server is down"?
>>1665235
leave it running for a while and see if you get a thanks message eventually. check to make sure
you have opened the UDP port (I have to put that in the message). are you the same person as >>1
665231 btw?
>> [_] MackanZoor !///SWFAnts 04/26/12(Thu)15:29 No.1665259
for those of you that try to host a mirror: could you download a file from swfchan to make sure
that you are sharing a file that in fact exists on the site (each byte is exactly the same). the
issue might be there, I will look into it. for example if you get a "thanks" but no "reflecting"
message it might be that you are sharing only flashes that doesnt exist on swfchan, I have to
make sure that a "reflecting" message is sent even if thats the case
you can download and share the file I posted for this thread, it is guaranteed to be on swfchan:
http://images.4channel.org/f/src/swfchan.swf
>> [_] MackanZoor !///SWFAnts 04/26/12(Thu)15:33 No.1665263
>Marked for deletion (old).
Uh-oh, the thread is already expiring. I might have to post a new thread after this one.
>> [_] Anonymous 04/26/12(Thu)15:39 No.1665272
>>1665255
No, there was no other message. It went just like this.:
26apr2012 15:14:22 Server: Your mirror is up and running. Thanks!
26apr2012 15:14:36 Reflecting 24 flashes on swfchan.
26apr2012 15:36:13 Reflecting 0 flashes on swfchan.
I am seeing people downloading from me now though, which is pretty cool. I'll let you know if it
does it again. Is there another way to contact you if the thread goes down?
>> [_] MackanZoor !///SWFAnts 04/26/12(Thu)15:44 No.1665279
>>1665272
Okay, that's definitely something I have to look into. Nice to hear that people have begun
downloading from you!
As for contacting me, I should have mentioned that in the beginning of this thread. You can
always leave a message on http://swfchan.org/1018/ and I will see it.