174 reputation
19
bio website
location
age
visits member for 4 years, 11 months
seen 15 hours ago

Apr
4
comment How to add context menu entries on a Samba share
@MikeAWood: About what I am trying to solve: see the Convert to EPUB functionality in the question. Please note that there is no need to install an application to the Windows client, because the actual conversion would be run on the server side. All I need is an client-to-server-custom-RPC mechanism over Samba which can be instantiated on selected files from the context menu on the client.
Apr
3
comment How to add context menu entries on a Samba share
@MikeAWood: Is there a way to configure something on the Samba side, and make Windows pick it up as client-side changes when the share is mounted? (It doesn't have to be fully automatic, a few extra clicks by the user after the mount are OK.)
Nov
8
comment DNAT from localhost (127.0.0.1)
@Lawrence: I'm trying to achieve that the connection initiated by telnet 127.0.0.1 4242 gets forwarded to 11.22.33.44:5353 by the kernel, without using a user-level port forwarder process. Sorry if this was not clear from the question.
Nov
8
comment DNAT from localhost (127.0.0.1)
@Adrien M.: Yes, this (with -j DNAT) is the standard solution, but it doesn't work for telnet 127.0.0.1 4242 (it works with all other local IP address), because Linux is dropping the response packets (see the details in the question). If you think you have a solution which solves the problem, please post it.
Nov
8
comment DNAT from localhost (127.0.0.1)
Thank you for writing your answer. Unfortunately it doesn't solve my problem, because -j REDIRECT can't change the IP address, and I need to change it from 127.0.0.1 to 11.22.33.44. If I didn't need to change the IP address, it would work.
Oct
22
comment TCP packets larger than 4 KB don't get a reply from Linux
I've found online that in addition to ifconfig eth0 mtu 51000 I may also need a route ... mss 50800 command. I'll try if this helps.
Oct
22
comment TCP packets larger than 4 KB don't get a reply from Linux
How can a packet get lost after tcpdump in the guest has printed it? (There is no packet filtering set up in the guest.) I can try to fix the checksums. I didn't care much about them so far, because if I decreased the payload size by 50 bytes, everything went through.
Oct
21
comment TCP packets larger than 4 KB don't get a reply from Linux
As the tcpdump output shows, the guest Linux receives the TCP packet with the payload of 4060 bytes, but never sends an ACK. If I reduce the the payload size to 4010 bytes, I get an ACK (shows up in the tcpdump output and the host also gets it). ICMP works back and forth with frames of 50000 bytes. Knowing all these, could you please be more specific what I should try first, and what settings related to jumbo frames I should change? Is there some information I failed to provide, or is there another debug tool I should run?
Oct
20
comment TCP packets larger than 4 KB don't get a reply from Linux
I ran tcpdump -n -vv in the internal eth0. I have all packages the guest has sent or received (see them in the question). I was running User-mode Linux with eth0=slirp,,/my/own/slirp, replacing the slirp binary with my own emulator. My most important question: why isn't the guest Linux sending an ACK when the TCP payload is that large? Why does the guest Linux keep silent?
Oct
20
comment TCP packets larger than 4 KB don't get a reply from Linux
No, it shows all traffic on the guest eth0. I used the command tcpdump -n -vv without any filter.
Oct
20
comment TCP packets larger than 4 KB don't get a reply from Linux
@DavidSchwartz: There is no congestion window, my emulator sends some payload, and waits for a full ACK indefinitely. I know that a correct TCP implementation would resend eventually. But in this question I'm asking why I'm not getting an ACK from the Linux guest. Because it's not required to ACK everything is true but it doesn't answer my question: I'm interested in why it isn't ACKing in this particular case.
Nov
24
comment ext4 filesystem corruption — maybe hardware error?
@HubertKario: Done.
Nov
24
comment ext4 filesystem corruption — maybe hardware error?
fsck -f, when booted from the Ubuntu live installer pen drive, has found tons of errors, and fixed them. A subsequent run of fsck didn't find errors. Then, when the normal system was booted, it started emitting ext4 errors again after half an hour. No, the syslog isn't indicating any hardware errors. You can see the full dmesg output (except for the few seconds after boot) in the original question.
Apr
25
comment How to announce my laptop (hostname, ip) to my Linksys WRT54GL router (via upnp?)
Modified the question about not being interested in NetBIOS.
Apr
25
comment How to announce my laptop (hostname, ip) to my Linksys WRT54GL router (via upnp?)
``You need an internal name resolution mechanism (DNS or WINS) that all of your internal hosts register with and query.'' Exactly. How would my WRT54GL router provide that?
Dec
2
comment Linux truncate file
This is short and it works in all major shells I use (bash, dash, zsh, pdksh, tcsh).